2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.27.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be 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.27'
578 PACKAGE_STRING='Wine 0.9.27'
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
776 ac_subst_files='MAKE_RULES
781 ac_precious_vars='build_alias
796 # Initialize some variables set by options.
798 ac_init_version=false
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
808 program_transform_name=s,x,x,
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir='${exec_prefix}/bin'
823 sbindir='${exec_prefix}/sbin'
824 libexecdir='${exec_prefix}/libexec'
825 datarootdir='${prefix}/share'
826 datadir='${datarootdir}'
827 sysconfdir='${prefix}/etc'
828 sharedstatedir='${prefix}/com'
829 localstatedir='${prefix}/var'
830 includedir='${prefix}/include'
831 oldincludedir='/usr/include'
832 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
833 infodir='${datarootdir}/info'
838 libdir='${exec_prefix}/lib'
839 localedir='${datarootdir}/locale'
840 mandir='${datarootdir}/man'
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\$ac_option
854 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
864 -bindir | --bindir | --bindi | --bind | --bin | --bi)
866 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
869 -build | --build | --buil | --bui | --bu)
870 ac_prev=build_alias ;;
871 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
872 build_alias=$ac_optarg ;;
874 -cache-file | --cache-file | --cache-fil | --cache-fi \
875 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
876 ac_prev=cache_file ;;
877 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
878 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
879 cache_file=$ac_optarg ;;
882 cache_file=config.cache ;;
884 -datadir | --datadir | --datadi | --datad)
886 -datadir=* | --datadir=* | --datadi=* | --datad=*)
887 datadir=$ac_optarg ;;
889 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
890 | --dataroo | --dataro | --datar)
891 ac_prev=datarootdir ;;
892 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
893 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
894 datarootdir=$ac_optarg ;;
896 -disable-* | --disable-*)
897 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
900 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
901 { (exit 1); exit 1; }; }
902 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
903 eval enable_$ac_feature=no ;;
905 -docdir | --docdir | --docdi | --doc | --do)
907 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
910 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
912 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
915 -enable-* | --enable-*)
916 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
919 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
920 { (exit 1); exit 1; }; }
921 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
922 eval enable_$ac_feature=\$ac_optarg ;;
924 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
925 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
926 | --exec | --exe | --ex)
927 ac_prev=exec_prefix ;;
928 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
929 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
930 | --exec=* | --exe=* | --ex=*)
931 exec_prefix=$ac_optarg ;;
933 -gas | --gas | --ga | --g)
934 # Obsolete; use --with-gas.
937 -help | --help | --hel | --he | -h)
939 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
940 ac_init_help=recursive ;;
941 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
942 ac_init_help=short ;;
944 -host | --host | --hos | --ho)
945 ac_prev=host_alias ;;
946 -host=* | --host=* | --hos=* | --ho=*)
947 host_alias=$ac_optarg ;;
949 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
951 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
953 htmldir=$ac_optarg ;;
955 -includedir | --includedir | --includedi | --included | --include \
956 | --includ | --inclu | --incl | --inc)
957 ac_prev=includedir ;;
958 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
959 | --includ=* | --inclu=* | --incl=* | --inc=*)
960 includedir=$ac_optarg ;;
962 -infodir | --infodir | --infodi | --infod | --info | --inf)
964 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
965 infodir=$ac_optarg ;;
967 -libdir | --libdir | --libdi | --libd)
969 -libdir=* | --libdir=* | --libdi=* | --libd=*)
972 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
973 | --libexe | --libex | --libe)
974 ac_prev=libexecdir ;;
975 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
976 | --libexe=* | --libex=* | --libe=*)
977 libexecdir=$ac_optarg ;;
979 -localedir | --localedir | --localedi | --localed | --locale)
981 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
982 localedir=$ac_optarg ;;
984 -localstatedir | --localstatedir | --localstatedi | --localstated \
985 | --localstate | --localstat | --localsta | --localst | --locals)
986 ac_prev=localstatedir ;;
987 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
988 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
989 localstatedir=$ac_optarg ;;
991 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
993 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
997 # Obsolete; use --without-fp.
1000 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001 | --no-cr | --no-c | -n)
1004 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1005 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1008 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1009 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1010 | --oldin | --oldi | --old | --ol | --o)
1011 ac_prev=oldincludedir ;;
1012 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1013 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1014 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1015 oldincludedir=$ac_optarg ;;
1017 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1019 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1020 prefix=$ac_optarg ;;
1022 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1023 | --program-pre | --program-pr | --program-p)
1024 ac_prev=program_prefix ;;
1025 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1026 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1027 program_prefix=$ac_optarg ;;
1029 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1030 | --program-suf | --program-su | --program-s)
1031 ac_prev=program_suffix ;;
1032 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1033 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1034 program_suffix=$ac_optarg ;;
1036 -program-transform-name | --program-transform-name \
1037 | --program-transform-nam | --program-transform-na \
1038 | --program-transform-n | --program-transform- \
1039 | --program-transform | --program-transfor \
1040 | --program-transfo | --program-transf \
1041 | --program-trans | --program-tran \
1042 | --progr-tra | --program-tr | --program-t)
1043 ac_prev=program_transform_name ;;
1044 -program-transform-name=* | --program-transform-name=* \
1045 | --program-transform-nam=* | --program-transform-na=* \
1046 | --program-transform-n=* | --program-transform-=* \
1047 | --program-transform=* | --program-transfor=* \
1048 | --program-transfo=* | --program-transf=* \
1049 | --program-trans=* | --program-tran=* \
1050 | --progr-tra=* | --program-tr=* | --program-t=*)
1051 program_transform_name=$ac_optarg ;;
1053 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1055 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1056 pdfdir=$ac_optarg ;;
1058 -psdir | --psdir | --psdi | --psd | --ps)
1060 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1067 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1069 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1071 sbindir=$ac_optarg ;;
1073 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1074 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1075 | --sharedst | --shareds | --shared | --share | --shar \
1077 ac_prev=sharedstatedir ;;
1078 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1079 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1080 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1082 sharedstatedir=$ac_optarg ;;
1084 -site | --site | --sit)
1086 -site=* | --site=* | --sit=*)
1089 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1091 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1092 srcdir=$ac_optarg ;;
1094 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1095 | --syscon | --sysco | --sysc | --sys | --sy)
1096 ac_prev=sysconfdir ;;
1097 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1098 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1099 sysconfdir=$ac_optarg ;;
1101 -target | --target | --targe | --targ | --tar | --ta | --t)
1102 ac_prev=target_alias ;;
1103 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1104 target_alias=$ac_optarg ;;
1106 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1109 -version | --version | --versio | --versi | --vers | -V)
1110 ac_init_version=: ;;
1113 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1116 { echo "$as_me: error: invalid package name: $ac_package" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1119 eval with_$ac_package=\$ac_optarg ;;
1121 -without-* | --without-*)
1122 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125 { echo "$as_me: error: invalid package name: $ac_package" >&2
1126 { (exit 1); exit 1; }; }
1127 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1128 eval with_$ac_package=no ;;
1131 # Obsolete; use --with-x.
1134 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135 | --x-incl | --x-inc | --x-in | --x-i)
1136 ac_prev=x_includes ;;
1137 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139 x_includes=$ac_optarg ;;
1141 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1142 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143 ac_prev=x_libraries ;;
1144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146 x_libraries=$ac_optarg ;;
1148 -*) { echo "$as_me: error: unrecognized option: $ac_option
1149 Try \`$0 --help' for more information." >&2
1150 { (exit 1); exit 1; }; }
1154 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1157 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1158 { (exit 1); exit 1; }; }
1159 eval $ac_envvar=\$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1173 if test -n "$ac_prev"; then
1174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175 { echo "$as_me: error: missing argument to $ac_option" >&2
1176 { (exit 1); exit 1; }; }
1179 # Be sure to have absolute directory names.
1180 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181 datadir sysconfdir sharedstatedir localstatedir includedir \
1182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183 libdir localedir mandir
1185 eval ac_val=\$$ac_var
1187 [\\/$]* | ?:[\\/]* ) continue;;
1188 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1190 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1191 { (exit 1); exit 1; }; }
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1199 target=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x; then
1203 if test "x$build_alias" = x; then
1204 cross_compiling=maybe
1205 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used." >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215 test "$silent" = yes && exec 6>/dev/null
1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di=`ls -di .` &&
1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1221 { echo "$as_me: error: Working directory cannot be determined" >&2
1222 { (exit 1); exit 1; }; }
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 { echo "$as_me: error: pwd does not report name of working directory" >&2
1225 { (exit 1); exit 1; }; }
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230 ac_srcdir_defaulted=yes
1231 # Try the directory containing this script, then the parent directory.
1232 ac_confdir=`$as_dirname -- "$0" ||
1233 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234 X"$0" : 'X\(//\)[^/]' \| \
1235 X"$0" : 'X\(//\)$' \| \
1236 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1260 ac_srcdir_defaulted=no
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1264 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1265 { (exit 1); exit 1; }; }
1267 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1269 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1270 { (exit 1); exit 1; }; }
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1282 for ac_var in $ac_precious_vars; do
1283 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_${ac_var}_value=\$${ac_var}
1285 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1296 \`configure' configures Wine 0.9.27 to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1354 --x-includes=DIR X include files are in DIR
1355 --x-libraries=DIR X library files are in DIR
1358 --build=BUILD configure for building on BUILD [guessed]
1359 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive ) echo "Configuration of Wine 0.9.27:";;
1370 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1372 --disable-win16 do not include Win16 support
1373 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1377 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1378 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1379 --without-opengl do not use OpenGL
1380 --with-wine-tools=<dir> use Wine tools from directory <dir>
1381 --with-x use the X Window System
1383 Some influential environment variables:
1384 CC C compiler command
1385 CFLAGS C compiler flags
1386 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1387 nonstandard directory <lib dir>
1388 LIBS libraries to pass to the linker, e.g. -l<library>
1389 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1390 you have headers in a nonstandard directory <include dir>
1391 CXX C++ compiler command
1392 CXXFLAGS C++ compiler flags
1393 XMKMF Path to xmkmf, Makefile generator for X Window System
1396 Use these variables to override the choices made by `configure' or to help
1397 it to find libraries and programs with nonstandard names/locations.
1399 Report bugs to <wine-devel@winehq.org>.
1404 if test "$ac_init_help" = "recursive"; then
1405 # If there are subdirs, report their specific --help.
1406 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1407 test -d "$ac_dir" || continue
1411 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1414 # A ".." for each directory in $ac_dir_suffix.
1415 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1416 case $ac_top_builddir_sub in
1417 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1418 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1421 ac_abs_top_builddir=$ac_pwd
1422 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1423 # for backward compatibility:
1424 ac_top_builddir=$ac_top_build_prefix
1427 .) # We are building in place.
1429 ac_top_srcdir=$ac_top_builddir_sub
1430 ac_abs_top_srcdir=$ac_pwd ;;
1431 [\\/]* | ?:[\\/]* ) # Absolute name.
1432 ac_srcdir=$srcdir$ac_dir_suffix;
1433 ac_top_srcdir=$srcdir
1434 ac_abs_top_srcdir=$srcdir ;;
1436 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1437 ac_top_srcdir=$ac_top_build_prefix$srcdir
1438 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1440 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1442 cd "$ac_dir" || { ac_status=$?; continue; }
1443 # Check for guested configure.
1444 if test -f "$ac_srcdir/configure.gnu"; then
1446 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1447 elif test -f "$ac_srcdir/configure"; then
1449 $SHELL "$ac_srcdir/configure" --help=recursive
1451 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1453 cd "$ac_pwd" || { ac_status=$?; break; }
1457 test -n "$ac_init_help" && exit $ac_status
1458 if $ac_init_version; then
1460 Wine configure 0.9.27
1461 generated by GNU Autoconf 2.61
1463 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1464 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1465 This configure script is free software; the Free Software Foundation
1466 gives unlimited permission to copy, distribute and modify it.
1470 cat >config.log <<_ACEOF
1471 This file contains any messages produced by compilers while
1472 running configure, to aid debugging if configure makes a mistake.
1474 It was created by Wine $as_me 0.9.27, which was
1475 generated by GNU Autoconf 2.61. Invocation command line was
1487 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1488 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1489 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1490 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1491 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1493 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1494 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1496 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1497 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1498 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1499 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1500 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1501 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1502 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1510 test -z "$as_dir" && as_dir=.
1511 echo "PATH: $as_dir"
1527 # Keep a trace of the command line.
1528 # Strip out --no-create and --no-recursion so they do not pile up.
1529 # Strip out --silent because we don't want to record it for future runs.
1530 # Also quote any args containing shell meta-characters.
1531 # Make two passes to allow for proper duplicate-argument suppression.
1535 ac_must_keep_next=false
1541 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1542 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1543 | -silent | --silent | --silen | --sile | --sil)
1546 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1549 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1551 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1552 if test $ac_must_keep_next = true; then
1553 ac_must_keep_next=false # Got value, back to normal.
1556 *=* | --config-cache | -C | -disable-* | --disable-* \
1557 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1558 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1559 | -with-* | --with-* | -without-* | --without-* | --x)
1560 case "$ac_configure_args0 " in
1561 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1564 -* ) ac_must_keep_next=true ;;
1567 ac_configure_args="$ac_configure_args '$ac_arg'"
1572 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1573 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1575 # When interrupted or exit'd, cleanup temporary files, and complete
1576 # config.log. We remove comments because anyway the quotes in there
1577 # would cause problems or look ugly.
1578 # WARNING: Use '\'' to represent an apostrophe within the trap.
1579 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1580 trap 'exit_status=$?
1581 # Save into config.log some information that might help in debugging.
1586 ## ---------------- ##
1587 ## Cache variables. ##
1588 ## ---------------- ##
1591 # The following way of writing the cache mishandles newlines in values,
1593 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1594 eval ac_val=\$$ac_var
1598 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1599 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1602 _ | IFS | as_nl) ;; #(
1603 *) $as_unset $ac_var ;;
1608 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1609 *${as_nl}ac_space=\ *)
1611 "s/'\''/'\''\\\\'\'''\''/g;
1612 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1615 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1623 ## ----------------- ##
1624 ## Output variables. ##
1625 ## ----------------- ##
1628 for ac_var in $ac_subst_vars
1630 eval ac_val=\$$ac_var
1632 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1634 echo "$ac_var='\''$ac_val'\''"
1638 if test -n "$ac_subst_files"; then
1640 ## ------------------- ##
1641 ## File substitutions. ##
1642 ## ------------------- ##
1645 for ac_var in $ac_subst_files
1647 eval ac_val=\$$ac_var
1649 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1651 echo "$ac_var='\''$ac_val'\''"
1656 if test -s confdefs.h; then
1666 test "$ac_signal" != 0 &&
1667 echo "$as_me: caught signal $ac_signal"
1668 echo "$as_me: exit $exit_status"
1670 rm -f core *.core core.conftest.* &&
1671 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1674 for ac_signal in 1 2 13 15; do
1675 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1679 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1680 rm -f -r conftest* confdefs.h
1682 # Predefined preprocessor variables.
1684 cat >>confdefs.h <<_ACEOF
1685 #define PACKAGE_NAME "$PACKAGE_NAME"
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1694 cat >>confdefs.h <<_ACEOF
1695 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1699 cat >>confdefs.h <<_ACEOF
1700 #define PACKAGE_STRING "$PACKAGE_STRING"
1704 cat >>confdefs.h <<_ACEOF
1705 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1709 # Let the site file select an alternate cache file if it wants to.
1710 # Prefer explicitly selected file to automatically selected ones.
1711 if test -n "$CONFIG_SITE"; then
1712 set x "$CONFIG_SITE"
1713 elif test "x$prefix" != xNONE; then
1714 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1716 set x "$ac_default_prefix/share/config.site" \
1717 "$ac_default_prefix/etc/config.site"
1722 if test -r "$ac_site_file"; then
1723 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1724 echo "$as_me: loading site script $ac_site_file" >&6;}
1725 sed 's/^/| /' "$ac_site_file" >&5
1730 if test -r "$cache_file"; then
1731 # Some versions of bash will fail to source /dev/null (special
1732 # files actually), so we avoid doing that.
1733 if test -f "$cache_file"; then
1734 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1735 echo "$as_me: loading cache $cache_file" >&6;}
1737 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1738 *) . "./$cache_file";;
1742 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1743 echo "$as_me: creating cache $cache_file" >&6;}
1747 # Check that the precious variables saved in the cache have kept the same
1749 ac_cache_corrupted=false
1750 for ac_var in $ac_precious_vars; do
1751 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1752 eval ac_new_set=\$ac_env_${ac_var}_set
1753 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1754 eval ac_new_val=\$ac_env_${ac_var}_value
1755 case $ac_old_set,$ac_new_set in
1757 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1758 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1759 ac_cache_corrupted=: ;;
1761 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1762 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1763 ac_cache_corrupted=: ;;
1766 if test "x$ac_old_val" != "x$ac_new_val"; then
1767 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1768 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1769 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1770 echo "$as_me: former value: $ac_old_val" >&2;}
1771 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1772 echo "$as_me: current value: $ac_new_val" >&2;}
1773 ac_cache_corrupted=:
1776 # Pass precious variables to config.status.
1777 if test "$ac_new_set" = set; then
1779 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1780 *) ac_arg=$ac_var=$ac_new_val ;;
1782 case " $ac_configure_args " in
1783 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1784 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1788 if $ac_cache_corrupted; then
1789 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1790 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1791 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1792 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1793 { (exit 1); exit 1; }; }
1821 ac_cpp='$CPP $CPPFLAGS'
1822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1828 ac_config_headers="$ac_config_headers include/config.h"
1831 for ac_dir in tools "$srcdir"/tools; do
1832 if test -f "$ac_dir/install-sh"; then
1834 ac_install_sh="$ac_aux_dir/install-sh -c"
1836 elif test -f "$ac_dir/install.sh"; then
1838 ac_install_sh="$ac_aux_dir/install.sh -c"
1840 elif test -f "$ac_dir/shtool"; then
1842 ac_install_sh="$ac_aux_dir/shtool install -c"
1846 if test -z "$ac_aux_dir"; then
1847 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1848 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1849 { (exit 1); exit 1; }; }
1852 # These three variables are undocumented and unsupported,
1853 # and are intended to be withdrawn in a future Autoconf release.
1854 # They can cause serious problems if a builder's source tree is in a directory
1855 # whose full name contains unusual characters.
1856 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1857 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1858 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1863 # Check whether --enable-win16 was given.
1864 if test "${enable_win16+set}" = set; then
1865 enableval=$enable_win16;
1868 # Check whether --enable-win64 was given.
1869 if test "${enable_win64+set}" = set; then
1870 enableval=$enable_win64;
1875 # Check whether --with-opengl was given.
1876 if test "${with_opengl+set}" = set; then
1877 withval=$with_opengl;
1881 # Check whether --with-wine-tools was given.
1882 if test "${with_wine_tools+set}" = set; then
1883 withval=$with_wine_tools;
1887 # Make sure we can run config.sub.
1888 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1889 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1890 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1891 { (exit 1); exit 1; }; }
1893 { echo "$as_me:$LINENO: checking build system type" >&5
1894 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1895 if test "${ac_cv_build+set}" = set; then
1896 echo $ECHO_N "(cached) $ECHO_C" >&6
1898 ac_build_alias=$build_alias
1899 test "x$ac_build_alias" = x &&
1900 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1901 test "x$ac_build_alias" = x &&
1902 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1903 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1904 { (exit 1); exit 1; }; }
1905 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1906 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1907 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1908 { (exit 1); exit 1; }; }
1911 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1912 echo "${ECHO_T}$ac_cv_build" >&6; }
1913 case $ac_cv_build in
1915 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1916 echo "$as_me: error: invalid value of canonical build" >&2;}
1917 { (exit 1); exit 1; }; };;
1920 ac_save_IFS=$IFS; IFS='-'
1926 # Remember, the first character of IFS is used to create $*,
1927 # except with old shells:
1930 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1933 { echo "$as_me:$LINENO: checking host system type" >&5
1934 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1935 if test "${ac_cv_host+set}" = set; then
1936 echo $ECHO_N "(cached) $ECHO_C" >&6
1938 if test "x$host_alias" = x; then
1939 ac_cv_host=$ac_cv_build
1941 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1942 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1943 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1944 { (exit 1); exit 1; }; }
1948 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1949 echo "${ECHO_T}$ac_cv_host" >&6; }
1952 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1953 echo "$as_me: error: invalid value of canonical host" >&2;}
1954 { (exit 1); exit 1; }; };;
1957 ac_save_IFS=$IFS; IFS='-'
1963 # Remember, the first character of IFS is used to create $*,
1964 # except with old shells:
1967 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1972 if test "x$enable_win64" != "xyes"
1974 test -n "$CC" || CC="gcc -m32"
1975 test -n "$LD" || LD="ld -m elf_i386"
1976 test -n "$AS" || AS="as --32"
1984 if test "x$enable_win16" != "xno"
1991 WIN16_FILES="\$(WIN16_FILES)"
1993 WIN16_INSTALL="\$(WIN16_INSTALL)"
1995 if test "x$enable_win16" != "xyes"
2002 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2003 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2004 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2005 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2006 echo $ECHO_N "(cached) $ECHO_C" >&6
2008 cat >conftest.make <<\_ACEOF
2011 @echo '@@@%%%=$(MAKE)=@@@%%%'
2013 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2014 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2016 eval ac_cv_prog_make_${ac_make}_set=yes;;
2018 eval ac_cv_prog_make_${ac_make}_set=no;;
2022 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2023 { echo "$as_me:$LINENO: result: yes" >&5
2024 echo "${ECHO_T}yes" >&6; }
2027 { echo "$as_me:$LINENO: result: no" >&5
2028 echo "${ECHO_T}no" >&6; }
2029 SET_MAKE="MAKE=${MAKE-make}"
2033 ac_cpp='$CPP $CPPFLAGS'
2034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2037 if test -n "$ac_tool_prefix"; then
2038 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2039 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2040 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2042 if test "${ac_cv_prog_CC+set}" = set; then
2043 echo $ECHO_N "(cached) $ECHO_C" >&6
2045 if test -n "$CC"; then
2046 ac_cv_prog_CC="$CC" # Let the user override the test.
2048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2052 test -z "$as_dir" && as_dir=.
2053 for ac_exec_ext in '' $ac_executable_extensions; do
2054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2055 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2066 if test -n "$CC"; then
2067 { echo "$as_me:$LINENO: result: $CC" >&5
2068 echo "${ECHO_T}$CC" >&6; }
2070 { echo "$as_me:$LINENO: result: no" >&5
2071 echo "${ECHO_T}no" >&6; }
2076 if test -z "$ac_cv_prog_CC"; then
2078 # Extract the first word of "gcc", so it can be a program name with args.
2079 set dummy gcc; ac_word=$2
2080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2082 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2083 echo $ECHO_N "(cached) $ECHO_C" >&6
2085 if test -n "$ac_ct_CC"; then
2086 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092 test -z "$as_dir" && as_dir=.
2093 for ac_exec_ext in '' $ac_executable_extensions; do
2094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2095 ac_cv_prog_ac_ct_CC="gcc"
2096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2105 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2106 if test -n "$ac_ct_CC"; then
2107 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2108 echo "${ECHO_T}$ac_ct_CC" >&6; }
2110 { echo "$as_me:$LINENO: result: no" >&5
2111 echo "${ECHO_T}no" >&6; }
2114 if test "x$ac_ct_CC" = x; then
2117 case $cross_compiling:$ac_tool_warned in
2119 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2120 whose name does not start with the host triplet. If you think this
2121 configuration is useful to you, please write to autoconf@gnu.org." >&5
2122 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2123 whose name does not start with the host triplet. If you think this
2124 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2125 ac_tool_warned=yes ;;
2133 if test -z "$CC"; then
2134 if test -n "$ac_tool_prefix"; then
2135 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2136 set dummy ${ac_tool_prefix}cc; ac_word=$2
2137 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2139 if test "${ac_cv_prog_CC+set}" = set; then
2140 echo $ECHO_N "(cached) $ECHO_C" >&6
2142 if test -n "$CC"; then
2143 ac_cv_prog_CC="$CC" # Let the user override the test.
2145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2149 test -z "$as_dir" && as_dir=.
2150 for ac_exec_ext in '' $ac_executable_extensions; do
2151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2152 ac_cv_prog_CC="${ac_tool_prefix}cc"
2153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2163 if test -n "$CC"; then
2164 { echo "$as_me:$LINENO: result: $CC" >&5
2165 echo "${ECHO_T}$CC" >&6; }
2167 { echo "$as_me:$LINENO: result: no" >&5
2168 echo "${ECHO_T}no" >&6; }
2174 if test -z "$CC"; then
2175 # Extract the first word of "cc", so it can be a program name with args.
2176 set dummy cc; ac_word=$2
2177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2179 if test "${ac_cv_prog_CC+set}" = set; then
2180 echo $ECHO_N "(cached) $ECHO_C" >&6
2182 if test -n "$CC"; then
2183 ac_cv_prog_CC="$CC" # Let the user override the test.
2186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190 test -z "$as_dir" && as_dir=.
2191 for ac_exec_ext in '' $ac_executable_extensions; do
2192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2193 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2194 ac_prog_rejected=yes
2198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 if test $ac_prog_rejected = yes; then
2206 # We found a bogon in the path, so make sure we never use it.
2207 set dummy $ac_cv_prog_CC
2209 if test $# != 0; then
2210 # We chose a different compiler from the bogus one.
2211 # However, it has the same basename, so the bogon will be chosen
2212 # first if we set CC to just the basename; use the full file name.
2214 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2220 if test -n "$CC"; then
2221 { echo "$as_me:$LINENO: result: $CC" >&5
2222 echo "${ECHO_T}$CC" >&6; }
2224 { echo "$as_me:$LINENO: result: no" >&5
2225 echo "${ECHO_T}no" >&6; }
2230 if test -z "$CC"; then
2231 if test -n "$ac_tool_prefix"; then
2232 for ac_prog in cl.exe
2234 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2235 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2238 if test "${ac_cv_prog_CC+set}" = set; then
2239 echo $ECHO_N "(cached) $ECHO_C" >&6
2241 if test -n "$CC"; then
2242 ac_cv_prog_CC="$CC" # Let the user override the test.
2244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2248 test -z "$as_dir" && as_dir=.
2249 for ac_exec_ext in '' $ac_executable_extensions; do
2250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2251 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2262 if test -n "$CC"; then
2263 { echo "$as_me:$LINENO: result: $CC" >&5
2264 echo "${ECHO_T}$CC" >&6; }
2266 { echo "$as_me:$LINENO: result: no" >&5
2267 echo "${ECHO_T}no" >&6; }
2271 test -n "$CC" && break
2274 if test -z "$CC"; then
2276 for ac_prog in cl.exe
2278 # Extract the first word of "$ac_prog", so it can be a program name with args.
2279 set dummy $ac_prog; ac_word=$2
2280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2282 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2283 echo $ECHO_N "(cached) $ECHO_C" >&6
2285 if test -n "$ac_ct_CC"; then
2286 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2292 test -z "$as_dir" && as_dir=.
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2295 ac_cv_prog_ac_ct_CC="$ac_prog"
2296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2305 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2306 if test -n "$ac_ct_CC"; then
2307 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2308 echo "${ECHO_T}$ac_ct_CC" >&6; }
2310 { echo "$as_me:$LINENO: result: no" >&5
2311 echo "${ECHO_T}no" >&6; }
2315 test -n "$ac_ct_CC" && break
2318 if test "x$ac_ct_CC" = x; then
2321 case $cross_compiling:$ac_tool_warned in
2323 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2324 whose name does not start with the host triplet. If you think this
2325 configuration is useful to you, please write to autoconf@gnu.org." >&5
2326 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2327 whose name does not start with the host triplet. If you think this
2328 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2329 ac_tool_warned=yes ;;
2338 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2339 See \`config.log' for more details." >&5
2340 echo "$as_me: error: no acceptable C compiler found in \$PATH
2341 See \`config.log' for more details." >&2;}
2342 { (exit 1); exit 1; }; }
2344 # Provide some information about the compiler.
2345 echo "$as_me:$LINENO: checking for C compiler version" >&5
2346 ac_compiler=`set X $ac_compile; echo $2`
2347 { (ac_try="$ac_compiler --version >&5"
2349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2350 *) ac_try_echo=$ac_try;;
2352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2353 (eval "$ac_compiler --version >&5") 2>&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }
2357 { (ac_try="$ac_compiler -v >&5"
2359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2360 *) ac_try_echo=$ac_try;;
2362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2363 (eval "$ac_compiler -v >&5") 2>&5
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }
2367 { (ac_try="$ac_compiler -V >&5"
2369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2370 *) ac_try_echo=$ac_try;;
2372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2373 (eval "$ac_compiler -V >&5") 2>&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }
2378 cat >conftest.$ac_ext <<_ACEOF
2381 cat confdefs.h >>conftest.$ac_ext
2382 cat >>conftest.$ac_ext <<_ACEOF
2383 /* end confdefs.h. */
2393 ac_clean_files_save=$ac_clean_files
2394 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2395 # Try to create an executable without -o first, disregard a.out.
2396 # It will help us diagnose broken compilers, and finding out an intuition
2398 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2399 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2400 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2402 # List of possible output files, starting from the most likely.
2403 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2404 # only as a last resort. b.out is created by i960 compilers.
2405 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2407 # The IRIX 6 linker writes into existing files which may not be
2408 # executable, retaining their permissions. Remove them first so a
2409 # subsequent execution test works.
2411 for ac_file in $ac_files
2414 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2415 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2420 if { (ac_try="$ac_link_default"
2422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2423 *) ac_try_echo=$ac_try;;
2425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2426 (eval "$ac_link_default") 2>&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; then
2430 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2431 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2432 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2433 # so that the user can short-circuit this test for compilers unknown to
2435 for ac_file in $ac_files ''
2437 test -f "$ac_file" || continue
2439 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2442 # We found the default executable, but exeext='' is most
2446 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2448 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2450 # We set ac_cv_exeext here because the later test for it is not
2451 # safe: cross compilers may not add the suffix if given an `-o'
2452 # argument, so we may need to know it at that point already.
2453 # Even if this section looks crufty: it has the advantage of
2460 test "$ac_cv_exeext" = no && ac_cv_exeext=
2466 { echo "$as_me:$LINENO: result: $ac_file" >&5
2467 echo "${ECHO_T}$ac_file" >&6; }
2468 if test -z "$ac_file"; then
2469 echo "$as_me: failed program was:" >&5
2470 sed 's/^/| /' conftest.$ac_ext >&5
2472 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2473 See \`config.log' for more details." >&5
2474 echo "$as_me: error: C compiler cannot create executables
2475 See \`config.log' for more details." >&2;}
2476 { (exit 77); exit 77; }; }
2479 ac_exeext=$ac_cv_exeext
2481 # Check that the compiler produces executables we can run. If not, either
2482 # the compiler is broken, or we cross compile.
2483 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2484 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2485 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2486 # If not cross compiling, check that we can run a simple program.
2487 if test "$cross_compiling" != yes; then
2488 if { ac_try='./$ac_file'
2489 { (case "(($ac_try" in
2490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2491 *) ac_try_echo=$ac_try;;
2493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2494 (eval "$ac_try") 2>&5
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); }; }; then
2500 if test "$cross_compiling" = maybe; then
2503 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2504 If you meant to cross compile, use \`--host'.
2505 See \`config.log' for more details." >&5
2506 echo "$as_me: error: cannot run C compiled programs.
2507 If you meant to cross compile, use \`--host'.
2508 See \`config.log' for more details." >&2;}
2509 { (exit 1); exit 1; }; }
2513 { echo "$as_me:$LINENO: result: yes" >&5
2514 echo "${ECHO_T}yes" >&6; }
2516 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2517 ac_clean_files=$ac_clean_files_save
2518 # Check that the compiler produces executables we can run. If not, either
2519 # the compiler is broken, or we cross compile.
2520 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2521 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2522 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2523 echo "${ECHO_T}$cross_compiling" >&6; }
2525 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2526 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2527 if { (ac_try="$ac_link"
2529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2530 *) ac_try_echo=$ac_try;;
2532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2533 (eval "$ac_link") 2>&5
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); }; then
2537 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2538 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2539 # work properly (i.e., refer to `conftest.exe'), while it won't with
2541 for ac_file in conftest.exe conftest conftest.*; do
2542 test -f "$ac_file" || continue
2544 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2545 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2551 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2552 See \`config.log' for more details." >&5
2553 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2554 See \`config.log' for more details." >&2;}
2555 { (exit 1); exit 1; }; }
2558 rm -f conftest$ac_cv_exeext
2559 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2560 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2562 rm -f conftest.$ac_ext
2563 EXEEXT=$ac_cv_exeext
2565 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2566 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2567 if test "${ac_cv_objext+set}" = set; then
2568 echo $ECHO_N "(cached) $ECHO_C" >&6
2570 cat >conftest.$ac_ext <<_ACEOF
2573 cat confdefs.h >>conftest.$ac_ext
2574 cat >>conftest.$ac_ext <<_ACEOF
2575 /* end confdefs.h. */
2585 rm -f conftest.o conftest.obj
2586 if { (ac_try="$ac_compile"
2588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2589 *) ac_try_echo=$ac_try;;
2591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2592 (eval "$ac_compile") 2>&5
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 (exit $ac_status); }; then
2596 for ac_file in conftest.o conftest.obj conftest.*; do
2597 test -f "$ac_file" || continue;
2599 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2600 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2605 echo "$as_me: failed program was:" >&5
2606 sed 's/^/| /' conftest.$ac_ext >&5
2608 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2609 See \`config.log' for more details." >&5
2610 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2611 See \`config.log' for more details." >&2;}
2612 { (exit 1); exit 1; }; }
2615 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2617 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2618 echo "${ECHO_T}$ac_cv_objext" >&6; }
2619 OBJEXT=$ac_cv_objext
2621 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2622 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2623 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2624 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 cat >conftest.$ac_ext <<_ACEOF
2629 cat confdefs.h >>conftest.$ac_ext
2630 cat >>conftest.$ac_ext <<_ACEOF
2631 /* end confdefs.h. */
2644 rm -f conftest.$ac_objext
2645 if { (ac_try="$ac_compile"
2647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2648 *) ac_try_echo=$ac_try;;
2650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2651 (eval "$ac_compile") 2>conftest.er1
2653 grep -v '^ *+' conftest.er1 >conftest.err
2655 cat conftest.err >&5
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); } && {
2658 test -z "$ac_c_werror_flag" ||
2659 test ! -s conftest.err
2660 } && test -s conftest.$ac_objext; then
2663 echo "$as_me: failed program was:" >&5
2664 sed 's/^/| /' conftest.$ac_ext >&5
2669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2670 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2673 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2674 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2675 GCC=`test $ac_compiler_gnu = yes && echo yes`
2676 ac_test_CFLAGS=${CFLAGS+set}
2677 ac_save_CFLAGS=$CFLAGS
2678 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2679 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2680 if test "${ac_cv_prog_cc_g+set}" = set; then
2681 echo $ECHO_N "(cached) $ECHO_C" >&6
2683 ac_save_c_werror_flag=$ac_c_werror_flag
2684 ac_c_werror_flag=yes
2687 cat >conftest.$ac_ext <<_ACEOF
2690 cat confdefs.h >>conftest.$ac_ext
2691 cat >>conftest.$ac_ext <<_ACEOF
2692 /* end confdefs.h. */
2702 rm -f conftest.$ac_objext
2703 if { (ac_try="$ac_compile"
2705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2706 *) ac_try_echo=$ac_try;;
2708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2709 (eval "$ac_compile") 2>conftest.er1
2711 grep -v '^ *+' conftest.er1 >conftest.err
2713 cat conftest.err >&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); } && {
2716 test -z "$ac_c_werror_flag" ||
2717 test ! -s conftest.err
2718 } && test -s conftest.$ac_objext; then
2721 echo "$as_me: failed program was:" >&5
2722 sed 's/^/| /' conftest.$ac_ext >&5
2725 cat >conftest.$ac_ext <<_ACEOF
2728 cat confdefs.h >>conftest.$ac_ext
2729 cat >>conftest.$ac_ext <<_ACEOF
2730 /* end confdefs.h. */
2740 rm -f conftest.$ac_objext
2741 if { (ac_try="$ac_compile"
2743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2744 *) ac_try_echo=$ac_try;;
2746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2747 (eval "$ac_compile") 2>conftest.er1
2749 grep -v '^ *+' conftest.er1 >conftest.err
2751 cat conftest.err >&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); } && {
2754 test -z "$ac_c_werror_flag" ||
2755 test ! -s conftest.err
2756 } && test -s conftest.$ac_objext; then
2759 echo "$as_me: failed program was:" >&5
2760 sed 's/^/| /' conftest.$ac_ext >&5
2762 ac_c_werror_flag=$ac_save_c_werror_flag
2764 cat >conftest.$ac_ext <<_ACEOF
2767 cat confdefs.h >>conftest.$ac_ext
2768 cat >>conftest.$ac_ext <<_ACEOF
2769 /* end confdefs.h. */
2779 rm -f conftest.$ac_objext
2780 if { (ac_try="$ac_compile"
2782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2783 *) ac_try_echo=$ac_try;;
2785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2786 (eval "$ac_compile") 2>conftest.er1
2788 grep -v '^ *+' conftest.er1 >conftest.err
2790 cat conftest.err >&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); } && {
2793 test -z "$ac_c_werror_flag" ||
2794 test ! -s conftest.err
2795 } && test -s conftest.$ac_objext; then
2798 echo "$as_me: failed program was:" >&5
2799 sed 's/^/| /' conftest.$ac_ext >&5
2804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2811 ac_c_werror_flag=$ac_save_c_werror_flag
2813 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2814 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2815 if test "$ac_test_CFLAGS" = set; then
2816 CFLAGS=$ac_save_CFLAGS
2817 elif test $ac_cv_prog_cc_g = yes; then
2818 if test "$GCC" = yes; then
2824 if test "$GCC" = yes; then
2830 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2831 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2832 if test "${ac_cv_prog_cc_c89+set}" = set; then
2833 echo $ECHO_N "(cached) $ECHO_C" >&6
2835 ac_cv_prog_cc_c89=no
2837 cat >conftest.$ac_ext <<_ACEOF
2840 cat confdefs.h >>conftest.$ac_ext
2841 cat >>conftest.$ac_ext <<_ACEOF
2842 /* end confdefs.h. */
2845 #include <sys/types.h>
2846 #include <sys/stat.h>
2847 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2848 struct buf { int x; };
2849 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2850 static char *e (p, i)
2856 static char *f (char * (*g) (char **, int), char **p, ...)
2861 s = g (p, va_arg (v,int));
2866 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2867 function prototypes and stuff, but not '\xHH' hex character constants.
2868 These don't provoke an error unfortunately, instead are silently treated
2869 as 'x'. The following induces an error, until -std is added to get
2870 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2871 array size at least. It's necessary to write '\x00'==0 to get something
2872 that's true only with -std. */
2873 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2875 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2876 inside strings and character constants. */
2878 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2880 int test (int i, double x);
2881 struct s1 {int (*f) (int a);};
2882 struct s2 {int (*f) (double a);};
2883 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2889 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2894 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2895 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2897 CC="$ac_save_CC $ac_arg"
2898 rm -f conftest.$ac_objext
2899 if { (ac_try="$ac_compile"
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_compile") 2>conftest.er1
2907 grep -v '^ *+' conftest.er1 >conftest.err
2909 cat conftest.err >&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); } && {
2912 test -z "$ac_c_werror_flag" ||
2913 test ! -s conftest.err
2914 } && test -s conftest.$ac_objext; then
2915 ac_cv_prog_cc_c89=$ac_arg
2917 echo "$as_me: failed program was:" >&5
2918 sed 's/^/| /' conftest.$ac_ext >&5
2923 rm -f core conftest.err conftest.$ac_objext
2924 test "x$ac_cv_prog_cc_c89" != "xno" && break
2926 rm -f conftest.$ac_ext
2931 case "x$ac_cv_prog_cc_c89" in
2933 { echo "$as_me:$LINENO: result: none needed" >&5
2934 echo "${ECHO_T}none needed" >&6; } ;;
2936 { echo "$as_me:$LINENO: result: unsupported" >&5
2937 echo "${ECHO_T}unsupported" >&6; } ;;
2939 CC="$CC $ac_cv_prog_cc_c89"
2940 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2941 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2946 ac_cpp='$CPP $CPPFLAGS'
2947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2952 ac_cpp='$CXXCPP $CPPFLAGS'
2953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2956 if test -z "$CXX"; then
2957 if test -n "$CCC"; then
2960 if test -n "$ac_tool_prefix"; then
2961 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2963 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2964 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2967 if test "${ac_cv_prog_CXX+set}" = set; then
2968 echo $ECHO_N "(cached) $ECHO_C" >&6
2970 if test -n "$CXX"; then
2971 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2977 test -z "$as_dir" && as_dir=.
2978 for ac_exec_ext in '' $ac_executable_extensions; do
2979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2980 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2991 if test -n "$CXX"; then
2992 { echo "$as_me:$LINENO: result: $CXX" >&5
2993 echo "${ECHO_T}$CXX" >&6; }
2995 { echo "$as_me:$LINENO: result: no" >&5
2996 echo "${ECHO_T}no" >&6; }
3000 test -n "$CXX" && break
3003 if test -z "$CXX"; then
3005 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3007 # Extract the first word of "$ac_prog", so it can be a program name with args.
3008 set dummy $ac_prog; ac_word=$2
3009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3011 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3012 echo $ECHO_N "(cached) $ECHO_C" >&6
3014 if test -n "$ac_ct_CXX"; then
3015 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3021 test -z "$as_dir" && as_dir=.
3022 for ac_exec_ext in '' $ac_executable_extensions; do
3023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3024 ac_cv_prog_ac_ct_CXX="$ac_prog"
3025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3035 if test -n "$ac_ct_CXX"; then
3036 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3037 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3039 { echo "$as_me:$LINENO: result: no" >&5
3040 echo "${ECHO_T}no" >&6; }
3044 test -n "$ac_ct_CXX" && break
3047 if test "x$ac_ct_CXX" = x; then
3050 case $cross_compiling:$ac_tool_warned in
3052 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3053 whose name does not start with the host triplet. If you think this
3054 configuration is useful to you, please write to autoconf@gnu.org." >&5
3055 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3056 whose name does not start with the host triplet. If you think this
3057 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3058 ac_tool_warned=yes ;;
3066 # Provide some information about the compiler.
3067 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3068 ac_compiler=`set X $ac_compile; echo $2`
3069 { (ac_try="$ac_compiler --version >&5"
3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3075 (eval "$ac_compiler --version >&5") 2>&5
3077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078 (exit $ac_status); }
3079 { (ac_try="$ac_compiler -v >&5"
3081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082 *) ac_try_echo=$ac_try;;
3084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3085 (eval "$ac_compiler -v >&5") 2>&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); }
3089 { (ac_try="$ac_compiler -V >&5"
3091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3092 *) ac_try_echo=$ac_try;;
3094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3095 (eval "$ac_compiler -V >&5") 2>&5
3097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 (exit $ac_status); }
3100 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3101 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3102 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3103 echo $ECHO_N "(cached) $ECHO_C" >&6
3105 cat >conftest.$ac_ext <<_ACEOF
3108 cat confdefs.h >>conftest.$ac_ext
3109 cat >>conftest.$ac_ext <<_ACEOF
3110 /* end confdefs.h. */
3123 rm -f conftest.$ac_objext
3124 if { (ac_try="$ac_compile"
3126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3127 *) ac_try_echo=$ac_try;;
3129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3130 (eval "$ac_compile") 2>conftest.er1
3132 grep -v '^ *+' conftest.er1 >conftest.err
3134 cat conftest.err >&5
3135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136 (exit $ac_status); } && {
3137 test -z "$ac_cxx_werror_flag" ||
3138 test ! -s conftest.err
3139 } && test -s conftest.$ac_objext; then
3142 echo "$as_me: failed program was:" >&5
3143 sed 's/^/| /' conftest.$ac_ext >&5
3148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3149 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3152 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3153 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3154 GXX=`test $ac_compiler_gnu = yes && echo yes`
3155 ac_test_CXXFLAGS=${CXXFLAGS+set}
3156 ac_save_CXXFLAGS=$CXXFLAGS
3157 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3158 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3159 if test "${ac_cv_prog_cxx_g+set}" = set; then
3160 echo $ECHO_N "(cached) $ECHO_C" >&6
3162 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3163 ac_cxx_werror_flag=yes
3166 cat >conftest.$ac_ext <<_ACEOF
3169 cat confdefs.h >>conftest.$ac_ext
3170 cat >>conftest.$ac_ext <<_ACEOF
3171 /* end confdefs.h. */
3181 rm -f conftest.$ac_objext
3182 if { (ac_try="$ac_compile"
3184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185 *) ac_try_echo=$ac_try;;
3187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3188 (eval "$ac_compile") 2>conftest.er1
3190 grep -v '^ *+' conftest.er1 >conftest.err
3192 cat conftest.err >&5
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); } && {
3195 test -z "$ac_cxx_werror_flag" ||
3196 test ! -s conftest.err
3197 } && test -s conftest.$ac_objext; then
3198 ac_cv_prog_cxx_g=yes
3200 echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.$ac_ext >&5
3204 cat >conftest.$ac_ext <<_ACEOF
3207 cat confdefs.h >>conftest.$ac_ext
3208 cat >>conftest.$ac_ext <<_ACEOF
3209 /* end confdefs.h. */
3219 rm -f conftest.$ac_objext
3220 if { (ac_try="$ac_compile"
3222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3226 (eval "$ac_compile") 2>conftest.er1
3228 grep -v '^ *+' conftest.er1 >conftest.err
3230 cat conftest.err >&5
3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 (exit $ac_status); } && {
3233 test -z "$ac_cxx_werror_flag" ||
3234 test ! -s conftest.err
3235 } && test -s conftest.$ac_objext; then
3238 echo "$as_me: failed program was:" >&5
3239 sed 's/^/| /' conftest.$ac_ext >&5
3241 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3243 cat >conftest.$ac_ext <<_ACEOF
3246 cat confdefs.h >>conftest.$ac_ext
3247 cat >>conftest.$ac_ext <<_ACEOF
3248 /* end confdefs.h. */
3258 rm -f conftest.$ac_objext
3259 if { (ac_try="$ac_compile"
3261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3262 *) ac_try_echo=$ac_try;;
3264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3265 (eval "$ac_compile") 2>conftest.er1
3267 grep -v '^ *+' conftest.er1 >conftest.err
3269 cat conftest.err >&5
3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); } && {
3272 test -z "$ac_cxx_werror_flag" ||
3273 test ! -s conftest.err
3274 } && test -s conftest.$ac_objext; then
3275 ac_cv_prog_cxx_g=yes
3277 echo "$as_me: failed program was:" >&5
3278 sed 's/^/| /' conftest.$ac_ext >&5
3283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3290 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3292 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3293 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3294 if test "$ac_test_CXXFLAGS" = set; then
3295 CXXFLAGS=$ac_save_CXXFLAGS
3296 elif test $ac_cv_prog_cxx_g = yes; then
3297 if test "$GXX" = yes; then
3303 if test "$GXX" = yes; then
3310 ac_cpp='$CPP $CPPFLAGS'
3311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3315 if test -n "$ac_tool_prefix"; then
3316 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3317 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3320 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3321 echo $ECHO_N "(cached) $ECHO_C" >&6
3323 if test -n "$CPPBIN"; then
3324 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3330 test -z "$as_dir" && as_dir=.
3331 for ac_exec_ext in '' $ac_executable_extensions; do
3332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3333 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3343 CPPBIN=$ac_cv_prog_CPPBIN
3344 if test -n "$CPPBIN"; then
3345 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3346 echo "${ECHO_T}$CPPBIN" >&6; }
3348 { echo "$as_me:$LINENO: result: no" >&5
3349 echo "${ECHO_T}no" >&6; }
3354 if test -z "$ac_cv_prog_CPPBIN"; then
3355 ac_ct_CPPBIN=$CPPBIN
3356 # Extract the first word of "cpp", so it can be a program name with args.
3357 set dummy cpp; ac_word=$2
3358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3360 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3361 echo $ECHO_N "(cached) $ECHO_C" >&6
3363 if test -n "$ac_ct_CPPBIN"; then
3364 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3370 test -z "$as_dir" && as_dir=.
3371 for ac_exec_ext in '' $ac_executable_extensions; do
3372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3373 ac_cv_prog_ac_ct_CPPBIN="cpp"
3374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3383 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3384 if test -n "$ac_ct_CPPBIN"; then
3385 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3386 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3388 { echo "$as_me:$LINENO: result: no" >&5
3389 echo "${ECHO_T}no" >&6; }
3392 if test "x$ac_ct_CPPBIN" = x; then
3395 case $cross_compiling:$ac_tool_warned in
3397 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3398 whose name does not start with the host triplet. If you think this
3399 configuration is useful to you, please write to autoconf@gnu.org." >&5
3400 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3401 whose name does not start with the host triplet. If you think this
3402 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3403 ac_tool_warned=yes ;;
3405 CPPBIN=$ac_ct_CPPBIN
3408 CPPBIN="$ac_cv_prog_CPPBIN"
3412 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3413 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3414 if test "${wine_cv_toolsdir+set}" = set; then
3415 echo $ECHO_N "(cached) $ECHO_C" >&6
3417 if test -z "$with_wine_tools"; then
3418 if test "$cross_compiling" = "yes"; then
3419 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3420 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3421 { (exit 1); exit 1; }; }
3423 wine_cv_toolsdir="\$(TOPOBJDIR)"
3425 elif test -d "$with_wine_tools/tools/winebuild"; then
3426 case $with_wine_tools in
3427 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3428 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3431 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3432 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3433 { (exit 1); exit 1; }; }
3436 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3437 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3438 TOOLSDIR=$wine_cv_toolsdir
3443 ac_cpp='$CPP $CPPFLAGS'
3444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3447 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3448 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3449 # On Suns, sometimes $CPP names a directory.
3450 if test -n "$CPP" && test -d "$CPP"; then
3453 if test -z "$CPP"; then
3454 if test "${ac_cv_prog_CPP+set}" = set; then
3455 echo $ECHO_N "(cached) $ECHO_C" >&6
3457 # Double quotes because CPP needs to be expanded
3458 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3461 for ac_c_preproc_warn_flag in '' yes
3463 # Use a header file that comes with gcc, so configuring glibc
3464 # with a fresh cross-compiler works.
3465 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3466 # <limits.h> exists even on freestanding compilers.
3467 # On the NeXT, cc -E runs the code through the compiler's parser,
3468 # not just through cpp. "Syntax error" is here to catch this case.
3469 cat >conftest.$ac_ext <<_ACEOF
3472 cat confdefs.h >>conftest.$ac_ext
3473 cat >>conftest.$ac_ext <<_ACEOF
3474 /* end confdefs.h. */
3476 # include <limits.h>
3478 # include <assert.h>
3482 if { (ac_try="$ac_cpp conftest.$ac_ext"
3484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485 *) ac_try_echo=$ac_try;;
3487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3488 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3490 grep -v '^ *+' conftest.er1 >conftest.err
3492 cat conftest.err >&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); } >/dev/null && {
3495 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3496 test ! -s conftest.err
3500 echo "$as_me: failed program was:" >&5
3501 sed 's/^/| /' conftest.$ac_ext >&5
3503 # Broken: fails on valid input.
3507 rm -f conftest.err conftest.$ac_ext
3509 # OK, works on sane cases. Now check whether nonexistent headers
3510 # can be detected and how.
3511 cat >conftest.$ac_ext <<_ACEOF
3514 cat confdefs.h >>conftest.$ac_ext
3515 cat >>conftest.$ac_ext <<_ACEOF
3516 /* end confdefs.h. */
3517 #include <ac_nonexistent.h>
3519 if { (ac_try="$ac_cpp conftest.$ac_ext"
3521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3522 *) ac_try_echo=$ac_try;;
3524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3525 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3527 grep -v '^ *+' conftest.er1 >conftest.err
3529 cat conftest.err >&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); } >/dev/null && {
3532 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3533 test ! -s conftest.err
3535 # Broken: success on invalid input.
3538 echo "$as_me: failed program was:" >&5
3539 sed 's/^/| /' conftest.$ac_ext >&5
3541 # Passes both tests.
3546 rm -f conftest.err conftest.$ac_ext
3549 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3550 rm -f conftest.err conftest.$ac_ext
3551 if $ac_preproc_ok; then
3563 { echo "$as_me:$LINENO: result: $CPP" >&5
3564 echo "${ECHO_T}$CPP" >&6; }
3566 for ac_c_preproc_warn_flag in '' yes
3568 # Use a header file that comes with gcc, so configuring glibc
3569 # with a fresh cross-compiler works.
3570 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3571 # <limits.h> exists even on freestanding compilers.
3572 # On the NeXT, cc -E runs the code through the compiler's parser,
3573 # not just through cpp. "Syntax error" is here to catch this case.
3574 cat >conftest.$ac_ext <<_ACEOF
3577 cat confdefs.h >>conftest.$ac_ext
3578 cat >>conftest.$ac_ext <<_ACEOF
3579 /* end confdefs.h. */
3581 # include <limits.h>
3583 # include <assert.h>
3587 if { (ac_try="$ac_cpp conftest.$ac_ext"
3589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3590 *) ac_try_echo=$ac_try;;
3592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3593 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3595 grep -v '^ *+' conftest.er1 >conftest.err
3597 cat conftest.err >&5
3598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599 (exit $ac_status); } >/dev/null && {
3600 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3601 test ! -s conftest.err
3605 echo "$as_me: failed program was:" >&5
3606 sed 's/^/| /' conftest.$ac_ext >&5
3608 # Broken: fails on valid input.
3612 rm -f conftest.err conftest.$ac_ext
3614 # OK, works on sane cases. Now check whether nonexistent headers
3615 # can be detected and how.
3616 cat >conftest.$ac_ext <<_ACEOF
3619 cat confdefs.h >>conftest.$ac_ext
3620 cat >>conftest.$ac_ext <<_ACEOF
3621 /* end confdefs.h. */
3622 #include <ac_nonexistent.h>
3624 if { (ac_try="$ac_cpp conftest.$ac_ext"
3626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3627 *) ac_try_echo=$ac_try;;
3629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3630 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3632 grep -v '^ *+' conftest.er1 >conftest.err
3634 cat conftest.err >&5
3635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636 (exit $ac_status); } >/dev/null && {
3637 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3638 test ! -s conftest.err
3640 # Broken: success on invalid input.
3643 echo "$as_me: failed program was:" >&5
3644 sed 's/^/| /' conftest.$ac_ext >&5
3646 # Passes both tests.
3651 rm -f conftest.err conftest.$ac_ext
3654 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3655 rm -f conftest.err conftest.$ac_ext
3656 if $ac_preproc_ok; then
3659 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3660 See \`config.log' for more details." >&5
3661 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3662 See \`config.log' for more details." >&2;}
3663 { (exit 1); exit 1; }; }
3667 ac_cpp='$CPP $CPPFLAGS'
3668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3673 { echo "$as_me:$LINENO: checking for X" >&5
3674 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3677 # Check whether --with-x was given.
3678 if test "${with_x+set}" = set; then
3682 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3683 if test "x$with_x" = xno; then
3684 # The user explicitly disabled X.
3687 case $x_includes,$x_libraries in #(
3688 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3689 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3690 { (exit 1); exit 1; }; };; #(
3691 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3692 echo $ECHO_N "(cached) $ECHO_C" >&6
3694 # One or both of the vars are not set, and there is no cached value.
3695 ac_x_includes=no ac_x_libraries=no
3696 rm -f -r conftest.dir
3697 if mkdir conftest.dir; then
3699 cat >Imakefile <<'_ACEOF'
3701 @echo incroot='${INCROOT}'
3703 @echo usrlibdir='${USRLIBDIR}'
3705 @echo libdir='${LIBDIR}'
3707 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3708 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3709 for ac_var in incroot usrlibdir libdir; do
3710 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3712 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3713 for ac_extension in a so sl; do
3714 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3715 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3716 ac_im_usrlibdir=$ac_im_libdir; break
3719 # Screen out bogus values from the imake configuration. They are
3720 # bogus both because they are the default anyway, and because
3721 # using them would break gcc on systems where it needs fixed includes.
3722 case $ac_im_incroot in
3723 /usr/include) ac_x_includes= ;;
3724 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3726 case $ac_im_usrlibdir in
3728 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3732 rm -f -r conftest.dir
3735 # Standard set of common directories for X headers.
3736 # Check X11 before X11Rn because it is often a symlink to the current release.
3748 /usr/local/X11/include
3749 /usr/local/X11R6/include
3750 /usr/local/X11R5/include
3751 /usr/local/X11R4/include
3753 /usr/local/include/X11
3754 /usr/local/include/X11R6
3755 /usr/local/include/X11R5
3756 /usr/local/include/X11R4
3760 /usr/XFree86/include/X11
3764 /usr/unsupported/include
3766 /usr/local/x11r5/include
3767 /usr/lpp/Xamples/include
3769 /usr/openwin/include
3770 /usr/openwin/share/include'
3772 if test "$ac_x_includes" = no; then
3773 # Guess where to find include files, by looking for Xlib.h.
3774 # First, try using that file with no special directory specified.
3775 cat >conftest.$ac_ext <<_ACEOF
3778 cat confdefs.h >>conftest.$ac_ext
3779 cat >>conftest.$ac_ext <<_ACEOF
3780 /* end confdefs.h. */
3781 #include <X11/Xlib.h>
3783 if { (ac_try="$ac_cpp conftest.$ac_ext"
3785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3786 *) ac_try_echo=$ac_try;;
3788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3789 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3791 grep -v '^ *+' conftest.er1 >conftest.err
3793 cat conftest.err >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); } >/dev/null && {
3796 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3797 test ! -s conftest.err
3799 # We can compile using X headers with no special include directory.
3802 echo "$as_me: failed program was:" >&5
3803 sed 's/^/| /' conftest.$ac_ext >&5
3805 for ac_dir in $ac_x_header_dirs; do
3806 if test -r "$ac_dir/X11/Xlib.h"; then
3807 ac_x_includes=$ac_dir
3813 rm -f conftest.err conftest.$ac_ext
3814 fi # $ac_x_includes = no
3816 if test "$ac_x_libraries" = no; then
3817 # Check for the libraries.
3818 # See if we find them without any special options.
3819 # Don't add to $LIBS permanently.
3822 cat >conftest.$ac_ext <<_ACEOF
3825 cat confdefs.h >>conftest.$ac_ext
3826 cat >>conftest.$ac_ext <<_ACEOF
3827 /* end confdefs.h. */
3828 #include <X11/Xlib.h>
3837 rm -f conftest.$ac_objext conftest$ac_exeext
3838 if { (ac_try="$ac_link"
3840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3841 *) ac_try_echo=$ac_try;;
3843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3844 (eval "$ac_link") 2>conftest.er1
3846 grep -v '^ *+' conftest.er1 >conftest.err
3848 cat conftest.err >&5
3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); } && {
3851 test -z "$ac_c_werror_flag" ||
3852 test ! -s conftest.err
3853 } && test -s conftest$ac_exeext &&
3854 $as_test_x conftest$ac_exeext; then
3856 # We can link X programs with no special library path.
3859 echo "$as_me: failed program was:" >&5
3860 sed 's/^/| /' conftest.$ac_ext >&5
3863 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3865 # Don't even attempt the hair of trying to link an X program!
3866 for ac_extension in a so sl; do
3867 if test -r "$ac_dir/libX11.$ac_extension"; then
3868 ac_x_libraries=$ac_dir
3875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3876 conftest$ac_exeext conftest.$ac_ext
3877 fi # $ac_x_libraries = no
3879 case $ac_x_includes,$ac_x_libraries in #(
3881 # Didn't find X, or a directory has "'" in its name.
3882 ac_cv_have_x="have_x=no";; #(
3884 # Record where we found X for the cache.
3885 ac_cv_have_x="have_x=yes\
3886 ac_x_includes='$ac_x_includes'\
3887 ac_x_libraries='$ac_x_libraries'"
3893 eval "$ac_cv_have_x"
3896 if test "$have_x" != yes; then
3897 { echo "$as_me:$LINENO: result: $have_x" >&5
3898 echo "${ECHO_T}$have_x" >&6; }
3901 # If each of the values was on the command line, it overrides each guess.
3902 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3903 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3904 # Update the cache value to reflect the command line values.
3905 ac_cv_have_x="have_x=yes\
3906 ac_x_includes='$x_includes'\
3907 ac_x_libraries='$x_libraries'"
3908 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3909 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3912 if test "$no_x" = yes; then
3913 # Not all programs may use this symbol, but it does not hurt to define it.
3915 cat >>confdefs.h <<\_ACEOF
3916 #define X_DISPLAY_MISSING 1
3919 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3921 if test -n "$x_includes"; then
3922 X_CFLAGS="$X_CFLAGS -I$x_includes"
3925 # It would also be nice to do this for all -L options, not just this one.
3926 if test -n "$x_libraries"; then
3927 X_LIBS="$X_LIBS -L$x_libraries"
3928 # For Solaris; some versions of Sun CC require a space after -R and
3929 # others require no space. Words are not sufficient . . . .
3930 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3931 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3932 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3933 ac_xsave_c_werror_flag=$ac_c_werror_flag
3934 ac_c_werror_flag=yes
3935 cat >conftest.$ac_ext <<_ACEOF
3938 cat confdefs.h >>conftest.$ac_ext
3939 cat >>conftest.$ac_ext <<_ACEOF
3940 /* end confdefs.h. */
3950 rm -f conftest.$ac_objext conftest$ac_exeext
3951 if { (ac_try="$ac_link"
3953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3954 *) ac_try_echo=$ac_try;;
3956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3957 (eval "$ac_link") 2>conftest.er1
3959 grep -v '^ *+' conftest.er1 >conftest.err
3961 cat conftest.err >&5
3962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963 (exit $ac_status); } && {
3964 test -z "$ac_c_werror_flag" ||
3965 test ! -s conftest.err
3966 } && test -s conftest$ac_exeext &&
3967 $as_test_x conftest$ac_exeext; then
3968 { echo "$as_me:$LINENO: result: no" >&5
3969 echo "${ECHO_T}no" >&6; }
3970 X_LIBS="$X_LIBS -R$x_libraries"
3972 echo "$as_me: failed program was:" >&5
3973 sed 's/^/| /' conftest.$ac_ext >&5
3975 LIBS="$ac_xsave_LIBS -R $x_libraries"
3976 cat >conftest.$ac_ext <<_ACEOF
3979 cat confdefs.h >>conftest.$ac_ext
3980 cat >>conftest.$ac_ext <<_ACEOF
3981 /* end confdefs.h. */
3991 rm -f conftest.$ac_objext conftest$ac_exeext
3992 if { (ac_try="$ac_link"
3994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3995 *) ac_try_echo=$ac_try;;
3997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3998 (eval "$ac_link") 2>conftest.er1
4000 grep -v '^ *+' conftest.er1 >conftest.err
4002 cat conftest.err >&5
4003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004 (exit $ac_status); } && {
4005 test -z "$ac_c_werror_flag" ||
4006 test ! -s conftest.err
4007 } && test -s conftest$ac_exeext &&
4008 $as_test_x conftest$ac_exeext; then
4009 { echo "$as_me:$LINENO: result: yes" >&5
4010 echo "${ECHO_T}yes" >&6; }
4011 X_LIBS="$X_LIBS -R $x_libraries"
4013 echo "$as_me: failed program was:" >&5
4014 sed 's/^/| /' conftest.$ac_ext >&5
4016 { echo "$as_me:$LINENO: result: neither works" >&5
4017 echo "${ECHO_T}neither works" >&6; }
4020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4021 conftest$ac_exeext conftest.$ac_ext
4024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4025 conftest$ac_exeext conftest.$ac_ext
4026 ac_c_werror_flag=$ac_xsave_c_werror_flag
4030 # Check for system-dependent libraries X programs must link with.
4031 # Do this before checking for the system-independent R6 libraries
4032 # (-lICE), since we may need -lsocket or whatever for X linking.
4034 if test "$ISC" = yes; then
4035 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4037 # Martyn Johnson says this is needed for Ultrix, if the X
4038 # libraries were built with DECnet support. And Karl Berry says
4039 # the Alpha needs dnet_stub (dnet does not exist).
4040 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4041 cat >conftest.$ac_ext <<_ACEOF
4044 cat confdefs.h >>conftest.$ac_ext
4045 cat >>conftest.$ac_ext <<_ACEOF
4046 /* end confdefs.h. */
4048 /* Override any GCC internal prototype to avoid an error.
4049 Use char because int might match the return type of a GCC
4050 builtin and then its argument prototype would still apply. */
4054 char XOpenDisplay ();
4058 return XOpenDisplay ();
4063 rm -f conftest.$ac_objext conftest$ac_exeext
4064 if { (ac_try="$ac_link"
4066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4067 *) ac_try_echo=$ac_try;;
4069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4070 (eval "$ac_link") 2>conftest.er1
4072 grep -v '^ *+' conftest.er1 >conftest.err
4074 cat conftest.err >&5
4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 (exit $ac_status); } && {
4077 test -z "$ac_c_werror_flag" ||
4078 test ! -s conftest.err
4079 } && test -s conftest$ac_exeext &&
4080 $as_test_x conftest$ac_exeext; then
4083 echo "$as_me: failed program was:" >&5
4084 sed 's/^/| /' conftest.$ac_ext >&5
4086 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4087 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4088 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4089 echo $ECHO_N "(cached) $ECHO_C" >&6
4091 ac_check_lib_save_LIBS=$LIBS
4093 cat >conftest.$ac_ext <<_ACEOF
4096 cat confdefs.h >>conftest.$ac_ext
4097 cat >>conftest.$ac_ext <<_ACEOF
4098 /* end confdefs.h. */
4100 /* Override any GCC internal prototype to avoid an error.
4101 Use char because int might match the return type of a GCC
4102 builtin and then its argument prototype would still apply. */
4110 return dnet_ntoa ();
4115 rm -f conftest.$ac_objext conftest$ac_exeext
4116 if { (ac_try="$ac_link"
4118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4119 *) ac_try_echo=$ac_try;;
4121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4122 (eval "$ac_link") 2>conftest.er1
4124 grep -v '^ *+' conftest.er1 >conftest.err
4126 cat conftest.err >&5
4127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4128 (exit $ac_status); } && {
4129 test -z "$ac_c_werror_flag" ||
4130 test ! -s conftest.err
4131 } && test -s conftest$ac_exeext &&
4132 $as_test_x conftest$ac_exeext; then
4133 ac_cv_lib_dnet_dnet_ntoa=yes
4135 echo "$as_me: failed program was:" >&5
4136 sed 's/^/| /' conftest.$ac_ext >&5
4138 ac_cv_lib_dnet_dnet_ntoa=no
4141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4142 conftest$ac_exeext conftest.$ac_ext
4143 LIBS=$ac_check_lib_save_LIBS
4145 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4146 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4147 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4148 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4151 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4152 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4153 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4154 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4155 echo $ECHO_N "(cached) $ECHO_C" >&6
4157 ac_check_lib_save_LIBS=$LIBS
4158 LIBS="-ldnet_stub $LIBS"
4159 cat >conftest.$ac_ext <<_ACEOF
4162 cat confdefs.h >>conftest.$ac_ext
4163 cat >>conftest.$ac_ext <<_ACEOF
4164 /* end confdefs.h. */
4166 /* Override any GCC internal prototype to avoid an error.
4167 Use char because int might match the return type of a GCC
4168 builtin and then its argument prototype would still apply. */
4176 return dnet_ntoa ();
4181 rm -f conftest.$ac_objext conftest$ac_exeext
4182 if { (ac_try="$ac_link"
4184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4185 *) ac_try_echo=$ac_try;;
4187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4188 (eval "$ac_link") 2>conftest.er1
4190 grep -v '^ *+' conftest.er1 >conftest.err
4192 cat conftest.err >&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); } && {
4195 test -z "$ac_c_werror_flag" ||
4196 test ! -s conftest.err
4197 } && test -s conftest$ac_exeext &&
4198 $as_test_x conftest$ac_exeext; then
4199 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4201 echo "$as_me: failed program was:" >&5
4202 sed 's/^/| /' conftest.$ac_ext >&5
4204 ac_cv_lib_dnet_stub_dnet_ntoa=no
4207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4208 conftest$ac_exeext conftest.$ac_ext
4209 LIBS=$ac_check_lib_save_LIBS
4211 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4212 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4213 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4214 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4221 conftest$ac_exeext conftest.$ac_ext
4222 LIBS="$ac_xsave_LIBS"
4224 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4225 # to get the SysV transport functions.
4226 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4228 # The nsl library prevents programs from opening the X display
4229 # on Irix 5.2, according to T.E. Dickey.
4230 # The functions gethostbyname, getservbyname, and inet_addr are
4231 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4232 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4233 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4234 if test "${ac_cv_func_gethostbyname+set}" = set; then
4235 echo $ECHO_N "(cached) $ECHO_C" >&6
4237 cat >conftest.$ac_ext <<_ACEOF
4240 cat confdefs.h >>conftest.$ac_ext
4241 cat >>conftest.$ac_ext <<_ACEOF
4242 /* end confdefs.h. */
4243 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4245 #define gethostbyname innocuous_gethostbyname
4247 /* System header to define __stub macros and hopefully few prototypes,
4248 which can conflict with char gethostbyname (); below.
4249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4250 <limits.h> exists even on freestanding compilers. */
4253 # include <limits.h>
4255 # include <assert.h>
4258 #undef gethostbyname
4260 /* Override any GCC internal prototype to avoid an error.
4261 Use char because int might match the return type of a GCC
4262 builtin and then its argument prototype would still apply. */
4266 char gethostbyname ();
4267 /* The GNU C library defines this for functions which it implements
4268 to always fail with ENOSYS. Some functions are actually named
4269 something starting with __ and the normal name is an alias. */
4270 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4277 return gethostbyname ();
4282 rm -f conftest.$ac_objext conftest$ac_exeext
4283 if { (ac_try="$ac_link"
4285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4286 *) ac_try_echo=$ac_try;;
4288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4289 (eval "$ac_link") 2>conftest.er1
4291 grep -v '^ *+' conftest.er1 >conftest.err
4293 cat conftest.err >&5
4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295 (exit $ac_status); } && {
4296 test -z "$ac_c_werror_flag" ||
4297 test ! -s conftest.err
4298 } && test -s conftest$ac_exeext &&
4299 $as_test_x conftest$ac_exeext; then
4300 ac_cv_func_gethostbyname=yes
4302 echo "$as_me: failed program was:" >&5
4303 sed 's/^/| /' conftest.$ac_ext >&5
4305 ac_cv_func_gethostbyname=no
4308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4309 conftest$ac_exeext conftest.$ac_ext
4311 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4312 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4314 if test $ac_cv_func_gethostbyname = no; then
4315 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4316 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4317 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4318 echo $ECHO_N "(cached) $ECHO_C" >&6
4320 ac_check_lib_save_LIBS=$LIBS
4322 cat >conftest.$ac_ext <<_ACEOF
4325 cat confdefs.h >>conftest.$ac_ext
4326 cat >>conftest.$ac_ext <<_ACEOF
4327 /* end confdefs.h. */
4329 /* Override any GCC internal prototype to avoid an error.
4330 Use char because int might match the return type of a GCC
4331 builtin and then its argument prototype would still apply. */
4335 char gethostbyname ();
4339 return gethostbyname ();
4344 rm -f conftest.$ac_objext conftest$ac_exeext
4345 if { (ac_try="$ac_link"
4347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4348 *) ac_try_echo=$ac_try;;
4350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4351 (eval "$ac_link") 2>conftest.er1
4353 grep -v '^ *+' conftest.er1 >conftest.err
4355 cat conftest.err >&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); } && {
4358 test -z "$ac_c_werror_flag" ||
4359 test ! -s conftest.err
4360 } && test -s conftest$ac_exeext &&
4361 $as_test_x conftest$ac_exeext; then
4362 ac_cv_lib_nsl_gethostbyname=yes
4364 echo "$as_me: failed program was:" >&5
4365 sed 's/^/| /' conftest.$ac_ext >&5
4367 ac_cv_lib_nsl_gethostbyname=no
4370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4371 conftest$ac_exeext conftest.$ac_ext
4372 LIBS=$ac_check_lib_save_LIBS
4374 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4375 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4376 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4377 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4380 if test $ac_cv_lib_nsl_gethostbyname = no; then
4381 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4382 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4383 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4384 echo $ECHO_N "(cached) $ECHO_C" >&6
4386 ac_check_lib_save_LIBS=$LIBS
4388 cat >conftest.$ac_ext <<_ACEOF
4391 cat confdefs.h >>conftest.$ac_ext
4392 cat >>conftest.$ac_ext <<_ACEOF
4393 /* end confdefs.h. */
4395 /* Override any GCC internal prototype to avoid an error.
4396 Use char because int might match the return type of a GCC
4397 builtin and then its argument prototype would still apply. */
4401 char gethostbyname ();
4405 return gethostbyname ();
4410 rm -f conftest.$ac_objext conftest$ac_exeext
4411 if { (ac_try="$ac_link"
4413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4414 *) ac_try_echo=$ac_try;;
4416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4417 (eval "$ac_link") 2>conftest.er1
4419 grep -v '^ *+' conftest.er1 >conftest.err
4421 cat conftest.err >&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); } && {
4424 test -z "$ac_c_werror_flag" ||
4425 test ! -s conftest.err
4426 } && test -s conftest$ac_exeext &&
4427 $as_test_x conftest$ac_exeext; then
4428 ac_cv_lib_bsd_gethostbyname=yes
4430 echo "$as_me: failed program was:" >&5
4431 sed 's/^/| /' conftest.$ac_ext >&5
4433 ac_cv_lib_bsd_gethostbyname=no
4436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4437 conftest$ac_exeext conftest.$ac_ext
4438 LIBS=$ac_check_lib_save_LIBS
4440 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4441 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4442 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4443 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4449 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4450 # socket/setsockopt and other routines are undefined under SCO ODT
4451 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4452 # on later versions), says Simon Leinen: it contains gethostby*
4453 # variants that don't use the name server (or something). -lsocket
4454 # must be given before -lnsl if both are needed. We assume that
4455 # if connect needs -lnsl, so does gethostbyname.
4456 { echo "$as_me:$LINENO: checking for connect" >&5
4457 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4458 if test "${ac_cv_func_connect+set}" = set; then
4459 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 cat >conftest.$ac_ext <<_ACEOF
4464 cat confdefs.h >>conftest.$ac_ext
4465 cat >>conftest.$ac_ext <<_ACEOF
4466 /* end confdefs.h. */
4467 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4469 #define connect innocuous_connect
4471 /* System header to define __stub macros and hopefully few prototypes,
4472 which can conflict with char connect (); below.
4473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4474 <limits.h> exists even on freestanding compilers. */
4477 # include <limits.h>
4479 # include <assert.h>
4484 /* Override any GCC internal prototype to avoid an error.
4485 Use char because int might match the return type of a GCC
4486 builtin and then its argument prototype would still apply. */
4491 /* The GNU C library defines this for functions which it implements
4492 to always fail with ENOSYS. Some functions are actually named
4493 something starting with __ and the normal name is an alias. */
4494 #if defined __stub_connect || defined __stub___connect
4506 rm -f conftest.$ac_objext conftest$ac_exeext
4507 if { (ac_try="$ac_link"
4509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4510 *) ac_try_echo=$ac_try;;
4512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4513 (eval "$ac_link") 2>conftest.er1
4515 grep -v '^ *+' conftest.er1 >conftest.err
4517 cat conftest.err >&5
4518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 (exit $ac_status); } && {
4520 test -z "$ac_c_werror_flag" ||
4521 test ! -s conftest.err
4522 } && test -s conftest$ac_exeext &&
4523 $as_test_x conftest$ac_exeext; then
4524 ac_cv_func_connect=yes
4526 echo "$as_me: failed program was:" >&5
4527 sed 's/^/| /' conftest.$ac_ext >&5
4529 ac_cv_func_connect=no
4532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4533 conftest$ac_exeext conftest.$ac_ext
4535 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4536 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4538 if test $ac_cv_func_connect = no; then
4539 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4540 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4541 if test "${ac_cv_lib_socket_connect+set}" = set; then
4542 echo $ECHO_N "(cached) $ECHO_C" >&6
4544 ac_check_lib_save_LIBS=$LIBS
4545 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4546 cat >conftest.$ac_ext <<_ACEOF
4549 cat confdefs.h >>conftest.$ac_ext
4550 cat >>conftest.$ac_ext <<_ACEOF
4551 /* end confdefs.h. */
4553 /* Override any GCC internal prototype to avoid an error.
4554 Use char because int might match the return type of a GCC
4555 builtin and then its argument prototype would still apply. */
4568 rm -f conftest.$ac_objext conftest$ac_exeext
4569 if { (ac_try="$ac_link"
4571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4572 *) ac_try_echo=$ac_try;;
4574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4575 (eval "$ac_link") 2>conftest.er1
4577 grep -v '^ *+' conftest.er1 >conftest.err
4579 cat conftest.err >&5
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); } && {
4582 test -z "$ac_c_werror_flag" ||
4583 test ! -s conftest.err
4584 } && test -s conftest$ac_exeext &&
4585 $as_test_x conftest$ac_exeext; then
4586 ac_cv_lib_socket_connect=yes
4588 echo "$as_me: failed program was:" >&5
4589 sed 's/^/| /' conftest.$ac_ext >&5
4591 ac_cv_lib_socket_connect=no
4594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4595 conftest$ac_exeext conftest.$ac_ext
4596 LIBS=$ac_check_lib_save_LIBS
4598 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4599 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4600 if test $ac_cv_lib_socket_connect = yes; then
4601 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4606 # Guillermo Gomez says -lposix is necessary on A/UX.
4607 { echo "$as_me:$LINENO: checking for remove" >&5
4608 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4609 if test "${ac_cv_func_remove+set}" = set; then
4610 echo $ECHO_N "(cached) $ECHO_C" >&6
4612 cat >conftest.$ac_ext <<_ACEOF
4615 cat confdefs.h >>conftest.$ac_ext
4616 cat >>conftest.$ac_ext <<_ACEOF
4617 /* end confdefs.h. */
4618 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4620 #define remove innocuous_remove
4622 /* System header to define __stub macros and hopefully few prototypes,
4623 which can conflict with char remove (); below.
4624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4625 <limits.h> exists even on freestanding compilers. */
4628 # include <limits.h>
4630 # include <assert.h>
4635 /* Override any GCC internal prototype to avoid an error.
4636 Use char because int might match the return type of a GCC
4637 builtin and then its argument prototype would still apply. */
4642 /* The GNU C library defines this for functions which it implements
4643 to always fail with ENOSYS. Some functions are actually named
4644 something starting with __ and the normal name is an alias. */
4645 #if defined __stub_remove || defined __stub___remove
4657 rm -f conftest.$ac_objext conftest$ac_exeext
4658 if { (ac_try="$ac_link"
4660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661 *) ac_try_echo=$ac_try;;
4663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4664 (eval "$ac_link") 2>conftest.er1
4666 grep -v '^ *+' conftest.er1 >conftest.err
4668 cat conftest.err >&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } && {
4671 test -z "$ac_c_werror_flag" ||
4672 test ! -s conftest.err
4673 } && test -s conftest$ac_exeext &&
4674 $as_test_x conftest$ac_exeext; then
4675 ac_cv_func_remove=yes
4677 echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.$ac_ext >&5
4680 ac_cv_func_remove=no
4683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4684 conftest$ac_exeext conftest.$ac_ext
4686 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4687 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4689 if test $ac_cv_func_remove = no; then
4690 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4691 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4692 if test "${ac_cv_lib_posix_remove+set}" = set; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4695 ac_check_lib_save_LIBS=$LIBS
4696 LIBS="-lposix $LIBS"
4697 cat >conftest.$ac_ext <<_ACEOF
4700 cat confdefs.h >>conftest.$ac_ext
4701 cat >>conftest.$ac_ext <<_ACEOF
4702 /* end confdefs.h. */
4704 /* Override any GCC internal prototype to avoid an error.
4705 Use char because int might match the return type of a GCC
4706 builtin and then its argument prototype would still apply. */
4719 rm -f conftest.$ac_objext conftest$ac_exeext
4720 if { (ac_try="$ac_link"
4722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4723 *) ac_try_echo=$ac_try;;
4725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4726 (eval "$ac_link") 2>conftest.er1
4728 grep -v '^ *+' conftest.er1 >conftest.err
4730 cat conftest.err >&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); } && {
4733 test -z "$ac_c_werror_flag" ||
4734 test ! -s conftest.err
4735 } && test -s conftest$ac_exeext &&
4736 $as_test_x conftest$ac_exeext; then
4737 ac_cv_lib_posix_remove=yes
4739 echo "$as_me: failed program was:" >&5
4740 sed 's/^/| /' conftest.$ac_ext >&5
4742 ac_cv_lib_posix_remove=no
4745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4746 conftest$ac_exeext conftest.$ac_ext
4747 LIBS=$ac_check_lib_save_LIBS
4749 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4750 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4751 if test $ac_cv_lib_posix_remove = yes; then
4752 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4757 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4758 { echo "$as_me:$LINENO: checking for shmat" >&5
4759 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4760 if test "${ac_cv_func_shmat+set}" = set; then
4761 echo $ECHO_N "(cached) $ECHO_C" >&6
4763 cat >conftest.$ac_ext <<_ACEOF
4766 cat confdefs.h >>conftest.$ac_ext
4767 cat >>conftest.$ac_ext <<_ACEOF
4768 /* end confdefs.h. */
4769 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4771 #define shmat innocuous_shmat
4773 /* System header to define __stub macros and hopefully few prototypes,
4774 which can conflict with char shmat (); below.
4775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4776 <limits.h> exists even on freestanding compilers. */
4779 # include <limits.h>
4781 # include <assert.h>
4786 /* Override any GCC internal prototype to avoid an error.
4787 Use char because int might match the return type of a GCC
4788 builtin and then its argument prototype would still apply. */
4793 /* The GNU C library defines this for functions which it implements
4794 to always fail with ENOSYS. Some functions are actually named
4795 something starting with __ and the normal name is an alias. */
4796 #if defined __stub_shmat || defined __stub___shmat
4808 rm -f conftest.$ac_objext conftest$ac_exeext
4809 if { (ac_try="$ac_link"
4811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4812 *) ac_try_echo=$ac_try;;
4814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4815 (eval "$ac_link") 2>conftest.er1
4817 grep -v '^ *+' conftest.er1 >conftest.err
4819 cat conftest.err >&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); } && {
4822 test -z "$ac_c_werror_flag" ||
4823 test ! -s conftest.err
4824 } && test -s conftest$ac_exeext &&
4825 $as_test_x conftest$ac_exeext; then
4826 ac_cv_func_shmat=yes
4828 echo "$as_me: failed program was:" >&5
4829 sed 's/^/| /' conftest.$ac_ext >&5
4834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4835 conftest$ac_exeext conftest.$ac_ext
4837 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4838 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4840 if test $ac_cv_func_shmat = no; then
4841 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4842 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4843 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4844 echo $ECHO_N "(cached) $ECHO_C" >&6
4846 ac_check_lib_save_LIBS=$LIBS
4848 cat >conftest.$ac_ext <<_ACEOF
4851 cat confdefs.h >>conftest.$ac_ext
4852 cat >>conftest.$ac_ext <<_ACEOF
4853 /* end confdefs.h. */
4855 /* Override any GCC internal prototype to avoid an error.
4856 Use char because int might match the return type of a GCC
4857 builtin and then its argument prototype would still apply. */
4870 rm -f conftest.$ac_objext conftest$ac_exeext
4871 if { (ac_try="$ac_link"
4873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4874 *) ac_try_echo=$ac_try;;
4876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4877 (eval "$ac_link") 2>conftest.er1
4879 grep -v '^ *+' conftest.er1 >conftest.err
4881 cat conftest.err >&5
4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883 (exit $ac_status); } && {
4884 test -z "$ac_c_werror_flag" ||
4885 test ! -s conftest.err
4886 } && test -s conftest$ac_exeext &&
4887 $as_test_x conftest$ac_exeext; then
4888 ac_cv_lib_ipc_shmat=yes
4890 echo "$as_me: failed program was:" >&5
4891 sed 's/^/| /' conftest.$ac_ext >&5
4893 ac_cv_lib_ipc_shmat=no
4896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4897 conftest$ac_exeext conftest.$ac_ext
4898 LIBS=$ac_check_lib_save_LIBS
4900 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4901 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4902 if test $ac_cv_lib_ipc_shmat = yes; then
4903 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4909 # Check for libraries that X11R6 Xt/Xaw programs need.
4910 ac_save_LDFLAGS=$LDFLAGS
4911 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4912 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4913 # check for ICE first), but we must link in the order -lSM -lICE or
4914 # we get undefined symbols. So assume we have SM if we have ICE.
4915 # These have to be linked with before -lX11, unlike the other
4916 # libraries we check for below, so use a different variable.
4917 # John Interrante, Karl Berry
4918 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4919 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4920 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4921 echo $ECHO_N "(cached) $ECHO_C" >&6
4923 ac_check_lib_save_LIBS=$LIBS
4924 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4925 cat >conftest.$ac_ext <<_ACEOF
4928 cat confdefs.h >>conftest.$ac_ext
4929 cat >>conftest.$ac_ext <<_ACEOF
4930 /* end confdefs.h. */
4932 /* Override any GCC internal prototype to avoid an error.
4933 Use char because int might match the return type of a GCC
4934 builtin and then its argument prototype would still apply. */
4938 char IceConnectionNumber ();
4942 return IceConnectionNumber ();
4947 rm -f conftest.$ac_objext conftest$ac_exeext
4948 if { (ac_try="$ac_link"
4950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4951 *) ac_try_echo=$ac_try;;
4953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4954 (eval "$ac_link") 2>conftest.er1
4956 grep -v '^ *+' conftest.er1 >conftest.err
4958 cat conftest.err >&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); } && {
4961 test -z "$ac_c_werror_flag" ||
4962 test ! -s conftest.err
4963 } && test -s conftest$ac_exeext &&
4964 $as_test_x conftest$ac_exeext; then
4965 ac_cv_lib_ICE_IceConnectionNumber=yes
4967 echo "$as_me: failed program was:" >&5
4968 sed 's/^/| /' conftest.$ac_ext >&5
4970 ac_cv_lib_ICE_IceConnectionNumber=no
4973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4974 conftest$ac_exeext conftest.$ac_ext
4975 LIBS=$ac_check_lib_save_LIBS
4977 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4978 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4979 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4980 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4983 LDFLAGS=$ac_save_LDFLAGS
4987 for ac_prog in flex lex
4989 # Extract the first word of "$ac_prog", so it can be a program name with args.
4990 set dummy $ac_prog; ac_word=$2
4991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4993 if test "${ac_cv_prog_LEX+set}" = set; then
4994 echo $ECHO_N "(cached) $ECHO_C" >&6
4996 if test -n "$LEX"; then
4997 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5003 test -z "$as_dir" && as_dir=.
5004 for ac_exec_ext in '' $ac_executable_extensions; do
5005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5006 ac_cv_prog_LEX="$ac_prog"
5007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5017 if test -n "$LEX"; then
5018 { echo "$as_me:$LINENO: result: $LEX" >&5
5019 echo "${ECHO_T}$LEX" >&6; }
5021 { echo "$as_me:$LINENO: result: no" >&5
5022 echo "${ECHO_T}no" >&6; }
5026 test -n "$LEX" && break
5028 test -n "$LEX" || LEX=":"
5030 if test "x$LEX" != "x:"; then
5031 cat >conftest.l <<_ACEOF
5037 e { yyless (input () != 0); }
5038 f { unput (yytext[0]); }
5039 . { BEGIN INITIAL; }
5041 #ifdef YYTEXT_POINTER
5042 extern char *yytext;
5047 return ! yylex () + ! yywrap ();
5050 { (ac_try="$LEX conftest.l"
5052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5053 *) ac_try_echo=$ac_try;;
5055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5056 (eval "$LEX conftest.l") 2>&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); }
5060 { echo "$as_me:$LINENO: checking lex output file root" >&5
5061 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5062 if test "${ac_cv_prog_lex_root+set}" = set; then
5063 echo $ECHO_N "(cached) $ECHO_C" >&6
5066 if test -f lex.yy.c; then
5067 ac_cv_prog_lex_root=lex.yy
5068 elif test -f lexyy.c; then
5069 ac_cv_prog_lex_root=lexyy
5071 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5072 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5073 { (exit 1); exit 1; }; }
5076 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5077 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5078 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5080 if test -z "${LEXLIB+set}"; then
5081 { echo "$as_me:$LINENO: checking lex library" >&5
5082 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
5083 if test "${ac_cv_lib_lex+set}" = set; then
5084 echo $ECHO_N "(cached) $ECHO_C" >&6
5088 ac_cv_lib_lex='none needed'
5089 for ac_lib in '' -lfl -ll; do
5090 LIBS="$ac_lib $ac_save_LIBS"
5091 cat >conftest.$ac_ext <<_ACEOF
5092 `cat $LEX_OUTPUT_ROOT.c`
5094 rm -f conftest.$ac_objext conftest$ac_exeext
5095 if { (ac_try="$ac_link"
5097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5098 *) ac_try_echo=$ac_try;;
5100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5101 (eval "$ac_link") 2>conftest.er1
5103 grep -v '^ *+' conftest.er1 >conftest.err
5105 cat conftest.err >&5
5106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107 (exit $ac_status); } && {
5108 test -z "$ac_c_werror_flag" ||
5109 test ! -s conftest.err
5110 } && test -s conftest$ac_exeext &&
5111 $as_test_x conftest$ac_exeext; then
5112 ac_cv_lib_lex=$ac_lib
5114 echo "$as_me: failed program was:" >&5
5115 sed 's/^/| /' conftest.$ac_ext >&5
5120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5121 conftest$ac_exeext conftest.$ac_ext
5122 test "$ac_cv_lib_lex" != 'none needed' && break
5127 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
5128 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
5129 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5133 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5134 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5135 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5136 echo $ECHO_N "(cached) $ECHO_C" >&6
5138 # POSIX says lex can declare yytext either as a pointer or an array; the
5139 # default is implementation-dependent. Figure out which it is, since
5140 # not all implementations provide the %pointer and %array declarations.
5141 ac_cv_prog_lex_yytext_pointer=no
5143 LIBS="$LEXLIB $ac_save_LIBS"
5144 cat >conftest.$ac_ext <<_ACEOF
5145 #define YYTEXT_POINTER 1
5146 `cat $LEX_OUTPUT_ROOT.c`
5148 rm -f conftest.$ac_objext conftest$ac_exeext
5149 if { (ac_try="$ac_link"
5151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5152 *) ac_try_echo=$ac_try;;
5154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5155 (eval "$ac_link") 2>conftest.er1
5157 grep -v '^ *+' conftest.er1 >conftest.err
5159 cat conftest.err >&5
5160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5161 (exit $ac_status); } && {
5162 test -z "$ac_c_werror_flag" ||
5163 test ! -s conftest.err
5164 } && test -s conftest$ac_exeext &&
5165 $as_test_x conftest$ac_exeext; then
5166 ac_cv_prog_lex_yytext_pointer=yes
5168 echo "$as_me: failed program was:" >&5
5169 sed 's/^/| /' conftest.$ac_ext >&5
5174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5175 conftest$ac_exeext conftest.$ac_ext
5179 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5180 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5181 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5183 cat >>confdefs.h <<\_ACEOF
5184 #define YYTEXT_POINTER 1
5188 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5192 for ac_prog in $LEX flex lex
5194 # Extract the first word of "$ac_prog", so it can be a program name with args.
5195 set dummy $ac_prog; ac_word=$2
5196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5198 if test "${ac_cv_prog_XLEX+set}" = set; then
5199 echo $ECHO_N "(cached) $ECHO_C" >&6
5201 if test -n "$XLEX"; then
5202 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5208 test -z "$as_dir" && as_dir=.
5209 for ac_exec_ext in '' $ac_executable_extensions; do
5210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5211 ac_cv_prog_XLEX="$ac_prog"
5212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5221 XLEX=$ac_cv_prog_XLEX
5222 if test -n "$XLEX"; then
5223 { echo "$as_me:$LINENO: result: $XLEX" >&5
5224 echo "${ECHO_T}$XLEX" >&6; }
5226 { echo "$as_me:$LINENO: result: no" >&5
5227 echo "${ECHO_T}no" >&6; }
5231 test -n "$XLEX" && break
5233 test -n "$XLEX" || XLEX="none"
5235 if test "$XLEX" = "none"
5237 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5238 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5239 { (exit 1); exit 1; }; }
5242 for ac_prog in bison
5244 # Extract the first word of "$ac_prog", so it can be a program name with args.
5245 set dummy $ac_prog; ac_word=$2
5246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5248 if test "${ac_cv_prog_BISON+set}" = set; then
5249 echo $ECHO_N "(cached) $ECHO_C" >&6
5251 if test -n "$BISON"; then
5252 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5258 test -z "$as_dir" && as_dir=.
5259 for ac_exec_ext in '' $ac_executable_extensions; do
5260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5261 ac_cv_prog_BISON="$ac_prog"
5262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 BISON=$ac_cv_prog_BISON
5272 if test -n "$BISON"; then
5273 { echo "$as_me:$LINENO: result: $BISON" >&5
5274 echo "${ECHO_T}$BISON" >&6; }
5276 { echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6; }
5281 test -n "$BISON" && break
5283 test -n "$BISON" || BISON="none"
5285 if test "$BISON" = "none"
5287 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5288 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5289 { (exit 1); exit 1; }; }
5292 if test -n "$ac_tool_prefix"; then
5293 for ac_prog in gas as
5295 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5296 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5299 if test "${ac_cv_prog_AS+set}" = set; then
5300 echo $ECHO_N "(cached) $ECHO_C" >&6
5302 if test -n "$AS"; then
5303 ac_cv_prog_AS="$AS" # Let the user override the test.
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 test -z "$as_dir" && as_dir=.
5310 for ac_exec_ext in '' $ac_executable_extensions; do
5311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5312 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5323 if test -n "$AS"; then
5324 { echo "$as_me:$LINENO: result: $AS" >&5
5325 echo "${ECHO_T}$AS" >&6; }
5327 { echo "$as_me:$LINENO: result: no" >&5
5328 echo "${ECHO_T}no" >&6; }
5332 test -n "$AS" && break
5335 if test -z "$AS"; then
5337 for ac_prog in gas as
5339 # Extract the first word of "$ac_prog", so it can be a program name with args.
5340 set dummy $ac_prog; ac_word=$2
5341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5343 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5344 echo $ECHO_N "(cached) $ECHO_C" >&6
5346 if test -n "$ac_ct_AS"; then
5347 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir=.
5354 for ac_exec_ext in '' $ac_executable_extensions; do
5355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5356 ac_cv_prog_ac_ct_AS="$ac_prog"
5357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5366 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5367 if test -n "$ac_ct_AS"; then
5368 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5369 echo "${ECHO_T}$ac_ct_AS" >&6; }
5371 { echo "$as_me:$LINENO: result: no" >&5
5372 echo "${ECHO_T}no" >&6; }
5376 test -n "$ac_ct_AS" && break
5379 if test "x$ac_ct_AS" = x; then
5382 case $cross_compiling:$ac_tool_warned in
5384 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5385 whose name does not start with the host triplet. If you think this
5386 configuration is useful to you, please write to autoconf@gnu.org." >&5
5387 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5388 whose name does not start with the host triplet. If you think this
5389 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5390 ac_tool_warned=yes ;;
5396 if test -n "$ac_tool_prefix"; then
5397 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5398 set dummy ${ac_tool_prefix}ld; ac_word=$2
5399 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5401 if test "${ac_cv_prog_LD+set}" = set; then
5402 echo $ECHO_N "(cached) $ECHO_C" >&6
5404 if test -n "$LD"; then
5405 ac_cv_prog_LD="$LD" # Let the user override the test.
5407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5411 test -z "$as_dir" && as_dir=.
5412 for ac_exec_ext in '' $ac_executable_extensions; do
5413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5414 ac_cv_prog_LD="${ac_tool_prefix}ld"
5415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5425 if test -n "$LD"; then
5426 { echo "$as_me:$LINENO: result: $LD" >&5
5427 echo "${ECHO_T}$LD" >&6; }
5429 { echo "$as_me:$LINENO: result: no" >&5
5430 echo "${ECHO_T}no" >&6; }
5435 if test -z "$ac_cv_prog_LD"; then
5437 # Extract the first word of "ld", so it can be a program name with args.
5438 set dummy ld; ac_word=$2
5439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5441 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5442 echo $ECHO_N "(cached) $ECHO_C" >&6
5444 if test -n "$ac_ct_LD"; then
5445 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5451 test -z "$as_dir" && as_dir=.
5452 for ac_exec_ext in '' $ac_executable_extensions; do
5453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5454 ac_cv_prog_ac_ct_LD="ld"
5455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5464 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5465 if test -n "$ac_ct_LD"; then
5466 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5467 echo "${ECHO_T}$ac_ct_LD" >&6; }
5469 { echo "$as_me:$LINENO: result: no" >&5
5470 echo "${ECHO_T}no" >&6; }
5473 if test "x$ac_ct_LD" = x; then
5476 case $cross_compiling:$ac_tool_warned in
5478 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5479 whose name does not start with the host triplet. If you think this
5480 configuration is useful to you, please write to autoconf@gnu.org." >&5
5481 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5482 whose name does not start with the host triplet. If you think this
5483 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5484 ac_tool_warned=yes ;;
5492 if test -n "$ac_tool_prefix"; then
5493 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5494 set dummy ${ac_tool_prefix}ar; ac_word=$2
5495 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5497 if test "${ac_cv_prog_AR+set}" = set; then
5498 echo $ECHO_N "(cached) $ECHO_C" >&6
5500 if test -n "$AR"; then
5501 ac_cv_prog_AR="$AR" # Let the user override the test.
5503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5507 test -z "$as_dir" && as_dir=.
5508 for ac_exec_ext in '' $ac_executable_extensions; do
5509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5510 ac_cv_prog_AR="${ac_tool_prefix}ar"
5511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5521 if test -n "$AR"; then
5522 { echo "$as_me:$LINENO: result: $AR" >&5
5523 echo "${ECHO_T}$AR" >&6; }
5525 { echo "$as_me:$LINENO: result: no" >&5
5526 echo "${ECHO_T}no" >&6; }
5531 if test -z "$ac_cv_prog_AR"; then
5533 # Extract the first word of "ar", so it can be a program name with args.
5534 set dummy ar; ac_word=$2
5535 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5537 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5538 echo $ECHO_N "(cached) $ECHO_C" >&6
5540 if test -n "$ac_ct_AR"; then
5541 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5547 test -z "$as_dir" && as_dir=.
5548 for ac_exec_ext in '' $ac_executable_extensions; do
5549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5550 ac_cv_prog_ac_ct_AR="ar"
5551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5560 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5561 if test -n "$ac_ct_AR"; then
5562 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5563 echo "${ECHO_T}$ac_ct_AR" >&6; }
5565 { echo "$as_me:$LINENO: result: no" >&5
5566 echo "${ECHO_T}no" >&6; }
5569 if test "x$ac_ct_AR" = x; then
5572 case $cross_compiling:$ac_tool_warned in
5574 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5575 whose name does not start with the host triplet. If you think this
5576 configuration is useful to you, please write to autoconf@gnu.org." >&5
5577 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5578 whose name does not start with the host triplet. If you think this
5579 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5580 ac_tool_warned=yes ;;
5588 if test -n "$ac_tool_prefix"; then
5589 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5590 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5593 if test "${ac_cv_prog_RANLIB+set}" = set; then
5594 echo $ECHO_N "(cached) $ECHO_C" >&6
5596 if test -n "$RANLIB"; then
5597 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5603 test -z "$as_dir" && as_dir=.
5604 for ac_exec_ext in '' $ac_executable_extensions; do
5605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5606 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5616 RANLIB=$ac_cv_prog_RANLIB
5617 if test -n "$RANLIB"; then
5618 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5619 echo "${ECHO_T}$RANLIB" >&6; }
5621 { echo "$as_me:$LINENO: result: no" >&5
5622 echo "${ECHO_T}no" >&6; }
5627 if test -z "$ac_cv_prog_RANLIB"; then
5628 ac_ct_RANLIB=$RANLIB
5629 # Extract the first word of "ranlib", so it can be a program name with args.
5630 set dummy ranlib; ac_word=$2
5631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5633 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5634 echo $ECHO_N "(cached) $ECHO_C" >&6
5636 if test -n "$ac_ct_RANLIB"; then
5637 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5643 test -z "$as_dir" && as_dir=.
5644 for ac_exec_ext in '' $ac_executable_extensions; do
5645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5646 ac_cv_prog_ac_ct_RANLIB="ranlib"
5647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5656 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5657 if test -n "$ac_ct_RANLIB"; then
5658 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5659 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5661 { echo "$as_me:$LINENO: result: no" >&5
5662 echo "${ECHO_T}no" >&6; }
5665 if test "x$ac_ct_RANLIB" = x; then
5668 case $cross_compiling:$ac_tool_warned in
5670 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5671 whose name does not start with the host triplet. If you think this
5672 configuration is useful to you, please write to autoconf@gnu.org." >&5
5673 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5674 whose name does not start with the host triplet. If you think this
5675 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5676 ac_tool_warned=yes ;;
5678 RANLIB=$ac_ct_RANLIB
5681 RANLIB="$ac_cv_prog_RANLIB"
5684 if test -n "$ac_tool_prefix"; then
5685 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5686 set dummy ${ac_tool_prefix}strip; ac_word=$2
5687 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5689 if test "${ac_cv_prog_STRIP+set}" = set; then
5690 echo $ECHO_N "(cached) $ECHO_C" >&6
5692 if test -n "$STRIP"; then
5693 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699 test -z "$as_dir" && as_dir=.
5700 for ac_exec_ext in '' $ac_executable_extensions; do
5701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5702 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5712 STRIP=$ac_cv_prog_STRIP
5713 if test -n "$STRIP"; then
5714 { echo "$as_me:$LINENO: result: $STRIP" >&5
5715 echo "${ECHO_T}$STRIP" >&6; }
5717 { echo "$as_me:$LINENO: result: no" >&5
5718 echo "${ECHO_T}no" >&6; }
5723 if test -z "$ac_cv_prog_STRIP"; then
5725 # Extract the first word of "strip", so it can be a program name with args.
5726 set dummy strip; ac_word=$2
5727 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5729 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5730 echo $ECHO_N "(cached) $ECHO_C" >&6
5732 if test -n "$ac_ct_STRIP"; then
5733 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5739 test -z "$as_dir" && as_dir=.
5740 for ac_exec_ext in '' $ac_executable_extensions; do
5741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5742 ac_cv_prog_ac_ct_STRIP="strip"
5743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5752 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5753 if test -n "$ac_ct_STRIP"; then
5754 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5755 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5757 { echo "$as_me:$LINENO: result: no" >&5
5758 echo "${ECHO_T}no" >&6; }
5761 if test "x$ac_ct_STRIP" = x; then
5764 case $cross_compiling:$ac_tool_warned in
5766 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5767 whose name does not start with the host triplet. If you think this
5768 configuration is useful to you, please write to autoconf@gnu.org." >&5
5769 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5770 whose name does not start with the host triplet. If you think this
5771 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5772 ac_tool_warned=yes ;;
5777 STRIP="$ac_cv_prog_STRIP"
5780 if test -n "$ac_tool_prefix"; then
5781 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5782 set dummy ${ac_tool_prefix}windres; ac_word=$2
5783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5785 if test "${ac_cv_prog_WINDRES+set}" = set; then
5786 echo $ECHO_N "(cached) $ECHO_C" >&6
5788 if test -n "$WINDRES"; then
5789 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5795 test -z "$as_dir" && as_dir=.
5796 for ac_exec_ext in '' $ac_executable_extensions; do
5797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5798 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5808 WINDRES=$ac_cv_prog_WINDRES
5809 if test -n "$WINDRES"; then
5810 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5811 echo "${ECHO_T}$WINDRES" >&6; }
5813 { echo "$as_me:$LINENO: result: no" >&5
5814 echo "${ECHO_T}no" >&6; }
5819 if test -z "$ac_cv_prog_WINDRES"; then
5820 ac_ct_WINDRES=$WINDRES
5821 # Extract the first word of "windres", so it can be a program name with args.
5822 set dummy windres; ac_word=$2
5823 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5825 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5826 echo $ECHO_N "(cached) $ECHO_C" >&6
5828 if test -n "$ac_ct_WINDRES"; then
5829 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5835 test -z "$as_dir" && as_dir=.
5836 for ac_exec_ext in '' $ac_executable_extensions; do
5837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5838 ac_cv_prog_ac_ct_WINDRES="windres"
5839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5848 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5849 if test -n "$ac_ct_WINDRES"; then
5850 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5851 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5853 { echo "$as_me:$LINENO: result: no" >&5
5854 echo "${ECHO_T}no" >&6; }
5857 if test "x$ac_ct_WINDRES" = x; then
5860 case $cross_compiling:$ac_tool_warned in
5862 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5863 whose name does not start with the host triplet. If you think this
5864 configuration is useful to you, please write to autoconf@gnu.org." >&5
5865 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5866 whose name does not start with the host triplet. If you think this
5867 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5868 ac_tool_warned=yes ;;
5870 WINDRES=$ac_ct_WINDRES
5873 WINDRES="$ac_cv_prog_WINDRES"
5876 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5877 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5879 if test "$LN_S" = "ln -s"; then
5880 { echo "$as_me:$LINENO: result: yes" >&5
5881 echo "${ECHO_T}yes" >&6; }
5883 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5884 echo "${ECHO_T}no, using $LN_S" >&6; }
5887 { echo "$as_me:$LINENO: checking whether ln works" >&5
5888 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5889 rm -f conf$$ conf$$.file
5891 if ln conf$$.file conf$$ 2>/dev/null; then
5894 { echo "$as_me:$LINENO: result: yes" >&5
5895 echo "${ECHO_T}yes" >&6; }
5899 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5900 echo "${ECHO_T}no, using $LN" >&6; }
5902 rm -f conf$$ conf$$.file
5903 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5904 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5905 if test "${ac_cv_path_GREP+set}" = set; then
5906 echo $ECHO_N "(cached) $ECHO_C" >&6
5908 # Extract the first word of "grep ggrep" to use in msg output
5909 if test -z "$GREP"; then
5910 set dummy grep ggrep; ac_prog_name=$2
5911 if test "${ac_cv_path_GREP+set}" = set; then
5912 echo $ECHO_N "(cached) $ECHO_C" >&6
5914 ac_path_GREP_found=false
5915 # Loop through the user's path and test for each of PROGNAME-LIST
5916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5917 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5920 test -z "$as_dir" && as_dir=.
5921 for ac_prog in grep ggrep; do
5922 for ac_exec_ext in '' $ac_executable_extensions; do
5923 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5924 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5925 # Check for GNU ac_path_GREP and select it if it is found.
5926 # Check for GNU $ac_path_GREP
5927 case `"$ac_path_GREP" --version 2>&1` in
5929 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5932 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5935 cat "conftest.in" "conftest.in" >"conftest.tmp"
5936 mv "conftest.tmp" "conftest.in"
5937 cp "conftest.in" "conftest.nl"
5938 echo 'GREP' >> "conftest.nl"
5939 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5940 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5941 ac_count=`expr $ac_count + 1`
5942 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5943 # Best one so far, save it but keep looking for a better one
5944 ac_cv_path_GREP="$ac_path_GREP"
5945 ac_path_GREP_max=$ac_count
5947 # 10*(2^10) chars as input seems more than enough
5948 test $ac_count -gt 10 && break
5950 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5954 $ac_path_GREP_found && break 3
5964 GREP="$ac_cv_path_GREP"
5965 if test -z "$GREP"; then
5966 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5967 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5968 { (exit 1); exit 1; }; }
5972 ac_cv_path_GREP=$GREP
5977 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5978 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5979 GREP="$ac_cv_path_GREP"
5982 { echo "$as_me:$LINENO: checking for egrep" >&5
5983 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5984 if test "${ac_cv_path_EGREP+set}" = set; then
5985 echo $ECHO_N "(cached) $ECHO_C" >&6
5987 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5988 then ac_cv_path_EGREP="$GREP -E"
5990 # Extract the first word of "egrep" to use in msg output
5991 if test -z "$EGREP"; then
5992 set dummy egrep; ac_prog_name=$2
5993 if test "${ac_cv_path_EGREP+set}" = set; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5996 ac_path_EGREP_found=false
5997 # Loop through the user's path and test for each of PROGNAME-LIST
5998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5999 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6002 test -z "$as_dir" && as_dir=.
6003 for ac_prog in egrep; do
6004 for ac_exec_ext in '' $ac_executable_extensions; do
6005 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6006 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6007 # Check for GNU ac_path_EGREP and select it if it is found.
6008 # Check for GNU $ac_path_EGREP
6009 case `"$ac_path_EGREP" --version 2>&1` in
6011 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6014 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6017 cat "conftest.in" "conftest.in" >"conftest.tmp"
6018 mv "conftest.tmp" "conftest.in"
6019 cp "conftest.in" "conftest.nl"
6020 echo 'EGREP' >> "conftest.nl"
6021 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6022 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6023 ac_count=`expr $ac_count + 1`
6024 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6025 # Best one so far, save it but keep looking for a better one
6026 ac_cv_path_EGREP="$ac_path_EGREP"
6027 ac_path_EGREP_max=$ac_count
6029 # 10*(2^10) chars as input seems more than enough
6030 test $ac_count -gt 10 && break
6032 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6036 $ac_path_EGREP_found && break 3
6046 EGREP="$ac_cv_path_EGREP"
6047 if test -z "$EGREP"; then
6048 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6049 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6050 { (exit 1); exit 1; }; }
6054 ac_cv_path_EGREP=$EGREP
6060 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6061 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6062 EGREP="$ac_cv_path_EGREP"
6065 # Extract the first word of "ldconfig", so it can be a program name with args.
6066 set dummy ldconfig; ac_word=$2
6067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6069 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6070 echo $ECHO_N "(cached) $ECHO_C" >&6
6074 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 for as_dir in /sbin /usr/sbin $PATH
6081 test -z "$as_dir" && as_dir=.
6082 for ac_exec_ext in '' $ac_executable_extensions; do
6083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6084 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6092 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6096 LDCONFIG=$ac_cv_path_LDCONFIG
6097 if test -n "$LDCONFIG"; then
6098 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6099 echo "${ECHO_T}$LDCONFIG" >&6; }
6101 { echo "$as_me:$LINENO: result: no" >&5
6102 echo "${ECHO_T}no" >&6; }
6106 # Find a good install program. We prefer a C program (faster),
6107 # so one script is as good as another. But avoid the broken or
6108 # incompatible versions:
6109 # SysV /etc/install, /usr/sbin/install
6110 # SunOS /usr/etc/install
6111 # IRIX /sbin/install
6113 # AmigaOS /C/install, which installs bootblocks on floppy discs
6114 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6115 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6116 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6117 # OS/2's system install, which has a completely different semantic
6118 # ./install, which can be erroneously created by make from ./install.sh.
6119 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6120 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6121 if test -z "$INSTALL"; then
6122 if test "${ac_cv_path_install+set}" = set; then
6123 echo $ECHO_N "(cached) $ECHO_C" >&6
6125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6129 test -z "$as_dir" && as_dir=.
6130 # Account for people who put trailing slashes in PATH elements.
6132 ./ | .// | /cC/* | \
6133 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6134 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6137 # OSF1 and SCO ODT 3.0 have their own names for install.
6138 # Don't use installbsd from OSF since it installs stuff as root
6140 for ac_prog in ginstall scoinst install; do
6141 for ac_exec_ext in '' $ac_executable_extensions; do
6142 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6143 if test $ac_prog = install &&
6144 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6145 # AIX install. It has an incompatible calling convention.
6147 elif test $ac_prog = install &&
6148 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6149 # program-specific install script used by HP pwplus--don't use.
6152 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6165 if test "${ac_cv_path_install+set}" = set; then
6166 INSTALL=$ac_cv_path_install
6168 # As a last resort, use the slow shell script. Don't cache a
6169 # value for INSTALL within a source directory, because that will
6170 # break other packages using the cache if that directory is
6171 # removed, or if the value is a relative name.
6172 INSTALL=$ac_install_sh
6175 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6176 echo "${ECHO_T}$INSTALL" >&6; }
6178 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6179 # It thinks the first close brace ends the variable substitution.
6180 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6182 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6184 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6187 [\\/$]* | ?:[\\/]* ) ;;
6188 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6191 for ac_prog in lclint lint
6193 # Extract the first word of "$ac_prog", so it can be a program name with args.
6194 set dummy $ac_prog; ac_word=$2
6195 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6197 if test "${ac_cv_prog_LINT+set}" = set; then
6198 echo $ECHO_N "(cached) $ECHO_C" >&6
6200 if test -n "$LINT"; then
6201 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6207 test -z "$as_dir" && as_dir=.
6208 for ac_exec_ext in '' $ac_executable_extensions; do
6209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6210 ac_cv_prog_LINT="$ac_prog"
6211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6220 LINT=$ac_cv_prog_LINT
6221 if test -n "$LINT"; then
6222 { echo "$as_me:$LINENO: result: $LINT" >&5
6223 echo "${ECHO_T}$LINT" >&6; }
6225 { echo "$as_me:$LINENO: result: no" >&5
6226 echo "${ECHO_T}no" >&6; }
6230 test -n "$LINT" && break
6233 if test "$LINT" = "lint"
6235 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6240 for ac_prog in fontforge
6242 # Extract the first word of "$ac_prog", so it can be a program name with args.
6243 set dummy $ac_prog; ac_word=$2
6244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6246 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6247 echo $ECHO_N "(cached) $ECHO_C" >&6
6249 if test -n "$FONTFORGE"; then
6250 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6256 test -z "$as_dir" && as_dir=.
6257 for ac_exec_ext in '' $ac_executable_extensions; do
6258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6259 ac_cv_prog_FONTFORGE="$ac_prog"
6260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6269 FONTFORGE=$ac_cv_prog_FONTFORGE
6270 if test -n "$FONTFORGE"; then
6271 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6272 echo "${ECHO_T}$FONTFORGE" >&6; }
6274 { echo "$as_me:$LINENO: result: no" >&5
6275 echo "${ECHO_T}no" >&6; }
6279 test -n "$FONTFORGE" && break
6281 test -n "$FONTFORGE" || FONTFORGE="false"
6283 for ac_prog in pkg-config
6285 # Extract the first word of "$ac_prog", so it can be a program name with args.
6286 set dummy $ac_prog; ac_word=$2
6287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6289 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6290 echo $ECHO_N "(cached) $ECHO_C" >&6
6292 if test -n "$PKG_CONFIG"; then
6293 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6299 test -z "$as_dir" && as_dir=.
6300 for ac_exec_ext in '' $ac_executable_extensions; do
6301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6302 ac_cv_prog_PKG_CONFIG="$ac_prog"
6303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6312 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6313 if test -n "$PKG_CONFIG"; then
6314 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6315 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6317 { echo "$as_me:$LINENO: result: no" >&5
6318 echo "${ECHO_T}no" >&6; }
6322 test -n "$PKG_CONFIG" && break
6324 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6329 # Extract the first word of "prelink", so it can be a program name with args.
6330 set dummy prelink; ac_word=$2
6331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6333 if test "${ac_cv_path_PRELINK+set}" = set; then
6334 echo $ECHO_N "(cached) $ECHO_C" >&6
6338 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6342 for as_dir in /sbin /usr/sbin $PATH
6345 test -z "$as_dir" && as_dir=.
6346 for ac_exec_ext in '' $ac_executable_extensions; do
6347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6348 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6356 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6360 PRELINK=$ac_cv_path_PRELINK
6361 if test -n "$PRELINK"; then
6362 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6363 echo "${ECHO_T}$PRELINK" >&6; }
6365 { echo "$as_me:$LINENO: result: no" >&5
6366 echo "${ECHO_T}no" >&6; }
6375 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6376 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6377 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6378 echo $ECHO_N "(cached) $ECHO_C" >&6
6380 ac_check_lib_save_LIBS=$LIBS
6382 cat >conftest.$ac_ext <<_ACEOF
6385 cat confdefs.h >>conftest.$ac_ext
6386 cat >>conftest.$ac_ext <<_ACEOF
6387 /* end confdefs.h. */
6389 /* Override any GCC internal prototype to avoid an error.
6390 Use char because int might match the return type of a GCC
6391 builtin and then its argument prototype would still apply. */
6395 char i386_set_ldt ();
6399 return i386_set_ldt ();
6404 rm -f conftest.$ac_objext conftest$ac_exeext
6405 if { (ac_try="$ac_link"
6407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6408 *) ac_try_echo=$ac_try;;
6410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6411 (eval "$ac_link") 2>conftest.er1
6413 grep -v '^ *+' conftest.er1 >conftest.err
6415 cat conftest.err >&5
6416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417 (exit $ac_status); } && {
6418 test -z "$ac_c_werror_flag" ||
6419 test ! -s conftest.err
6420 } && test -s conftest$ac_exeext &&
6421 $as_test_x conftest$ac_exeext; then
6422 ac_cv_lib_i386_i386_set_ldt=yes
6424 echo "$as_me: failed program was:" >&5
6425 sed 's/^/| /' conftest.$ac_ext >&5
6427 ac_cv_lib_i386_i386_set_ldt=no
6430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6431 conftest$ac_exeext conftest.$ac_ext
6432 LIBS=$ac_check_lib_save_LIBS
6434 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6435 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6436 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6437 cat >>confdefs.h <<_ACEOF
6438 #define HAVE_LIBI386 1
6446 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6447 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6448 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6449 echo $ECHO_N "(cached) $ECHO_C" >&6
6451 ac_check_lib_save_LIBS=$LIBS
6452 LIBS="-lossaudio $LIBS"
6453 cat >conftest.$ac_ext <<_ACEOF
6456 cat confdefs.h >>conftest.$ac_ext
6457 cat >>conftest.$ac_ext <<_ACEOF
6458 /* end confdefs.h. */
6460 /* Override any GCC internal prototype to avoid an error.
6461 Use char because int might match the return type of a GCC
6462 builtin and then its argument prototype would still apply. */
6470 return _oss_ioctl ();
6475 rm -f conftest.$ac_objext conftest$ac_exeext
6476 if { (ac_try="$ac_link"
6478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6479 *) ac_try_echo=$ac_try;;
6481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6482 (eval "$ac_link") 2>conftest.er1
6484 grep -v '^ *+' conftest.er1 >conftest.err
6486 cat conftest.err >&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); } && {
6489 test -z "$ac_c_werror_flag" ||
6490 test ! -s conftest.err
6491 } && test -s conftest$ac_exeext &&
6492 $as_test_x conftest$ac_exeext; then
6493 ac_cv_lib_ossaudio__oss_ioctl=yes
6495 echo "$as_me: failed program was:" >&5
6496 sed 's/^/| /' conftest.$ac_ext >&5
6498 ac_cv_lib_ossaudio__oss_ioctl=no
6501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6502 conftest$ac_exeext conftest.$ac_ext
6503 LIBS=$ac_check_lib_save_LIBS
6505 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6506 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6507 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6508 cat >>confdefs.h <<_ACEOF
6509 #define HAVE_LIBOSSAUDIO 1
6512 LIBS="-lossaudio $LIBS"
6517 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6518 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6519 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6520 echo $ECHO_N "(cached) $ECHO_C" >&6
6522 ac_check_lib_save_LIBS=$LIBS
6524 cat >conftest.$ac_ext <<_ACEOF
6527 cat confdefs.h >>conftest.$ac_ext
6528 cat >>conftest.$ac_ext <<_ACEOF
6529 /* end confdefs.h. */
6531 /* Override any GCC internal prototype to avoid an error.
6532 Use char because int might match the return type of a GCC
6533 builtin and then its argument prototype would still apply. */
6537 char _xpg4_setrunelocale ();
6541 return _xpg4_setrunelocale ();
6546 rm -f conftest.$ac_objext conftest$ac_exeext
6547 if { (ac_try="$ac_link"
6549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6550 *) ac_try_echo=$ac_try;;
6552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6553 (eval "$ac_link") 2>conftest.er1
6555 grep -v '^ *+' conftest.er1 >conftest.err
6557 cat conftest.err >&5
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); } && {
6560 test -z "$ac_c_werror_flag" ||
6561 test ! -s conftest.err
6562 } && test -s conftest$ac_exeext &&
6563 $as_test_x conftest$ac_exeext; then
6564 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6566 echo "$as_me: failed program was:" >&5
6567 sed 's/^/| /' conftest.$ac_ext >&5
6569 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6573 conftest$ac_exeext conftest.$ac_ext
6574 LIBS=$ac_check_lib_save_LIBS
6576 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6577 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6578 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6579 cat >>confdefs.h <<_ACEOF
6580 #define HAVE_LIBXPG4 1
6587 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6588 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6589 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6590 echo $ECHO_N "(cached) $ECHO_C" >&6
6592 ac_check_lib_save_LIBS=$LIBS
6593 LIBS="-lpthread $LIBS"
6594 cat >conftest.$ac_ext <<_ACEOF
6597 cat confdefs.h >>conftest.$ac_ext
6598 cat >>conftest.$ac_ext <<_ACEOF
6599 /* end confdefs.h. */
6601 /* Override any GCC internal prototype to avoid an error.
6602 Use char because int might match the return type of a GCC
6603 builtin and then its argument prototype would still apply. */
6607 char pthread_create ();
6611 return pthread_create ();
6616 rm -f conftest.$ac_objext conftest$ac_exeext
6617 if { (ac_try="$ac_link"
6619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6620 *) ac_try_echo=$ac_try;;
6622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6623 (eval "$ac_link") 2>conftest.er1
6625 grep -v '^ *+' conftest.er1 >conftest.err
6627 cat conftest.err >&5
6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629 (exit $ac_status); } && {
6630 test -z "$ac_c_werror_flag" ||
6631 test ! -s conftest.err
6632 } && test -s conftest$ac_exeext &&
6633 $as_test_x conftest$ac_exeext; then
6634 ac_cv_lib_pthread_pthread_create=yes
6636 echo "$as_me: failed program was:" >&5
6637 sed 's/^/| /' conftest.$ac_ext >&5
6639 ac_cv_lib_pthread_pthread_create=no
6642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6643 conftest$ac_exeext conftest.$ac_ext
6644 LIBS=$ac_check_lib_save_LIBS
6646 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6647 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6648 if test $ac_cv_lib_pthread_pthread_create = yes; then
6649 LIBPTHREAD="-lpthread"
6668 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6669 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6670 if test "${ac_cv_header_stdc+set}" = set; then
6671 echo $ECHO_N "(cached) $ECHO_C" >&6
6673 cat >conftest.$ac_ext <<_ACEOF
6676 cat confdefs.h >>conftest.$ac_ext
6677 cat >>conftest.$ac_ext <<_ACEOF
6678 /* end confdefs.h. */
6692 rm -f conftest.$ac_objext
6693 if { (ac_try="$ac_compile"
6695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6696 *) ac_try_echo=$ac_try;;
6698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6699 (eval "$ac_compile") 2>conftest.er1
6701 grep -v '^ *+' conftest.er1 >conftest.err
6703 cat conftest.err >&5
6704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6705 (exit $ac_status); } && {
6706 test -z "$ac_c_werror_flag" ||
6707 test ! -s conftest.err
6708 } && test -s conftest.$ac_objext; then
6709 ac_cv_header_stdc=yes
6711 echo "$as_me: failed program was:" >&5
6712 sed 's/^/| /' conftest.$ac_ext >&5
6714 ac_cv_header_stdc=no
6717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6719 if test $ac_cv_header_stdc = yes; then
6720 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6721 cat >conftest.$ac_ext <<_ACEOF
6724 cat confdefs.h >>conftest.$ac_ext
6725 cat >>conftest.$ac_ext <<_ACEOF
6726 /* end confdefs.h. */
6730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6731 $EGREP "memchr" >/dev/null 2>&1; then
6734 ac_cv_header_stdc=no
6740 if test $ac_cv_header_stdc = yes; then
6741 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6742 cat >conftest.$ac_ext <<_ACEOF
6745 cat confdefs.h >>conftest.$ac_ext
6746 cat >>conftest.$ac_ext <<_ACEOF
6747 /* end confdefs.h. */
6751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6752 $EGREP "free" >/dev/null 2>&1; then
6755 ac_cv_header_stdc=no
6761 if test $ac_cv_header_stdc = yes; then
6762 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6763 if test "$cross_compiling" = yes; then
6766 cat >conftest.$ac_ext <<_ACEOF
6769 cat confdefs.h >>conftest.$ac_ext
6770 cat >>conftest.$ac_ext <<_ACEOF
6771 /* end confdefs.h. */
6774 #if ((' ' & 0x0FF) == 0x020)
6775 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6776 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6778 # define ISLOWER(c) \
6779 (('a' <= (c) && (c) <= 'i') \
6780 || ('j' <= (c) && (c) <= 'r') \
6781 || ('s' <= (c) && (c) <= 'z'))
6782 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6785 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6790 for (i = 0; i < 256; i++)
6791 if (XOR (islower (i), ISLOWER (i))
6792 || toupper (i) != TOUPPER (i))
6797 rm -f conftest$ac_exeext
6798 if { (ac_try="$ac_link"
6800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6801 *) ac_try_echo=$ac_try;;
6803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6804 (eval "$ac_link") 2>&5
6806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6808 { (case "(($ac_try" in
6809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6810 *) ac_try_echo=$ac_try;;
6812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6813 (eval "$ac_try") 2>&5
6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816 (exit $ac_status); }; }; then
6819 echo "$as_me: program exited with status $ac_status" >&5
6820 echo "$as_me: failed program was:" >&5
6821 sed 's/^/| /' conftest.$ac_ext >&5
6824 ac_cv_header_stdc=no
6826 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6832 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6833 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6834 if test $ac_cv_header_stdc = yes; then
6836 cat >>confdefs.h <<\_ACEOF
6837 #define STDC_HEADERS 1
6842 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6852 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6853 inttypes.h stdint.h unistd.h
6855 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6856 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6858 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6859 echo $ECHO_N "(cached) $ECHO_C" >&6
6861 cat >conftest.$ac_ext <<_ACEOF
6864 cat confdefs.h >>conftest.$ac_ext
6865 cat >>conftest.$ac_ext <<_ACEOF
6866 /* end confdefs.h. */
6867 $ac_includes_default
6869 #include <$ac_header>
6871 rm -f conftest.$ac_objext
6872 if { (ac_try="$ac_compile"
6874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6875 *) ac_try_echo=$ac_try;;
6877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6878 (eval "$ac_compile") 2>conftest.er1
6880 grep -v '^ *+' conftest.er1 >conftest.err
6882 cat conftest.err >&5
6883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6884 (exit $ac_status); } && {
6885 test -z "$ac_c_werror_flag" ||
6886 test ! -s conftest.err
6887 } && test -s conftest.$ac_objext; then
6888 eval "$as_ac_Header=yes"
6890 echo "$as_me: failed program was:" >&5
6891 sed 's/^/| /' conftest.$ac_ext >&5
6893 eval "$as_ac_Header=no"
6896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6898 ac_res=`eval echo '${'$as_ac_Header'}'`
6899 { echo "$as_me:$LINENO: result: $ac_res" >&5
6900 echo "${ECHO_T}$ac_res" >&6; }
6901 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6902 cat >>confdefs.h <<_ACEOF
6903 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7020 AudioUnit/AudioUnit.h \
7022 CoreAudio/CoreAudio.h \
7023 DiskArbitration/DiskArbitration.h \
7036 fontconfig/fontconfig.h \
7061 machine/soundcard.h \
7066 netinet/in_systm.h \
7130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7131 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7132 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7134 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7135 echo $ECHO_N "(cached) $ECHO_C" >&6
7137 ac_res=`eval echo '${'$as_ac_Header'}'`
7138 { echo "$as_me:$LINENO: result: $ac_res" >&5
7139 echo "${ECHO_T}$ac_res" >&6; }
7141 # Is the header compilable?
7142 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7143 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7144 cat >conftest.$ac_ext <<_ACEOF
7147 cat confdefs.h >>conftest.$ac_ext
7148 cat >>conftest.$ac_ext <<_ACEOF
7149 /* end confdefs.h. */
7150 $ac_includes_default
7151 #include <$ac_header>
7153 rm -f conftest.$ac_objext
7154 if { (ac_try="$ac_compile"
7156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7157 *) ac_try_echo=$ac_try;;
7159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7160 (eval "$ac_compile") 2>conftest.er1
7162 grep -v '^ *+' conftest.er1 >conftest.err
7164 cat conftest.err >&5
7165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7166 (exit $ac_status); } && {
7167 test -z "$ac_c_werror_flag" ||
7168 test ! -s conftest.err
7169 } && test -s conftest.$ac_objext; then
7170 ac_header_compiler=yes
7172 echo "$as_me: failed program was:" >&5
7173 sed 's/^/| /' conftest.$ac_ext >&5
7175 ac_header_compiler=no
7178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7179 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7180 echo "${ECHO_T}$ac_header_compiler" >&6; }
7182 # Is the header present?
7183 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7184 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7185 cat >conftest.$ac_ext <<_ACEOF
7188 cat confdefs.h >>conftest.$ac_ext
7189 cat >>conftest.$ac_ext <<_ACEOF
7190 /* end confdefs.h. */
7191 #include <$ac_header>
7193 if { (ac_try="$ac_cpp conftest.$ac_ext"
7195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7196 *) ac_try_echo=$ac_try;;
7198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7199 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7201 grep -v '^ *+' conftest.er1 >conftest.err
7203 cat conftest.err >&5
7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205 (exit $ac_status); } >/dev/null && {
7206 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7207 test ! -s conftest.err
7209 ac_header_preproc=yes
7211 echo "$as_me: failed program was:" >&5
7212 sed 's/^/| /' conftest.$ac_ext >&5
7214 ac_header_preproc=no
7217 rm -f conftest.err conftest.$ac_ext
7218 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7219 echo "${ECHO_T}$ac_header_preproc" >&6; }
7221 # So? What about this header?
7222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7224 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7225 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7227 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7228 ac_header_preproc=yes
7231 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7232 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7233 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7234 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7235 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7236 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7237 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7238 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7240 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7241 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7242 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7244 ## ------------------------------------ ##
7245 ## Report this to wine-devel@winehq.org ##
7246 ## ------------------------------------ ##
7248 ) | sed "s/^/$as_me: WARNING: /" >&2
7251 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7253 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7254 echo $ECHO_N "(cached) $ECHO_C" >&6
7256 eval "$as_ac_Header=\$ac_header_preproc"
7258 ac_res=`eval echo '${'$as_ac_Header'}'`
7259 { echo "$as_me:$LINENO: result: $ac_res" >&5
7260 echo "${ECHO_T}$ac_res" >&6; }
7263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7264 cat >>confdefs.h <<_ACEOF
7265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7272 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7273 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7274 if test "${ac_cv_header_stat_broken+set}" = set; then
7275 echo $ECHO_N "(cached) $ECHO_C" >&6
7277 cat >conftest.$ac_ext <<_ACEOF
7280 cat confdefs.h >>conftest.$ac_ext
7281 cat >>conftest.$ac_ext <<_ACEOF
7282 /* end confdefs.h. */
7283 #include <sys/types.h>
7284 #include <sys/stat.h>
7286 #if defined S_ISBLK && defined S_IFDIR
7287 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7290 #if defined S_ISBLK && defined S_IFCHR
7291 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7294 #if defined S_ISLNK && defined S_IFREG
7295 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7298 #if defined S_ISSOCK && defined S_IFREG
7299 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7303 rm -f conftest.$ac_objext
7304 if { (ac_try="$ac_compile"
7306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7307 *) ac_try_echo=$ac_try;;
7309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7310 (eval "$ac_compile") 2>conftest.er1
7312 grep -v '^ *+' conftest.er1 >conftest.err
7314 cat conftest.err >&5
7315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316 (exit $ac_status); } && {
7317 test -z "$ac_c_werror_flag" ||
7318 test ! -s conftest.err
7319 } && test -s conftest.$ac_objext; then
7320 ac_cv_header_stat_broken=no
7322 echo "$as_me: failed program was:" >&5
7323 sed 's/^/| /' conftest.$ac_ext >&5
7325 ac_cv_header_stat_broken=yes
7328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7330 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7331 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7332 if test $ac_cv_header_stat_broken = yes; then
7334 cat >>confdefs.h <<\_ACEOF
7335 #define STAT_MACROS_BROKEN 1
7346 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7348 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7349 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7351 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7352 echo $ECHO_N "(cached) $ECHO_C" >&6
7354 cat >conftest.$ac_ext <<_ACEOF
7357 cat confdefs.h >>conftest.$ac_ext
7358 cat >>conftest.$ac_ext <<_ACEOF
7359 /* end confdefs.h. */
7360 #include <sys/types.h>
7361 #if HAVE_SYS_PARAM_H
7362 # include <sys/param.h>
7365 #include <$ac_header>
7367 rm -f conftest.$ac_objext
7368 if { (ac_try="$ac_compile"
7370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7371 *) ac_try_echo=$ac_try;;
7373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7374 (eval "$ac_compile") 2>conftest.er1
7376 grep -v '^ *+' conftest.er1 >conftest.err
7378 cat conftest.err >&5
7379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7380 (exit $ac_status); } && {
7381 test -z "$ac_c_werror_flag" ||
7382 test ! -s conftest.err
7383 } && test -s conftest.$ac_objext; then
7384 eval "$as_ac_Header=yes"
7386 echo "$as_me: failed program was:" >&5
7387 sed 's/^/| /' conftest.$ac_ext >&5
7389 eval "$as_ac_Header=no"
7392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7394 ac_res=`eval echo '${'$as_ac_Header'}'`
7395 { echo "$as_me:$LINENO: result: $ac_res" >&5
7396 echo "${ECHO_T}$ac_res" >&6; }
7397 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7398 cat >>confdefs.h <<_ACEOF
7399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7413 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
7415 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7416 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7418 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7419 echo $ECHO_N "(cached) $ECHO_C" >&6
7421 cat >conftest.$ac_ext <<_ACEOF
7424 cat confdefs.h >>conftest.$ac_ext
7425 cat >>conftest.$ac_ext <<_ACEOF
7426 /* end confdefs.h. */
7427 #include <sys/types.h>
7428 #if HAVE_SYS_SOCKET_H
7429 # include <sys/socket.h>
7432 #include <$ac_header>
7434 rm -f conftest.$ac_objext
7435 if { (ac_try="$ac_compile"
7437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7438 *) ac_try_echo=$ac_try;;
7440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7441 (eval "$ac_compile") 2>conftest.er1
7443 grep -v '^ *+' conftest.er1 >conftest.err
7445 cat conftest.err >&5
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); } && {
7448 test -z "$ac_c_werror_flag" ||
7449 test ! -s conftest.err
7450 } && test -s conftest.$ac_objext; then
7451 eval "$as_ac_Header=yes"
7453 echo "$as_me: failed program was:" >&5
7454 sed 's/^/| /' conftest.$ac_ext >&5
7456 eval "$as_ac_Header=no"
7459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7461 ac_res=`eval echo '${'$as_ac_Header'}'`
7462 { echo "$as_me:$LINENO: result: $ac_res" >&5
7463 echo "${ECHO_T}$ac_res" >&6; }
7464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7465 cat >>confdefs.h <<_ACEOF
7466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7475 for ac_header in linux/ipx.h
7477 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7478 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7480 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7481 echo $ECHO_N "(cached) $ECHO_C" >&6
7483 cat >conftest.$ac_ext <<_ACEOF
7486 cat confdefs.h >>conftest.$ac_ext
7487 cat >>conftest.$ac_ext <<_ACEOF
7488 /* end confdefs.h. */
7489 #include <sys/types.h>
7490 #ifdef HAVE_ASM_TYPES_H
7491 # include <asm/types.h>
7493 #if HAVE_SYS_SOCKET_H
7494 # include <sys/socket.h>
7497 #include <$ac_header>
7499 rm -f conftest.$ac_objext
7500 if { (ac_try="$ac_compile"
7502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7503 *) ac_try_echo=$ac_try;;
7505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7506 (eval "$ac_compile") 2>conftest.er1
7508 grep -v '^ *+' conftest.er1 >conftest.err
7510 cat conftest.err >&5
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); } && {
7513 test -z "$ac_c_werror_flag" ||
7514 test ! -s conftest.err
7515 } && test -s conftest.$ac_objext; then
7516 eval "$as_ac_Header=yes"
7518 echo "$as_me: failed program was:" >&5
7519 sed 's/^/| /' conftest.$ac_ext >&5
7521 eval "$as_ac_Header=no"
7524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7526 ac_res=`eval echo '${'$as_ac_Header'}'`
7527 { echo "$as_me:$LINENO: result: $ac_res" >&5
7528 echo "${ECHO_T}$ac_res" >&6; }
7529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7530 cat >>confdefs.h <<_ACEOF
7531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7540 for ac_header in resolv.h
7542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7543 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7546 echo $ECHO_N "(cached) $ECHO_C" >&6
7548 cat >conftest.$ac_ext <<_ACEOF
7551 cat confdefs.h >>conftest.$ac_ext
7552 cat >>conftest.$ac_ext <<_ACEOF
7553 /* end confdefs.h. */
7554 #include <sys/types.h>
7555 #if HAVE_SYS_SOCKET_H
7556 # include <sys/socket.h>
7558 #if HAVE_NETINET_IN_H
7559 # include <netinet/in.h>
7561 #if HAVE_ARPA_NAMESER_H
7562 # include <arpa/nameser.h>
7565 #include <$ac_header>
7567 rm -f conftest.$ac_objext
7568 if { (ac_try="$ac_compile"
7570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7571 *) ac_try_echo=$ac_try;;
7573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7574 (eval "$ac_compile") 2>conftest.er1
7576 grep -v '^ *+' conftest.er1 >conftest.err
7578 cat conftest.err >&5
7579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7580 (exit $ac_status); } && {
7581 test -z "$ac_c_werror_flag" ||
7582 test ! -s conftest.err
7583 } && test -s conftest.$ac_objext; then
7584 eval "$as_ac_Header=yes"
7586 echo "$as_me: failed program was:" >&5
7587 sed 's/^/| /' conftest.$ac_ext >&5
7589 eval "$as_ac_Header=no"
7592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7594 ac_res=`eval echo '${'$as_ac_Header'}'`
7595 { echo "$as_me:$LINENO: result: $ac_res" >&5
7596 echo "${ECHO_T}$ac_res" >&6; }
7597 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7598 cat >>confdefs.h <<_ACEOF
7599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7608 for ac_header in ucontext.h
7610 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7611 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7613 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7614 echo $ECHO_N "(cached) $ECHO_C" >&6
7616 cat >conftest.$ac_ext <<_ACEOF
7619 cat confdefs.h >>conftest.$ac_ext
7620 cat >>conftest.$ac_ext <<_ACEOF
7621 /* end confdefs.h. */
7624 #include <$ac_header>
7626 rm -f conftest.$ac_objext
7627 if { (ac_try="$ac_compile"
7629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7630 *) ac_try_echo=$ac_try;;
7632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7633 (eval "$ac_compile") 2>conftest.er1
7635 grep -v '^ *+' conftest.er1 >conftest.err
7637 cat conftest.err >&5
7638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639 (exit $ac_status); } && {
7640 test -z "$ac_c_werror_flag" ||
7641 test ! -s conftest.err
7642 } && test -s conftest.$ac_objext; then
7643 eval "$as_ac_Header=yes"
7645 echo "$as_me: failed program was:" >&5
7646 sed 's/^/| /' conftest.$ac_ext >&5
7648 eval "$as_ac_Header=no"
7651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7653 ac_res=`eval echo '${'$as_ac_Header'}'`
7654 { echo "$as_me:$LINENO: result: $ac_res" >&5
7655 echo "${ECHO_T}$ac_res" >&6; }
7656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7657 cat >>confdefs.h <<_ACEOF
7658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7667 for ac_header in pthread_np.h
7669 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7670 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7673 echo $ECHO_N "(cached) $ECHO_C" >&6
7675 cat >conftest.$ac_ext <<_ACEOF
7678 cat confdefs.h >>conftest.$ac_ext
7679 cat >>conftest.$ac_ext <<_ACEOF
7680 /* end confdefs.h. */
7681 #ifdef HAVE_PTHREAD_H
7682 #include <pthread.h>
7685 #include <$ac_header>
7687 rm -f conftest.$ac_objext
7688 if { (ac_try="$ac_compile"
7690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7691 *) ac_try_echo=$ac_try;;
7693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7694 (eval "$ac_compile") 2>conftest.er1
7696 grep -v '^ *+' conftest.er1 >conftest.err
7698 cat conftest.err >&5
7699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7700 (exit $ac_status); } && {
7701 test -z "$ac_c_werror_flag" ||
7702 test ! -s conftest.err
7703 } && test -s conftest.$ac_objext; then
7704 eval "$as_ac_Header=yes"
7706 echo "$as_me: failed program was:" >&5
7707 sed 's/^/| /' conftest.$ac_ext >&5
7709 eval "$as_ac_Header=no"
7712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7714 ac_res=`eval echo '${'$as_ac_Header'}'`
7715 { echo "$as_me:$LINENO: result: $ac_res" >&5
7716 echo "${ECHO_T}$ac_res" >&6; }
7717 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7718 cat >>confdefs.h <<_ACEOF
7719 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7728 for ac_header in linux/videodev.h
7730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7731 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7733 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7734 echo $ECHO_N "(cached) $ECHO_C" >&6
7736 cat >conftest.$ac_ext <<_ACEOF
7739 cat confdefs.h >>conftest.$ac_ext
7740 cat >>conftest.$ac_ext <<_ACEOF
7741 /* end confdefs.h. */
7742 #ifdef HAVE_SYS_TIME_H
7743 #include <sys/time.h>
7745 #include <sys/types.h>
7746 #ifdef HAVE_ASM_TYPES_H
7747 #include <asm/types.h>
7750 #include <$ac_header>
7752 rm -f conftest.$ac_objext
7753 if { (ac_try="$ac_compile"
7755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7756 *) ac_try_echo=$ac_try;;
7758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7759 (eval "$ac_compile") 2>conftest.er1
7761 grep -v '^ *+' conftest.er1 >conftest.err
7763 cat conftest.err >&5
7764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7765 (exit $ac_status); } && {
7766 test -z "$ac_c_werror_flag" ||
7767 test ! -s conftest.err
7768 } && test -s conftest.$ac_objext; then
7769 eval "$as_ac_Header=yes"
7771 echo "$as_me: failed program was:" >&5
7772 sed 's/^/| /' conftest.$ac_ext >&5
7774 eval "$as_ac_Header=no"
7777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7779 ac_res=`eval echo '${'$as_ac_Header'}'`
7780 { echo "$as_me:$LINENO: result: $ac_res" >&5
7781 echo "${ECHO_T}$ac_res" >&6; }
7782 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7783 cat >>confdefs.h <<_ACEOF
7784 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7793 for ac_header in linux/capi.h
7795 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7796 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7798 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7799 echo $ECHO_N "(cached) $ECHO_C" >&6
7801 cat >conftest.$ac_ext <<_ACEOF
7804 cat confdefs.h >>conftest.$ac_ext
7805 cat >>conftest.$ac_ext <<_ACEOF
7806 /* end confdefs.h. */
7809 #include <$ac_header>
7811 rm -f conftest.$ac_objext
7812 if { (ac_try="$ac_compile"
7814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7815 *) ac_try_echo=$ac_try;;
7817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7818 (eval "$ac_compile") 2>conftest.er1
7820 grep -v '^ *+' conftest.er1 >conftest.err
7822 cat conftest.err >&5
7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824 (exit $ac_status); } && {
7825 test -z "$ac_c_werror_flag" ||
7826 test ! -s conftest.err
7827 } && test -s conftest.$ac_objext; then
7828 eval "$as_ac_Header=yes"
7830 echo "$as_me: failed program was:" >&5
7831 sed 's/^/| /' conftest.$ac_ext >&5
7833 eval "$as_ac_Header=no"
7836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7838 ac_res=`eval echo '${'$as_ac_Header'}'`
7839 { echo "$as_me:$LINENO: result: $ac_res" >&5
7840 echo "${ECHO_T}$ac_res" >&6; }
7841 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7842 cat >>confdefs.h <<_ACEOF
7843 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7852 if test "$have_x" = "yes"
7855 ac_save_CPPFLAGS="$CPPFLAGS"
7856 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7868 for ac_header in X11/Xlib.h \
7871 X11/extensions/shape.h \
7872 X11/extensions/XInput.h \
7873 X11/extensions/XShm.h \
7874 X11/extensions/Xinerama.h \
7875 X11/extensions/Xrandr.h \
7876 X11/extensions/Xrender.h \
7877 X11/extensions/xf86vmode.h
7879 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7880 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7882 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7883 echo $ECHO_N "(cached) $ECHO_C" >&6
7885 cat >conftest.$ac_ext <<_ACEOF
7888 cat confdefs.h >>conftest.$ac_ext
7889 cat >>conftest.$ac_ext <<_ACEOF
7890 /* end confdefs.h. */
7891 #ifdef HAVE_X11_XLIB_H
7892 # include <X11/Xlib.h>
7894 #ifdef HAVE_X11_XUTIL_H
7895 # include <X11/Xutil.h>
7898 #include <$ac_header>
7900 rm -f conftest.$ac_objext
7901 if { (ac_try="$ac_compile"
7903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7904 *) ac_try_echo=$ac_try;;
7906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7907 (eval "$ac_compile") 2>conftest.er1
7909 grep -v '^ *+' conftest.er1 >conftest.err
7911 cat conftest.err >&5
7912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913 (exit $ac_status); } && {
7914 test -z "$ac_c_werror_flag" ||
7915 test ! -s conftest.err
7916 } && test -s conftest.$ac_objext; then
7917 eval "$as_ac_Header=yes"
7919 echo "$as_me: failed program was:" >&5
7920 sed 's/^/| /' conftest.$ac_ext >&5
7922 eval "$as_ac_Header=no"
7925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7927 ac_res=`eval echo '${'$as_ac_Header'}'`
7928 { echo "$as_me:$LINENO: result: $ac_res" >&5
7929 echo "${ECHO_T}$ac_res" >&6; }
7930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7931 cat >>confdefs.h <<_ACEOF
7932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7940 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7942 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7943 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7944 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7945 echo $ECHO_N "(cached) $ECHO_C" >&6
7947 ac_check_lib_save_LIBS=$LIBS
7948 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7949 cat >conftest.$ac_ext <<_ACEOF
7952 cat confdefs.h >>conftest.$ac_ext
7953 cat >>conftest.$ac_ext <<_ACEOF
7954 /* end confdefs.h. */
7956 /* Override any GCC internal prototype to avoid an error.
7957 Use char because int might match the return type of a GCC
7958 builtin and then its argument prototype would still apply. */
7962 char XkbQueryExtension ();
7966 return XkbQueryExtension ();
7971 rm -f conftest.$ac_objext conftest$ac_exeext
7972 if { (ac_try="$ac_link"
7974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7975 *) ac_try_echo=$ac_try;;
7977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7978 (eval "$ac_link") 2>conftest.er1
7980 grep -v '^ *+' conftest.er1 >conftest.err
7982 cat conftest.err >&5
7983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984 (exit $ac_status); } && {
7985 test -z "$ac_c_werror_flag" ||
7986 test ! -s conftest.err
7987 } && test -s conftest$ac_exeext &&
7988 $as_test_x conftest$ac_exeext; then
7989 ac_cv_lib_X11_XkbQueryExtension=yes
7991 echo "$as_me: failed program was:" >&5
7992 sed 's/^/| /' conftest.$ac_ext >&5
7994 ac_cv_lib_X11_XkbQueryExtension=no
7997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7998 conftest$ac_exeext conftest.$ac_ext
7999 LIBS=$ac_check_lib_save_LIBS
8001 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8002 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8003 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8005 cat >>confdefs.h <<\_ACEOF
8013 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8015 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8016 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8017 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8018 echo $ECHO_N "(cached) $ECHO_C" >&6
8020 ac_check_lib_save_LIBS=$LIBS
8021 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8022 cat >conftest.$ac_ext <<_ACEOF
8025 cat confdefs.h >>conftest.$ac_ext
8026 cat >>conftest.$ac_ext <<_ACEOF
8027 /* end confdefs.h. */
8029 /* Override any GCC internal prototype to avoid an error.
8030 Use char because int might match the return type of a GCC
8031 builtin and then its argument prototype would still apply. */
8035 char XShmQueryExtension ();
8039 return XShmQueryExtension ();
8044 rm -f conftest.$ac_objext conftest$ac_exeext
8045 if { (ac_try="$ac_link"
8047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8048 *) ac_try_echo=$ac_try;;
8050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8051 (eval "$ac_link") 2>conftest.er1
8053 grep -v '^ *+' conftest.er1 >conftest.err
8055 cat conftest.err >&5
8056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8057 (exit $ac_status); } && {
8058 test -z "$ac_c_werror_flag" ||
8059 test ! -s conftest.err
8060 } && test -s conftest$ac_exeext &&
8061 $as_test_x conftest$ac_exeext; then
8062 ac_cv_lib_Xext_XShmQueryExtension=yes
8064 echo "$as_me: failed program was:" >&5
8065 sed 's/^/| /' conftest.$ac_ext >&5
8067 ac_cv_lib_Xext_XShmQueryExtension=no
8070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8071 conftest$ac_exeext conftest.$ac_ext
8072 LIBS=$ac_check_lib_save_LIBS
8074 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8075 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8076 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8078 cat >>confdefs.h <<\_ACEOF
8079 #define HAVE_LIBXXSHM 1
8086 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8088 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8089 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8090 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8091 echo $ECHO_N "(cached) $ECHO_C" >&6
8093 ac_check_lib_save_LIBS=$LIBS
8094 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8095 cat >conftest.$ac_ext <<_ACEOF
8098 cat confdefs.h >>conftest.$ac_ext
8099 cat >>conftest.$ac_ext <<_ACEOF
8100 /* end confdefs.h. */
8102 /* Override any GCC internal prototype to avoid an error.
8103 Use char because int might match the return type of a GCC
8104 builtin and then its argument prototype would still apply. */
8108 char XShapeQueryExtension ();
8112 return XShapeQueryExtension ();
8117 rm -f conftest.$ac_objext conftest$ac_exeext
8118 if { (ac_try="$ac_link"
8120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8121 *) ac_try_echo=$ac_try;;
8123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8124 (eval "$ac_link") 2>conftest.er1
8126 grep -v '^ *+' conftest.er1 >conftest.err
8128 cat conftest.err >&5
8129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130 (exit $ac_status); } && {
8131 test -z "$ac_c_werror_flag" ||
8132 test ! -s conftest.err
8133 } && test -s conftest$ac_exeext &&
8134 $as_test_x conftest$ac_exeext; then
8135 ac_cv_lib_Xext_XShapeQueryExtension=yes
8137 echo "$as_me: failed program was:" >&5
8138 sed 's/^/| /' conftest.$ac_ext >&5
8140 ac_cv_lib_Xext_XShapeQueryExtension=no
8143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8144 conftest$ac_exeext conftest.$ac_ext
8145 LIBS=$ac_check_lib_save_LIBS
8147 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8148 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8149 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8151 cat >>confdefs.h <<\_ACEOF
8152 #define HAVE_LIBXSHAPE 1
8159 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8161 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8162 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
8163 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8164 echo $ECHO_N "(cached) $ECHO_C" >&6
8166 ac_check_lib_save_LIBS=$LIBS
8167 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8168 cat >conftest.$ac_ext <<_ACEOF
8171 cat confdefs.h >>conftest.$ac_ext
8172 cat >>conftest.$ac_ext <<_ACEOF
8173 /* end confdefs.h. */
8175 /* Override any GCC internal prototype to avoid an error.
8176 Use char because int might match the return type of a GCC
8177 builtin and then its argument prototype would still apply. */
8181 char XF86VidModeQueryExtension ();
8185 return XF86VidModeQueryExtension ();
8190 rm -f conftest.$ac_objext conftest$ac_exeext
8191 if { (ac_try="$ac_link"
8193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8194 *) ac_try_echo=$ac_try;;
8196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8197 (eval "$ac_link") 2>conftest.er1
8199 grep -v '^ *+' conftest.er1 >conftest.err
8201 cat conftest.err >&5
8202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8203 (exit $ac_status); } && {
8204 test -z "$ac_c_werror_flag" ||
8205 test ! -s conftest.err
8206 } && test -s conftest$ac_exeext &&
8207 $as_test_x conftest$ac_exeext; then
8208 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8210 echo "$as_me: failed program was:" >&5
8211 sed 's/^/| /' conftest.$ac_ext >&5
8213 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8217 conftest$ac_exeext conftest.$ac_ext
8218 LIBS=$ac_check_lib_save_LIBS
8220 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8221 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8222 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8224 cat >>confdefs.h <<\_ACEOF
8225 #define HAVE_LIBXXF86VM 1
8228 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8234 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8236 cat >conftest.$ac_ext <<_ACEOF
8239 cat confdefs.h >>conftest.$ac_ext
8240 cat >>conftest.$ac_ext <<_ACEOF
8241 /* end confdefs.h. */
8242 #include <X11/Xlib.h>
8243 #include <X11/extensions/Xrandr.h>
8247 static typeof(XRRSetScreenConfigAndRate) * func;
8252 rm -f conftest.$ac_objext
8253 if { (ac_try="$ac_compile"
8255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8256 *) ac_try_echo=$ac_try;;
8258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8259 (eval "$ac_compile") 2>conftest.er1
8261 grep -v '^ *+' conftest.er1 >conftest.err
8263 cat conftest.err >&5
8264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8265 (exit $ac_status); } && {
8266 test -z "$ac_c_werror_flag" ||
8267 test ! -s conftest.err
8268 } && test -s conftest.$ac_objext; then
8270 cat >>confdefs.h <<\_ACEOF
8271 #define HAVE_LIBXRANDR 1
8275 echo "$as_me: failed program was:" >&5
8276 sed 's/^/| /' conftest.$ac_ext >&5
8281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8284 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8286 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8287 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8288 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8289 echo $ECHO_N "(cached) $ECHO_C" >&6
8291 ac_check_lib_save_LIBS=$LIBS
8292 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8293 cat >conftest.$ac_ext <<_ACEOF
8296 cat confdefs.h >>conftest.$ac_ext
8297 cat >>conftest.$ac_ext <<_ACEOF
8298 /* end confdefs.h. */
8300 /* Override any GCC internal prototype to avoid an error.
8301 Use char because int might match the return type of a GCC
8302 builtin and then its argument prototype would still apply. */
8306 char XRenderSetPictureTransform ();
8310 return XRenderSetPictureTransform ();
8315 rm -f conftest.$ac_objext conftest$ac_exeext
8316 if { (ac_try="$ac_link"
8318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8319 *) ac_try_echo=$ac_try;;
8321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8322 (eval "$ac_link") 2>conftest.er1
8324 grep -v '^ *+' conftest.er1 >conftest.err
8326 cat conftest.err >&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); } && {
8329 test -z "$ac_c_werror_flag" ||
8330 test ! -s conftest.err
8331 } && test -s conftest$ac_exeext &&
8332 $as_test_x conftest$ac_exeext; then
8333 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8335 echo "$as_me: failed program was:" >&5
8336 sed 's/^/| /' conftest.$ac_ext >&5
8338 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8342 conftest$ac_exeext conftest.$ac_ext
8343 LIBS=$ac_check_lib_save_LIBS
8345 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8346 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8347 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8349 cat >>confdefs.h <<\_ACEOF
8350 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8357 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8359 cat >conftest.$ac_ext <<_ACEOF
8362 cat confdefs.h >>conftest.$ac_ext
8363 cat >>conftest.$ac_ext <<_ACEOF
8364 /* end confdefs.h. */
8365 #include <X11/Xlib.h>
8366 #include <X11/extensions/Xinerama.h>
8370 static typeof(XineramaQueryScreens) * func;
8375 rm -f conftest.$ac_objext
8376 if { (ac_try="$ac_compile"
8378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8379 *) ac_try_echo=$ac_try;;
8381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8382 (eval "$ac_compile") 2>conftest.er1
8384 grep -v '^ *+' conftest.er1 >conftest.err
8386 cat conftest.err >&5
8387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8388 (exit $ac_status); } && {
8389 test -z "$ac_c_werror_flag" ||
8390 test ! -s conftest.err
8391 } && test -s conftest.$ac_objext; then
8393 cat >>confdefs.h <<\_ACEOF
8394 #define HAVE_LIBXINERAMA 1
8398 echo "$as_me: failed program was:" >&5
8399 sed 's/^/| /' conftest.$ac_ext >&5
8404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8408 if test "x$with_opengl" != "xno"
8414 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8416 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8417 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8420 echo $ECHO_N "(cached) $ECHO_C" >&6
8422 cat >conftest.$ac_ext <<_ACEOF
8425 cat confdefs.h >>conftest.$ac_ext
8426 cat >>conftest.$ac_ext <<_ACEOF
8427 /* end confdefs.h. */
8428 #ifdef HAVE_GL_GLX_H
8429 # include <GL/glx.h>
8432 #include <$ac_header>
8434 rm -f conftest.$ac_objext
8435 if { (ac_try="$ac_compile"
8437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8438 *) ac_try_echo=$ac_try;;
8440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8441 (eval "$ac_compile") 2>conftest.er1
8443 grep -v '^ *+' conftest.er1 >conftest.err
8445 cat conftest.err >&5
8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447 (exit $ac_status); } && {
8448 test -z "$ac_c_werror_flag" ||
8449 test ! -s conftest.err
8450 } && test -s conftest.$ac_objext; then
8451 eval "$as_ac_Header=yes"
8453 echo "$as_me: failed program was:" >&5
8454 sed 's/^/| /' conftest.$ac_ext >&5
8456 eval "$as_ac_Header=no"
8459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8461 ac_res=`eval echo '${'$as_ac_Header'}'`
8462 { echo "$as_me:$LINENO: result: $ac_res" >&5
8463 echo "${ECHO_T}$ac_res" >&6; }
8464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8465 cat >>confdefs.h <<_ACEOF
8466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8473 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8475 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8476 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8477 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8478 echo $ECHO_N "(cached) $ECHO_C" >&6
8480 cat >conftest.$ac_ext <<_ACEOF
8483 cat confdefs.h >>conftest.$ac_ext
8484 cat >>conftest.$ac_ext <<_ACEOF
8485 /* end confdefs.h. */
8490 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8495 rm -f conftest.$ac_objext
8496 if { (ac_try="$ac_compile"
8498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8499 *) ac_try_echo=$ac_try;;
8501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8502 (eval "$ac_compile") 2>conftest.er1
8504 grep -v '^ *+' conftest.er1 >conftest.err
8506 cat conftest.err >&5
8507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8508 (exit $ac_status); } && {
8509 test -z "$ac_c_werror_flag" ||
8510 test ! -s conftest.err
8511 } && test -s conftest.$ac_objext; then
8512 wine_cv_opengl_header_version_OK="yes"
8514 echo "$as_me: failed program was:" >&5
8515 sed 's/^/| /' conftest.$ac_ext >&5
8517 wine_cv_opengl_header_version_OK="no"
8521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8524 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8525 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8527 if test "$wine_cv_opengl_header_version_OK" = "yes"
8529 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8530 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8531 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8532 echo $ECHO_N "(cached) $ECHO_C" >&6
8534 ac_check_lib_save_LIBS=$LIBS
8535 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8536 cat >conftest.$ac_ext <<_ACEOF
8539 cat confdefs.h >>conftest.$ac_ext
8540 cat >>conftest.$ac_ext <<_ACEOF
8541 /* end confdefs.h. */
8543 /* Override any GCC internal prototype to avoid an error.
8544 Use char because int might match the return type of a GCC
8545 builtin and then its argument prototype would still apply. */
8549 char glXCreateContext ();
8553 return glXCreateContext ();
8558 rm -f conftest.$ac_objext conftest$ac_exeext
8559 if { (ac_try="$ac_link"
8561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8562 *) ac_try_echo=$ac_try;;
8564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8565 (eval "$ac_link") 2>conftest.er1
8567 grep -v '^ *+' conftest.er1 >conftest.err
8569 cat conftest.err >&5
8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571 (exit $ac_status); } && {
8572 test -z "$ac_c_werror_flag" ||
8573 test ! -s conftest.err
8574 } && test -s conftest$ac_exeext &&
8575 $as_test_x conftest$ac_exeext; then
8576 ac_cv_lib_GL_glXCreateContext=yes
8578 echo "$as_me: failed program was:" >&5
8579 sed 's/^/| /' conftest.$ac_ext >&5
8581 ac_cv_lib_GL_glXCreateContext=no
8584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8585 conftest$ac_exeext conftest.$ac_ext
8586 LIBS=$ac_check_lib_save_LIBS
8588 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8589 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8590 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8592 OPENGLFILES='$(OPENGLFILES)'
8594 cat >>confdefs.h <<\_ACEOF
8595 #define HAVE_OPENGL 1
8602 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8603 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8604 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8605 echo $ECHO_N "(cached) $ECHO_C" >&6
8607 ac_check_lib_save_LIBS=$LIBS
8608 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8610 cat >conftest.$ac_ext <<_ACEOF
8613 cat confdefs.h >>conftest.$ac_ext
8614 cat >>conftest.$ac_ext <<_ACEOF
8615 /* end confdefs.h. */
8617 /* Override any GCC internal prototype to avoid an error.
8618 Use char because int might match the return type of a GCC
8619 builtin and then its argument prototype would still apply. */
8627 return gluLookAt ();
8632 rm -f conftest.$ac_objext conftest$ac_exeext
8633 if { (ac_try="$ac_link"
8635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8636 *) ac_try_echo=$ac_try;;
8638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8639 (eval "$ac_link") 2>conftest.er1
8641 grep -v '^ *+' conftest.er1 >conftest.err
8643 cat conftest.err >&5
8644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8645 (exit $ac_status); } && {
8646 test -z "$ac_c_werror_flag" ||
8647 test ! -s conftest.err
8648 } && test -s conftest$ac_exeext &&
8649 $as_test_x conftest$ac_exeext; then
8650 ac_cv_lib_GLU_gluLookAt=yes
8652 echo "$as_me: failed program was:" >&5
8653 sed 's/^/| /' conftest.$ac_ext >&5
8655 ac_cv_lib_GLU_gluLookAt=no
8658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8659 conftest$ac_exeext conftest.$ac_ext
8660 LIBS=$ac_check_lib_save_LIBS
8662 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8663 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8664 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8665 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8666 GLU32FILES='$(GLU32FILES)'
8672 wine_cv_opengl_headers_found="no"
8678 for ac_header in audio/audiolib.h
8680 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8681 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8682 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8684 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8685 echo $ECHO_N "(cached) $ECHO_C" >&6
8687 ac_res=`eval echo '${'$as_ac_Header'}'`
8688 { echo "$as_me:$LINENO: result: $ac_res" >&5
8689 echo "${ECHO_T}$ac_res" >&6; }
8691 # Is the header compilable?
8692 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8693 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8694 cat >conftest.$ac_ext <<_ACEOF
8697 cat confdefs.h >>conftest.$ac_ext
8698 cat >>conftest.$ac_ext <<_ACEOF
8699 /* end confdefs.h. */
8700 $ac_includes_default
8701 #include <$ac_header>
8703 rm -f conftest.$ac_objext
8704 if { (ac_try="$ac_compile"
8706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8707 *) ac_try_echo=$ac_try;;
8709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8710 (eval "$ac_compile") 2>conftest.er1
8712 grep -v '^ *+' conftest.er1 >conftest.err
8714 cat conftest.err >&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); } && {
8717 test -z "$ac_c_werror_flag" ||
8718 test ! -s conftest.err
8719 } && test -s conftest.$ac_objext; then
8720 ac_header_compiler=yes
8722 echo "$as_me: failed program was:" >&5
8723 sed 's/^/| /' conftest.$ac_ext >&5
8725 ac_header_compiler=no
8728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8729 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8730 echo "${ECHO_T}$ac_header_compiler" >&6; }
8732 # Is the header present?
8733 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8734 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8735 cat >conftest.$ac_ext <<_ACEOF
8738 cat confdefs.h >>conftest.$ac_ext
8739 cat >>conftest.$ac_ext <<_ACEOF
8740 /* end confdefs.h. */
8741 #include <$ac_header>
8743 if { (ac_try="$ac_cpp conftest.$ac_ext"
8745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8746 *) ac_try_echo=$ac_try;;
8748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8749 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8751 grep -v '^ *+' conftest.er1 >conftest.err
8753 cat conftest.err >&5
8754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755 (exit $ac_status); } >/dev/null && {
8756 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8757 test ! -s conftest.err
8759 ac_header_preproc=yes
8761 echo "$as_me: failed program was:" >&5
8762 sed 's/^/| /' conftest.$ac_ext >&5
8764 ac_header_preproc=no
8767 rm -f conftest.err conftest.$ac_ext
8768 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8769 echo "${ECHO_T}$ac_header_preproc" >&6; }
8771 # So? What about this header?
8772 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8774 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8775 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8777 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8778 ac_header_preproc=yes
8781 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8782 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8783 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8784 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8785 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8786 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8787 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8788 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8789 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8790 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8791 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8792 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8794 ## ------------------------------------ ##
8795 ## Report this to wine-devel@winehq.org ##
8796 ## ------------------------------------ ##
8798 ) | sed "s/^/$as_me: WARNING: /" >&2
8801 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8803 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8804 echo $ECHO_N "(cached) $ECHO_C" >&6
8806 eval "$as_ac_Header=\$ac_header_preproc"
8808 ac_res=`eval echo '${'$as_ac_Header'}'`
8809 { echo "$as_me:$LINENO: result: $ac_res" >&5
8810 echo "${ECHO_T}$ac_res" >&6; }
8813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8814 cat >>confdefs.h <<_ACEOF
8815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8818 for ac_header in audio/soundlib.h
8820 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8821 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8824 echo $ECHO_N "(cached) $ECHO_C" >&6
8826 cat >conftest.$ac_ext <<_ACEOF
8829 cat confdefs.h >>conftest.$ac_ext
8830 cat >>conftest.$ac_ext <<_ACEOF
8831 /* end confdefs.h. */
8832 #include <audio/audiolib.h>
8834 #include <$ac_header>
8836 rm -f conftest.$ac_objext
8837 if { (ac_try="$ac_compile"
8839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8840 *) ac_try_echo=$ac_try;;
8842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8843 (eval "$ac_compile") 2>conftest.er1
8845 grep -v '^ *+' conftest.er1 >conftest.err
8847 cat conftest.err >&5
8848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849 (exit $ac_status); } && {
8850 test -z "$ac_c_werror_flag" ||
8851 test ! -s conftest.err
8852 } && test -s conftest.$ac_objext; then
8853 eval "$as_ac_Header=yes"
8855 echo "$as_me: failed program was:" >&5
8856 sed 's/^/| /' conftest.$ac_ext >&5
8858 eval "$as_ac_Header=no"
8861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8863 ac_res=`eval echo '${'$as_ac_Header'}'`
8864 { echo "$as_me:$LINENO: result: $ac_res" >&5
8865 echo "${ECHO_T}$ac_res" >&6; }
8866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8867 cat >>confdefs.h <<_ACEOF
8868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8875 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8876 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8877 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8878 echo $ECHO_N "(cached) $ECHO_C" >&6
8880 ac_check_lib_save_LIBS=$LIBS
8881 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8882 cat >conftest.$ac_ext <<_ACEOF
8885 cat confdefs.h >>conftest.$ac_ext
8886 cat >>conftest.$ac_ext <<_ACEOF
8887 /* end confdefs.h. */
8889 /* Override any GCC internal prototype to avoid an error.
8890 Use char because int might match the return type of a GCC
8891 builtin and then its argument prototype would still apply. */
8895 char AuCreateFlow ();
8899 return AuCreateFlow ();
8904 rm -f conftest.$ac_objext conftest$ac_exeext
8905 if { (ac_try="$ac_link"
8907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8908 *) ac_try_echo=$ac_try;;
8910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8911 (eval "$ac_link") 2>conftest.er1
8913 grep -v '^ *+' conftest.er1 >conftest.err
8915 cat conftest.err >&5
8916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917 (exit $ac_status); } && {
8918 test -z "$ac_c_werror_flag" ||
8919 test ! -s conftest.err
8920 } && test -s conftest$ac_exeext &&
8921 $as_test_x conftest$ac_exeext; then
8922 ac_cv_lib_audio_AuCreateFlow=yes
8924 echo "$as_me: failed program was:" >&5
8925 sed 's/^/| /' conftest.$ac_ext >&5
8927 ac_cv_lib_audio_AuCreateFlow=no
8930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8931 conftest$ac_exeext conftest.$ac_ext
8932 LIBS=$ac_check_lib_save_LIBS
8934 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8935 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8936 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8938 cat >>confdefs.h <<\_ACEOF
8942 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8950 CPPFLAGS="$ac_save_CPPFLAGS"
8967 if test "$PKG_CONFIG" != "false"
8969 ac_save_CPPFLAGS="$CPPFLAGS"
8970 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8971 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8972 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8974 for ac_header in libxml/parser.h
8976 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8978 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8980 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8981 echo $ECHO_N "(cached) $ECHO_C" >&6
8983 ac_res=`eval echo '${'$as_ac_Header'}'`
8984 { echo "$as_me:$LINENO: result: $ac_res" >&5
8985 echo "${ECHO_T}$ac_res" >&6; }
8987 # Is the header compilable?
8988 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8989 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8990 cat >conftest.$ac_ext <<_ACEOF
8993 cat confdefs.h >>conftest.$ac_ext
8994 cat >>conftest.$ac_ext <<_ACEOF
8995 /* end confdefs.h. */
8996 $ac_includes_default
8997 #include <$ac_header>
8999 rm -f conftest.$ac_objext
9000 if { (ac_try="$ac_compile"
9002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9003 *) ac_try_echo=$ac_try;;
9005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9006 (eval "$ac_compile") 2>conftest.er1
9008 grep -v '^ *+' conftest.er1 >conftest.err
9010 cat conftest.err >&5
9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 (exit $ac_status); } && {
9013 test -z "$ac_c_werror_flag" ||
9014 test ! -s conftest.err
9015 } && test -s conftest.$ac_objext; then
9016 ac_header_compiler=yes
9018 echo "$as_me: failed program was:" >&5
9019 sed 's/^/| /' conftest.$ac_ext >&5
9021 ac_header_compiler=no
9024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9025 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9026 echo "${ECHO_T}$ac_header_compiler" >&6; }
9028 # Is the header present?
9029 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9030 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9031 cat >conftest.$ac_ext <<_ACEOF
9034 cat confdefs.h >>conftest.$ac_ext
9035 cat >>conftest.$ac_ext <<_ACEOF
9036 /* end confdefs.h. */
9037 #include <$ac_header>
9039 if { (ac_try="$ac_cpp conftest.$ac_ext"
9041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9042 *) ac_try_echo=$ac_try;;
9044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9045 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9047 grep -v '^ *+' conftest.er1 >conftest.err
9049 cat conftest.err >&5
9050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9051 (exit $ac_status); } >/dev/null && {
9052 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9053 test ! -s conftest.err
9055 ac_header_preproc=yes
9057 echo "$as_me: failed program was:" >&5
9058 sed 's/^/| /' conftest.$ac_ext >&5
9060 ac_header_preproc=no
9063 rm -f conftest.err conftest.$ac_ext
9064 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9065 echo "${ECHO_T}$ac_header_preproc" >&6; }
9067 # So? What about this header?
9068 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9070 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9071 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9073 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9074 ac_header_preproc=yes
9077 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9078 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9079 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9080 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9081 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9082 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9083 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9084 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9085 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9086 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9087 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9088 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9090 ## ------------------------------------ ##
9091 ## Report this to wine-devel@winehq.org ##
9092 ## ------------------------------------ ##
9094 ) | sed "s/^/$as_me: WARNING: /" >&2
9097 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9099 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9100 echo $ECHO_N "(cached) $ECHO_C" >&6
9102 eval "$as_ac_Header=\$ac_header_preproc"
9104 ac_res=`eval echo '${'$as_ac_Header'}'`
9105 { echo "$as_me:$LINENO: result: $ac_res" >&5
9106 echo "${ECHO_T}$ac_res" >&6; }
9109 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9110 cat >>confdefs.h <<_ACEOF
9111 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9113 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
9114 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
9115 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
9116 echo $ECHO_N "(cached) $ECHO_C" >&6
9118 ac_check_lib_save_LIBS=$LIBS
9119 LIBS="-lxml2 $ac_xml_libs $LIBS"
9120 cat >conftest.$ac_ext <<_ACEOF
9123 cat confdefs.h >>conftest.$ac_ext
9124 cat >>conftest.$ac_ext <<_ACEOF
9125 /* end confdefs.h. */
9127 /* Override any GCC internal prototype to avoid an error.
9128 Use char because int might match the return type of a GCC
9129 builtin and then its argument prototype would still apply. */
9133 char xmlParseMemory ();
9137 return xmlParseMemory ();
9142 rm -f conftest.$ac_objext conftest$ac_exeext
9143 if { (ac_try="$ac_link"
9145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9146 *) ac_try_echo=$ac_try;;
9148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9149 (eval "$ac_link") 2>conftest.er1
9151 grep -v '^ *+' conftest.er1 >conftest.err
9153 cat conftest.err >&5
9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 (exit $ac_status); } && {
9156 test -z "$ac_c_werror_flag" ||
9157 test ! -s conftest.err
9158 } && test -s conftest$ac_exeext &&
9159 $as_test_x conftest$ac_exeext; then
9160 ac_cv_lib_xml2_xmlParseMemory=yes
9162 echo "$as_me: failed program was:" >&5
9163 sed 's/^/| /' conftest.$ac_ext >&5
9165 ac_cv_lib_xml2_xmlParseMemory=no
9168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9169 conftest$ac_exeext conftest.$ac_ext
9170 LIBS=$ac_check_lib_save_LIBS
9172 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9173 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9174 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9176 cat >>confdefs.h <<\_ACEOF
9177 #define HAVE_LIBXML2 1
9180 XML2LIBS="$ac_xml_libs"
9181 XML2INCL="$ac_xml_cflags"
9184 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9185 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
9186 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9187 echo $ECHO_N "(cached) $ECHO_C" >&6
9189 ac_check_lib_save_LIBS=$LIBS
9190 LIBS="-lxml2 $ac_xml_libs $LIBS"
9191 cat >conftest.$ac_ext <<_ACEOF
9194 cat confdefs.h >>conftest.$ac_ext
9195 cat >>conftest.$ac_ext <<_ACEOF
9196 /* end confdefs.h. */
9198 /* Override any GCC internal prototype to avoid an error.
9199 Use char because int might match the return type of a GCC
9200 builtin and then its argument prototype would still apply. */
9204 char xmlReadMemory ();
9208 return xmlReadMemory ();
9213 rm -f conftest.$ac_objext conftest$ac_exeext
9214 if { (ac_try="$ac_link"
9216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9217 *) ac_try_echo=$ac_try;;
9219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9220 (eval "$ac_link") 2>conftest.er1
9222 grep -v '^ *+' conftest.er1 >conftest.err
9224 cat conftest.err >&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); } && {
9227 test -z "$ac_c_werror_flag" ||
9228 test ! -s conftest.err
9229 } && test -s conftest$ac_exeext &&
9230 $as_test_x conftest$ac_exeext; then
9231 ac_cv_lib_xml2_xmlReadMemory=yes
9233 echo "$as_me: failed program was:" >&5
9234 sed 's/^/| /' conftest.$ac_ext >&5
9236 ac_cv_lib_xml2_xmlReadMemory=no
9239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9240 conftest$ac_exeext conftest.$ac_ext
9241 LIBS=$ac_check_lib_save_LIBS
9243 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9244 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9245 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9247 cat >>confdefs.h <<\_ACEOF
9248 #define HAVE_XMLREADMEMORY 1
9253 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9254 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9255 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9256 echo $ECHO_N "(cached) $ECHO_C" >&6
9258 ac_check_lib_save_LIBS=$LIBS
9259 LIBS="-lxml2 $ac_xml_libs $LIBS"
9260 cat >conftest.$ac_ext <<_ACEOF
9263 cat confdefs.h >>conftest.$ac_ext
9264 cat >>conftest.$ac_ext <<_ACEOF
9265 /* end confdefs.h. */
9267 /* Override any GCC internal prototype to avoid an error.
9268 Use char because int might match the return type of a GCC
9269 builtin and then its argument prototype would still apply. */
9273 char xmlNewDocPI ();
9277 return xmlNewDocPI ();
9282 rm -f conftest.$ac_objext conftest$ac_exeext
9283 if { (ac_try="$ac_link"
9285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9286 *) ac_try_echo=$ac_try;;
9288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9289 (eval "$ac_link") 2>conftest.er1
9291 grep -v '^ *+' conftest.er1 >conftest.err
9293 cat conftest.err >&5
9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 (exit $ac_status); } && {
9296 test -z "$ac_c_werror_flag" ||
9297 test ! -s conftest.err
9298 } && test -s conftest$ac_exeext &&
9299 $as_test_x conftest$ac_exeext; then
9300 ac_cv_lib_xml2_xmlNewDocPI=yes
9302 echo "$as_me: failed program was:" >&5
9303 sed 's/^/| /' conftest.$ac_ext >&5
9305 ac_cv_lib_xml2_xmlNewDocPI=no
9308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9309 conftest$ac_exeext conftest.$ac_ext
9310 LIBS=$ac_check_lib_save_LIBS
9312 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9313 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9314 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9316 cat >>confdefs.h <<\_ACEOF
9317 #define HAVE_XMLNEWDOCPI 1
9327 CPPFLAGS="$ac_save_CPPFLAGS"
9328 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9329 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9330 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9333 for ac_header in libxslt/pattern.h libxslt/transform.h
9335 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9336 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9338 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9339 echo $ECHO_N "(cached) $ECHO_C" >&6
9341 cat >conftest.$ac_ext <<_ACEOF
9344 cat confdefs.h >>conftest.$ac_ext
9345 cat >>conftest.$ac_ext <<_ACEOF
9346 /* end confdefs.h. */
9347 #ifdef HAVE_LIBXSLT_PATTERN_H
9348 # include <libxslt/pattern.h>
9351 #include <$ac_header>
9353 rm -f conftest.$ac_objext
9354 if { (ac_try="$ac_compile"
9356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9357 *) ac_try_echo=$ac_try;;
9359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9360 (eval "$ac_compile") 2>conftest.er1
9362 grep -v '^ *+' conftest.er1 >conftest.err
9364 cat conftest.err >&5
9365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9366 (exit $ac_status); } && {
9367 test -z "$ac_c_werror_flag" ||
9368 test ! -s conftest.err
9369 } && test -s conftest.$ac_objext; then
9370 eval "$as_ac_Header=yes"
9372 echo "$as_me: failed program was:" >&5
9373 sed 's/^/| /' conftest.$ac_ext >&5
9375 eval "$as_ac_Header=no"
9378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9380 ac_res=`eval echo '${'$as_ac_Header'}'`
9381 { echo "$as_me:$LINENO: result: $ac_res" >&5
9382 echo "${ECHO_T}$ac_res" >&6; }
9383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9384 cat >>confdefs.h <<_ACEOF
9385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9387 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9388 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9389 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9390 echo $ECHO_N "(cached) $ECHO_C" >&6
9392 ac_check_lib_save_LIBS=$LIBS
9393 LIBS="-lxslt $ac_xslt_libs $LIBS"
9394 cat >conftest.$ac_ext <<_ACEOF
9397 cat confdefs.h >>conftest.$ac_ext
9398 cat >>conftest.$ac_ext <<_ACEOF
9399 /* end confdefs.h. */
9401 /* Override any GCC internal prototype to avoid an error.
9402 Use char because int might match the return type of a GCC
9403 builtin and then its argument prototype would still apply. */
9407 char xsltCompilePattern ();
9411 return xsltCompilePattern ();
9416 rm -f conftest.$ac_objext conftest$ac_exeext
9417 if { (ac_try="$ac_link"
9419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9420 *) ac_try_echo=$ac_try;;
9422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9423 (eval "$ac_link") 2>conftest.er1
9425 grep -v '^ *+' conftest.er1 >conftest.err
9427 cat conftest.err >&5
9428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9429 (exit $ac_status); } && {
9430 test -z "$ac_c_werror_flag" ||
9431 test ! -s conftest.err
9432 } && test -s conftest$ac_exeext &&
9433 $as_test_x conftest$ac_exeext; then
9434 ac_cv_lib_xslt_xsltCompilePattern=yes
9436 echo "$as_me: failed program was:" >&5
9437 sed 's/^/| /' conftest.$ac_ext >&5
9439 ac_cv_lib_xslt_xsltCompilePattern=no
9442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9443 conftest$ac_exeext conftest.$ac_ext
9444 LIBS=$ac_check_lib_save_LIBS
9446 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9447 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9448 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9450 cat >>confdefs.h <<\_ACEOF
9451 #define HAVE_LIBXSLT 1
9454 XSLTLIBS="$ac_xslt_libs"
9455 XSLTINCL="$ac_xslt_cflags"
9463 CPPFLAGS="$ac_save_CPPFLAGS"
9468 if test "$PKG_CONFIG" != "false"
9470 ac_save_CPPFLAGS="$CPPFLAGS"
9471 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9472 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9473 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9476 for ac_header in dbus/dbus.h hal/libhal.h
9478 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9480 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9482 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9483 echo $ECHO_N "(cached) $ECHO_C" >&6
9485 ac_res=`eval echo '${'$as_ac_Header'}'`
9486 { echo "$as_me:$LINENO: result: $ac_res" >&5
9487 echo "${ECHO_T}$ac_res" >&6; }
9489 # Is the header compilable?
9490 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9491 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9492 cat >conftest.$ac_ext <<_ACEOF
9495 cat confdefs.h >>conftest.$ac_ext
9496 cat >>conftest.$ac_ext <<_ACEOF
9497 /* end confdefs.h. */
9498 $ac_includes_default
9499 #include <$ac_header>
9501 rm -f conftest.$ac_objext
9502 if { (ac_try="$ac_compile"
9504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9505 *) ac_try_echo=$ac_try;;
9507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9508 (eval "$ac_compile") 2>conftest.er1
9510 grep -v '^ *+' conftest.er1 >conftest.err
9512 cat conftest.err >&5
9513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9514 (exit $ac_status); } && {
9515 test -z "$ac_c_werror_flag" ||
9516 test ! -s conftest.err
9517 } && test -s conftest.$ac_objext; then
9518 ac_header_compiler=yes
9520 echo "$as_me: failed program was:" >&5
9521 sed 's/^/| /' conftest.$ac_ext >&5
9523 ac_header_compiler=no
9526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9527 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9528 echo "${ECHO_T}$ac_header_compiler" >&6; }
9530 # Is the header present?
9531 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9532 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9533 cat >conftest.$ac_ext <<_ACEOF
9536 cat confdefs.h >>conftest.$ac_ext
9537 cat >>conftest.$ac_ext <<_ACEOF
9538 /* end confdefs.h. */
9539 #include <$ac_header>
9541 if { (ac_try="$ac_cpp conftest.$ac_ext"
9543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9544 *) ac_try_echo=$ac_try;;
9546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9547 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9549 grep -v '^ *+' conftest.er1 >conftest.err
9551 cat conftest.err >&5
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 (exit $ac_status); } >/dev/null && {
9554 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9555 test ! -s conftest.err
9557 ac_header_preproc=yes
9559 echo "$as_me: failed program was:" >&5
9560 sed 's/^/| /' conftest.$ac_ext >&5
9562 ac_header_preproc=no
9565 rm -f conftest.err conftest.$ac_ext
9566 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9567 echo "${ECHO_T}$ac_header_preproc" >&6; }
9569 # So? What about this header?
9570 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9572 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9573 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9575 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9576 ac_header_preproc=yes
9579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9583 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9584 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9585 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9586 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9589 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9590 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9592 ## ------------------------------------ ##
9593 ## Report this to wine-devel@winehq.org ##
9594 ## ------------------------------------ ##
9596 ) | sed "s/^/$as_me: WARNING: /" >&2
9599 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9601 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9602 echo $ECHO_N "(cached) $ECHO_C" >&6
9604 eval "$as_ac_Header=\$ac_header_preproc"
9606 ac_res=`eval echo '${'$as_ac_Header'}'`
9607 { echo "$as_me:$LINENO: result: $ac_res" >&5
9608 echo "${ECHO_T}$ac_res" >&6; }
9611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9612 cat >>confdefs.h <<_ACEOF
9613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9620 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9622 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9623 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9624 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9625 echo $ECHO_N "(cached) $ECHO_C" >&6
9627 ac_check_lib_save_LIBS=$LIBS
9629 cat >conftest.$ac_ext <<_ACEOF
9632 cat confdefs.h >>conftest.$ac_ext
9633 cat >>conftest.$ac_ext <<_ACEOF
9634 /* end confdefs.h. */
9636 /* Override any GCC internal prototype to avoid an error.
9637 Use char because int might match the return type of a GCC
9638 builtin and then its argument prototype would still apply. */
9642 char libhal_ctx_new ();
9646 return libhal_ctx_new ();
9651 rm -f conftest.$ac_objext conftest$ac_exeext
9652 if { (ac_try="$ac_link"
9654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9655 *) ac_try_echo=$ac_try;;
9657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9658 (eval "$ac_link") 2>conftest.er1
9660 grep -v '^ *+' conftest.er1 >conftest.err
9662 cat conftest.err >&5
9663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9664 (exit $ac_status); } && {
9665 test -z "$ac_c_werror_flag" ||
9666 test ! -s conftest.err
9667 } && test -s conftest$ac_exeext &&
9668 $as_test_x conftest$ac_exeext; then
9669 ac_cv_lib_hal_libhal_ctx_new=yes
9671 echo "$as_me: failed program was:" >&5
9672 sed 's/^/| /' conftest.$ac_ext >&5
9674 ac_cv_lib_hal_libhal_ctx_new=no
9677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9678 conftest$ac_exeext conftest.$ac_ext
9679 LIBS=$ac_check_lib_save_LIBS
9681 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9682 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9683 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9684 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9685 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9686 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9687 echo $ECHO_N "(cached) $ECHO_C" >&6
9689 ac_check_lib_save_LIBS=$LIBS
9690 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9691 cat >conftest.$ac_ext <<_ACEOF
9694 cat confdefs.h >>conftest.$ac_ext
9695 cat >>conftest.$ac_ext <<_ACEOF
9696 /* end confdefs.h. */
9698 /* Override any GCC internal prototype to avoid an error.
9699 Use char because int might match the return type of a GCC
9700 builtin and then its argument prototype would still apply. */
9704 char dbus_connection_close ();
9708 return dbus_connection_close ();
9713 rm -f conftest.$ac_objext conftest$ac_exeext
9714 if { (ac_try="$ac_link"
9716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9717 *) ac_try_echo=$ac_try;;
9719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9720 (eval "$ac_link") 2>conftest.er1
9722 grep -v '^ *+' conftest.er1 >conftest.err
9724 cat conftest.err >&5
9725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 (exit $ac_status); } && {
9727 test -z "$ac_c_werror_flag" ||
9728 test ! -s conftest.err
9729 } && test -s conftest$ac_exeext &&
9730 $as_test_x conftest$ac_exeext; then
9731 ac_cv_lib_dbus_1_dbus_connection_close=yes
9733 echo "$as_me: failed program was:" >&5
9734 sed 's/^/| /' conftest.$ac_ext >&5
9736 ac_cv_lib_dbus_1_dbus_connection_close=no
9739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9740 conftest$ac_exeext conftest.$ac_ext
9741 LIBS=$ac_check_lib_save_LIBS
9743 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9744 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9745 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9747 cat >>confdefs.h <<\_ACEOF
9748 #define HAVE_LIBHAL 1
9751 HALINCL="$ac_hal_cflags"
9757 CPPFLAGS="$ac_save_CPPFLAGS"
9761 if test "$ac_cv_header_ncurses_h" = "yes"
9763 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9764 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9765 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9766 echo $ECHO_N "(cached) $ECHO_C" >&6
9768 ac_check_lib_save_LIBS=$LIBS
9769 LIBS="-lncurses $LIBS"
9770 cat >conftest.$ac_ext <<_ACEOF
9773 cat confdefs.h >>conftest.$ac_ext
9774 cat >>conftest.$ac_ext <<_ACEOF
9775 /* end confdefs.h. */
9777 /* Override any GCC internal prototype to avoid an error.
9778 Use char because int might match the return type of a GCC
9779 builtin and then its argument prototype would still apply. */
9792 rm -f conftest.$ac_objext conftest$ac_exeext
9793 if { (ac_try="$ac_link"
9795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9796 *) ac_try_echo=$ac_try;;
9798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9799 (eval "$ac_link") 2>conftest.er1
9801 grep -v '^ *+' conftest.er1 >conftest.err
9803 cat conftest.err >&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); } && {
9806 test -z "$ac_c_werror_flag" ||
9807 test ! -s conftest.err
9808 } && test -s conftest$ac_exeext &&
9809 $as_test_x conftest$ac_exeext; then
9810 ac_cv_lib_ncurses_waddch=yes
9812 echo "$as_me: failed program was:" >&5
9813 sed 's/^/| /' conftest.$ac_ext >&5
9815 ac_cv_lib_ncurses_waddch=no
9818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9819 conftest$ac_exeext conftest.$ac_ext
9820 LIBS=$ac_check_lib_save_LIBS
9822 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9823 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9824 if test $ac_cv_lib_ncurses_waddch = yes; then
9825 CURSESLIBS="-lncurses"
9828 elif test "$ac_cv_header_curses_h" = "yes"
9830 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9831 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9832 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9833 echo $ECHO_N "(cached) $ECHO_C" >&6
9835 ac_check_lib_save_LIBS=$LIBS
9836 LIBS="-lcurses $LIBS"
9837 cat >conftest.$ac_ext <<_ACEOF
9840 cat confdefs.h >>conftest.$ac_ext
9841 cat >>conftest.$ac_ext <<_ACEOF
9842 /* end confdefs.h. */
9844 /* Override any GCC internal prototype to avoid an error.
9845 Use char because int might match the return type of a GCC
9846 builtin and then its argument prototype would still apply. */
9859 rm -f conftest.$ac_objext conftest$ac_exeext
9860 if { (ac_try="$ac_link"
9862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9863 *) ac_try_echo=$ac_try;;
9865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9866 (eval "$ac_link") 2>conftest.er1
9868 grep -v '^ *+' conftest.er1 >conftest.err
9870 cat conftest.err >&5
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); } && {
9873 test -z "$ac_c_werror_flag" ||
9874 test ! -s conftest.err
9875 } && test -s conftest$ac_exeext &&
9876 $as_test_x conftest$ac_exeext; then
9877 ac_cv_lib_curses_waddch=yes
9879 echo "$as_me: failed program was:" >&5
9880 sed 's/^/| /' conftest.$ac_ext >&5
9882 ac_cv_lib_curses_waddch=no
9885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9886 conftest$ac_exeext conftest.$ac_ext
9887 LIBS=$ac_check_lib_save_LIBS
9889 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9890 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9891 if test $ac_cv_lib_curses_waddch = yes; then
9892 CURSESLIBS="-lcurses"
9896 ac_save_LIBS="$LIBS"
9897 LIBS="$LIBS $CURSESLIBS"
9899 for ac_func in mousemask
9901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9902 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9904 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9905 echo $ECHO_N "(cached) $ECHO_C" >&6
9907 cat >conftest.$ac_ext <<_ACEOF
9910 cat confdefs.h >>conftest.$ac_ext
9911 cat >>conftest.$ac_ext <<_ACEOF
9912 /* end confdefs.h. */
9913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9915 #define $ac_func innocuous_$ac_func
9917 /* System header to define __stub macros and hopefully few prototypes,
9918 which can conflict with char $ac_func (); below.
9919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9920 <limits.h> exists even on freestanding compilers. */
9923 # include <limits.h>
9925 # include <assert.h>
9930 /* Override any GCC internal prototype to avoid an error.
9931 Use char because int might match the return type of a GCC
9932 builtin and then its argument prototype would still apply. */
9937 /* The GNU C library defines this for functions which it implements
9938 to always fail with ENOSYS. Some functions are actually named
9939 something starting with __ and the normal name is an alias. */
9940 #if defined __stub_$ac_func || defined __stub___$ac_func
9952 rm -f conftest.$ac_objext conftest$ac_exeext
9953 if { (ac_try="$ac_link"
9955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9956 *) ac_try_echo=$ac_try;;
9958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9959 (eval "$ac_link") 2>conftest.er1
9961 grep -v '^ *+' conftest.er1 >conftest.err
9963 cat conftest.err >&5
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); } && {
9966 test -z "$ac_c_werror_flag" ||
9967 test ! -s conftest.err
9968 } && test -s conftest$ac_exeext &&
9969 $as_test_x conftest$ac_exeext; then
9970 eval "$as_ac_var=yes"
9972 echo "$as_me: failed program was:" >&5
9973 sed 's/^/| /' conftest.$ac_ext >&5
9975 eval "$as_ac_var=no"
9978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9979 conftest$ac_exeext conftest.$ac_ext
9981 ac_res=`eval echo '${'$as_ac_var'}'`
9982 { echo "$as_me:$LINENO: result: $ac_res" >&5
9983 echo "${ECHO_T}$ac_res" >&6; }
9984 if test `eval echo '${'$as_ac_var'}'` = yes; then
9985 cat >>confdefs.h <<_ACEOF
9986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9992 LIBS="$ac_save_LIBS"
9994 # Extract the first word of "sane-config", so it can be a program name with args.
9995 set dummy sane-config; ac_word=$2
9996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9998 if test "${ac_cv_prog_sane_devel+set}" = set; then
9999 echo $ECHO_N "(cached) $ECHO_C" >&6
10001 if test -n "$sane_devel"; then
10002 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
10004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10005 for as_dir in $PATH
10008 test -z "$as_dir" && as_dir=.
10009 for ac_exec_ext in '' $ac_executable_extensions; do
10010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10011 ac_cv_prog_sane_devel="sane-config"
10012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10019 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
10022 sane_devel=$ac_cv_prog_sane_devel
10023 if test -n "$sane_devel"; then
10024 { echo "$as_me:$LINENO: result: $sane_devel" >&5
10025 echo "${ECHO_T}$sane_devel" >&6; }
10027 { echo "$as_me:$LINENO: result: no" >&5
10028 echo "${ECHO_T}no" >&6; }
10036 if test "$sane_devel" != "no"
10038 SANELIBS="`$sane_devel --libs`"
10039 SANEINCL="`$sane_devel --cflags`"
10040 ac_save_CPPFLAGS="$CPPFLAGS"
10041 ac_save_LIBS="$LIBS"
10042 CPPFLAGS="$CPPFLAGS $SANEINCL"
10043 LIBS="$LIBS $SANELIBS"
10044 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10045 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10046 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10047 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10048 echo $ECHO_N "(cached) $ECHO_C" >&6
10050 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10051 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10053 # Is the header compilable?
10054 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
10055 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
10056 cat >conftest.$ac_ext <<_ACEOF
10059 cat confdefs.h >>conftest.$ac_ext
10060 cat >>conftest.$ac_ext <<_ACEOF
10061 /* end confdefs.h. */
10062 $ac_includes_default
10063 #include <sane/sane.h>
10065 rm -f conftest.$ac_objext
10066 if { (ac_try="$ac_compile"
10067 case "(($ac_try" in
10068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10069 *) ac_try_echo=$ac_try;;
10071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10072 (eval "$ac_compile") 2>conftest.er1
10074 grep -v '^ *+' conftest.er1 >conftest.err
10076 cat conftest.err >&5
10077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10078 (exit $ac_status); } && {
10079 test -z "$ac_c_werror_flag" ||
10080 test ! -s conftest.err
10081 } && test -s conftest.$ac_objext; then
10082 ac_header_compiler=yes
10084 echo "$as_me: failed program was:" >&5
10085 sed 's/^/| /' conftest.$ac_ext >&5
10087 ac_header_compiler=no
10090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10091 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10092 echo "${ECHO_T}$ac_header_compiler" >&6; }
10094 # Is the header present?
10095 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
10096 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
10097 cat >conftest.$ac_ext <<_ACEOF
10100 cat confdefs.h >>conftest.$ac_ext
10101 cat >>conftest.$ac_ext <<_ACEOF
10102 /* end confdefs.h. */
10103 #include <sane/sane.h>
10105 if { (ac_try="$ac_cpp conftest.$ac_ext"
10106 case "(($ac_try" in
10107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10108 *) ac_try_echo=$ac_try;;
10110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10111 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10113 grep -v '^ *+' conftest.er1 >conftest.err
10115 cat conftest.err >&5
10116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); } >/dev/null && {
10118 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10119 test ! -s conftest.err
10121 ac_header_preproc=yes
10123 echo "$as_me: failed program was:" >&5
10124 sed 's/^/| /' conftest.$ac_ext >&5
10126 ac_header_preproc=no
10129 rm -f conftest.err conftest.$ac_ext
10130 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10131 echo "${ECHO_T}$ac_header_preproc" >&6; }
10133 # So? What about this header?
10134 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10136 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10137 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10138 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10139 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10140 ac_header_preproc=yes
10143 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10144 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10145 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10146 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10147 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10148 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10149 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10150 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10151 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10152 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10153 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10154 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10156 ## ------------------------------------ ##
10157 ## Report this to wine-devel@winehq.org ##
10158 ## ------------------------------------ ##
10160 ) | sed "s/^/$as_me: WARNING: /" >&2
10163 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10164 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10165 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10166 echo $ECHO_N "(cached) $ECHO_C" >&6
10168 ac_cv_header_sane_sane_h=$ac_header_preproc
10170 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10171 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10174 if test $ac_cv_header_sane_sane_h = yes; then
10175 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10176 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
10177 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10178 echo $ECHO_N "(cached) $ECHO_C" >&6
10180 ac_check_lib_save_LIBS=$LIBS
10181 LIBS="-lsane $LIBS"
10182 cat >conftest.$ac_ext <<_ACEOF
10185 cat confdefs.h >>conftest.$ac_ext
10186 cat >>conftest.$ac_ext <<_ACEOF
10187 /* end confdefs.h. */
10189 /* Override any GCC internal prototype to avoid an error.
10190 Use char because int might match the return type of a GCC
10191 builtin and then its argument prototype would still apply. */
10199 return sane_open ();
10204 rm -f conftest.$ac_objext conftest$ac_exeext
10205 if { (ac_try="$ac_link"
10206 case "(($ac_try" in
10207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10208 *) ac_try_echo=$ac_try;;
10210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10211 (eval "$ac_link") 2>conftest.er1
10213 grep -v '^ *+' conftest.er1 >conftest.err
10215 cat conftest.err >&5
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); } && {
10218 test -z "$ac_c_werror_flag" ||
10219 test ! -s conftest.err
10220 } && test -s conftest$ac_exeext &&
10221 $as_test_x conftest$ac_exeext; then
10222 ac_cv_lib_sane_sane_open=yes
10224 echo "$as_me: failed program was:" >&5
10225 sed 's/^/| /' conftest.$ac_ext >&5
10227 ac_cv_lib_sane_sane_open=no
10230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10231 conftest$ac_exeext conftest.$ac_ext
10232 LIBS=$ac_check_lib_save_LIBS
10234 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10235 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
10236 if test $ac_cv_lib_sane_sane_open = yes; then
10238 cat >>confdefs.h <<\_ACEOF
10239 #define HAVE_SANE 1
10253 LIBS="$ac_save_LIBS"
10254 CPPFLAGS="$ac_save_CPPFLAGS"
10257 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10258 set dummy gphoto2-config; ac_word=$2
10259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10261 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10262 echo $ECHO_N "(cached) $ECHO_C" >&6
10264 if test -n "$gphoto2_devel"; then
10265 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10268 for as_dir in $PATH
10271 test -z "$as_dir" && as_dir=.
10272 for ac_exec_ext in '' $ac_executable_extensions; do
10273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10274 ac_cv_prog_gphoto2_devel="gphoto2-config"
10275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10282 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10285 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10286 if test -n "$gphoto2_devel"; then
10287 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10288 echo "${ECHO_T}$gphoto2_devel" >&6; }
10290 { echo "$as_me:$LINENO: result: no" >&5
10291 echo "${ECHO_T}no" >&6; }
10295 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10296 set dummy gphoto2-port-config; ac_word=$2
10297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10299 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10300 echo $ECHO_N "(cached) $ECHO_C" >&6
10302 if test -n "$gphoto2port_devel"; then
10303 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10306 for as_dir in $PATH
10309 test -z "$as_dir" && as_dir=.
10310 for ac_exec_ext in '' $ac_executable_extensions; do
10311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10312 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10320 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10323 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10324 if test -n "$gphoto2port_devel"; then
10325 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10326 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10328 { echo "$as_me:$LINENO: result: no" >&5
10329 echo "${ECHO_T}no" >&6; }
10337 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10339 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10341 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10344 -L/usr/lib|-L/usr/lib64) ;;
10345 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
10348 ac_save_CPPFLAGS="$CPPFLAGS"
10349 ac_save_LIBS="$LIBS"
10350 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
10351 LIBS="$LIBS $GPHOTO2LIBS"
10352 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10353 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10354 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10355 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10356 echo $ECHO_N "(cached) $ECHO_C" >&6
10358 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10359 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10361 # Is the header compilable?
10362 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10363 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10364 cat >conftest.$ac_ext <<_ACEOF
10367 cat confdefs.h >>conftest.$ac_ext
10368 cat >>conftest.$ac_ext <<_ACEOF
10369 /* end confdefs.h. */
10370 $ac_includes_default
10371 #include <gphoto2-camera.h>
10373 rm -f conftest.$ac_objext
10374 if { (ac_try="$ac_compile"
10375 case "(($ac_try" in
10376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10377 *) ac_try_echo=$ac_try;;
10379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10380 (eval "$ac_compile") 2>conftest.er1
10382 grep -v '^ *+' conftest.er1 >conftest.err
10384 cat conftest.err >&5
10385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10386 (exit $ac_status); } && {
10387 test -z "$ac_c_werror_flag" ||
10388 test ! -s conftest.err
10389 } && test -s conftest.$ac_objext; then
10390 ac_header_compiler=yes
10392 echo "$as_me: failed program was:" >&5
10393 sed 's/^/| /' conftest.$ac_ext >&5
10395 ac_header_compiler=no
10398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10399 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10400 echo "${ECHO_T}$ac_header_compiler" >&6; }
10402 # Is the header present?
10403 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10404 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10405 cat >conftest.$ac_ext <<_ACEOF
10408 cat confdefs.h >>conftest.$ac_ext
10409 cat >>conftest.$ac_ext <<_ACEOF
10410 /* end confdefs.h. */
10411 #include <gphoto2-camera.h>
10413 if { (ac_try="$ac_cpp conftest.$ac_ext"
10414 case "(($ac_try" in
10415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10416 *) ac_try_echo=$ac_try;;
10418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10419 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10421 grep -v '^ *+' conftest.er1 >conftest.err
10423 cat conftest.err >&5
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); } >/dev/null && {
10426 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10427 test ! -s conftest.err
10429 ac_header_preproc=yes
10431 echo "$as_me: failed program was:" >&5
10432 sed 's/^/| /' conftest.$ac_ext >&5
10434 ac_header_preproc=no
10437 rm -f conftest.err conftest.$ac_ext
10438 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10439 echo "${ECHO_T}$ac_header_preproc" >&6; }
10441 # So? What about this header?
10442 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10444 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10445 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10446 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10447 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10448 ac_header_preproc=yes
10451 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10452 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10453 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10454 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10455 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10456 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10457 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10458 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10459 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10460 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10461 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10462 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10464 ## ------------------------------------ ##
10465 ## Report this to wine-devel@winehq.org ##
10466 ## ------------------------------------ ##
10468 ) | sed "s/^/$as_me: WARNING: /" >&2
10471 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10472 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10473 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10474 echo $ECHO_N "(cached) $ECHO_C" >&6
10476 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
10478 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10479 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10482 if test $ac_cv_header_gphoto2_camera_h = yes; then
10483 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10484 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10485 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10486 echo $ECHO_N "(cached) $ECHO_C" >&6
10488 ac_check_lib_save_LIBS=$LIBS
10489 LIBS="-lgphoto2 $LIBS"
10490 cat >conftest.$ac_ext <<_ACEOF
10493 cat confdefs.h >>conftest.$ac_ext
10494 cat >>conftest.$ac_ext <<_ACEOF
10495 /* end confdefs.h. */
10497 /* Override any GCC internal prototype to avoid an error.
10498 Use char because int might match the return type of a GCC
10499 builtin and then its argument prototype would still apply. */
10503 char gp_camera_new ();
10507 return gp_camera_new ();
10512 rm -f conftest.$ac_objext conftest$ac_exeext
10513 if { (ac_try="$ac_link"
10514 case "(($ac_try" in
10515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10516 *) ac_try_echo=$ac_try;;
10518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10519 (eval "$ac_link") 2>conftest.er1
10521 grep -v '^ *+' conftest.er1 >conftest.err
10523 cat conftest.err >&5
10524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10525 (exit $ac_status); } && {
10526 test -z "$ac_c_werror_flag" ||
10527 test ! -s conftest.err
10528 } && test -s conftest$ac_exeext &&
10529 $as_test_x conftest$ac_exeext; then
10530 ac_cv_lib_gphoto2_gp_camera_new=yes
10532 echo "$as_me: failed program was:" >&5
10533 sed 's/^/| /' conftest.$ac_ext >&5
10535 ac_cv_lib_gphoto2_gp_camera_new=no
10538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10539 conftest$ac_exeext conftest.$ac_ext
10540 LIBS=$ac_check_lib_save_LIBS
10542 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10543 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10544 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10546 cat >>confdefs.h <<\_ACEOF
10547 #define HAVE_GPHOTO2 1
10561 LIBS="$ac_save_LIBS"
10562 CPPFLAGS="$ac_save_CPPFLAGS"
10565 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10568 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
10570 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
10571 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
10572 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
10573 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
10574 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10575 cat >conftest.$ac_ext <<_ACEOF
10578 cat confdefs.h >>conftest.$ac_ext
10579 cat >>conftest.$ac_ext <<_ACEOF
10580 /* end confdefs.h. */
10581 #include <unicode/ubidi.h>
10590 rm -f conftest.$ac_objext conftest$ac_exeext
10591 if { (ac_try="$ac_link"
10592 case "(($ac_try" in
10593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10594 *) ac_try_echo=$ac_try;;
10596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10597 (eval "$ac_link") 2>conftest.er1
10599 grep -v '^ *+' conftest.er1 >conftest.err
10601 cat conftest.err >&5
10602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10603 (exit $ac_status); } && {
10604 test -z "$ac_c_werror_flag" ||
10605 test ! -s conftest.err
10606 } && test -s conftest$ac_exeext &&
10607 $as_test_x conftest$ac_exeext; then
10609 cat >>confdefs.h <<\_ACEOF
10613 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10615 { echo "$as_me:$LINENO: result: yes" >&5
10616 echo "${ECHO_T}yes" >&6; }
10618 echo "$as_me: failed program was:" >&5
10619 sed 's/^/| /' conftest.$ac_ext >&5
10621 { echo "$as_me:$LINENO: result: no" >&5
10622 echo "${ECHO_T}no" >&6; }
10625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10626 conftest$ac_exeext conftest.$ac_ext
10633 if test "$ac_cv_header_resolv_h" = "yes"
10635 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10636 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10637 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10638 echo $ECHO_N "(cached) $ECHO_C" >&6
10640 ac_check_lib_save_LIBS=$LIBS
10641 LIBS="-lresolv $LIBS"
10642 cat >conftest.$ac_ext <<_ACEOF
10645 cat confdefs.h >>conftest.$ac_ext
10646 cat >>conftest.$ac_ext <<_ACEOF
10647 /* end confdefs.h. */
10649 /* Override any GCC internal prototype to avoid an error.
10650 Use char because int might match the return type of a GCC
10651 builtin and then its argument prototype would still apply. */
10659 return res_query ();
10664 rm -f conftest.$ac_objext conftest$ac_exeext
10665 if { (ac_try="$ac_link"
10666 case "(($ac_try" in
10667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10668 *) ac_try_echo=$ac_try;;
10670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10671 (eval "$ac_link") 2>conftest.er1
10673 grep -v '^ *+' conftest.er1 >conftest.err
10675 cat conftest.err >&5
10676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10677 (exit $ac_status); } && {
10678 test -z "$ac_c_werror_flag" ||
10679 test ! -s conftest.err
10680 } && test -s conftest$ac_exeext &&
10681 $as_test_x conftest$ac_exeext; then
10682 ac_cv_lib_resolv_res_query=yes
10684 echo "$as_me: failed program was:" >&5
10685 sed 's/^/| /' conftest.$ac_ext >&5
10687 ac_cv_lib_resolv_res_query=no
10690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10691 conftest$ac_exeext conftest.$ac_ext
10692 LIBS=$ac_check_lib_save_LIBS
10694 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10695 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10696 if test $ac_cv_lib_resolv_res_query = yes; then
10698 cat >>confdefs.h <<\_ACEOF
10699 #define HAVE_RESOLV 1
10702 RESOLVLIBS="-lresolv"
10709 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10711 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10712 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10713 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10714 echo $ECHO_N "(cached) $ECHO_C" >&6
10716 ac_check_lib_save_LIBS=$LIBS
10717 LIBS="-llcms $LIBS"
10718 cat >conftest.$ac_ext <<_ACEOF
10721 cat confdefs.h >>conftest.$ac_ext
10722 cat >>conftest.$ac_ext <<_ACEOF
10723 /* end confdefs.h. */
10725 /* Override any GCC internal prototype to avoid an error.
10726 Use char because int might match the return type of a GCC
10727 builtin and then its argument prototype would still apply. */
10731 char cmsOpenProfileFromFile ();
10735 return cmsOpenProfileFromFile ();
10740 rm -f conftest.$ac_objext conftest$ac_exeext
10741 if { (ac_try="$ac_link"
10742 case "(($ac_try" in
10743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10744 *) ac_try_echo=$ac_try;;
10746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10747 (eval "$ac_link") 2>conftest.er1
10749 grep -v '^ *+' conftest.er1 >conftest.err
10751 cat conftest.err >&5
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); } && {
10754 test -z "$ac_c_werror_flag" ||
10755 test ! -s conftest.err
10756 } && test -s conftest$ac_exeext &&
10757 $as_test_x conftest$ac_exeext; then
10758 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10760 echo "$as_me: failed program was:" >&5
10761 sed 's/^/| /' conftest.$ac_ext >&5
10763 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10767 conftest$ac_exeext conftest.$ac_ext
10768 LIBS=$ac_check_lib_save_LIBS
10770 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10771 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10772 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10774 cat >>confdefs.h <<\_ACEOF
10775 #define HAVE_LCMS 1
10785 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10787 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10788 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10789 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10790 echo $ECHO_N "(cached) $ECHO_C" >&6
10792 ac_check_lib_save_LIBS=$LIBS
10793 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10794 cat >conftest.$ac_ext <<_ACEOF
10797 cat confdefs.h >>conftest.$ac_ext
10798 cat >>conftest.$ac_ext <<_ACEOF
10799 /* end confdefs.h. */
10801 /* Override any GCC internal prototype to avoid an error.
10802 Use char because int might match the return type of a GCC
10803 builtin and then its argument prototype would still apply. */
10807 char ldap_initialize ();
10811 return ldap_initialize ();
10816 rm -f conftest.$ac_objext conftest$ac_exeext
10817 if { (ac_try="$ac_link"
10818 case "(($ac_try" in
10819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10820 *) ac_try_echo=$ac_try;;
10822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10823 (eval "$ac_link") 2>conftest.er1
10825 grep -v '^ *+' conftest.er1 >conftest.err
10827 cat conftest.err >&5
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); } && {
10830 test -z "$ac_c_werror_flag" ||
10831 test ! -s conftest.err
10832 } && test -s conftest$ac_exeext &&
10833 $as_test_x conftest$ac_exeext; then
10834 ac_cv_lib_ldap_r_ldap_initialize=yes
10836 echo "$as_me: failed program was:" >&5
10837 sed 's/^/| /' conftest.$ac_ext >&5
10839 ac_cv_lib_ldap_r_ldap_initialize=no
10842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10843 conftest$ac_exeext conftest.$ac_ext
10844 LIBS=$ac_check_lib_save_LIBS
10846 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10847 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10848 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10849 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10850 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10851 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10852 echo $ECHO_N "(cached) $ECHO_C" >&6
10854 ac_check_lib_save_LIBS=$LIBS
10855 LIBS="-llber $LIBPTHREAD $LIBS"
10856 cat >conftest.$ac_ext <<_ACEOF
10859 cat confdefs.h >>conftest.$ac_ext
10860 cat >>conftest.$ac_ext <<_ACEOF
10861 /* end confdefs.h. */
10863 /* Override any GCC internal prototype to avoid an error.
10864 Use char because int might match the return type of a GCC
10865 builtin and then its argument prototype would still apply. */
10873 return ber_init ();
10878 rm -f conftest.$ac_objext conftest$ac_exeext
10879 if { (ac_try="$ac_link"
10880 case "(($ac_try" in
10881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10882 *) ac_try_echo=$ac_try;;
10884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10885 (eval "$ac_link") 2>conftest.er1
10887 grep -v '^ *+' conftest.er1 >conftest.err
10889 cat conftest.err >&5
10890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10891 (exit $ac_status); } && {
10892 test -z "$ac_c_werror_flag" ||
10893 test ! -s conftest.err
10894 } && test -s conftest$ac_exeext &&
10895 $as_test_x conftest$ac_exeext; then
10896 ac_cv_lib_lber_ber_init=yes
10898 echo "$as_me: failed program was:" >&5
10899 sed 's/^/| /' conftest.$ac_ext >&5
10901 ac_cv_lib_lber_ber_init=no
10904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10905 conftest$ac_exeext conftest.$ac_ext
10906 LIBS=$ac_check_lib_save_LIBS
10908 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10909 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10910 if test $ac_cv_lib_lber_ber_init = yes; then
10912 cat >>confdefs.h <<\_ACEOF
10913 #define HAVE_LDAP 1
10916 LDAPLIBS="-lldap_r -llber"
10921 ac_wine_check_funcs_save_LIBS="$LIBS"
10922 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10928 ldap_count_references \
10929 ldap_first_reference \
10930 ldap_next_reference \
10931 ldap_parse_reference
10933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10934 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10936 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10937 echo $ECHO_N "(cached) $ECHO_C" >&6
10939 cat >conftest.$ac_ext <<_ACEOF
10942 cat confdefs.h >>conftest.$ac_ext
10943 cat >>conftest.$ac_ext <<_ACEOF
10944 /* end confdefs.h. */
10945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10947 #define $ac_func innocuous_$ac_func
10949 /* System header to define __stub macros and hopefully few prototypes,
10950 which can conflict with char $ac_func (); below.
10951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10952 <limits.h> exists even on freestanding compilers. */
10955 # include <limits.h>
10957 # include <assert.h>
10962 /* Override any GCC internal prototype to avoid an error.
10963 Use char because int might match the return type of a GCC
10964 builtin and then its argument prototype would still apply. */
10969 /* The GNU C library defines this for functions which it implements
10970 to always fail with ENOSYS. Some functions are actually named
10971 something starting with __ and the normal name is an alias. */
10972 #if defined __stub_$ac_func || defined __stub___$ac_func
10979 return $ac_func ();
10984 rm -f conftest.$ac_objext conftest$ac_exeext
10985 if { (ac_try="$ac_link"
10986 case "(($ac_try" in
10987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10988 *) ac_try_echo=$ac_try;;
10990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10991 (eval "$ac_link") 2>conftest.er1
10993 grep -v '^ *+' conftest.er1 >conftest.err
10995 cat conftest.err >&5
10996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10997 (exit $ac_status); } && {
10998 test -z "$ac_c_werror_flag" ||
10999 test ! -s conftest.err
11000 } && test -s conftest$ac_exeext &&
11001 $as_test_x conftest$ac_exeext; then
11002 eval "$as_ac_var=yes"
11004 echo "$as_me: failed program was:" >&5
11005 sed 's/^/| /' conftest.$ac_ext >&5
11007 eval "$as_ac_var=no"
11010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11011 conftest$ac_exeext conftest.$ac_ext
11013 ac_res=`eval echo '${'$as_ac_var'}'`
11014 { echo "$as_me:$LINENO: result: $ac_res" >&5
11015 echo "${ECHO_T}$ac_res" >&6; }
11016 if test `eval echo '${'$as_ac_var'}'` = yes; then
11017 cat >>confdefs.h <<_ACEOF
11018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11024 LIBS="$ac_wine_check_funcs_save_LIBS"
11031 # Extract the first word of "freetype-config", so it can be a program name with args.
11032 set dummy freetype-config; ac_word=$2
11033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11035 if test "${ac_cv_prog_ft_devel+set}" = set; then
11036 echo $ECHO_N "(cached) $ECHO_C" >&6
11038 if test -n "$ft_devel"; then
11039 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
11041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11042 for as_dir in $PATH
11045 test -z "$as_dir" && as_dir=.
11046 for ac_exec_ext in '' $ac_executable_extensions; do
11047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11048 ac_cv_prog_ft_devel="freetype-config"
11049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11056 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
11059 ft_devel=$ac_cv_prog_ft_devel
11060 if test -n "$ft_devel"; then
11061 { echo "$as_me:$LINENO: result: $ft_devel" >&5
11062 echo "${ECHO_T}$ft_devel" >&6; }
11064 { echo "$as_me:$LINENO: result: no" >&5
11065 echo "${ECHO_T}no" >&6; }
11069 if test "$ft_devel" = "no"
11071 # Extract the first word of "freetype2-config", so it can be a program name with args.
11072 set dummy freetype2-config; ac_word=$2
11073 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11075 if test "${ac_cv_prog_ft_devel2+set}" = set; then
11076 echo $ECHO_N "(cached) $ECHO_C" >&6
11078 if test -n "$ft_devel2"; then
11079 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
11081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11082 for as_dir in $PATH
11085 test -z "$as_dir" && as_dir=.
11086 for ac_exec_ext in '' $ac_executable_extensions; do
11087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11088 ac_cv_prog_ft_devel2="freetype2-config"
11089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11096 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
11099 ft_devel2=$ac_cv_prog_ft_devel2
11100 if test -n "$ft_devel2"; then
11101 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
11102 echo "${ECHO_T}$ft_devel2" >&6; }
11104 { echo "$as_me:$LINENO: result: no" >&5
11105 echo "${ECHO_T}no" >&6; }
11109 if test "$ft_devel2" = "freetype2-config"
11111 ft_devel=$ft_devel2
11115 if test "$ft_devel" = "no"
11117 wine_cv_msg_freetype=yes
11119 FREETYPELIBS=`$ft_devel --libs`
11120 FREETYPEINCL=`$ft_devel --cflags`
11121 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
11122 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
11123 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
11124 echo $ECHO_N "(cached) $ECHO_C" >&6
11126 ac_check_lib_save_LIBS=$LIBS
11127 LIBS="-lfreetype $FREETYPELIBS $LIBS"
11128 cat >conftest.$ac_ext <<_ACEOF
11131 cat confdefs.h >>conftest.$ac_ext
11132 cat >>conftest.$ac_ext <<_ACEOF
11133 /* end confdefs.h. */
11135 /* Override any GCC internal prototype to avoid an error.
11136 Use char because int might match the return type of a GCC
11137 builtin and then its argument prototype would still apply. */
11141 char FT_Init_FreeType ();
11145 return FT_Init_FreeType ();
11150 rm -f conftest.$ac_objext conftest$ac_exeext
11151 if { (ac_try="$ac_link"
11152 case "(($ac_try" in
11153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11154 *) ac_try_echo=$ac_try;;
11156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11157 (eval "$ac_link") 2>conftest.er1
11159 grep -v '^ *+' conftest.er1 >conftest.err
11161 cat conftest.err >&5
11162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11163 (exit $ac_status); } && {
11164 test -z "$ac_c_werror_flag" ||
11165 test ! -s conftest.err
11166 } && test -s conftest$ac_exeext &&
11167 $as_test_x conftest$ac_exeext; then
11168 ac_cv_lib_freetype_FT_Init_FreeType=yes
11170 echo "$as_me: failed program was:" >&5
11171 sed 's/^/| /' conftest.$ac_ext >&5
11173 ac_cv_lib_freetype_FT_Init_FreeType=no
11176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11177 conftest$ac_exeext conftest.$ac_ext
11178 LIBS=$ac_check_lib_save_LIBS
11180 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
11181 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
11182 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
11188 if test "$ft_lib" = "no"
11190 wine_cv_msg_freetype=yes
11194 ac_save_CPPFLAGS="$CPPFLAGS"
11195 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
11207 for ac_header in ft2build.h \
11208 freetype/freetype.h \
11209 freetype/ftglyph.h \
11210 freetype/tttables.h \
11211 freetype/ftnames.h \
11212 freetype/ftsnames.h \
11213 freetype/ttnameid.h \
11214 freetype/ftoutln.h \
11215 freetype/ftwinfnt.h \
11216 freetype/ftmodapi.h \
11217 freetype/internal/sfnt.h
11219 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11223 echo $ECHO_N "(cached) $ECHO_C" >&6
11225 cat >conftest.$ac_ext <<_ACEOF
11228 cat confdefs.h >>conftest.$ac_ext
11229 cat >>conftest.$ac_ext <<_ACEOF
11230 /* end confdefs.h. */
11231 #if HAVE_FT2BUILD_H
11232 #include <ft2build.h>
11235 #include <$ac_header>
11237 rm -f conftest.$ac_objext
11238 if { (ac_try="$ac_compile"
11239 case "(($ac_try" in
11240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11241 *) ac_try_echo=$ac_try;;
11243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11244 (eval "$ac_compile") 2>conftest.er1
11246 grep -v '^ *+' conftest.er1 >conftest.err
11248 cat conftest.err >&5
11249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11250 (exit $ac_status); } && {
11251 test -z "$ac_c_werror_flag" ||
11252 test ! -s conftest.err
11253 } && test -s conftest.$ac_objext; then
11254 eval "$as_ac_Header=yes"
11256 echo "$as_me: failed program was:" >&5
11257 sed 's/^/| /' conftest.$ac_ext >&5
11259 eval "$as_ac_Header=no"
11262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11264 ac_res=`eval echo '${'$as_ac_Header'}'`
11265 { echo "$as_me:$LINENO: result: $ac_res" >&5
11266 echo "${ECHO_T}$ac_res" >&6; }
11267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11268 cat >>confdefs.h <<_ACEOF
11269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11276 cat >conftest.$ac_ext <<_ACEOF
11279 cat confdefs.h >>conftest.$ac_ext
11280 cat >>conftest.$ac_ext <<_ACEOF
11281 /* end confdefs.h. */
11282 #include <ft2build.h>
11283 #include <freetype/fttrigon.h>
11285 if { (ac_try="$ac_cpp conftest.$ac_ext"
11286 case "(($ac_try" in
11287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11288 *) ac_try_echo=$ac_try;;
11290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11291 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11293 grep -v '^ *+' conftest.er1 >conftest.err
11295 cat conftest.err >&5
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); } >/dev/null && {
11298 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11299 test ! -s conftest.err
11302 cat >>confdefs.h <<\_ACEOF
11303 #define HAVE_FREETYPE_FTTRIGON_H 1
11306 wine_cv_fttrigon=yes
11308 echo "$as_me: failed program was:" >&5
11309 sed 's/^/| /' conftest.$ac_ext >&5
11311 wine_cv_fttrigon=no
11314 rm -f conftest.err conftest.$ac_ext
11315 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11316 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11317 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11318 echo $ECHO_N "(cached) $ECHO_C" >&6
11320 cat >conftest.$ac_ext <<_ACEOF
11323 cat confdefs.h >>conftest.$ac_ext
11324 cat >>conftest.$ac_ext <<_ACEOF
11325 /* end confdefs.h. */
11326 #include <freetype/ftmodapi.h>
11328 typedef FT_TrueTypeEngineType ac__type_new_;
11332 if ((ac__type_new_ *) 0)
11334 if (sizeof (ac__type_new_))
11340 rm -f conftest.$ac_objext
11341 if { (ac_try="$ac_compile"
11342 case "(($ac_try" in
11343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11344 *) ac_try_echo=$ac_try;;
11346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11347 (eval "$ac_compile") 2>conftest.er1
11349 grep -v '^ *+' conftest.er1 >conftest.err
11351 cat conftest.err >&5
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11353 (exit $ac_status); } && {
11354 test -z "$ac_c_werror_flag" ||
11355 test ! -s conftest.err
11356 } && test -s conftest.$ac_objext; then
11357 ac_cv_type_FT_TrueTypeEngineType=yes
11359 echo "$as_me: failed program was:" >&5
11360 sed 's/^/| /' conftest.$ac_ext >&5
11362 ac_cv_type_FT_TrueTypeEngineType=no
11365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11367 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11368 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11369 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11371 cat >>confdefs.h <<_ACEOF
11372 #define HAVE_FT_TRUETYPEENGINETYPE 1
11378 ac_save_CFLAGS="$CFLAGS"
11379 CFLAGS="$CFLAGS $FREETYPELIBS"
11381 for ac_func in FT_Load_Sfnt_Table
11383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11384 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11386 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11387 echo $ECHO_N "(cached) $ECHO_C" >&6
11389 cat >conftest.$ac_ext <<_ACEOF
11392 cat confdefs.h >>conftest.$ac_ext
11393 cat >>conftest.$ac_ext <<_ACEOF
11394 /* end confdefs.h. */
11395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11397 #define $ac_func innocuous_$ac_func
11399 /* System header to define __stub macros and hopefully few prototypes,
11400 which can conflict with char $ac_func (); below.
11401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11402 <limits.h> exists even on freestanding compilers. */
11405 # include <limits.h>
11407 # include <assert.h>
11412 /* Override any GCC internal prototype to avoid an error.
11413 Use char because int might match the return type of a GCC
11414 builtin and then its argument prototype would still apply. */
11419 /* The GNU C library defines this for functions which it implements
11420 to always fail with ENOSYS. Some functions are actually named
11421 something starting with __ and the normal name is an alias. */
11422 #if defined __stub_$ac_func || defined __stub___$ac_func
11429 return $ac_func ();
11434 rm -f conftest.$ac_objext conftest$ac_exeext
11435 if { (ac_try="$ac_link"
11436 case "(($ac_try" in
11437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11438 *) ac_try_echo=$ac_try;;
11440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11441 (eval "$ac_link") 2>conftest.er1
11443 grep -v '^ *+' conftest.er1 >conftest.err
11445 cat conftest.err >&5
11446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11447 (exit $ac_status); } && {
11448 test -z "$ac_c_werror_flag" ||
11449 test ! -s conftest.err
11450 } && test -s conftest$ac_exeext &&
11451 $as_test_x conftest$ac_exeext; then
11452 eval "$as_ac_var=yes"
11454 echo "$as_me: failed program was:" >&5
11455 sed 's/^/| /' conftest.$ac_ext >&5
11457 eval "$as_ac_var=no"
11460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11461 conftest$ac_exeext conftest.$ac_ext
11463 ac_res=`eval echo '${'$as_ac_var'}'`
11464 { echo "$as_me:$LINENO: result: $ac_res" >&5
11465 echo "${ECHO_T}$ac_res" >&6; }
11466 if test `eval echo '${'$as_ac_var'}'` = yes; then
11467 cat >>confdefs.h <<_ACEOF
11468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11474 CFLAGS="$ac_save_CFLAGS"
11475 CPPFLAGS="$ac_save_CPPFLAGS"
11476 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11479 cat >>confdefs.h <<\_ACEOF
11480 #define HAVE_FREETYPE 1
11483 wine_cv_msg_freetype=no
11487 wine_cv_msg_freetype=yes
11492 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11494 FONTSSUBDIRS="fonts"
11498 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11499 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11500 if test "${ac_cv_c_ppdev+set}" = set; then
11501 echo $ECHO_N "(cached) $ECHO_C" >&6
11503 cat >conftest.$ac_ext <<_ACEOF
11506 cat confdefs.h >>conftest.$ac_ext
11507 cat >>conftest.$ac_ext <<_ACEOF
11508 /* end confdefs.h. */
11509 #include <linux/ppdev.h>
11513 ioctl (1,PPCLAIM,0)
11518 rm -f conftest.$ac_objext
11519 if { (ac_try="$ac_compile"
11520 case "(($ac_try" in
11521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11522 *) ac_try_echo=$ac_try;;
11524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11525 (eval "$ac_compile") 2>conftest.er1
11527 grep -v '^ *+' conftest.er1 >conftest.err
11529 cat conftest.err >&5
11530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11531 (exit $ac_status); } && {
11532 test -z "$ac_c_werror_flag" ||
11533 test ! -s conftest.err
11534 } && test -s conftest.$ac_objext; then
11535 ac_cv_c_ppdev="yes"
11537 echo "$as_me: failed program was:" >&5
11538 sed 's/^/| /' conftest.$ac_ext >&5
11543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11546 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11547 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11548 if test "$ac_cv_c_ppdev" = "yes"
11551 cat >>confdefs.h <<\_ACEOF
11552 #define HAVE_PPDEV 1
11557 { echo "$as_me:$LINENO: checking for va_copy" >&5
11558 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11559 if test "${ac_cv_c_va_copy+set}" = set; then
11560 echo $ECHO_N "(cached) $ECHO_C" >&6
11562 cat >conftest.$ac_ext <<_ACEOF
11565 cat confdefs.h >>conftest.$ac_ext
11566 cat >>conftest.$ac_ext <<_ACEOF
11567 /* end confdefs.h. */
11568 #include <stdarg.h>
11579 rm -f conftest.$ac_objext conftest$ac_exeext
11580 if { (ac_try="$ac_link"
11581 case "(($ac_try" in
11582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11583 *) ac_try_echo=$ac_try;;
11585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11586 (eval "$ac_link") 2>conftest.er1
11588 grep -v '^ *+' conftest.er1 >conftest.err
11590 cat conftest.err >&5
11591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592 (exit $ac_status); } && {
11593 test -z "$ac_c_werror_flag" ||
11594 test ! -s conftest.err
11595 } && test -s conftest$ac_exeext &&
11596 $as_test_x conftest$ac_exeext; then
11597 ac_cv_c_va_copy="yes"
11599 echo "$as_me: failed program was:" >&5
11600 sed 's/^/| /' conftest.$ac_ext >&5
11602 ac_cv_c_va_copy="no"
11605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11606 conftest$ac_exeext conftest.$ac_ext
11609 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11610 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11611 if test "$ac_cv_c_va_copy" = "yes"
11614 cat >>confdefs.h <<\_ACEOF
11615 #define HAVE_VA_COPY 1
11619 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11620 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11621 if test "${ac_cv_c___va_copy+set}" = set; then
11622 echo $ECHO_N "(cached) $ECHO_C" >&6
11624 cat >conftest.$ac_ext <<_ACEOF
11627 cat confdefs.h >>conftest.$ac_ext
11628 cat >>conftest.$ac_ext <<_ACEOF
11629 /* end confdefs.h. */
11630 #include <stdarg.h>
11635 __va_copy(ap1,ap2);
11641 rm -f conftest.$ac_objext conftest$ac_exeext
11642 if { (ac_try="$ac_link"
11643 case "(($ac_try" in
11644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11645 *) ac_try_echo=$ac_try;;
11647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11648 (eval "$ac_link") 2>conftest.er1
11650 grep -v '^ *+' conftest.er1 >conftest.err
11652 cat conftest.err >&5
11653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11654 (exit $ac_status); } && {
11655 test -z "$ac_c_werror_flag" ||
11656 test ! -s conftest.err
11657 } && test -s conftest$ac_exeext &&
11658 $as_test_x conftest$ac_exeext; then
11659 ac_cv_c___va_copy="yes"
11661 echo "$as_me: failed program was:" >&5
11662 sed 's/^/| /' conftest.$ac_ext >&5
11664 ac_cv_c___va_copy="no"
11667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11668 conftest$ac_exeext conftest.$ac_ext
11671 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11672 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11673 if test "$ac_cv_c___va_copy" = "yes"
11676 cat >>confdefs.h <<\_ACEOF
11677 #define HAVE___VA_COPY 1
11682 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11683 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11684 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11685 echo $ECHO_N "(cached) $ECHO_C" >&6
11687 cat >conftest.$ac_ext <<_ACEOF
11690 cat confdefs.h >>conftest.$ac_ext
11691 cat >>conftest.$ac_ext <<_ACEOF
11692 /* end confdefs.h. */
11693 #include <setjmp.h>
11698 sigsetjmp( buf, 1 );
11699 siglongjmp( buf, 1 );
11704 rm -f conftest.$ac_objext conftest$ac_exeext
11705 if { (ac_try="$ac_link"
11706 case "(($ac_try" in
11707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11708 *) ac_try_echo=$ac_try;;
11710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11711 (eval "$ac_link") 2>conftest.er1
11713 grep -v '^ *+' conftest.er1 >conftest.err
11715 cat conftest.err >&5
11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); } && {
11718 test -z "$ac_c_werror_flag" ||
11719 test ! -s conftest.err
11720 } && test -s conftest$ac_exeext &&
11721 $as_test_x conftest$ac_exeext; then
11722 ac_cv_c_sigsetjmp="yes"
11724 echo "$as_me: failed program was:" >&5
11725 sed 's/^/| /' conftest.$ac_ext >&5
11727 ac_cv_c_sigsetjmp="no"
11730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11731 conftest$ac_exeext conftest.$ac_ext
11734 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11735 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11736 if test "$ac_cv_c_sigsetjmp" = "yes"
11739 cat >>confdefs.h <<\_ACEOF
11740 #define HAVE_SIGSETJMP 1
11745 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11746 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11747 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11748 echo $ECHO_N "(cached) $ECHO_C" >&6
11750 cat >conftest.$ac_ext <<_ACEOF
11753 cat confdefs.h >>conftest.$ac_ext
11754 cat >>conftest.$ac_ext <<_ACEOF
11755 /* end confdefs.h. */
11756 #define _GNU_SOURCE
11757 #include <pthread.h>
11759 typedef pthread_rwlock_t ac__type_new_;
11763 if ((ac__type_new_ *) 0)
11765 if (sizeof (ac__type_new_))
11771 rm -f conftest.$ac_objext
11772 if { (ac_try="$ac_compile"
11773 case "(($ac_try" in
11774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11775 *) ac_try_echo=$ac_try;;
11777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11778 (eval "$ac_compile") 2>conftest.er1
11780 grep -v '^ *+' conftest.er1 >conftest.err
11782 cat conftest.err >&5
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); } && {
11785 test -z "$ac_c_werror_flag" ||
11786 test ! -s conftest.err
11787 } && test -s conftest.$ac_objext; then
11788 ac_cv_type_pthread_rwlock_t=yes
11790 echo "$as_me: failed program was:" >&5
11791 sed 's/^/| /' conftest.$ac_ext >&5
11793 ac_cv_type_pthread_rwlock_t=no
11796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11798 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11799 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11800 if test $ac_cv_type_pthread_rwlock_t = yes; then
11802 cat >>confdefs.h <<_ACEOF
11803 #define HAVE_PTHREAD_RWLOCK_T 1
11808 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11809 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11810 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11811 echo $ECHO_N "(cached) $ECHO_C" >&6
11813 cat >conftest.$ac_ext <<_ACEOF
11816 cat confdefs.h >>conftest.$ac_ext
11817 cat >>conftest.$ac_ext <<_ACEOF
11818 /* end confdefs.h. */
11819 #define _GNU_SOURCE
11820 #include <pthread.h>
11822 typedef pthread_rwlockattr_t ac__type_new_;
11826 if ((ac__type_new_ *) 0)
11828 if (sizeof (ac__type_new_))
11834 rm -f conftest.$ac_objext
11835 if { (ac_try="$ac_compile"
11836 case "(($ac_try" in
11837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11838 *) ac_try_echo=$ac_try;;
11840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11841 (eval "$ac_compile") 2>conftest.er1
11843 grep -v '^ *+' conftest.er1 >conftest.err
11845 cat conftest.err >&5
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); } && {
11848 test -z "$ac_c_werror_flag" ||
11849 test ! -s conftest.err
11850 } && test -s conftest.$ac_objext; then
11851 ac_cv_type_pthread_rwlockattr_t=yes
11853 echo "$as_me: failed program was:" >&5
11854 sed 's/^/| /' conftest.$ac_ext >&5
11856 ac_cv_type_pthread_rwlockattr_t=no
11859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11861 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11862 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11863 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11865 cat >>confdefs.h <<_ACEOF
11866 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11873 ac_wine_check_funcs_save_LIBS="$LIBS"
11874 LIBS="$LIBS $LIBPTHREAD"
11880 pthread_attr_get_np \
11881 pthread_getattr_np \
11882 pthread_get_stackaddr_np \
11883 pthread_get_stacksize_np
11885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11886 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11888 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11889 echo $ECHO_N "(cached) $ECHO_C" >&6
11891 cat >conftest.$ac_ext <<_ACEOF
11894 cat confdefs.h >>conftest.$ac_ext
11895 cat >>conftest.$ac_ext <<_ACEOF
11896 /* end confdefs.h. */
11897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11899 #define $ac_func innocuous_$ac_func
11901 /* System header to define __stub macros and hopefully few prototypes,
11902 which can conflict with char $ac_func (); below.
11903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11904 <limits.h> exists even on freestanding compilers. */
11907 # include <limits.h>
11909 # include <assert.h>
11914 /* Override any GCC internal prototype to avoid an error.
11915 Use char because int might match the return type of a GCC
11916 builtin and then its argument prototype would still apply. */
11921 /* The GNU C library defines this for functions which it implements
11922 to always fail with ENOSYS. Some functions are actually named
11923 something starting with __ and the normal name is an alias. */
11924 #if defined __stub_$ac_func || defined __stub___$ac_func
11931 return $ac_func ();
11936 rm -f conftest.$ac_objext conftest$ac_exeext
11937 if { (ac_try="$ac_link"
11938 case "(($ac_try" in
11939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11940 *) ac_try_echo=$ac_try;;
11942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11943 (eval "$ac_link") 2>conftest.er1
11945 grep -v '^ *+' conftest.er1 >conftest.err
11947 cat conftest.err >&5
11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); } && {
11950 test -z "$ac_c_werror_flag" ||
11951 test ! -s conftest.err
11952 } && test -s conftest$ac_exeext &&
11953 $as_test_x conftest$ac_exeext; then
11954 eval "$as_ac_var=yes"
11956 echo "$as_me: failed program was:" >&5
11957 sed 's/^/| /' conftest.$ac_ext >&5
11959 eval "$as_ac_var=no"
11962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11963 conftest$ac_exeext conftest.$ac_ext
11965 ac_res=`eval echo '${'$as_ac_var'}'`
11966 { echo "$as_me:$LINENO: result: $ac_res" >&5
11967 echo "${ECHO_T}$ac_res" >&6; }
11968 if test `eval echo '${'$as_ac_var'}'` = yes; then
11969 cat >>confdefs.h <<_ACEOF
11970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11976 LIBS="$ac_wine_check_funcs_save_LIBS"
11978 # Extract the first word of "artsc-config", so it can be a program name with args.
11979 set dummy artsc-config; ac_word=$2
11980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11982 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11983 echo $ECHO_N "(cached) $ECHO_C" >&6
11985 case $ARTSCCONFIG in
11987 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
11990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11991 for as_dir in $PATH
11994 test -z "$as_dir" && as_dir=.
11995 for ac_exec_ext in '' $ac_executable_extensions; do
11996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11997 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
11998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12008 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
12009 if test -n "$ARTSCCONFIG"; then
12010 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
12011 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
12013 { echo "$as_me:$LINENO: result: no" >&5
12014 echo "${ECHO_T}no" >&6; }
12018 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
12021 for i in `$ARTSCCONFIG --cflags`
12024 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
12028 for i in `$ARTSCCONFIG --libs`
12031 -L/usr/lib|-L/usr/lib64) ;;
12032 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
12035 save_CFLAGS="$CFLAGS"
12036 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
12037 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
12038 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
12039 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
12040 echo $ECHO_N "(cached) $ECHO_C" >&6
12042 ac_check_lib_save_LIBS=$LIBS
12043 LIBS="-lartsc $ARTSC_LIBS $LIBS"
12044 cat >conftest.$ac_ext <<_ACEOF
12047 cat confdefs.h >>conftest.$ac_ext
12048 cat >>conftest.$ac_ext <<_ACEOF
12049 /* end confdefs.h. */
12051 /* Override any GCC internal prototype to avoid an error.
12052 Use char because int might match the return type of a GCC
12053 builtin and then its argument prototype would still apply. */
12061 return arts_init ();
12066 rm -f conftest.$ac_objext conftest$ac_exeext
12067 if { (ac_try="$ac_link"
12068 case "(($ac_try" in
12069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12070 *) ac_try_echo=$ac_try;;
12072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12073 (eval "$ac_link") 2>conftest.er1
12075 grep -v '^ *+' conftest.er1 >conftest.err
12077 cat conftest.err >&5
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); } && {
12080 test -z "$ac_c_werror_flag" ||
12081 test ! -s conftest.err
12082 } && test -s conftest$ac_exeext &&
12083 $as_test_x conftest$ac_exeext; then
12084 ac_cv_lib_artsc_arts_init=yes
12086 echo "$as_me: failed program was:" >&5
12087 sed 's/^/| /' conftest.$ac_ext >&5
12089 ac_cv_lib_artsc_arts_init=no
12092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12093 conftest$ac_exeext conftest.$ac_ext
12094 LIBS=$ac_check_lib_save_LIBS
12096 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
12097 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
12098 if test $ac_cv_lib_artsc_arts_init = yes; then
12099 cat >conftest.$ac_ext <<_ACEOF
12102 cat confdefs.h >>conftest.$ac_ext
12103 cat >>conftest.$ac_ext <<_ACEOF
12104 /* end confdefs.h. */
12109 arts_stream_t stream;
12114 rm -f conftest.$ac_objext
12115 if { (ac_try="$ac_compile"
12116 case "(($ac_try" in
12117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12118 *) ac_try_echo=$ac_try;;
12120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12121 (eval "$ac_compile") 2>conftest.er1
12123 grep -v '^ *+' conftest.er1 >conftest.err
12125 cat conftest.err >&5
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); } && {
12128 test -z "$ac_c_werror_flag" ||
12129 test ! -s conftest.err
12130 } && test -s conftest.$ac_objext; then
12131 ARTSLIBS=$ARTSC_LIBS
12133 ARTSINCL=$ARTSC_CFLAGS
12136 cat >>confdefs.h <<\_ACEOF
12137 #define HAVE_ARTS 1
12141 echo "$as_me: failed program was:" >&5
12142 sed 's/^/| /' conftest.$ac_ext >&5
12147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12150 CFLAGS="$save_CFLAGS"
12153 # Extract the first word of "esd-config", so it can be a program name with args.
12154 set dummy esd-config; ac_word=$2
12155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12157 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
12158 echo $ECHO_N "(cached) $ECHO_C" >&6
12162 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
12165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12166 for as_dir in $PATH
12169 test -z "$as_dir" && as_dir=.
12170 for ac_exec_ext in '' $ac_executable_extensions; do
12171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12172 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
12173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12183 ESDCONFIG=$ac_cv_path_ESDCONFIG
12184 if test -n "$ESDCONFIG"; then
12185 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
12186 echo "${ECHO_T}$ESDCONFIG" >&6; }
12188 { echo "$as_me:$LINENO: result: no" >&5
12189 echo "${ECHO_T}no" >&6; }
12193 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
12196 for i in `$ESDCONFIG --cflags`
12199 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
12202 ESD_LIBS=`$ESDCONFIG --libs`
12203 save_CFLAGS="$CFLAGS"
12204 CFLAGS="$CFLAGS $ESD_CFLAGS"
12205 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
12206 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
12207 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
12208 echo $ECHO_N "(cached) $ECHO_C" >&6
12210 ac_check_lib_save_LIBS=$LIBS
12212 cat >conftest.$ac_ext <<_ACEOF
12215 cat confdefs.h >>conftest.$ac_ext
12216 cat >>conftest.$ac_ext <<_ACEOF
12217 /* end confdefs.h. */
12219 /* Override any GCC internal prototype to avoid an error.
12220 Use char because int might match the return type of a GCC
12221 builtin and then its argument prototype would still apply. */
12225 char esd_open_sound ();
12229 return esd_open_sound ();
12234 rm -f conftest.$ac_objext conftest$ac_exeext
12235 if { (ac_try="$ac_link"
12236 case "(($ac_try" in
12237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12238 *) ac_try_echo=$ac_try;;
12240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12241 (eval "$ac_link") 2>conftest.er1
12243 grep -v '^ *+' conftest.er1 >conftest.err
12245 cat conftest.err >&5
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); } && {
12248 test -z "$ac_c_werror_flag" ||
12249 test ! -s conftest.err
12250 } && test -s conftest$ac_exeext &&
12251 $as_test_x conftest$ac_exeext; then
12252 ac_cv_lib_esd_esd_open_sound=yes
12254 echo "$as_me: failed program was:" >&5
12255 sed 's/^/| /' conftest.$ac_ext >&5
12257 ac_cv_lib_esd_esd_open_sound=no
12260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12261 conftest$ac_exeext conftest.$ac_ext
12262 LIBS=$ac_check_lib_save_LIBS
12264 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
12265 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
12266 if test $ac_cv_lib_esd_esd_open_sound = yes; then
12269 ESDINCL=$ESD_CFLAGS
12272 cat >>confdefs.h <<\_ACEOF
12278 CFLAGS="$save_CFLAGS"
12283 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12285 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
12286 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
12287 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
12288 echo $ECHO_N "(cached) $ECHO_C" >&6
12290 ac_check_lib_save_LIBS=$LIBS
12291 LIBS="-lasound $LIBS"
12292 cat >conftest.$ac_ext <<_ACEOF
12295 cat confdefs.h >>conftest.$ac_ext
12296 cat >>conftest.$ac_ext <<_ACEOF
12297 /* end confdefs.h. */
12299 /* Override any GCC internal prototype to avoid an error.
12300 Use char because int might match the return type of a GCC
12301 builtin and then its argument prototype would still apply. */
12305 char snd_pcm_hw_params_get_access ();
12309 return snd_pcm_hw_params_get_access ();
12314 rm -f conftest.$ac_objext conftest$ac_exeext
12315 if { (ac_try="$ac_link"
12316 case "(($ac_try" in
12317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12318 *) ac_try_echo=$ac_try;;
12320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12321 (eval "$ac_link") 2>conftest.er1
12323 grep -v '^ *+' conftest.er1 >conftest.err
12325 cat conftest.err >&5
12326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12327 (exit $ac_status); } && {
12328 test -z "$ac_c_werror_flag" ||
12329 test ! -s conftest.err
12330 } && test -s conftest$ac_exeext &&
12331 $as_test_x conftest$ac_exeext; then
12332 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
12334 echo "$as_me: failed program was:" >&5
12335 sed 's/^/| /' conftest.$ac_ext >&5
12337 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
12340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12341 conftest$ac_exeext conftest.$ac_ext
12342 LIBS=$ac_check_lib_save_LIBS
12344 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
12345 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
12346 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
12347 cat >conftest.$ac_ext <<_ACEOF
12350 cat confdefs.h >>conftest.$ac_ext
12351 cat >>conftest.$ac_ext <<_ACEOF
12352 /* end confdefs.h. */
12353 #ifdef HAVE_ALSA_ASOUNDLIB_H
12354 #include <alsa/asoundlib.h>
12355 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12356 #include <sys/asoundlib.h>
12361 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12366 rm -f conftest.$ac_objext
12367 if { (ac_try="$ac_compile"
12368 case "(($ac_try" in
12369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12370 *) ac_try_echo=$ac_try;;
12372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12373 (eval "$ac_compile") 2>conftest.er1
12375 grep -v '^ *+' conftest.er1 >conftest.err
12377 cat conftest.err >&5
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); } && {
12380 test -z "$ac_c_werror_flag" ||
12381 test ! -s conftest.err
12382 } && test -s conftest.$ac_objext; then
12384 cat >>confdefs.h <<\_ACEOF
12385 #define HAVE_ALSA 1
12388 ALSALIBS="-lasound"
12390 echo "$as_me: failed program was:" >&5
12391 sed 's/^/| /' conftest.$ac_ext >&5
12396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12404 if test "$ac_cv_header_libaudioio_h" = "yes"
12406 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12407 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12408 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12409 echo $ECHO_N "(cached) $ECHO_C" >&6
12411 ac_check_lib_save_LIBS=$LIBS
12412 LIBS="-laudioio $LIBS"
12413 cat >conftest.$ac_ext <<_ACEOF
12416 cat confdefs.h >>conftest.$ac_ext
12417 cat >>conftest.$ac_ext <<_ACEOF
12418 /* end confdefs.h. */
12420 /* Override any GCC internal prototype to avoid an error.
12421 Use char because int might match the return type of a GCC
12422 builtin and then its argument prototype would still apply. */
12426 char AudioIOGetVersion ();
12430 return AudioIOGetVersion ();
12435 rm -f conftest.$ac_objext conftest$ac_exeext
12436 if { (ac_try="$ac_link"
12437 case "(($ac_try" in
12438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12439 *) ac_try_echo=$ac_try;;
12441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12442 (eval "$ac_link") 2>conftest.er1
12444 grep -v '^ *+' conftest.er1 >conftest.err
12446 cat conftest.err >&5
12447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 (exit $ac_status); } && {
12449 test -z "$ac_c_werror_flag" ||
12450 test ! -s conftest.err
12451 } && test -s conftest$ac_exeext &&
12452 $as_test_x conftest$ac_exeext; then
12453 ac_cv_lib_audioio_AudioIOGetVersion=yes
12455 echo "$as_me: failed program was:" >&5
12456 sed 's/^/| /' conftest.$ac_ext >&5
12458 ac_cv_lib_audioio_AudioIOGetVersion=no
12461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12462 conftest$ac_exeext conftest.$ac_ext
12463 LIBS=$ac_check_lib_save_LIBS
12465 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12466 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12467 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12468 AUDIOIOLIBS="-laudioio"
12470 cat >>confdefs.h <<\_ACEOF
12471 #define HAVE_LIBAUDIOIO 1
12479 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12481 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12482 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12483 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12484 echo $ECHO_N "(cached) $ECHO_C" >&6
12486 ac_check_lib_save_LIBS=$LIBS
12487 LIBS="-lcapi20 $LIBS"
12488 cat >conftest.$ac_ext <<_ACEOF
12491 cat confdefs.h >>conftest.$ac_ext
12492 cat >>conftest.$ac_ext <<_ACEOF
12493 /* end confdefs.h. */
12495 /* Override any GCC internal prototype to avoid an error.
12496 Use char because int might match the return type of a GCC
12497 builtin and then its argument prototype would still apply. */
12501 char capi20_register ();
12505 return capi20_register ();
12510 rm -f conftest.$ac_objext conftest$ac_exeext
12511 if { (ac_try="$ac_link"
12512 case "(($ac_try" in
12513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12514 *) ac_try_echo=$ac_try;;
12516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12517 (eval "$ac_link") 2>conftest.er1
12519 grep -v '^ *+' conftest.er1 >conftest.err
12521 cat conftest.err >&5
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); } && {
12524 test -z "$ac_c_werror_flag" ||
12525 test ! -s conftest.err
12526 } && test -s conftest$ac_exeext &&
12527 $as_test_x conftest$ac_exeext; then
12528 ac_cv_lib_capi20_capi20_register=yes
12530 echo "$as_me: failed program was:" >&5
12531 sed 's/^/| /' conftest.$ac_ext >&5
12533 ac_cv_lib_capi20_capi20_register=no
12536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12537 conftest$ac_exeext conftest.$ac_ext
12538 LIBS=$ac_check_lib_save_LIBS
12540 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12541 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12542 if test $ac_cv_lib_capi20_capi20_register = yes; then
12544 cat >>confdefs.h <<\_ACEOF
12545 #define HAVE_CAPI4LINUX 1
12555 if test "x${GCC}" = "xyes"
12557 EXTRACFLAGS="-Wall -pipe"
12559 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12560 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12561 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12562 echo $ECHO_N "(cached) $ECHO_C" >&6
12564 if test "$cross_compiling" = yes; then
12565 ac_cv_c_gcc_strength_bug="yes"
12567 cat >conftest.$ac_ext <<_ACEOF
12570 cat confdefs.h >>conftest.$ac_ext
12571 cat >>conftest.$ac_ext <<_ACEOF
12572 /* end confdefs.h. */
12574 int L[4] = {0,1,2,3};
12576 static int Array[3];
12577 unsigned int B = 3;
12579 for(i=0; i<B; i++) Array[i] = i - 3;
12580 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12583 exit( Array[1] != -2 || L[2] != 3);
12586 rm -f conftest$ac_exeext
12587 if { (ac_try="$ac_link"
12588 case "(($ac_try" in
12589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12590 *) ac_try_echo=$ac_try;;
12592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12593 (eval "$ac_link") 2>&5
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12597 { (case "(($ac_try" in
12598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12599 *) ac_try_echo=$ac_try;;
12601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12602 (eval "$ac_try") 2>&5
12604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12605 (exit $ac_status); }; }; then
12606 ac_cv_c_gcc_strength_bug="no"
12608 echo "$as_me: program exited with status $ac_status" >&5
12609 echo "$as_me: failed program was:" >&5
12610 sed 's/^/| /' conftest.$ac_ext >&5
12612 ( exit $ac_status )
12613 ac_cv_c_gcc_strength_bug="yes"
12615 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12620 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12621 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12622 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12624 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12628 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12629 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12630 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12631 echo $ECHO_N "(cached) $ECHO_C" >&6
12633 ac_wine_try_cflags_saved=$CFLAGS
12634 CFLAGS="$CFLAGS -fshort-wchar"
12635 cat >conftest.$ac_ext <<_ACEOF
12638 cat confdefs.h >>conftest.$ac_ext
12639 cat >>conftest.$ac_ext <<_ACEOF
12640 /* end confdefs.h. */
12650 rm -f conftest.$ac_objext conftest$ac_exeext
12651 if { (ac_try="$ac_link"
12652 case "(($ac_try" in
12653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12654 *) ac_try_echo=$ac_try;;
12656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12657 (eval "$ac_link") 2>conftest.er1
12659 grep -v '^ *+' conftest.er1 >conftest.err
12661 cat conftest.err >&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); } && {
12664 test -z "$ac_c_werror_flag" ||
12665 test ! -s conftest.err
12666 } && test -s conftest$ac_exeext &&
12667 $as_test_x conftest$ac_exeext; then
12668 ac_cv_cflags__fshort_wchar=yes
12670 echo "$as_me: failed program was:" >&5
12671 sed 's/^/| /' conftest.$ac_ext >&5
12673 ac_cv_cflags__fshort_wchar=no
12676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12677 conftest$ac_exeext conftest.$ac_ext
12678 CFLAGS=$ac_wine_try_cflags_saved
12680 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12681 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12682 if test $ac_cv_cflags__fshort_wchar = yes; then
12684 cat >>confdefs.h <<\_ACEOF
12685 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12690 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12691 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12692 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12693 echo $ECHO_N "(cached) $ECHO_C" >&6
12695 ac_wine_try_cflags_saved=$CFLAGS
12696 CFLAGS="$CFLAGS -fno-strict-aliasing"
12697 cat >conftest.$ac_ext <<_ACEOF
12700 cat confdefs.h >>conftest.$ac_ext
12701 cat >>conftest.$ac_ext <<_ACEOF
12702 /* end confdefs.h. */
12712 rm -f conftest.$ac_objext conftest$ac_exeext
12713 if { (ac_try="$ac_link"
12714 case "(($ac_try" in
12715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12716 *) ac_try_echo=$ac_try;;
12718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12719 (eval "$ac_link") 2>conftest.er1
12721 grep -v '^ *+' conftest.er1 >conftest.err
12723 cat conftest.err >&5
12724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12725 (exit $ac_status); } && {
12726 test -z "$ac_c_werror_flag" ||
12727 test ! -s conftest.err
12728 } && test -s conftest$ac_exeext &&
12729 $as_test_x conftest$ac_exeext; then
12730 ac_cv_cflags__fno_strict_aliasing=yes
12732 echo "$as_me: failed program was:" >&5
12733 sed 's/^/| /' conftest.$ac_ext >&5
12735 ac_cv_cflags__fno_strict_aliasing=no
12738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12739 conftest$ac_exeext conftest.$ac_ext
12740 CFLAGS=$ac_wine_try_cflags_saved
12742 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12743 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12744 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12745 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12748 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12749 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12750 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12751 echo $ECHO_N "(cached) $ECHO_C" >&6
12753 ac_wine_try_cflags_saved=$CFLAGS
12754 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12755 cat >conftest.$ac_ext <<_ACEOF
12758 cat confdefs.h >>conftest.$ac_ext
12759 cat >>conftest.$ac_ext <<_ACEOF
12760 /* end confdefs.h. */
12770 rm -f conftest.$ac_objext conftest$ac_exeext
12771 if { (ac_try="$ac_link"
12772 case "(($ac_try" in
12773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12774 *) ac_try_echo=$ac_try;;
12776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12777 (eval "$ac_link") 2>conftest.er1
12779 grep -v '^ *+' conftest.er1 >conftest.err
12781 cat conftest.err >&5
12782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 (exit $ac_status); } && {
12784 test -z "$ac_c_werror_flag" ||
12785 test ! -s conftest.err
12786 } && test -s conftest$ac_exeext &&
12787 $as_test_x conftest$ac_exeext; then
12788 ac_cv_cflags__Wdeclaration_after_statement=yes
12790 echo "$as_me: failed program was:" >&5
12791 sed 's/^/| /' conftest.$ac_ext >&5
12793 ac_cv_cflags__Wdeclaration_after_statement=no
12796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12797 conftest$ac_exeext conftest.$ac_ext
12798 CFLAGS=$ac_wine_try_cflags_saved
12800 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12801 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12802 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12803 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12806 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12807 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12808 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12809 echo $ECHO_N "(cached) $ECHO_C" >&6
12811 ac_wine_try_cflags_saved=$CFLAGS
12812 CFLAGS="$CFLAGS -Wwrite-strings"
12813 cat >conftest.$ac_ext <<_ACEOF
12816 cat confdefs.h >>conftest.$ac_ext
12817 cat >>conftest.$ac_ext <<_ACEOF
12818 /* end confdefs.h. */
12828 rm -f conftest.$ac_objext conftest$ac_exeext
12829 if { (ac_try="$ac_link"
12830 case "(($ac_try" in
12831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12832 *) ac_try_echo=$ac_try;;
12834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12835 (eval "$ac_link") 2>conftest.er1
12837 grep -v '^ *+' conftest.er1 >conftest.err
12839 cat conftest.err >&5
12840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12841 (exit $ac_status); } && {
12842 test -z "$ac_c_werror_flag" ||
12843 test ! -s conftest.err
12844 } && test -s conftest$ac_exeext &&
12845 $as_test_x conftest$ac_exeext; then
12846 ac_cv_cflags__Wwrite_strings=yes
12848 echo "$as_me: failed program was:" >&5
12849 sed 's/^/| /' conftest.$ac_ext >&5
12851 ac_cv_cflags__Wwrite_strings=no
12854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12855 conftest$ac_exeext conftest.$ac_ext
12856 CFLAGS=$ac_wine_try_cflags_saved
12858 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12859 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12860 if test $ac_cv_cflags__Wwrite_strings = yes; then
12861 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12865 saved_CFLAGS="$CFLAGS"
12866 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12867 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12868 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12869 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12872 cat >conftest.$ac_ext <<_ACEOF
12875 cat confdefs.h >>conftest.$ac_ext
12876 cat >>conftest.$ac_ext <<_ACEOF
12877 /* end confdefs.h. */
12878 #include <string.h>
12887 rm -f conftest.$ac_objext
12888 if { (ac_try="$ac_compile"
12889 case "(($ac_try" in
12890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12891 *) ac_try_echo=$ac_try;;
12893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12894 (eval "$ac_compile") 2>conftest.er1
12896 grep -v '^ *+' conftest.er1 >conftest.err
12898 cat conftest.err >&5
12899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12900 (exit $ac_status); } && {
12901 test -z "$ac_c_werror_flag" ||
12902 test ! -s conftest.err
12903 } && test -s conftest.$ac_objext; then
12904 ac_cv_c_string_h_warnings=no
12906 echo "$as_me: failed program was:" >&5
12907 sed 's/^/| /' conftest.$ac_ext >&5
12909 ac_cv_c_string_h_warnings=yes
12912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12914 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12915 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12916 CFLAGS="$saved_CFLAGS"
12917 if test "$ac_cv_c_string_h_warnings" = "no"
12919 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12924 saved_CFLAGS="$CFLAGS"
12925 CFLAGS="$CFLAGS -Werror"
12926 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12927 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12928 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12929 echo $ECHO_N "(cached) $ECHO_C" >&6
12931 cat >conftest.$ac_ext <<_ACEOF
12934 cat confdefs.h >>conftest.$ac_ext
12935 cat >>conftest.$ac_ext <<_ACEOF
12936 /* end confdefs.h. */
12941 int iswlower(unsigned short);
12946 rm -f conftest.$ac_objext
12947 if { (ac_try="$ac_compile"
12948 case "(($ac_try" in
12949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12950 *) ac_try_echo=$ac_try;;
12952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12953 (eval "$ac_compile") 2>conftest.er1
12955 grep -v '^ *+' conftest.er1 >conftest.err
12957 cat conftest.err >&5
12958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); } && {
12960 test -z "$ac_c_werror_flag" ||
12961 test ! -s conftest.err
12962 } && test -s conftest.$ac_objext; then
12963 ac_cv_c_builtin_wchar_ctype=no
12965 echo "$as_me: failed program was:" >&5
12966 sed 's/^/| /' conftest.$ac_ext >&5
12968 ac_cv_c_builtin_wchar_ctype=yes
12971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12973 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12974 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12975 CFLAGS="$saved_CFLAGS"
12976 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12978 BUILTINFLAG="-fno-builtin"
12983 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12984 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12985 if test "${ac_cv_asm_func_def+set}" = set; then
12986 echo $ECHO_N "(cached) $ECHO_C" >&6
12988 cat >conftest.$ac_ext <<_ACEOF
12991 cat confdefs.h >>conftest.$ac_ext
12992 cat >>conftest.$ac_ext <<_ACEOF
12993 /* end confdefs.h. */
12994 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"); }
13004 rm -f conftest.$ac_objext conftest$ac_exeext
13005 if { (ac_try="$ac_link"
13006 case "(($ac_try" in
13007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13008 *) ac_try_echo=$ac_try;;
13010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13011 (eval "$ac_link") 2>conftest.er1
13013 grep -v '^ *+' conftest.er1 >conftest.err
13015 cat conftest.err >&5
13016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13017 (exit $ac_status); } && {
13018 test -z "$ac_c_werror_flag" ||
13019 test ! -s conftest.err
13020 } && test -s conftest$ac_exeext &&
13021 $as_test_x conftest$ac_exeext; then
13022 ac_cv_asm_func_def=".def"
13024 echo "$as_me: failed program was:" >&5
13025 sed 's/^/| /' conftest.$ac_ext >&5
13027 cat >conftest.$ac_ext <<_ACEOF
13030 cat confdefs.h >>conftest.$ac_ext
13031 cat >>conftest.$ac_ext <<_ACEOF
13032 /* end confdefs.h. */
13033 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
13043 rm -f conftest.$ac_objext conftest$ac_exeext
13044 if { (ac_try="$ac_link"
13045 case "(($ac_try" in
13046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13047 *) ac_try_echo=$ac_try;;
13049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13050 (eval "$ac_link") 2>conftest.er1
13052 grep -v '^ *+' conftest.er1 >conftest.err
13054 cat conftest.err >&5
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); } && {
13057 test -z "$ac_c_werror_flag" ||
13058 test ! -s conftest.err
13059 } && test -s conftest$ac_exeext &&
13060 $as_test_x conftest$ac_exeext; then
13061 ac_cv_asm_func_def=".type @function"
13063 echo "$as_me: failed program was:" >&5
13064 sed 's/^/| /' conftest.$ac_ext >&5
13066 cat >conftest.$ac_ext <<_ACEOF
13069 cat confdefs.h >>conftest.$ac_ext
13070 cat >>conftest.$ac_ext <<_ACEOF
13071 /* end confdefs.h. */
13072 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
13082 rm -f conftest.$ac_objext conftest$ac_exeext
13083 if { (ac_try="$ac_link"
13084 case "(($ac_try" in
13085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13086 *) ac_try_echo=$ac_try;;
13088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13089 (eval "$ac_link") 2>conftest.er1
13091 grep -v '^ *+' conftest.er1 >conftest.err
13093 cat conftest.err >&5
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); } && {
13096 test -z "$ac_c_werror_flag" ||
13097 test ! -s conftest.err
13098 } && test -s conftest$ac_exeext &&
13099 $as_test_x conftest$ac_exeext; then
13100 ac_cv_asm_func_def=".type 2"
13102 echo "$as_me: failed program was:" >&5
13103 sed 's/^/| /' conftest.$ac_ext >&5
13105 ac_cv_asm_func_def="unknown"
13108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13109 conftest$ac_exeext conftest.$ac_ext
13112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13113 conftest$ac_exeext conftest.$ac_ext
13116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13117 conftest$ac_exeext conftest.$ac_ext
13119 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
13120 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
13124 case "$ac_cv_asm_func_def" in
13126 cat >>confdefs.h <<\_ACEOF
13127 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13131 cat >>confdefs.h <<\_ACEOF
13132 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13136 cat >>confdefs.h <<\_ACEOF
13137 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13141 cat >>confdefs.h <<\_ACEOF
13142 #define __ASM_FUNC(name) ""
13148 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13149 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
13150 if test "${ac_cv_c_extern_prefix+set}" = set; then
13151 echo $ECHO_N "(cached) $ECHO_C" >&6
13153 cat >conftest.$ac_ext <<_ACEOF
13156 cat confdefs.h >>conftest.$ac_ext
13157 cat >>conftest.$ac_ext <<_ACEOF
13158 /* end confdefs.h. */
13159 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
13160 extern int ac_test;
13164 if (ac_test) return 1
13169 rm -f conftest.$ac_objext conftest$ac_exeext
13170 if { (ac_try="$ac_link"
13171 case "(($ac_try" in
13172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13173 *) ac_try_echo=$ac_try;;
13175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13176 (eval "$ac_link") 2>conftest.er1
13178 grep -v '^ *+' conftest.er1 >conftest.err
13180 cat conftest.err >&5
13181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13182 (exit $ac_status); } && {
13183 test -z "$ac_c_werror_flag" ||
13184 test ! -s conftest.err
13185 } && test -s conftest$ac_exeext &&
13186 $as_test_x conftest$ac_exeext; then
13187 ac_cv_c_extern_prefix="yes"
13189 echo "$as_me: failed program was:" >&5
13190 sed 's/^/| /' conftest.$ac_ext >&5
13192 ac_cv_c_extern_prefix="no"
13195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13196 conftest$ac_exeext conftest.$ac_ext
13198 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13199 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
13203 if test "$ac_cv_c_extern_prefix" = "yes"
13205 cat >>confdefs.h <<\_ACEOF
13206 #define __ASM_NAME(name) "_" name
13210 cat >>confdefs.h <<\_ACEOF
13211 #define __ASM_NAME(name) name
13219 DLLFLAGS="-D_REENTRANT"
13234 if test -n "$ac_tool_prefix"; then
13235 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13236 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13239 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13240 echo $ECHO_N "(cached) $ECHO_C" >&6
13242 if test -n "$DLLTOOL"; then
13243 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13246 for as_dir in $PATH
13249 test -z "$as_dir" && as_dir=.
13250 for ac_exec_ext in '' $ac_executable_extensions; do
13251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13252 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13262 DLLTOOL=$ac_cv_prog_DLLTOOL
13263 if test -n "$DLLTOOL"; then
13264 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13265 echo "${ECHO_T}$DLLTOOL" >&6; }
13267 { echo "$as_me:$LINENO: result: no" >&5
13268 echo "${ECHO_T}no" >&6; }
13273 if test -z "$ac_cv_prog_DLLTOOL"; then
13274 ac_ct_DLLTOOL=$DLLTOOL
13275 # Extract the first word of "dlltool", so it can be a program name with args.
13276 set dummy dlltool; ac_word=$2
13277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13279 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13280 echo $ECHO_N "(cached) $ECHO_C" >&6
13282 if test -n "$ac_ct_DLLTOOL"; then
13283 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13286 for as_dir in $PATH
13289 test -z "$as_dir" && as_dir=.
13290 for ac_exec_ext in '' $ac_executable_extensions; do
13291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13292 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13302 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13303 if test -n "$ac_ct_DLLTOOL"; then
13304 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13305 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
13307 { echo "$as_me:$LINENO: result: no" >&5
13308 echo "${ECHO_T}no" >&6; }
13311 if test "x$ac_ct_DLLTOOL" = x; then
13314 case $cross_compiling:$ac_tool_warned in
13316 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13317 whose name does not start with the host triplet. If you think this
13318 configuration is useful to you, please write to autoconf@gnu.org." >&5
13319 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13320 whose name does not start with the host triplet. If you think this
13321 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13322 ac_tool_warned=yes ;;
13324 DLLTOOL=$ac_ct_DLLTOOL
13327 DLLTOOL="$ac_cv_prog_DLLTOOL"
13330 if test -n "$ac_tool_prefix"; then
13331 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13332 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13333 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13335 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13336 echo $ECHO_N "(cached) $ECHO_C" >&6
13338 if test -n "$DLLWRAP"; then
13339 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13342 for as_dir in $PATH
13345 test -z "$as_dir" && as_dir=.
13346 for ac_exec_ext in '' $ac_executable_extensions; do
13347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13348 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13358 DLLWRAP=$ac_cv_prog_DLLWRAP
13359 if test -n "$DLLWRAP"; then
13360 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13361 echo "${ECHO_T}$DLLWRAP" >&6; }
13363 { echo "$as_me:$LINENO: result: no" >&5
13364 echo "${ECHO_T}no" >&6; }
13369 if test -z "$ac_cv_prog_DLLWRAP"; then
13370 ac_ct_DLLWRAP=$DLLWRAP
13371 # Extract the first word of "dllwrap", so it can be a program name with args.
13372 set dummy dllwrap; ac_word=$2
13373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13375 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13376 echo $ECHO_N "(cached) $ECHO_C" >&6
13378 if test -n "$ac_ct_DLLWRAP"; then
13379 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13382 for as_dir in $PATH
13385 test -z "$as_dir" && as_dir=.
13386 for ac_exec_ext in '' $ac_executable_extensions; do
13387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13388 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13398 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13399 if test -n "$ac_ct_DLLWRAP"; then
13400 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13401 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13403 { echo "$as_me:$LINENO: result: no" >&5
13404 echo "${ECHO_T}no" >&6; }
13407 if test "x$ac_ct_DLLWRAP" = x; then
13410 case $cross_compiling:$ac_tool_warned in
13412 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13413 whose name does not start with the host triplet. If you think this
13414 configuration is useful to you, please write to autoconf@gnu.org." >&5
13415 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13416 whose name does not start with the host triplet. If you think this
13417 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13418 ac_tool_warned=yes ;;
13420 DLLWRAP=$ac_ct_DLLWRAP
13423 DLLWRAP="$ac_cv_prog_DLLWRAP"
13426 if test "$DLLWRAP" = "false"; then
13438 DLLFLAGS="$DLLFLAGS -fPIC"
13439 LDDLLFLAGS="-bundle -multiply_defined suppress"
13440 LIBWINE_LDFLAGS="-multiply_defined suppress"
13441 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
13442 STRIP="$STRIP -u -r"
13443 COREFOUNDATIONLIB="-framework CoreFoundation"
13445 IOKITLIB="-framework IOKit -framework CoreFoundation"
13447 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13449 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13451 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
13454 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13456 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
13461 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
13463 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13465 QUARTZFILES='$(QUARTZFILES)'
13469 DLLFLAGS="$DLLFLAGS -fPIC"
13471 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13472 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13473 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13474 echo $ECHO_N "(cached) $ECHO_C" >&6
13476 ac_wine_try_cflags_saved=$CFLAGS
13477 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13478 cat >conftest.$ac_ext <<_ACEOF
13481 rm -f conftest.$ac_objext conftest$ac_exeext
13482 if { (ac_try="$ac_link"
13483 case "(($ac_try" in
13484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13485 *) ac_try_echo=$ac_try;;
13487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13488 (eval "$ac_link") 2>conftest.er1
13490 grep -v '^ *+' conftest.er1 >conftest.err
13492 cat conftest.err >&5
13493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); } && {
13495 test -z "$ac_c_werror_flag" ||
13496 test ! -s conftest.err
13497 } && test -s conftest$ac_exeext &&
13498 $as_test_x conftest$ac_exeext; then
13499 ac_cv_c_dll_gnuelf="yes"
13501 echo "$as_me: failed program was:" >&5
13502 sed 's/^/| /' conftest.$ac_ext >&5
13504 ac_cv_c_dll_gnuelf="no"
13507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13508 conftest$ac_exeext conftest.$ac_ext
13509 CFLAGS=$ac_wine_try_cflags_saved
13511 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13512 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13513 if test "$ac_cv_c_dll_gnuelf" = "yes"
13515 LDSHARED="\$(CC) -shared"
13516 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13517 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13518 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13519 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13520 echo $ECHO_N "(cached) $ECHO_C" >&6
13522 ac_wine_try_cflags_saved=$CFLAGS
13523 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13524 cat >conftest.$ac_ext <<_ACEOF
13527 cat confdefs.h >>conftest.$ac_ext
13528 cat >>conftest.$ac_ext <<_ACEOF
13529 /* end confdefs.h. */
13539 rm -f conftest.$ac_objext conftest$ac_exeext
13540 if { (ac_try="$ac_link"
13541 case "(($ac_try" in
13542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13543 *) ac_try_echo=$ac_try;;
13545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13546 (eval "$ac_link") 2>conftest.er1
13548 grep -v '^ *+' conftest.er1 >conftest.err
13550 cat conftest.err >&5
13551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552 (exit $ac_status); } && {
13553 test -z "$ac_c_werror_flag" ||
13554 test ! -s conftest.err
13555 } && test -s conftest$ac_exeext &&
13556 $as_test_x conftest$ac_exeext; then
13557 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
13559 echo "$as_me: failed program was:" >&5
13560 sed 's/^/| /' conftest.$ac_ext >&5
13562 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
13565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13566 conftest$ac_exeext conftest.$ac_ext
13567 CFLAGS=$ac_wine_try_cflags_saved
13569 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13570 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13571 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13572 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13574 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13575 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13576 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13577 echo $ECHO_N "(cached) $ECHO_C" >&6
13579 ac_wine_try_cflags_saved=$CFLAGS
13580 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13581 cat >conftest.$ac_ext <<_ACEOF
13584 cat confdefs.h >>conftest.$ac_ext
13585 cat >>conftest.$ac_ext <<_ACEOF
13586 /* end confdefs.h. */
13596 rm -f conftest.$ac_objext conftest$ac_exeext
13597 if { (ac_try="$ac_link"
13598 case "(($ac_try" in
13599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13600 *) ac_try_echo=$ac_try;;
13602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13603 (eval "$ac_link") 2>conftest.er1
13605 grep -v '^ *+' conftest.er1 >conftest.err
13607 cat conftest.err >&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); } && {
13610 test -z "$ac_c_werror_flag" ||
13611 test ! -s conftest.err
13612 } && test -s conftest$ac_exeext &&
13613 $as_test_x conftest$ac_exeext; then
13614 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
13616 echo "$as_me: failed program was:" >&5
13617 sed 's/^/| /' conftest.$ac_ext >&5
13619 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
13622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13623 conftest$ac_exeext conftest.$ac_ext
13624 CFLAGS=$ac_wine_try_cflags_saved
13626 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13627 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13628 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13629 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13635 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13636 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13637 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13638 echo $ECHO_N "(cached) $ECHO_C" >&6
13640 ac_wine_try_cflags_saved=$CFLAGS
13641 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13642 cat >conftest.$ac_ext <<_ACEOF
13645 cat confdefs.h >>conftest.$ac_ext
13646 cat >>conftest.$ac_ext <<_ACEOF
13647 /* end confdefs.h. */
13657 rm -f conftest.$ac_objext conftest$ac_exeext
13658 if { (ac_try="$ac_link"
13659 case "(($ac_try" in
13660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13661 *) ac_try_echo=$ac_try;;
13663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13664 (eval "$ac_link") 2>conftest.er1
13666 grep -v '^ *+' conftest.er1 >conftest.err
13668 cat conftest.err >&5
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); } && {
13671 test -z "$ac_c_werror_flag" ||
13672 test ! -s conftest.err
13673 } && test -s conftest$ac_exeext &&
13674 $as_test_x conftest$ac_exeext; then
13675 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
13677 echo "$as_me: failed program was:" >&5
13678 sed 's/^/| /' conftest.$ac_ext >&5
13680 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
13683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13684 conftest$ac_exeext conftest.$ac_ext
13685 CFLAGS=$ac_wine_try_cflags_saved
13687 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13688 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13689 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13690 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13694 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13695 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13696 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13697 echo $ECHO_N "(cached) $ECHO_C" >&6
13699 ac_wine_try_cflags_saved=$CFLAGS
13700 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13701 cat >conftest.$ac_ext <<_ACEOF
13704 cat confdefs.h >>conftest.$ac_ext
13705 cat >>conftest.$ac_ext <<_ACEOF
13706 /* end confdefs.h. */
13716 rm -f conftest.$ac_objext conftest$ac_exeext
13717 if { (ac_try="$ac_link"
13718 case "(($ac_try" in
13719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13720 *) ac_try_echo=$ac_try;;
13722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13723 (eval "$ac_link") 2>conftest.er1
13725 grep -v '^ *+' conftest.er1 >conftest.err
13727 cat conftest.err >&5
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); } && {
13730 test -z "$ac_c_werror_flag" ||
13731 test ! -s conftest.err
13732 } && test -s conftest$ac_exeext &&
13733 $as_test_x conftest$ac_exeext; then
13734 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
13736 echo "$as_me: failed program was:" >&5
13737 sed 's/^/| /' conftest.$ac_ext >&5
13739 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
13742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13743 conftest$ac_exeext conftest.$ac_ext
13744 CFLAGS=$ac_wine_try_cflags_saved
13746 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13747 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13748 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13749 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13753 echo '{ global: *; };' >conftest.map
13754 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13755 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13756 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13757 echo $ECHO_N "(cached) $ECHO_C" >&6
13759 ac_wine_try_cflags_saved=$CFLAGS
13760 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13761 cat >conftest.$ac_ext <<_ACEOF
13764 cat confdefs.h >>conftest.$ac_ext
13765 cat >>conftest.$ac_ext <<_ACEOF
13766 /* end confdefs.h. */
13776 rm -f conftest.$ac_objext conftest$ac_exeext
13777 if { (ac_try="$ac_link"
13778 case "(($ac_try" in
13779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13780 *) ac_try_echo=$ac_try;;
13782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13783 (eval "$ac_link") 2>conftest.er1
13785 grep -v '^ *+' conftest.er1 >conftest.err
13787 cat conftest.err >&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); } && {
13790 test -z "$ac_c_werror_flag" ||
13791 test ! -s conftest.err
13792 } && test -s conftest$ac_exeext &&
13793 $as_test_x conftest$ac_exeext; then
13794 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
13796 echo "$as_me: failed program was:" >&5
13797 sed 's/^/| /' conftest.$ac_ext >&5
13799 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
13802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13803 conftest$ac_exeext conftest.$ac_ext
13804 CFLAGS=$ac_wine_try_cflags_saved
13806 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13807 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13808 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13809 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13814 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13815 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13816 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13817 echo $ECHO_N "(cached) $ECHO_C" >&6
13819 ac_wine_try_cflags_saved=$CFLAGS
13820 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13821 cat >conftest.$ac_ext <<_ACEOF
13824 cat confdefs.h >>conftest.$ac_ext
13825 cat >>conftest.$ac_ext <<_ACEOF
13826 /* end confdefs.h. */
13836 rm -f conftest.$ac_objext conftest$ac_exeext
13837 if { (ac_try="$ac_link"
13838 case "(($ac_try" in
13839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13840 *) ac_try_echo=$ac_try;;
13842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13843 (eval "$ac_link") 2>conftest.er1
13845 grep -v '^ *+' conftest.er1 >conftest.err
13847 cat conftest.err >&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); } && {
13850 test -z "$ac_c_werror_flag" ||
13851 test ! -s conftest.err
13852 } && test -s conftest$ac_exeext &&
13853 $as_test_x conftest$ac_exeext; then
13854 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
13856 echo "$as_me: failed program was:" >&5
13857 sed 's/^/| /' conftest.$ac_ext >&5
13859 ac_cv_cflags__fPIC__Wl___export_dynamic=no
13862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13863 conftest$ac_exeext conftest.$ac_ext
13864 CFLAGS=$ac_wine_try_cflags_saved
13866 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13867 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13868 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13869 LDEXECFLAGS="-Wl,--export-dynamic"
13874 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
13875 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13876 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13877 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13878 echo $ECHO_N "(cached) $ECHO_C" >&6
13880 ac_wine_try_cflags_saved=$CFLAGS
13881 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13882 cat >conftest.$ac_ext <<_ACEOF
13885 cat confdefs.h >>conftest.$ac_ext
13886 cat >>conftest.$ac_ext <<_ACEOF
13887 /* end confdefs.h. */
13897 rm -f conftest.$ac_objext conftest$ac_exeext
13898 if { (ac_try="$ac_link"
13899 case "(($ac_try" in
13900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13901 *) ac_try_echo=$ac_try;;
13903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13904 (eval "$ac_link") 2>conftest.er1
13906 grep -v '^ *+' conftest.er1 >conftest.err
13908 cat conftest.err >&5
13909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13910 (exit $ac_status); } && {
13911 test -z "$ac_c_werror_flag" ||
13912 test ! -s conftest.err
13913 } && test -s conftest$ac_exeext &&
13914 $as_test_x conftest$ac_exeext; then
13915 eval "$as_ac_var=yes"
13917 echo "$as_me: failed program was:" >&5
13918 sed 's/^/| /' conftest.$ac_ext >&5
13920 eval "$as_ac_var=no"
13923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13924 conftest$ac_exeext conftest.$ac_ext
13925 CFLAGS=$ac_wine_try_cflags_saved
13927 ac_res=`eval echo '${'$as_ac_var'}'`
13928 { echo "$as_me:$LINENO: result: $ac_res" >&5
13929 echo "${ECHO_T}$ac_res" >&6; }
13930 if test `eval echo '${'$as_ac_var'}'` = yes; then
13931 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13936 *i[3456789]86* | x86_64)
13937 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13938 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13939 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13940 echo $ECHO_N "(cached) $ECHO_C" >&6
13942 ac_wine_try_cflags_saved=$CFLAGS
13943 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13944 cat >conftest.$ac_ext <<_ACEOF
13947 cat confdefs.h >>conftest.$ac_ext
13948 cat >>conftest.$ac_ext <<_ACEOF
13949 /* end confdefs.h. */
13959 rm -f conftest.$ac_objext conftest$ac_exeext
13960 if { (ac_try="$ac_link"
13961 case "(($ac_try" in
13962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13963 *) ac_try_echo=$ac_try;;
13965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13966 (eval "$ac_link") 2>conftest.er1
13968 grep -v '^ *+' conftest.er1 >conftest.err
13970 cat conftest.err >&5
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); } && {
13973 test -z "$ac_c_werror_flag" ||
13974 test ! -s conftest.err
13975 } && test -s conftest$ac_exeext &&
13976 $as_test_x conftest$ac_exeext; then
13977 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
13979 echo "$as_me: failed program was:" >&5
13980 sed 's/^/| /' conftest.$ac_ext >&5
13982 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
13985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13986 conftest$ac_exeext conftest.$ac_ext
13987 CFLAGS=$ac_wine_try_cflags_saved
13989 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
13990 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
13991 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
13992 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13999 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14000 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
14001 if test "${ac_cv_c_dll_unixware+set}" = set; then
14002 echo $ECHO_N "(cached) $ECHO_C" >&6
14004 ac_wine_try_cflags_saved=$CFLAGS
14005 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14006 cat >conftest.$ac_ext <<_ACEOF
14009 rm -f conftest.$ac_objext conftest$ac_exeext
14010 if { (ac_try="$ac_link"
14011 case "(($ac_try" in
14012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14013 *) ac_try_echo=$ac_try;;
14015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14016 (eval "$ac_link") 2>conftest.er1
14018 grep -v '^ *+' conftest.er1 >conftest.err
14020 cat conftest.err >&5
14021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); } && {
14023 test -z "$ac_c_werror_flag" ||
14024 test ! -s conftest.err
14025 } && test -s conftest$ac_exeext &&
14026 $as_test_x conftest$ac_exeext; then
14027 ac_cv_c_dll_unixware="yes"
14029 echo "$as_me: failed program was:" >&5
14030 sed 's/^/| /' conftest.$ac_ext >&5
14032 ac_cv_c_dll_unixware="no"
14035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14036 conftest$ac_exeext conftest.$ac_ext
14037 CFLAGS=$ac_wine_try_cflags_saved
14039 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14040 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
14041 if test "$ac_cv_c_dll_unixware" = "yes"
14043 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14044 LDDLLFLAGS="-Wl,-G,-B,symbolic"
14047 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14048 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
14049 if test "${ac_cv_c_dll_hpux+set}" = set; then
14050 echo $ECHO_N "(cached) $ECHO_C" >&6
14052 ac_wine_try_cflags_saved=$CFLAGS
14053 CFLAGS="$CFLAGS -shared"
14054 cat >conftest.$ac_ext <<_ACEOF
14057 rm -f conftest.$ac_objext conftest$ac_exeext
14058 if { (ac_try="$ac_link"
14059 case "(($ac_try" in
14060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14061 *) ac_try_echo=$ac_try;;
14063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14064 (eval "$ac_link") 2>conftest.er1
14066 grep -v '^ *+' conftest.er1 >conftest.err
14068 cat conftest.err >&5
14069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14070 (exit $ac_status); } && {
14071 test -z "$ac_c_werror_flag" ||
14072 test ! -s conftest.err
14073 } && test -s conftest$ac_exeext &&
14074 $as_test_x conftest$ac_exeext; then
14075 ac_cv_c_dll_hpux="yes"
14077 echo "$as_me: failed program was:" >&5
14078 sed 's/^/| /' conftest.$ac_ext >&5
14080 ac_cv_c_dll_hpux="no"
14083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14084 conftest$ac_exeext conftest.$ac_ext
14085 CFLAGS=$ac_wine_try_cflags_saved
14087 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14088 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
14089 if test "$ac_cv_c_dll_hpux" = "yes"
14093 LDDLLFLAGS="-shared -fPIC"
14094 LDSHARED="\$(CC) -shared"
14101 if test "$cross_compiling" = "no"
14103 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
14105 # Extract the first word of "$ac_prog", so it can be a program name with args.
14106 set dummy $ac_prog; ac_word=$2
14107 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14109 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14110 echo $ECHO_N "(cached) $ECHO_C" >&6
14112 if test -n "$CROSSCC"; then
14113 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14116 for as_dir in $PATH
14119 test -z "$as_dir" && as_dir=.
14120 for ac_exec_ext in '' $ac_executable_extensions; do
14121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14122 ac_cv_prog_CROSSCC="$ac_prog"
14123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14132 CROSSCC=$ac_cv_prog_CROSSCC
14133 if test -n "$CROSSCC"; then
14134 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
14135 echo "${ECHO_T}$CROSSCC" >&6; }
14137 { echo "$as_me:$LINENO: result: no" >&5
14138 echo "${ECHO_T}no" >&6; }
14142 test -n "$CROSSCC" && break
14144 test -n "$CROSSCC" || CROSSCC="false"
14146 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
14148 # Extract the first word of "$ac_prog", so it can be a program name with args.
14149 set dummy $ac_prog; ac_word=$2
14150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14152 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14153 echo $ECHO_N "(cached) $ECHO_C" >&6
14155 if test -n "$DLLTOOL"; then
14156 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14159 for as_dir in $PATH
14162 test -z "$as_dir" && as_dir=.
14163 for ac_exec_ext in '' $ac_executable_extensions; do
14164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14165 ac_cv_prog_DLLTOOL="$ac_prog"
14166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14175 DLLTOOL=$ac_cv_prog_DLLTOOL
14176 if test -n "$DLLTOOL"; then
14177 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14178 echo "${ECHO_T}$DLLTOOL" >&6; }
14180 { echo "$as_me:$LINENO: result: no" >&5
14181 echo "${ECHO_T}no" >&6; }
14185 test -n "$DLLTOOL" && break
14187 test -n "$DLLTOOL" || DLLTOOL="false"
14189 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
14191 # Extract the first word of "$ac_prog", so it can be a program name with args.
14192 set dummy $ac_prog; ac_word=$2
14193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14195 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14196 echo $ECHO_N "(cached) $ECHO_C" >&6
14198 if test -n "$CROSSWINDRES"; then
14199 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14202 for as_dir in $PATH
14205 test -z "$as_dir" && as_dir=.
14206 for ac_exec_ext in '' $ac_executable_extensions; do
14207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14208 ac_cv_prog_CROSSWINDRES="$ac_prog"
14209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14218 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14219 if test -n "$CROSSWINDRES"; then
14220 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14221 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14223 { echo "$as_me:$LINENO: result: no" >&5
14224 echo "${ECHO_T}no" >&6; }
14228 test -n "$CROSSWINDRES" && break
14230 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14232 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14237 if test "$LIBEXT" = "a"; then
14238 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14239 It is currently not possible to build Wine without shared library
14240 (.so) support to allow transparent switch between .so and .dll files.
14241 If you are using Linux, you will need a newer binutils.
14243 echo "$as_me: error: could not find a way to build shared libraries.
14244 It is currently not possible to build Wine without shared library
14245 (.so) support to allow transparent switch between .so and .dll files.
14246 If you are using Linux, you will need a newer binutils.
14248 { (exit 1); exit 1; }; }
14253 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14256 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14259 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14267 SOCKETLIBS="-lws2_32"
14272 MAIN_BINARY="wine-pthread"
14276 linux* | k*bsd*-gnu)
14277 MAIN_BINARY="wine-glibc"
14279 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14286 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14288 # Extract the first word of "ldd", so it can be a program name with args.
14289 set dummy ldd; ac_word=$2
14290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14292 if test "${ac_cv_path_LDD+set}" = set; then
14293 echo $ECHO_N "(cached) $ECHO_C" >&6
14297 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14301 as_dummy="/sbin:/usr/sbin:$PATH"
14302 for as_dir in $as_dummy
14305 test -z "$as_dir" && as_dir=.
14306 for ac_exec_ext in '' $ac_executable_extensions; do
14307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14308 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14316 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14320 LDD=$ac_cv_path_LDD
14321 if test -n "$LDD"; then
14322 { echo "$as_me:$LINENO: result: $LDD" >&5
14323 echo "${ECHO_T}$LDD" >&6; }
14325 { echo "$as_me:$LINENO: result: no" >&5
14326 echo "${ECHO_T}no" >&6; }
14330 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14331 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14332 if test "${ac_cv_lib_soname_X11+set}" = set; then
14333 echo $ECHO_N "(cached) $ECHO_C" >&6
14335 ac_get_soname_save_LIBS=$LIBS
14336 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14337 cat >conftest.$ac_ext <<_ACEOF
14340 cat confdefs.h >>conftest.$ac_ext
14341 cat >>conftest.$ac_ext <<_ACEOF
14342 /* end confdefs.h. */
14344 /* Override any GCC internal prototype to avoid an error.
14345 Use char because int might match the return type of a GCC
14346 builtin and then its argument prototype would still apply. */
14350 char XCreateWindow ();
14354 return XCreateWindow ();
14359 rm -f conftest.$ac_objext conftest$ac_exeext
14360 if { (ac_try="$ac_link"
14361 case "(($ac_try" in
14362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14363 *) ac_try_echo=$ac_try;;
14365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14366 (eval "$ac_link") 2>conftest.er1
14368 grep -v '^ *+' conftest.er1 >conftest.err
14370 cat conftest.err >&5
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); } && {
14373 test -z "$ac_c_werror_flag" ||
14374 test ! -s conftest.err
14375 } && test -s conftest$ac_exeext &&
14376 $as_test_x conftest$ac_exeext; then
14378 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'` ;;
14379 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14381 if test "x$ac_cv_lib_soname_X11" = "x"
14383 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14386 echo "$as_me: failed program was:" >&5
14387 sed 's/^/| /' conftest.$ac_ext >&5
14389 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14393 conftest$ac_exeext conftest.$ac_ext
14394 LIBS=$ac_get_soname_save_LIBS
14396 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14397 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14398 if test "${ac_cv_lib_soname_X11+set}" = set; then
14400 cat >>confdefs.h <<_ACEOF
14401 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14406 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14407 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14408 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14409 echo $ECHO_N "(cached) $ECHO_C" >&6
14411 ac_get_soname_save_LIBS=$LIBS
14412 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14413 cat >conftest.$ac_ext <<_ACEOF
14416 cat confdefs.h >>conftest.$ac_ext
14417 cat >>conftest.$ac_ext <<_ACEOF
14418 /* end confdefs.h. */
14420 /* Override any GCC internal prototype to avoid an error.
14421 Use char because int might match the return type of a GCC
14422 builtin and then its argument prototype would still apply. */
14426 char XextCreateExtension ();
14430 return XextCreateExtension ();
14435 rm -f conftest.$ac_objext conftest$ac_exeext
14436 if { (ac_try="$ac_link"
14437 case "(($ac_try" in
14438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14439 *) ac_try_echo=$ac_try;;
14441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14442 (eval "$ac_link") 2>conftest.er1
14444 grep -v '^ *+' conftest.er1 >conftest.err
14446 cat conftest.err >&5
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); } && {
14449 test -z "$ac_c_werror_flag" ||
14450 test ! -s conftest.err
14451 } && test -s conftest$ac_exeext &&
14452 $as_test_x conftest$ac_exeext; then
14454 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'` ;;
14455 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14457 if test "x$ac_cv_lib_soname_Xext" = "x"
14459 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14462 echo "$as_me: failed program was:" >&5
14463 sed 's/^/| /' conftest.$ac_ext >&5
14465 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14469 conftest$ac_exeext conftest.$ac_ext
14470 LIBS=$ac_get_soname_save_LIBS
14472 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14473 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14474 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14476 cat >>confdefs.h <<_ACEOF
14477 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14482 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14483 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14484 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14485 echo $ECHO_N "(cached) $ECHO_C" >&6
14487 ac_get_soname_save_LIBS=$LIBS
14488 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14489 cat >conftest.$ac_ext <<_ACEOF
14492 cat confdefs.h >>conftest.$ac_ext
14493 cat >>conftest.$ac_ext <<_ACEOF
14494 /* end confdefs.h. */
14496 /* Override any GCC internal prototype to avoid an error.
14497 Use char because int might match the return type of a GCC
14498 builtin and then its argument prototype would still apply. */
14502 char XOpenDevice ();
14506 return XOpenDevice ();
14511 rm -f conftest.$ac_objext conftest$ac_exeext
14512 if { (ac_try="$ac_link"
14513 case "(($ac_try" in
14514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14515 *) ac_try_echo=$ac_try;;
14517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14518 (eval "$ac_link") 2>conftest.er1
14520 grep -v '^ *+' conftest.er1 >conftest.err
14522 cat conftest.err >&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); } && {
14525 test -z "$ac_c_werror_flag" ||
14526 test ! -s conftest.err
14527 } && test -s conftest$ac_exeext &&
14528 $as_test_x conftest$ac_exeext; then
14530 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'` ;;
14531 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14533 if test "x$ac_cv_lib_soname_Xi" = "x"
14535 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14538 echo "$as_me: failed program was:" >&5
14539 sed 's/^/| /' conftest.$ac_ext >&5
14541 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14545 conftest$ac_exeext conftest.$ac_ext
14546 LIBS=$ac_get_soname_save_LIBS
14548 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14549 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14550 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14552 cat >>confdefs.h <<_ACEOF
14553 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14558 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14559 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14560 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14561 echo $ECHO_N "(cached) $ECHO_C" >&6
14563 ac_get_soname_save_LIBS=$LIBS
14564 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14565 cat >conftest.$ac_ext <<_ACEOF
14568 cat confdefs.h >>conftest.$ac_ext
14569 cat >>conftest.$ac_ext <<_ACEOF
14570 /* end confdefs.h. */
14572 /* Override any GCC internal prototype to avoid an error.
14573 Use char because int might match the return type of a GCC
14574 builtin and then its argument prototype would still apply. */
14578 char XineramaQueryScreens ();
14582 return XineramaQueryScreens ();
14587 rm -f conftest.$ac_objext conftest$ac_exeext
14588 if { (ac_try="$ac_link"
14589 case "(($ac_try" in
14590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14591 *) ac_try_echo=$ac_try;;
14593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14594 (eval "$ac_link") 2>conftest.er1
14596 grep -v '^ *+' conftest.er1 >conftest.err
14598 cat conftest.err >&5
14599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14600 (exit $ac_status); } && {
14601 test -z "$ac_c_werror_flag" ||
14602 test ! -s conftest.err
14603 } && test -s conftest$ac_exeext &&
14604 $as_test_x conftest$ac_exeext; then
14606 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'` ;;
14607 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14609 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14611 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14614 echo "$as_me: failed program was:" >&5
14615 sed 's/^/| /' conftest.$ac_ext >&5
14617 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14621 conftest$ac_exeext conftest.$ac_ext
14622 LIBS=$ac_get_soname_save_LIBS
14624 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14625 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14626 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14628 cat >>confdefs.h <<_ACEOF
14629 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14634 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14635 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14636 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14637 echo $ECHO_N "(cached) $ECHO_C" >&6
14639 ac_get_soname_save_LIBS=$LIBS
14640 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14641 cat >conftest.$ac_ext <<_ACEOF
14644 cat confdefs.h >>conftest.$ac_ext
14645 cat >>conftest.$ac_ext <<_ACEOF
14646 /* end confdefs.h. */
14648 /* Override any GCC internal prototype to avoid an error.
14649 Use char because int might match the return type of a GCC
14650 builtin and then its argument prototype would still apply. */
14654 char XRenderQueryExtension ();
14658 return XRenderQueryExtension ();
14663 rm -f conftest.$ac_objext conftest$ac_exeext
14664 if { (ac_try="$ac_link"
14665 case "(($ac_try" in
14666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14667 *) ac_try_echo=$ac_try;;
14669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14670 (eval "$ac_link") 2>conftest.er1
14672 grep -v '^ *+' conftest.er1 >conftest.err
14674 cat conftest.err >&5
14675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676 (exit $ac_status); } && {
14677 test -z "$ac_c_werror_flag" ||
14678 test ! -s conftest.err
14679 } && test -s conftest$ac_exeext &&
14680 $as_test_x conftest$ac_exeext; then
14682 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'` ;;
14683 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14685 if test "x$ac_cv_lib_soname_Xrender" = "x"
14687 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14690 echo "$as_me: failed program was:" >&5
14691 sed 's/^/| /' conftest.$ac_ext >&5
14693 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14697 conftest$ac_exeext conftest.$ac_ext
14698 LIBS=$ac_get_soname_save_LIBS
14700 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14701 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14702 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14704 cat >>confdefs.h <<_ACEOF
14705 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14710 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14711 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14712 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14713 echo $ECHO_N "(cached) $ECHO_C" >&6
14715 ac_get_soname_save_LIBS=$LIBS
14716 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14717 cat >conftest.$ac_ext <<_ACEOF
14720 cat confdefs.h >>conftest.$ac_ext
14721 cat >>conftest.$ac_ext <<_ACEOF
14722 /* end confdefs.h. */
14724 /* Override any GCC internal prototype to avoid an error.
14725 Use char because int might match the return type of a GCC
14726 builtin and then its argument prototype would still apply. */
14730 char XRRQueryExtension ();
14734 return XRRQueryExtension ();
14739 rm -f conftest.$ac_objext conftest$ac_exeext
14740 if { (ac_try="$ac_link"
14741 case "(($ac_try" in
14742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14743 *) ac_try_echo=$ac_try;;
14745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14746 (eval "$ac_link") 2>conftest.er1
14748 grep -v '^ *+' conftest.er1 >conftest.err
14750 cat conftest.err >&5
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); } && {
14753 test -z "$ac_c_werror_flag" ||
14754 test ! -s conftest.err
14755 } && test -s conftest$ac_exeext &&
14756 $as_test_x conftest$ac_exeext; then
14758 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'` ;;
14759 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14761 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14763 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14766 echo "$as_me: failed program was:" >&5
14767 sed 's/^/| /' conftest.$ac_ext >&5
14769 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14773 conftest$ac_exeext conftest.$ac_ext
14774 LIBS=$ac_get_soname_save_LIBS
14776 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14777 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14778 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14780 cat >>confdefs.h <<_ACEOF
14781 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14786 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14787 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14788 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14789 echo $ECHO_N "(cached) $ECHO_C" >&6
14791 ac_get_soname_save_LIBS=$LIBS
14792 LIBS="-lfreetype $X_LIBS $LIBS"
14793 cat >conftest.$ac_ext <<_ACEOF
14796 cat confdefs.h >>conftest.$ac_ext
14797 cat >>conftest.$ac_ext <<_ACEOF
14798 /* end confdefs.h. */
14800 /* Override any GCC internal prototype to avoid an error.
14801 Use char because int might match the return type of a GCC
14802 builtin and then its argument prototype would still apply. */
14806 char FT_Init_FreeType ();
14810 return FT_Init_FreeType ();
14815 rm -f conftest.$ac_objext conftest$ac_exeext
14816 if { (ac_try="$ac_link"
14817 case "(($ac_try" in
14818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14819 *) ac_try_echo=$ac_try;;
14821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14822 (eval "$ac_link") 2>conftest.er1
14824 grep -v '^ *+' conftest.er1 >conftest.err
14826 cat conftest.err >&5
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); } && {
14829 test -z "$ac_c_werror_flag" ||
14830 test ! -s conftest.err
14831 } && test -s conftest$ac_exeext &&
14832 $as_test_x conftest$ac_exeext; then
14834 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'` ;;
14835 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14837 if test "x$ac_cv_lib_soname_freetype" = "x"
14839 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14842 echo "$as_me: failed program was:" >&5
14843 sed 's/^/| /' conftest.$ac_ext >&5
14845 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14849 conftest$ac_exeext conftest.$ac_ext
14850 LIBS=$ac_get_soname_save_LIBS
14852 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14853 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14854 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14856 cat >>confdefs.h <<_ACEOF
14857 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14862 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14863 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14864 if test "${ac_cv_lib_soname_GL+set}" = set; then
14865 echo $ECHO_N "(cached) $ECHO_C" >&6
14867 ac_get_soname_save_LIBS=$LIBS
14868 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14869 cat >conftest.$ac_ext <<_ACEOF
14872 cat confdefs.h >>conftest.$ac_ext
14873 cat >>conftest.$ac_ext <<_ACEOF
14874 /* end confdefs.h. */
14876 /* Override any GCC internal prototype to avoid an error.
14877 Use char because int might match the return type of a GCC
14878 builtin and then its argument prototype would still apply. */
14882 char glXQueryExtension ();
14886 return glXQueryExtension ();
14891 rm -f conftest.$ac_objext conftest$ac_exeext
14892 if { (ac_try="$ac_link"
14893 case "(($ac_try" in
14894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14895 *) ac_try_echo=$ac_try;;
14897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14898 (eval "$ac_link") 2>conftest.er1
14900 grep -v '^ *+' conftest.er1 >conftest.err
14902 cat conftest.err >&5
14903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14904 (exit $ac_status); } && {
14905 test -z "$ac_c_werror_flag" ||
14906 test ! -s conftest.err
14907 } && test -s conftest$ac_exeext &&
14908 $as_test_x conftest$ac_exeext; then
14910 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'` ;;
14911 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14913 if test "x$ac_cv_lib_soname_GL" = "x"
14915 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14918 echo "$as_me: failed program was:" >&5
14919 sed 's/^/| /' conftest.$ac_ext >&5
14921 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14925 conftest$ac_exeext conftest.$ac_ext
14926 LIBS=$ac_get_soname_save_LIBS
14928 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14929 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14930 if test "${ac_cv_lib_soname_GL+set}" = set; then
14932 cat >>confdefs.h <<_ACEOF
14933 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14938 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14939 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14940 if test "${ac_cv_lib_soname_hal+set}" = set; then
14941 echo $ECHO_N "(cached) $ECHO_C" >&6
14943 ac_get_soname_save_LIBS=$LIBS
14945 cat >conftest.$ac_ext <<_ACEOF
14948 cat confdefs.h >>conftest.$ac_ext
14949 cat >>conftest.$ac_ext <<_ACEOF
14950 /* end confdefs.h. */
14952 /* Override any GCC internal prototype to avoid an error.
14953 Use char because int might match the return type of a GCC
14954 builtin and then its argument prototype would still apply. */
14958 char libhal_ctx_new ();
14962 return libhal_ctx_new ();
14967 rm -f conftest.$ac_objext conftest$ac_exeext
14968 if { (ac_try="$ac_link"
14969 case "(($ac_try" in
14970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14971 *) ac_try_echo=$ac_try;;
14973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14974 (eval "$ac_link") 2>conftest.er1
14976 grep -v '^ *+' conftest.er1 >conftest.err
14978 cat conftest.err >&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); } && {
14981 test -z "$ac_c_werror_flag" ||
14982 test ! -s conftest.err
14983 } && test -s conftest$ac_exeext &&
14984 $as_test_x conftest$ac_exeext; then
14986 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'` ;;
14987 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14989 if test "x$ac_cv_lib_soname_hal" = "x"
14991 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14994 echo "$as_me: failed program was:" >&5
14995 sed 's/^/| /' conftest.$ac_ext >&5
14997 ac_cv_lib_soname_hal="libhal.$LIBEXT"
15000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15001 conftest$ac_exeext conftest.$ac_ext
15002 LIBS=$ac_get_soname_save_LIBS
15004 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
15005 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
15006 if test "${ac_cv_lib_soname_hal+set}" = set; then
15008 cat >>confdefs.h <<_ACEOF
15009 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
15014 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
15015 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
15016 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15017 echo $ECHO_N "(cached) $ECHO_C" >&6
15019 ac_get_soname_save_LIBS=$LIBS
15020 LIBS="-ltxc_dxtn $LIBS"
15021 cat >conftest.$ac_ext <<_ACEOF
15024 cat confdefs.h >>conftest.$ac_ext
15025 cat >>conftest.$ac_ext <<_ACEOF
15026 /* end confdefs.h. */
15028 /* Override any GCC internal prototype to avoid an error.
15029 Use char because int might match the return type of a GCC
15030 builtin and then its argument prototype would still apply. */
15034 char fetch_2d_texel_rgba_dxt1 ();
15038 return fetch_2d_texel_rgba_dxt1 ();
15043 rm -f conftest.$ac_objext conftest$ac_exeext
15044 if { (ac_try="$ac_link"
15045 case "(($ac_try" in
15046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15047 *) ac_try_echo=$ac_try;;
15049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15050 (eval "$ac_link") 2>conftest.er1
15052 grep -v '^ *+' conftest.er1 >conftest.err
15054 cat conftest.err >&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); } && {
15057 test -z "$ac_c_werror_flag" ||
15058 test ! -s conftest.err
15059 } && test -s conftest$ac_exeext &&
15060 $as_test_x conftest$ac_exeext; then
15062 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'` ;;
15063 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'` ;;
15065 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15067 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15070 echo "$as_me: failed program was:" >&5
15071 sed 's/^/| /' conftest.$ac_ext >&5
15073 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15077 conftest$ac_exeext conftest.$ac_ext
15078 LIBS=$ac_get_soname_save_LIBS
15080 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15081 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
15082 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15084 cat >>confdefs.h <<_ACEOF
15085 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15090 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
15091 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
15092 if test "${ac_cv_lib_soname_cups+set}" = set; then
15093 echo $ECHO_N "(cached) $ECHO_C" >&6
15095 ac_get_soname_save_LIBS=$LIBS
15096 LIBS="-lcups $LIBS"
15097 cat >conftest.$ac_ext <<_ACEOF
15100 cat confdefs.h >>conftest.$ac_ext
15101 cat >>conftest.$ac_ext <<_ACEOF
15102 /* end confdefs.h. */
15104 /* Override any GCC internal prototype to avoid an error.
15105 Use char because int might match the return type of a GCC
15106 builtin and then its argument prototype would still apply. */
15110 char cupsGetDefault ();
15114 return cupsGetDefault ();
15119 rm -f conftest.$ac_objext conftest$ac_exeext
15120 if { (ac_try="$ac_link"
15121 case "(($ac_try" in
15122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15123 *) ac_try_echo=$ac_try;;
15125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15126 (eval "$ac_link") 2>conftest.er1
15128 grep -v '^ *+' conftest.er1 >conftest.err
15130 cat conftest.err >&5
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); } && {
15133 test -z "$ac_c_werror_flag" ||
15134 test ! -s conftest.err
15135 } && test -s conftest$ac_exeext &&
15136 $as_test_x conftest$ac_exeext; then
15138 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'` ;;
15139 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15141 if test "x$ac_cv_lib_soname_cups" = "x"
15143 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15146 echo "$as_me: failed program was:" >&5
15147 sed 's/^/| /' conftest.$ac_ext >&5
15149 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15153 conftest$ac_exeext conftest.$ac_ext
15154 LIBS=$ac_get_soname_save_LIBS
15156 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15157 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15158 if test "${ac_cv_lib_soname_cups+set}" = set; then
15160 cat >>confdefs.h <<_ACEOF
15161 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15166 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15167 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15168 if test "${ac_cv_lib_soname_jack+set}" = set; then
15169 echo $ECHO_N "(cached) $ECHO_C" >&6
15171 ac_get_soname_save_LIBS=$LIBS
15172 LIBS="-ljack $LIBS"
15173 cat >conftest.$ac_ext <<_ACEOF
15176 cat confdefs.h >>conftest.$ac_ext
15177 cat >>conftest.$ac_ext <<_ACEOF
15178 /* end confdefs.h. */
15180 /* Override any GCC internal prototype to avoid an error.
15181 Use char because int might match the return type of a GCC
15182 builtin and then its argument prototype would still apply. */
15186 char jack_client_new ();
15190 return jack_client_new ();
15195 rm -f conftest.$ac_objext conftest$ac_exeext
15196 if { (ac_try="$ac_link"
15197 case "(($ac_try" in
15198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15199 *) ac_try_echo=$ac_try;;
15201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15202 (eval "$ac_link") 2>conftest.er1
15204 grep -v '^ *+' conftest.er1 >conftest.err
15206 cat conftest.err >&5
15207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15208 (exit $ac_status); } && {
15209 test -z "$ac_c_werror_flag" ||
15210 test ! -s conftest.err
15211 } && test -s conftest$ac_exeext &&
15212 $as_test_x conftest$ac_exeext; then
15214 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'` ;;
15215 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15217 if test "x$ac_cv_lib_soname_jack" = "x"
15219 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15222 echo "$as_me: failed program was:" >&5
15223 sed 's/^/| /' conftest.$ac_ext >&5
15225 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15229 conftest$ac_exeext conftest.$ac_ext
15230 LIBS=$ac_get_soname_save_LIBS
15232 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15233 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15234 if test "${ac_cv_lib_soname_jack+set}" = set; then
15236 cat >>confdefs.h <<_ACEOF
15237 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15242 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15243 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15244 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15245 echo $ECHO_N "(cached) $ECHO_C" >&6
15247 ac_get_soname_save_LIBS=$LIBS
15248 LIBS="-lfontconfig $LIBS"
15249 cat >conftest.$ac_ext <<_ACEOF
15252 cat confdefs.h >>conftest.$ac_ext
15253 cat >>conftest.$ac_ext <<_ACEOF
15254 /* end confdefs.h. */
15256 /* Override any GCC internal prototype to avoid an error.
15257 Use char because int might match the return type of a GCC
15258 builtin and then its argument prototype would still apply. */
15271 rm -f conftest.$ac_objext conftest$ac_exeext
15272 if { (ac_try="$ac_link"
15273 case "(($ac_try" in
15274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15275 *) ac_try_echo=$ac_try;;
15277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15278 (eval "$ac_link") 2>conftest.er1
15280 grep -v '^ *+' conftest.er1 >conftest.err
15282 cat conftest.err >&5
15283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15284 (exit $ac_status); } && {
15285 test -z "$ac_c_werror_flag" ||
15286 test ! -s conftest.err
15287 } && test -s conftest$ac_exeext &&
15288 $as_test_x conftest$ac_exeext; then
15290 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'` ;;
15291 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15293 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15295 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15298 echo "$as_me: failed program was:" >&5
15299 sed 's/^/| /' conftest.$ac_ext >&5
15301 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15305 conftest$ac_exeext conftest.$ac_ext
15306 LIBS=$ac_get_soname_save_LIBS
15308 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15309 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15310 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15312 cat >>confdefs.h <<_ACEOF
15313 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15318 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15319 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15320 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15321 echo $ECHO_N "(cached) $ECHO_C" >&6
15323 ac_get_soname_save_LIBS=$LIBS
15325 cat >conftest.$ac_ext <<_ACEOF
15328 cat confdefs.h >>conftest.$ac_ext
15329 cat >>conftest.$ac_ext <<_ACEOF
15330 /* end confdefs.h. */
15332 /* Override any GCC internal prototype to avoid an error.
15333 Use char because int might match the return type of a GCC
15334 builtin and then its argument prototype would still apply. */
15338 char SSL_library_init ();
15342 return SSL_library_init ();
15347 rm -f conftest.$ac_objext conftest$ac_exeext
15348 if { (ac_try="$ac_link"
15349 case "(($ac_try" in
15350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15351 *) ac_try_echo=$ac_try;;
15353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15354 (eval "$ac_link") 2>conftest.er1
15356 grep -v '^ *+' conftest.er1 >conftest.err
15358 cat conftest.err >&5
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); } && {
15361 test -z "$ac_c_werror_flag" ||
15362 test ! -s conftest.err
15363 } && test -s conftest$ac_exeext &&
15364 $as_test_x conftest$ac_exeext; then
15366 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'` ;;
15367 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15369 if test "x$ac_cv_lib_soname_ssl" = "x"
15371 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15374 echo "$as_me: failed program was:" >&5
15375 sed 's/^/| /' conftest.$ac_ext >&5
15377 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15381 conftest$ac_exeext conftest.$ac_ext
15382 LIBS=$ac_get_soname_save_LIBS
15384 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15385 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15386 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15388 cat >>confdefs.h <<_ACEOF
15389 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15394 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15395 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15396 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15397 echo $ECHO_N "(cached) $ECHO_C" >&6
15399 ac_get_soname_save_LIBS=$LIBS
15400 LIBS="-lcrypto $LIBS"
15401 cat >conftest.$ac_ext <<_ACEOF
15404 cat confdefs.h >>conftest.$ac_ext
15405 cat >>conftest.$ac_ext <<_ACEOF
15406 /* end confdefs.h. */
15408 /* Override any GCC internal prototype to avoid an error.
15409 Use char because int might match the return type of a GCC
15410 builtin and then its argument prototype would still apply. */
15414 char BIO_new_socket ();
15418 return BIO_new_socket ();
15423 rm -f conftest.$ac_objext conftest$ac_exeext
15424 if { (ac_try="$ac_link"
15425 case "(($ac_try" in
15426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15427 *) ac_try_echo=$ac_try;;
15429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15430 (eval "$ac_link") 2>conftest.er1
15432 grep -v '^ *+' conftest.er1 >conftest.err
15434 cat conftest.err >&5
15435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 (exit $ac_status); } && {
15437 test -z "$ac_c_werror_flag" ||
15438 test ! -s conftest.err
15439 } && test -s conftest$ac_exeext &&
15440 $as_test_x conftest$ac_exeext; then
15442 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'` ;;
15443 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15445 if test "x$ac_cv_lib_soname_crypto" = "x"
15447 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15450 echo "$as_me: failed program was:" >&5
15451 sed 's/^/| /' conftest.$ac_ext >&5
15453 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15457 conftest$ac_exeext conftest.$ac_ext
15458 LIBS=$ac_get_soname_save_LIBS
15460 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15461 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15462 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15464 cat >>confdefs.h <<_ACEOF
15465 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15470 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15471 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15472 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15473 echo $ECHO_N "(cached) $ECHO_C" >&6
15475 ac_get_soname_save_LIBS=$LIBS
15476 LIBS="-lncurses $LIBS"
15477 cat >conftest.$ac_ext <<_ACEOF
15480 cat confdefs.h >>conftest.$ac_ext
15481 cat >>conftest.$ac_ext <<_ACEOF
15482 /* end confdefs.h. */
15484 /* Override any GCC internal prototype to avoid an error.
15485 Use char because int might match the return type of a GCC
15486 builtin and then its argument prototype would still apply. */
15499 rm -f conftest.$ac_objext conftest$ac_exeext
15500 if { (ac_try="$ac_link"
15501 case "(($ac_try" in
15502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15503 *) ac_try_echo=$ac_try;;
15505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15506 (eval "$ac_link") 2>conftest.er1
15508 grep -v '^ *+' conftest.er1 >conftest.err
15510 cat conftest.err >&5
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); } && {
15513 test -z "$ac_c_werror_flag" ||
15514 test ! -s conftest.err
15515 } && test -s conftest$ac_exeext &&
15516 $as_test_x conftest$ac_exeext; then
15518 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'` ;;
15519 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15521 if test "x$ac_cv_lib_soname_ncurses" = "x"
15523 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15526 echo "$as_me: failed program was:" >&5
15527 sed 's/^/| /' conftest.$ac_ext >&5
15529 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15533 conftest$ac_exeext conftest.$ac_ext
15534 LIBS=$ac_get_soname_save_LIBS
15536 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15537 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15538 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15540 cat >>confdefs.h <<_ACEOF
15541 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15546 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15547 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15548 if test "${ac_cv_lib_soname_curses+set}" = set; then
15549 echo $ECHO_N "(cached) $ECHO_C" >&6
15551 ac_get_soname_save_LIBS=$LIBS
15552 LIBS="-lcurses $LIBS"
15553 cat >conftest.$ac_ext <<_ACEOF
15556 cat confdefs.h >>conftest.$ac_ext
15557 cat >>conftest.$ac_ext <<_ACEOF
15558 /* end confdefs.h. */
15560 /* Override any GCC internal prototype to avoid an error.
15561 Use char because int might match the return type of a GCC
15562 builtin and then its argument prototype would still apply. */
15575 rm -f conftest.$ac_objext conftest$ac_exeext
15576 if { (ac_try="$ac_link"
15577 case "(($ac_try" in
15578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15579 *) ac_try_echo=$ac_try;;
15581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15582 (eval "$ac_link") 2>conftest.er1
15584 grep -v '^ *+' conftest.er1 >conftest.err
15586 cat conftest.err >&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); } && {
15589 test -z "$ac_c_werror_flag" ||
15590 test ! -s conftest.err
15591 } && test -s conftest$ac_exeext &&
15592 $as_test_x conftest$ac_exeext; then
15594 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'` ;;
15595 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15597 if test "x$ac_cv_lib_soname_curses" = "x"
15599 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15602 echo "$as_me: failed program was:" >&5
15603 sed 's/^/| /' conftest.$ac_ext >&5
15605 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15609 conftest$ac_exeext conftest.$ac_ext
15610 LIBS=$ac_get_soname_save_LIBS
15612 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15613 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15614 if test "${ac_cv_lib_soname_curses+set}" = set; then
15616 cat >>confdefs.h <<_ACEOF
15617 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15622 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15623 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15624 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15625 echo $ECHO_N "(cached) $ECHO_C" >&6
15627 ac_get_soname_save_LIBS=$LIBS
15628 LIBS="-ljpeg $LIBS"
15629 cat >conftest.$ac_ext <<_ACEOF
15632 cat confdefs.h >>conftest.$ac_ext
15633 cat >>conftest.$ac_ext <<_ACEOF
15634 /* end confdefs.h. */
15636 /* Override any GCC internal prototype to avoid an error.
15637 Use char because int might match the return type of a GCC
15638 builtin and then its argument prototype would still apply. */
15642 char jpeg_start_decompress ();
15646 return jpeg_start_decompress ();
15651 rm -f conftest.$ac_objext conftest$ac_exeext
15652 if { (ac_try="$ac_link"
15653 case "(($ac_try" in
15654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15655 *) ac_try_echo=$ac_try;;
15657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15658 (eval "$ac_link") 2>conftest.er1
15660 grep -v '^ *+' conftest.er1 >conftest.err
15662 cat conftest.err >&5
15663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15664 (exit $ac_status); } && {
15665 test -z "$ac_c_werror_flag" ||
15666 test ! -s conftest.err
15667 } && test -s conftest$ac_exeext &&
15668 $as_test_x conftest$ac_exeext; then
15670 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'` ;;
15671 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15673 if test "x$ac_cv_lib_soname_jpeg" = "x"
15675 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15678 echo "$as_me: failed program was:" >&5
15679 sed 's/^/| /' conftest.$ac_ext >&5
15681 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15685 conftest$ac_exeext conftest.$ac_ext
15686 LIBS=$ac_get_soname_save_LIBS
15688 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15689 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15690 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15692 cat >>confdefs.h <<_ACEOF
15693 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15698 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15699 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15700 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15701 echo $ECHO_N "(cached) $ECHO_C" >&6
15703 ac_get_soname_save_LIBS=$LIBS
15704 LIBS="-lcapi20 $LIBS"
15705 cat >conftest.$ac_ext <<_ACEOF
15708 cat confdefs.h >>conftest.$ac_ext
15709 cat >>conftest.$ac_ext <<_ACEOF
15710 /* end confdefs.h. */
15712 /* Override any GCC internal prototype to avoid an error.
15713 Use char because int might match the return type of a GCC
15714 builtin and then its argument prototype would still apply. */
15718 char capi20_isinstalled ();
15722 return capi20_isinstalled ();
15727 rm -f conftest.$ac_objext conftest$ac_exeext
15728 if { (ac_try="$ac_link"
15729 case "(($ac_try" in
15730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15731 *) ac_try_echo=$ac_try;;
15733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15734 (eval "$ac_link") 2>conftest.er1
15736 grep -v '^ *+' conftest.er1 >conftest.err
15738 cat conftest.err >&5
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); } && {
15741 test -z "$ac_c_werror_flag" ||
15742 test ! -s conftest.err
15743 } && test -s conftest$ac_exeext &&
15744 $as_test_x conftest$ac_exeext; then
15746 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'` ;;
15747 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15749 if test "x$ac_cv_lib_soname_capi20" = "x"
15751 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15754 echo "$as_me: failed program was:" >&5
15755 sed 's/^/| /' conftest.$ac_ext >&5
15757 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15761 conftest$ac_exeext conftest.$ac_ext
15762 LIBS=$ac_get_soname_save_LIBS
15764 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15765 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15766 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15768 cat >>confdefs.h <<_ACEOF
15769 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15924 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15926 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15927 echo $ECHO_N "(cached) $ECHO_C" >&6
15929 cat >conftest.$ac_ext <<_ACEOF
15932 cat confdefs.h >>conftest.$ac_ext
15933 cat >>conftest.$ac_ext <<_ACEOF
15934 /* end confdefs.h. */
15935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15937 #define $ac_func innocuous_$ac_func
15939 /* System header to define __stub macros and hopefully few prototypes,
15940 which can conflict with char $ac_func (); below.
15941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15942 <limits.h> exists even on freestanding compilers. */
15945 # include <limits.h>
15947 # include <assert.h>
15952 /* Override any GCC internal prototype to avoid an error.
15953 Use char because int might match the return type of a GCC
15954 builtin and then its argument prototype would still apply. */
15959 /* The GNU C library defines this for functions which it implements
15960 to always fail with ENOSYS. Some functions are actually named
15961 something starting with __ and the normal name is an alias. */
15962 #if defined __stub_$ac_func || defined __stub___$ac_func
15969 return $ac_func ();
15974 rm -f conftest.$ac_objext conftest$ac_exeext
15975 if { (ac_try="$ac_link"
15976 case "(($ac_try" in
15977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15978 *) ac_try_echo=$ac_try;;
15980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15981 (eval "$ac_link") 2>conftest.er1
15983 grep -v '^ *+' conftest.er1 >conftest.err
15985 cat conftest.err >&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); } && {
15988 test -z "$ac_c_werror_flag" ||
15989 test ! -s conftest.err
15990 } && test -s conftest$ac_exeext &&
15991 $as_test_x conftest$ac_exeext; then
15992 eval "$as_ac_var=yes"
15994 echo "$as_me: failed program was:" >&5
15995 sed 's/^/| /' conftest.$ac_ext >&5
15997 eval "$as_ac_var=no"
16000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16001 conftest$ac_exeext conftest.$ac_ext
16003 ac_res=`eval echo '${'$as_ac_var'}'`
16004 { echo "$as_me:$LINENO: result: $ac_res" >&5
16005 echo "${ECHO_T}$ac_res" >&6; }
16006 if test `eval echo '${'$as_ac_var'}'` = yes; then
16007 cat >>confdefs.h <<_ACEOF
16008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16015 if test "$ac_cv_func_dlopen" = no
16017 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16018 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16019 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16020 echo $ECHO_N "(cached) $ECHO_C" >&6
16022 ac_check_lib_save_LIBS=$LIBS
16024 cat >conftest.$ac_ext <<_ACEOF
16027 cat confdefs.h >>conftest.$ac_ext
16028 cat >>conftest.$ac_ext <<_ACEOF
16029 /* end confdefs.h. */
16031 /* Override any GCC internal prototype to avoid an error.
16032 Use char because int might match the return type of a GCC
16033 builtin and then its argument prototype would still apply. */
16046 rm -f conftest.$ac_objext conftest$ac_exeext
16047 if { (ac_try="$ac_link"
16048 case "(($ac_try" in
16049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16050 *) ac_try_echo=$ac_try;;
16052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16053 (eval "$ac_link") 2>conftest.er1
16055 grep -v '^ *+' conftest.er1 >conftest.err
16057 cat conftest.err >&5
16058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16059 (exit $ac_status); } && {
16060 test -z "$ac_c_werror_flag" ||
16061 test ! -s conftest.err
16062 } && test -s conftest$ac_exeext &&
16063 $as_test_x conftest$ac_exeext; then
16064 ac_cv_lib_dl_dlopen=yes
16066 echo "$as_me: failed program was:" >&5
16067 sed 's/^/| /' conftest.$ac_ext >&5
16069 ac_cv_lib_dl_dlopen=no
16072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16073 conftest$ac_exeext conftest.$ac_ext
16074 LIBS=$ac_check_lib_save_LIBS
16076 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16077 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16078 if test $ac_cv_lib_dl_dlopen = yes; then
16079 cat >>confdefs.h <<\_ACEOF
16080 #define HAVE_DLOPEN 1
16087 ac_wine_check_funcs_save_LIBS="$LIBS"
16088 LIBS="$LIBS $LIBDL"
16090 for ac_func in dladdr
16092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16093 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16095 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16096 echo $ECHO_N "(cached) $ECHO_C" >&6
16098 cat >conftest.$ac_ext <<_ACEOF
16101 cat confdefs.h >>conftest.$ac_ext
16102 cat >>conftest.$ac_ext <<_ACEOF
16103 /* end confdefs.h. */
16104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16106 #define $ac_func innocuous_$ac_func
16108 /* System header to define __stub macros and hopefully few prototypes,
16109 which can conflict with char $ac_func (); below.
16110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16111 <limits.h> exists even on freestanding compilers. */
16114 # include <limits.h>
16116 # include <assert.h>
16121 /* Override any GCC internal prototype to avoid an error.
16122 Use char because int might match the return type of a GCC
16123 builtin and then its argument prototype would still apply. */
16128 /* The GNU C library defines this for functions which it implements
16129 to always fail with ENOSYS. Some functions are actually named
16130 something starting with __ and the normal name is an alias. */
16131 #if defined __stub_$ac_func || defined __stub___$ac_func
16138 return $ac_func ();
16143 rm -f conftest.$ac_objext conftest$ac_exeext
16144 if { (ac_try="$ac_link"
16145 case "(($ac_try" in
16146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16147 *) ac_try_echo=$ac_try;;
16149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16150 (eval "$ac_link") 2>conftest.er1
16152 grep -v '^ *+' conftest.er1 >conftest.err
16154 cat conftest.err >&5
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156 (exit $ac_status); } && {
16157 test -z "$ac_c_werror_flag" ||
16158 test ! -s conftest.err
16159 } && test -s conftest$ac_exeext &&
16160 $as_test_x conftest$ac_exeext; then
16161 eval "$as_ac_var=yes"
16163 echo "$as_me: failed program was:" >&5
16164 sed 's/^/| /' conftest.$ac_ext >&5
16166 eval "$as_ac_var=no"
16169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16170 conftest$ac_exeext conftest.$ac_ext
16172 ac_res=`eval echo '${'$as_ac_var'}'`
16173 { echo "$as_me:$LINENO: result: $ac_res" >&5
16174 echo "${ECHO_T}$ac_res" >&6; }
16175 if test `eval echo '${'$as_ac_var'}'` = yes; then
16176 cat >>confdefs.h <<_ACEOF
16177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16183 LIBS="$ac_wine_check_funcs_save_LIBS"
16185 if test "$ac_cv_func_poll" = no
16187 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16188 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16189 if test "${ac_cv_lib_poll_poll+set}" = set; then
16190 echo $ECHO_N "(cached) $ECHO_C" >&6
16192 ac_check_lib_save_LIBS=$LIBS
16193 LIBS="-lpoll $LIBS"
16194 cat >conftest.$ac_ext <<_ACEOF
16197 cat confdefs.h >>conftest.$ac_ext
16198 cat >>conftest.$ac_ext <<_ACEOF
16199 /* end confdefs.h. */
16201 /* Override any GCC internal prototype to avoid an error.
16202 Use char because int might match the return type of a GCC
16203 builtin and then its argument prototype would still apply. */
16216 rm -f conftest.$ac_objext conftest$ac_exeext
16217 if { (ac_try="$ac_link"
16218 case "(($ac_try" in
16219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16220 *) ac_try_echo=$ac_try;;
16222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16223 (eval "$ac_link") 2>conftest.er1
16225 grep -v '^ *+' conftest.er1 >conftest.err
16227 cat conftest.err >&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); } && {
16230 test -z "$ac_c_werror_flag" ||
16231 test ! -s conftest.err
16232 } && test -s conftest$ac_exeext &&
16233 $as_test_x conftest$ac_exeext; then
16234 ac_cv_lib_poll_poll=yes
16236 echo "$as_me: failed program was:" >&5
16237 sed 's/^/| /' conftest.$ac_ext >&5
16239 ac_cv_lib_poll_poll=no
16242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16243 conftest$ac_exeext conftest.$ac_ext
16244 LIBS=$ac_check_lib_save_LIBS
16246 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16247 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16248 if test $ac_cv_lib_poll_poll = yes; then
16249 cat >>confdefs.h <<\_ACEOF
16250 #define HAVE_POLL 1
16258 if test "$ac_cv_func_gethostbyname" = no
16261 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
16262 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
16263 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
16264 echo $ECHO_N "(cached) $ECHO_C" >&6
16266 ac_check_lib_save_LIBS=$LIBS
16268 cat >conftest.$ac_ext <<_ACEOF
16271 cat confdefs.h >>conftest.$ac_ext
16272 cat >>conftest.$ac_ext <<_ACEOF
16273 /* end confdefs.h. */
16275 /* Override any GCC internal prototype to avoid an error.
16276 Use char because int might match the return type of a GCC
16277 builtin and then its argument prototype would still apply. */
16281 char gethostbyname ();
16285 return gethostbyname ();
16290 rm -f conftest.$ac_objext conftest$ac_exeext
16291 if { (ac_try="$ac_link"
16292 case "(($ac_try" in
16293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16294 *) ac_try_echo=$ac_try;;
16296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16297 (eval "$ac_link") 2>conftest.er1
16299 grep -v '^ *+' conftest.er1 >conftest.err
16301 cat conftest.err >&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); } && {
16304 test -z "$ac_c_werror_flag" ||
16305 test ! -s conftest.err
16306 } && test -s conftest$ac_exeext &&
16307 $as_test_x conftest$ac_exeext; then
16308 ac_cv_lib_nsl_gethostbyname=yes
16310 echo "$as_me: failed program was:" >&5
16311 sed 's/^/| /' conftest.$ac_ext >&5
16313 ac_cv_lib_nsl_gethostbyname=no
16316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16317 conftest$ac_exeext conftest.$ac_ext
16318 LIBS=$ac_check_lib_save_LIBS
16320 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
16321 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
16322 if test $ac_cv_lib_nsl_gethostbyname = yes; then
16323 cat >>confdefs.h <<_ACEOF
16324 #define HAVE_LIBNSL 1
16333 if test "$ac_cv_func_connect" = no
16336 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
16337 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
16338 if test "${ac_cv_lib_socket_connect+set}" = set; then
16339 echo $ECHO_N "(cached) $ECHO_C" >&6
16341 ac_check_lib_save_LIBS=$LIBS
16342 LIBS="-lsocket $LIBS"
16343 cat >conftest.$ac_ext <<_ACEOF
16346 cat confdefs.h >>conftest.$ac_ext
16347 cat >>conftest.$ac_ext <<_ACEOF
16348 /* end confdefs.h. */
16350 /* Override any GCC internal prototype to avoid an error.
16351 Use char because int might match the return type of a GCC
16352 builtin and then its argument prototype would still apply. */
16365 rm -f conftest.$ac_objext conftest$ac_exeext
16366 if { (ac_try="$ac_link"
16367 case "(($ac_try" in
16368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16369 *) ac_try_echo=$ac_try;;
16371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16372 (eval "$ac_link") 2>conftest.er1
16374 grep -v '^ *+' conftest.er1 >conftest.err
16376 cat conftest.err >&5
16377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16378 (exit $ac_status); } && {
16379 test -z "$ac_c_werror_flag" ||
16380 test ! -s conftest.err
16381 } && test -s conftest$ac_exeext &&
16382 $as_test_x conftest$ac_exeext; then
16383 ac_cv_lib_socket_connect=yes
16385 echo "$as_me: failed program was:" >&5
16386 sed 's/^/| /' conftest.$ac_ext >&5
16388 ac_cv_lib_socket_connect=no
16391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16392 conftest$ac_exeext conftest.$ac_ext
16393 LIBS=$ac_check_lib_save_LIBS
16395 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
16396 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
16397 if test $ac_cv_lib_socket_connect = yes; then
16398 cat >>confdefs.h <<_ACEOF
16399 #define HAVE_LIBSOCKET 1
16402 LIBS="-lsocket $LIBS"
16408 if test "$ac_cv_func_inet_aton" = no
16411 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
16412 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
16413 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
16414 echo $ECHO_N "(cached) $ECHO_C" >&6
16416 ac_check_lib_save_LIBS=$LIBS
16417 LIBS="-lresolv $LIBS"
16418 cat >conftest.$ac_ext <<_ACEOF
16421 cat confdefs.h >>conftest.$ac_ext
16422 cat >>conftest.$ac_ext <<_ACEOF
16423 /* end confdefs.h. */
16425 /* Override any GCC internal prototype to avoid an error.
16426 Use char because int might match the return type of a GCC
16427 builtin and then its argument prototype would still apply. */
16435 return inet_aton ();
16440 rm -f conftest.$ac_objext conftest$ac_exeext
16441 if { (ac_try="$ac_link"
16442 case "(($ac_try" in
16443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16444 *) ac_try_echo=$ac_try;;
16446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16447 (eval "$ac_link") 2>conftest.er1
16449 grep -v '^ *+' conftest.er1 >conftest.err
16451 cat conftest.err >&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); } && {
16454 test -z "$ac_c_werror_flag" ||
16455 test ! -s conftest.err
16456 } && test -s conftest$ac_exeext &&
16457 $as_test_x conftest$ac_exeext; then
16458 ac_cv_lib_resolv_inet_aton=yes
16460 echo "$as_me: failed program was:" >&5
16461 sed 's/^/| /' conftest.$ac_ext >&5
16463 ac_cv_lib_resolv_inet_aton=no
16466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16467 conftest$ac_exeext conftest.$ac_ext
16468 LIBS=$ac_check_lib_save_LIBS
16470 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
16471 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
16472 if test $ac_cv_lib_resolv_inet_aton = yes; then
16473 cat >>confdefs.h <<_ACEOF
16474 #define HAVE_LIBRESOLV 1
16477 LIBS="-lresolv $LIBS"
16484 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16485 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16486 if test "${ac_cv_c_const+set}" = set; then
16487 echo $ECHO_N "(cached) $ECHO_C" >&6
16489 cat >conftest.$ac_ext <<_ACEOF
16492 cat confdefs.h >>conftest.$ac_ext
16493 cat >>conftest.$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16499 /* FIXME: Include the comments suggested by Paul. */
16500 #ifndef __cplusplus
16501 /* Ultrix mips cc rejects this. */
16502 typedef int charset[2];
16504 /* SunOS 4.1.1 cc rejects this. */
16505 char const *const *pcpcc;
16507 /* NEC SVR4.0.2 mips cc rejects this. */
16508 struct point {int x, y;};
16509 static struct point const zero = {0,0};
16510 /* AIX XL C 1.02.0.0 rejects this.
16511 It does not let you subtract one const X* pointer from another in
16512 an arm of an if-expression whose if-part is not a constant
16514 const char *g = "string";
16515 pcpcc = &g + (g ? g-g : 0);
16516 /* HPUX 7.0 cc rejects these. */
16518 ppc = (char**) pcpcc;
16519 pcpcc = (char const *const *) ppc;
16520 { /* SCO 3.2v4 cc rejects this. */
16522 char const *s = 0 ? (char *) 0 : (char const *) 0;
16527 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16528 int x[] = {25, 17};
16529 const int *foo = &x[0];
16532 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16533 typedef const int *iptr;
16537 { /* AIX XL C 1.02.0.0 rejects this saying
16538 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16539 struct s { int j; const int *ap[3]; };
16540 struct s *b; b->j = 5;
16542 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16543 const int foo = 10;
16544 if (!foo) return 0;
16546 return !cs[0] && !zero.x;
16553 rm -f conftest.$ac_objext
16554 if { (ac_try="$ac_compile"
16555 case "(($ac_try" in
16556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16557 *) ac_try_echo=$ac_try;;
16559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16560 (eval "$ac_compile") 2>conftest.er1
16562 grep -v '^ *+' conftest.er1 >conftest.err
16564 cat conftest.err >&5
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); } && {
16567 test -z "$ac_c_werror_flag" ||
16568 test ! -s conftest.err
16569 } && test -s conftest.$ac_objext; then
16572 echo "$as_me: failed program was:" >&5
16573 sed 's/^/| /' conftest.$ac_ext >&5
16578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16580 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16581 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16582 if test $ac_cv_c_const = no; then
16584 cat >>confdefs.h <<\_ACEOF
16590 { echo "$as_me:$LINENO: checking for inline" >&5
16591 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16592 if test "${ac_cv_c_inline+set}" = set; then
16593 echo $ECHO_N "(cached) $ECHO_C" >&6
16596 for ac_kw in inline __inline__ __inline; do
16597 cat >conftest.$ac_ext <<_ACEOF
16600 cat confdefs.h >>conftest.$ac_ext
16601 cat >>conftest.$ac_ext <<_ACEOF
16602 /* end confdefs.h. */
16603 #ifndef __cplusplus
16605 static $ac_kw foo_t static_foo () {return 0; }
16606 $ac_kw foo_t foo () {return 0; }
16610 rm -f conftest.$ac_objext
16611 if { (ac_try="$ac_compile"
16612 case "(($ac_try" in
16613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16614 *) ac_try_echo=$ac_try;;
16616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16617 (eval "$ac_compile") 2>conftest.er1
16619 grep -v '^ *+' conftest.er1 >conftest.err
16621 cat conftest.err >&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } && {
16624 test -z "$ac_c_werror_flag" ||
16625 test ! -s conftest.err
16626 } && test -s conftest.$ac_objext; then
16627 ac_cv_c_inline=$ac_kw
16629 echo "$as_me: failed program was:" >&5
16630 sed 's/^/| /' conftest.$ac_ext >&5
16635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16636 test "$ac_cv_c_inline" != no && break
16640 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16641 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16644 case $ac_cv_c_inline in
16647 case $ac_cv_c_inline in
16649 *) ac_val=$ac_cv_c_inline;;
16651 cat >>confdefs.h <<_ACEOF
16652 #ifndef __cplusplus
16653 #define inline $ac_val
16659 { echo "$as_me:$LINENO: checking for mode_t" >&5
16660 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16661 if test "${ac_cv_type_mode_t+set}" = set; then
16662 echo $ECHO_N "(cached) $ECHO_C" >&6
16664 cat >conftest.$ac_ext <<_ACEOF
16667 cat confdefs.h >>conftest.$ac_ext
16668 cat >>conftest.$ac_ext <<_ACEOF
16669 /* end confdefs.h. */
16670 $ac_includes_default
16671 typedef mode_t ac__type_new_;
16675 if ((ac__type_new_ *) 0)
16677 if (sizeof (ac__type_new_))
16683 rm -f conftest.$ac_objext
16684 if { (ac_try="$ac_compile"
16685 case "(($ac_try" in
16686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16687 *) ac_try_echo=$ac_try;;
16689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16690 (eval "$ac_compile") 2>conftest.er1
16692 grep -v '^ *+' conftest.er1 >conftest.err
16694 cat conftest.err >&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); } && {
16697 test -z "$ac_c_werror_flag" ||
16698 test ! -s conftest.err
16699 } && test -s conftest.$ac_objext; then
16700 ac_cv_type_mode_t=yes
16702 echo "$as_me: failed program was:" >&5
16703 sed 's/^/| /' conftest.$ac_ext >&5
16705 ac_cv_type_mode_t=no
16708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16710 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16711 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16712 if test $ac_cv_type_mode_t = yes; then
16714 cat >>confdefs.h <<_ACEOF
16715 #define HAVE_MODE_T 1
16720 { echo "$as_me:$LINENO: checking for off_t" >&5
16721 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16722 if test "${ac_cv_type_off_t+set}" = set; then
16723 echo $ECHO_N "(cached) $ECHO_C" >&6
16725 cat >conftest.$ac_ext <<_ACEOF
16728 cat confdefs.h >>conftest.$ac_ext
16729 cat >>conftest.$ac_ext <<_ACEOF
16730 /* end confdefs.h. */
16731 $ac_includes_default
16732 typedef off_t ac__type_new_;
16736 if ((ac__type_new_ *) 0)
16738 if (sizeof (ac__type_new_))
16744 rm -f conftest.$ac_objext
16745 if { (ac_try="$ac_compile"
16746 case "(($ac_try" in
16747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16748 *) ac_try_echo=$ac_try;;
16750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16751 (eval "$ac_compile") 2>conftest.er1
16753 grep -v '^ *+' conftest.er1 >conftest.err
16755 cat conftest.err >&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); } && {
16758 test -z "$ac_c_werror_flag" ||
16759 test ! -s conftest.err
16760 } && test -s conftest.$ac_objext; then
16761 ac_cv_type_off_t=yes
16763 echo "$as_me: failed program was:" >&5
16764 sed 's/^/| /' conftest.$ac_ext >&5
16766 ac_cv_type_off_t=no
16769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16771 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16772 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16773 if test $ac_cv_type_off_t = yes; then
16775 cat >>confdefs.h <<_ACEOF
16776 #define HAVE_OFF_T 1
16781 { echo "$as_me:$LINENO: checking for pid_t" >&5
16782 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16783 if test "${ac_cv_type_pid_t+set}" = set; then
16784 echo $ECHO_N "(cached) $ECHO_C" >&6
16786 cat >conftest.$ac_ext <<_ACEOF
16789 cat confdefs.h >>conftest.$ac_ext
16790 cat >>conftest.$ac_ext <<_ACEOF
16791 /* end confdefs.h. */
16792 $ac_includes_default
16793 typedef pid_t ac__type_new_;
16797 if ((ac__type_new_ *) 0)
16799 if (sizeof (ac__type_new_))
16805 rm -f conftest.$ac_objext
16806 if { (ac_try="$ac_compile"
16807 case "(($ac_try" in
16808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16809 *) ac_try_echo=$ac_try;;
16811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16812 (eval "$ac_compile") 2>conftest.er1
16814 grep -v '^ *+' conftest.er1 >conftest.err
16816 cat conftest.err >&5
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); } && {
16819 test -z "$ac_c_werror_flag" ||
16820 test ! -s conftest.err
16821 } && test -s conftest.$ac_objext; then
16822 ac_cv_type_pid_t=yes
16824 echo "$as_me: failed program was:" >&5
16825 sed 's/^/| /' conftest.$ac_ext >&5
16827 ac_cv_type_pid_t=no
16830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16832 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16833 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16834 if test $ac_cv_type_pid_t = yes; then
16836 cat >>confdefs.h <<_ACEOF
16837 #define HAVE_PID_T 1
16842 { echo "$as_me:$LINENO: checking for size_t" >&5
16843 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16844 if test "${ac_cv_type_size_t+set}" = set; then
16845 echo $ECHO_N "(cached) $ECHO_C" >&6
16847 cat >conftest.$ac_ext <<_ACEOF
16850 cat confdefs.h >>conftest.$ac_ext
16851 cat >>conftest.$ac_ext <<_ACEOF
16852 /* end confdefs.h. */
16853 $ac_includes_default
16854 typedef size_t ac__type_new_;
16858 if ((ac__type_new_ *) 0)
16860 if (sizeof (ac__type_new_))
16866 rm -f conftest.$ac_objext
16867 if { (ac_try="$ac_compile"
16868 case "(($ac_try" in
16869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16870 *) ac_try_echo=$ac_try;;
16872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16873 (eval "$ac_compile") 2>conftest.er1
16875 grep -v '^ *+' conftest.er1 >conftest.err
16877 cat conftest.err >&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); } && {
16880 test -z "$ac_c_werror_flag" ||
16881 test ! -s conftest.err
16882 } && test -s conftest.$ac_objext; then
16883 ac_cv_type_size_t=yes
16885 echo "$as_me: failed program was:" >&5
16886 sed 's/^/| /' conftest.$ac_ext >&5
16888 ac_cv_type_size_t=no
16891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16893 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16894 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16895 if test $ac_cv_type_size_t = yes; then
16897 cat >>confdefs.h <<_ACEOF
16898 #define HAVE_SIZE_T 1
16903 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16904 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16905 if test "${ac_cv_type_ssize_t+set}" = set; then
16906 echo $ECHO_N "(cached) $ECHO_C" >&6
16908 cat >conftest.$ac_ext <<_ACEOF
16911 cat confdefs.h >>conftest.$ac_ext
16912 cat >>conftest.$ac_ext <<_ACEOF
16913 /* end confdefs.h. */
16914 $ac_includes_default
16915 typedef ssize_t ac__type_new_;
16919 if ((ac__type_new_ *) 0)
16921 if (sizeof (ac__type_new_))
16927 rm -f conftest.$ac_objext
16928 if { (ac_try="$ac_compile"
16929 case "(($ac_try" in
16930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16931 *) ac_try_echo=$ac_try;;
16933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16934 (eval "$ac_compile") 2>conftest.er1
16936 grep -v '^ *+' conftest.er1 >conftest.err
16938 cat conftest.err >&5
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); } && {
16941 test -z "$ac_c_werror_flag" ||
16942 test ! -s conftest.err
16943 } && test -s conftest.$ac_objext; then
16944 ac_cv_type_ssize_t=yes
16946 echo "$as_me: failed program was:" >&5
16947 sed 's/^/| /' conftest.$ac_ext >&5
16949 ac_cv_type_ssize_t=no
16952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16954 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16955 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16956 if test $ac_cv_type_ssize_t = yes; then
16958 cat >>confdefs.h <<_ACEOF
16959 #define HAVE_SSIZE_T 1
16964 { echo "$as_me:$LINENO: checking for long long" >&5
16965 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16966 if test "${ac_cv_type_long_long+set}" = set; then
16967 echo $ECHO_N "(cached) $ECHO_C" >&6
16969 cat >conftest.$ac_ext <<_ACEOF
16972 cat confdefs.h >>conftest.$ac_ext
16973 cat >>conftest.$ac_ext <<_ACEOF
16974 /* end confdefs.h. */
16975 $ac_includes_default
16976 typedef long long ac__type_new_;
16980 if ((ac__type_new_ *) 0)
16982 if (sizeof (ac__type_new_))
16988 rm -f conftest.$ac_objext
16989 if { (ac_try="$ac_compile"
16990 case "(($ac_try" in
16991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16992 *) ac_try_echo=$ac_try;;
16994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16995 (eval "$ac_compile") 2>conftest.er1
16997 grep -v '^ *+' conftest.er1 >conftest.err
16999 cat conftest.err >&5
17000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17001 (exit $ac_status); } && {
17002 test -z "$ac_c_werror_flag" ||
17003 test ! -s conftest.err
17004 } && test -s conftest.$ac_objext; then
17005 ac_cv_type_long_long=yes
17007 echo "$as_me: failed program was:" >&5
17008 sed 's/^/| /' conftest.$ac_ext >&5
17010 ac_cv_type_long_long=no
17013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17015 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17016 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17017 if test $ac_cv_type_long_long = yes; then
17019 cat >>confdefs.h <<_ACEOF
17020 #define HAVE_LONG_LONG 1
17025 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17026 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17027 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17028 echo $ECHO_N "(cached) $ECHO_C" >&6
17030 cat >conftest.$ac_ext <<_ACEOF
17033 cat confdefs.h >>conftest.$ac_ext
17034 cat >>conftest.$ac_ext <<_ACEOF
17035 /* end confdefs.h. */
17036 $ac_includes_default
17037 typedef fsblkcnt_t ac__type_new_;
17041 if ((ac__type_new_ *) 0)
17043 if (sizeof (ac__type_new_))
17049 rm -f conftest.$ac_objext
17050 if { (ac_try="$ac_compile"
17051 case "(($ac_try" in
17052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17053 *) ac_try_echo=$ac_try;;
17055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17056 (eval "$ac_compile") 2>conftest.er1
17058 grep -v '^ *+' conftest.er1 >conftest.err
17060 cat conftest.err >&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); } && {
17063 test -z "$ac_c_werror_flag" ||
17064 test ! -s conftest.err
17065 } && test -s conftest.$ac_objext; then
17066 ac_cv_type_fsblkcnt_t=yes
17068 echo "$as_me: failed program was:" >&5
17069 sed 's/^/| /' conftest.$ac_ext >&5
17071 ac_cv_type_fsblkcnt_t=no
17074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17076 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17077 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17078 if test $ac_cv_type_fsblkcnt_t = yes; then
17080 cat >>confdefs.h <<_ACEOF
17081 #define HAVE_FSBLKCNT_T 1
17086 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17087 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17088 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17089 echo $ECHO_N "(cached) $ECHO_C" >&6
17091 cat >conftest.$ac_ext <<_ACEOF
17094 cat confdefs.h >>conftest.$ac_ext
17095 cat >>conftest.$ac_ext <<_ACEOF
17096 /* end confdefs.h. */
17097 $ac_includes_default
17098 typedef fsfilcnt_t ac__type_new_;
17102 if ((ac__type_new_ *) 0)
17104 if (sizeof (ac__type_new_))
17110 rm -f conftest.$ac_objext
17111 if { (ac_try="$ac_compile"
17112 case "(($ac_try" in
17113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17114 *) ac_try_echo=$ac_try;;
17116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17117 (eval "$ac_compile") 2>conftest.er1
17119 grep -v '^ *+' conftest.er1 >conftest.err
17121 cat conftest.err >&5
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); } && {
17124 test -z "$ac_c_werror_flag" ||
17125 test ! -s conftest.err
17126 } && test -s conftest.$ac_objext; then
17127 ac_cv_type_fsfilcnt_t=yes
17129 echo "$as_me: failed program was:" >&5
17130 sed 's/^/| /' conftest.$ac_ext >&5
17132 ac_cv_type_fsfilcnt_t=no
17135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17137 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17138 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17139 if test $ac_cv_type_fsfilcnt_t = yes; then
17141 cat >>confdefs.h <<_ACEOF
17142 #define HAVE_FSFILCNT_T 1
17148 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17149 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17150 if test "${ac_cv_type_sigset_t+set}" = set; then
17151 echo $ECHO_N "(cached) $ECHO_C" >&6
17153 cat >conftest.$ac_ext <<_ACEOF
17156 cat confdefs.h >>conftest.$ac_ext
17157 cat >>conftest.$ac_ext <<_ACEOF
17158 /* end confdefs.h. */
17159 #include <signal.h>
17161 typedef sigset_t ac__type_new_;
17165 if ((ac__type_new_ *) 0)
17167 if (sizeof (ac__type_new_))
17173 rm -f conftest.$ac_objext
17174 if { (ac_try="$ac_compile"
17175 case "(($ac_try" in
17176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17177 *) ac_try_echo=$ac_try;;
17179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17180 (eval "$ac_compile") 2>conftest.er1
17182 grep -v '^ *+' conftest.er1 >conftest.err
17184 cat conftest.err >&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } && {
17187 test -z "$ac_c_werror_flag" ||
17188 test ! -s conftest.err
17189 } && test -s conftest.$ac_objext; then
17190 ac_cv_type_sigset_t=yes
17192 echo "$as_me: failed program was:" >&5
17193 sed 's/^/| /' conftest.$ac_ext >&5
17195 ac_cv_type_sigset_t=no
17198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17200 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17201 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17202 if test $ac_cv_type_sigset_t = yes; then
17204 cat >>confdefs.h <<_ACEOF
17205 #define HAVE_SIGSET_T 1
17211 { echo "$as_me:$LINENO: checking for request_sense" >&5
17212 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17213 if test "${ac_cv_type_request_sense+set}" = set; then
17214 echo $ECHO_N "(cached) $ECHO_C" >&6
17216 cat >conftest.$ac_ext <<_ACEOF
17219 cat confdefs.h >>conftest.$ac_ext
17220 cat >>conftest.$ac_ext <<_ACEOF
17221 /* end confdefs.h. */
17222 #include <linux/cdrom.h>
17224 typedef request_sense ac__type_new_;
17228 if ((ac__type_new_ *) 0)
17230 if (sizeof (ac__type_new_))
17236 rm -f conftest.$ac_objext
17237 if { (ac_try="$ac_compile"
17238 case "(($ac_try" in
17239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17240 *) ac_try_echo=$ac_try;;
17242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17243 (eval "$ac_compile") 2>conftest.er1
17245 grep -v '^ *+' conftest.er1 >conftest.err
17247 cat conftest.err >&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } && {
17250 test -z "$ac_c_werror_flag" ||
17251 test ! -s conftest.err
17252 } && test -s conftest.$ac_objext; then
17253 ac_cv_type_request_sense=yes
17255 echo "$as_me: failed program was:" >&5
17256 sed 's/^/| /' conftest.$ac_ext >&5
17258 ac_cv_type_request_sense=no
17261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17263 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17264 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17265 if test $ac_cv_type_request_sense = yes; then
17267 cat >>confdefs.h <<_ACEOF
17268 #define HAVE_REQUEST_SENSE 1
17275 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17276 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17277 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17278 echo $ECHO_N "(cached) $ECHO_C" >&6
17280 cat >conftest.$ac_ext <<_ACEOF
17283 cat confdefs.h >>conftest.$ac_ext
17284 cat >>conftest.$ac_ext <<_ACEOF
17285 /* end confdefs.h. */
17286 #ifdef HAVE_LINUX_INPUT_H
17287 #include <linux/input.h>
17293 static struct ff_effect ac_aggr;
17294 if (ac_aggr.direction)
17300 rm -f conftest.$ac_objext
17301 if { (ac_try="$ac_compile"
17302 case "(($ac_try" in
17303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17304 *) ac_try_echo=$ac_try;;
17306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17307 (eval "$ac_compile") 2>conftest.er1
17309 grep -v '^ *+' conftest.er1 >conftest.err
17311 cat conftest.err >&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); } && {
17314 test -z "$ac_c_werror_flag" ||
17315 test ! -s conftest.err
17316 } && test -s conftest.$ac_objext; then
17317 ac_cv_member_struct_ff_effect_direction=yes
17319 echo "$as_me: failed program was:" >&5
17320 sed 's/^/| /' conftest.$ac_ext >&5
17322 cat >conftest.$ac_ext <<_ACEOF
17325 cat confdefs.h >>conftest.$ac_ext
17326 cat >>conftest.$ac_ext <<_ACEOF
17327 /* end confdefs.h. */
17328 #ifdef HAVE_LINUX_INPUT_H
17329 #include <linux/input.h>
17335 static struct ff_effect ac_aggr;
17336 if (sizeof ac_aggr.direction)
17342 rm -f conftest.$ac_objext
17343 if { (ac_try="$ac_compile"
17344 case "(($ac_try" in
17345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17346 *) ac_try_echo=$ac_try;;
17348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17349 (eval "$ac_compile") 2>conftest.er1
17351 grep -v '^ *+' conftest.er1 >conftest.err
17353 cat conftest.err >&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); } && {
17356 test -z "$ac_c_werror_flag" ||
17357 test ! -s conftest.err
17358 } && test -s conftest.$ac_objext; then
17359 ac_cv_member_struct_ff_effect_direction=yes
17361 echo "$as_me: failed program was:" >&5
17362 sed 's/^/| /' conftest.$ac_ext >&5
17364 ac_cv_member_struct_ff_effect_direction=no
17367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17372 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17373 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17374 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17376 cat >>confdefs.h <<_ACEOF
17377 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17384 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17385 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17386 if test "${wine_cv_have_sigaddset+set}" = set; then
17387 echo $ECHO_N "(cached) $ECHO_C" >&6
17389 cat >conftest.$ac_ext <<_ACEOF
17392 cat confdefs.h >>conftest.$ac_ext
17393 cat >>conftest.$ac_ext <<_ACEOF
17394 /* end confdefs.h. */
17395 #include <signal.h>
17399 sigset_t set; sigaddset(&set,SIGTERM);
17404 rm -f conftest.$ac_objext conftest$ac_exeext
17405 if { (ac_try="$ac_link"
17406 case "(($ac_try" in
17407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17408 *) ac_try_echo=$ac_try;;
17410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17411 (eval "$ac_link") 2>conftest.er1
17413 grep -v '^ *+' conftest.er1 >conftest.err
17415 cat conftest.err >&5
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); } && {
17418 test -z "$ac_c_werror_flag" ||
17419 test ! -s conftest.err
17420 } && test -s conftest$ac_exeext &&
17421 $as_test_x conftest$ac_exeext; then
17422 wine_cv_have_sigaddset=yes
17424 echo "$as_me: failed program was:" >&5
17425 sed 's/^/| /' conftest.$ac_ext >&5
17427 wine_cv_have_sigaddset=no
17430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17431 conftest$ac_exeext conftest.$ac_ext
17433 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17434 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17435 if test "$wine_cv_have_sigaddset" = "yes"
17438 cat >>confdefs.h <<\_ACEOF
17439 #define HAVE_SIGADDSET 1
17445 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17446 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17447 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17448 echo $ECHO_N "(cached) $ECHO_C" >&6
17450 cat >conftest.$ac_ext <<_ACEOF
17453 cat confdefs.h >>conftest.$ac_ext
17454 cat >>conftest.$ac_ext <<_ACEOF
17455 /* end confdefs.h. */
17465 struct hostent *result;
17472 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17473 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17479 rm -f conftest.$ac_objext conftest$ac_exeext
17480 if { (ac_try="$ac_link"
17481 case "(($ac_try" in
17482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17483 *) ac_try_echo=$ac_try;;
17485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17486 (eval "$ac_link") 2>conftest.er1
17488 grep -v '^ *+' conftest.er1 >conftest.err
17490 cat conftest.err >&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); } && {
17493 test -z "$ac_c_werror_flag" ||
17494 test ! -s conftest.err
17495 } && test -s conftest$ac_exeext &&
17496 $as_test_x conftest$ac_exeext; then
17497 wine_cv_linux_gethostbyname_r_6=yes
17499 echo "$as_me: failed program was:" >&5
17500 sed 's/^/| /' conftest.$ac_ext >&5
17502 wine_cv_linux_gethostbyname_r_6=no
17506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17507 conftest$ac_exeext conftest.$ac_ext
17510 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17511 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17512 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17515 cat >>confdefs.h <<\_ACEOF
17516 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17521 if test "$ac_cv_header_linux_joystick_h" = "yes"
17523 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17524 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17525 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17526 echo $ECHO_N "(cached) $ECHO_C" >&6
17528 cat >conftest.$ac_ext <<_ACEOF
17531 cat confdefs.h >>conftest.$ac_ext
17532 cat >>conftest.$ac_ext <<_ACEOF
17533 /* end confdefs.h. */
17535 #include <sys/ioctl.h>
17536 #include <linux/joystick.h>
17538 struct js_event blub;
17539 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17540 #error "no 2.2 header"
17551 rm -f conftest.$ac_objext
17552 if { (ac_try="$ac_compile"
17553 case "(($ac_try" in
17554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17555 *) ac_try_echo=$ac_try;;
17557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17558 (eval "$ac_compile") 2>conftest.er1
17560 grep -v '^ *+' conftest.er1 >conftest.err
17562 cat conftest.err >&5
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); } && {
17565 test -z "$ac_c_werror_flag" ||
17566 test ! -s conftest.err
17567 } && test -s conftest.$ac_objext; then
17568 wine_cv_linux_joystick_22_api=yes
17570 echo "$as_me: failed program was:" >&5
17571 sed 's/^/| /' conftest.$ac_ext >&5
17573 wine_cv_linux_joystick_22_api=no
17576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17579 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17580 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17581 if test "$wine_cv_linux_joystick_22_api" = "yes"
17584 cat >>confdefs.h <<\_ACEOF
17585 #define HAVE_LINUX_22_JOYSTICK_API 1
17592 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17593 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17594 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17595 echo $ECHO_N "(cached) $ECHO_C" >&6
17597 cat >conftest.$ac_ext <<_ACEOF
17600 cat confdefs.h >>conftest.$ac_ext
17601 cat >>conftest.$ac_ext <<_ACEOF
17602 /* end confdefs.h. */
17603 #include <sys/types.h>
17604 #ifdef HAVE_SYS_PARAM_H
17605 # include <sys/param.h>
17607 #ifdef HAVE_SYS_MOUNT_H
17608 # include <sys/mount.h>
17610 #ifdef HAVE_SYS_VFS_H
17611 # include <sys/vfs.h>
17613 #ifdef HAVE_SYS_STATFS_H
17614 # include <sys/statfs.h>
17620 static struct statfs ac_aggr;
17621 if (ac_aggr.f_bfree)
17627 rm -f conftest.$ac_objext
17628 if { (ac_try="$ac_compile"
17629 case "(($ac_try" in
17630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17631 *) ac_try_echo=$ac_try;;
17633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17634 (eval "$ac_compile") 2>conftest.er1
17636 grep -v '^ *+' conftest.er1 >conftest.err
17638 cat conftest.err >&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } && {
17641 test -z "$ac_c_werror_flag" ||
17642 test ! -s conftest.err
17643 } && test -s conftest.$ac_objext; then
17644 ac_cv_member_struct_statfs_f_bfree=yes
17646 echo "$as_me: failed program was:" >&5
17647 sed 's/^/| /' conftest.$ac_ext >&5
17649 cat >conftest.$ac_ext <<_ACEOF
17652 cat confdefs.h >>conftest.$ac_ext
17653 cat >>conftest.$ac_ext <<_ACEOF
17654 /* end confdefs.h. */
17655 #include <sys/types.h>
17656 #ifdef HAVE_SYS_PARAM_H
17657 # include <sys/param.h>
17659 #ifdef HAVE_SYS_MOUNT_H
17660 # include <sys/mount.h>
17662 #ifdef HAVE_SYS_VFS_H
17663 # include <sys/vfs.h>
17665 #ifdef HAVE_SYS_STATFS_H
17666 # include <sys/statfs.h>
17672 static struct statfs ac_aggr;
17673 if (sizeof ac_aggr.f_bfree)
17679 rm -f conftest.$ac_objext
17680 if { (ac_try="$ac_compile"
17681 case "(($ac_try" in
17682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17683 *) ac_try_echo=$ac_try;;
17685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17686 (eval "$ac_compile") 2>conftest.er1
17688 grep -v '^ *+' conftest.er1 >conftest.err
17690 cat conftest.err >&5
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); } && {
17693 test -z "$ac_c_werror_flag" ||
17694 test ! -s conftest.err
17695 } && test -s conftest.$ac_objext; then
17696 ac_cv_member_struct_statfs_f_bfree=yes
17698 echo "$as_me: failed program was:" >&5
17699 sed 's/^/| /' conftest.$ac_ext >&5
17701 ac_cv_member_struct_statfs_f_bfree=no
17704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17709 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17710 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17711 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17713 cat >>confdefs.h <<_ACEOF
17714 #define HAVE_STRUCT_STATFS_F_BFREE 1
17719 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17720 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17721 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17722 echo $ECHO_N "(cached) $ECHO_C" >&6
17724 cat >conftest.$ac_ext <<_ACEOF
17727 cat confdefs.h >>conftest.$ac_ext
17728 cat >>conftest.$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17730 #include <sys/types.h>
17731 #ifdef HAVE_SYS_PARAM_H
17732 # include <sys/param.h>
17734 #ifdef HAVE_SYS_MOUNT_H
17735 # include <sys/mount.h>
17737 #ifdef HAVE_SYS_VFS_H
17738 # include <sys/vfs.h>
17740 #ifdef HAVE_SYS_STATFS_H
17741 # include <sys/statfs.h>
17747 static struct statfs ac_aggr;
17748 if (ac_aggr.f_bavail)
17754 rm -f conftest.$ac_objext
17755 if { (ac_try="$ac_compile"
17756 case "(($ac_try" in
17757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17758 *) ac_try_echo=$ac_try;;
17760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17761 (eval "$ac_compile") 2>conftest.er1
17763 grep -v '^ *+' conftest.er1 >conftest.err
17765 cat conftest.err >&5
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); } && {
17768 test -z "$ac_c_werror_flag" ||
17769 test ! -s conftest.err
17770 } && test -s conftest.$ac_objext; then
17771 ac_cv_member_struct_statfs_f_bavail=yes
17773 echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.$ac_ext >&5
17776 cat >conftest.$ac_ext <<_ACEOF
17779 cat confdefs.h >>conftest.$ac_ext
17780 cat >>conftest.$ac_ext <<_ACEOF
17781 /* end confdefs.h. */
17782 #include <sys/types.h>
17783 #ifdef HAVE_SYS_PARAM_H
17784 # include <sys/param.h>
17786 #ifdef HAVE_SYS_MOUNT_H
17787 # include <sys/mount.h>
17789 #ifdef HAVE_SYS_VFS_H
17790 # include <sys/vfs.h>
17792 #ifdef HAVE_SYS_STATFS_H
17793 # include <sys/statfs.h>
17799 static struct statfs ac_aggr;
17800 if (sizeof ac_aggr.f_bavail)
17806 rm -f conftest.$ac_objext
17807 if { (ac_try="$ac_compile"
17808 case "(($ac_try" in
17809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17810 *) ac_try_echo=$ac_try;;
17812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17813 (eval "$ac_compile") 2>conftest.er1
17815 grep -v '^ *+' conftest.er1 >conftest.err
17817 cat conftest.err >&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); } && {
17820 test -z "$ac_c_werror_flag" ||
17821 test ! -s conftest.err
17822 } && test -s conftest.$ac_objext; then
17823 ac_cv_member_struct_statfs_f_bavail=yes
17825 echo "$as_me: failed program was:" >&5
17826 sed 's/^/| /' conftest.$ac_ext >&5
17828 ac_cv_member_struct_statfs_f_bavail=no
17831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17836 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17837 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17838 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17840 cat >>confdefs.h <<_ACEOF
17841 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17846 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17847 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17848 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17849 echo $ECHO_N "(cached) $ECHO_C" >&6
17851 cat >conftest.$ac_ext <<_ACEOF
17854 cat confdefs.h >>conftest.$ac_ext
17855 cat >>conftest.$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17857 #include <sys/types.h>
17858 #ifdef HAVE_SYS_PARAM_H
17859 # include <sys/param.h>
17861 #ifdef HAVE_SYS_MOUNT_H
17862 # include <sys/mount.h>
17864 #ifdef HAVE_SYS_VFS_H
17865 # include <sys/vfs.h>
17867 #ifdef HAVE_SYS_STATFS_H
17868 # include <sys/statfs.h>
17874 static struct statfs ac_aggr;
17875 if (ac_aggr.f_frsize)
17881 rm -f conftest.$ac_objext
17882 if { (ac_try="$ac_compile"
17883 case "(($ac_try" in
17884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17885 *) ac_try_echo=$ac_try;;
17887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17888 (eval "$ac_compile") 2>conftest.er1
17890 grep -v '^ *+' conftest.er1 >conftest.err
17892 cat conftest.err >&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); } && {
17895 test -z "$ac_c_werror_flag" ||
17896 test ! -s conftest.err
17897 } && test -s conftest.$ac_objext; then
17898 ac_cv_member_struct_statfs_f_frsize=yes
17900 echo "$as_me: failed program was:" >&5
17901 sed 's/^/| /' conftest.$ac_ext >&5
17903 cat >conftest.$ac_ext <<_ACEOF
17906 cat confdefs.h >>conftest.$ac_ext
17907 cat >>conftest.$ac_ext <<_ACEOF
17908 /* end confdefs.h. */
17909 #include <sys/types.h>
17910 #ifdef HAVE_SYS_PARAM_H
17911 # include <sys/param.h>
17913 #ifdef HAVE_SYS_MOUNT_H
17914 # include <sys/mount.h>
17916 #ifdef HAVE_SYS_VFS_H
17917 # include <sys/vfs.h>
17919 #ifdef HAVE_SYS_STATFS_H
17920 # include <sys/statfs.h>
17926 static struct statfs ac_aggr;
17927 if (sizeof ac_aggr.f_frsize)
17933 rm -f conftest.$ac_objext
17934 if { (ac_try="$ac_compile"
17935 case "(($ac_try" in
17936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17937 *) ac_try_echo=$ac_try;;
17939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17940 (eval "$ac_compile") 2>conftest.er1
17942 grep -v '^ *+' conftest.er1 >conftest.err
17944 cat conftest.err >&5
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); } && {
17947 test -z "$ac_c_werror_flag" ||
17948 test ! -s conftest.err
17949 } && test -s conftest.$ac_objext; then
17950 ac_cv_member_struct_statfs_f_frsize=yes
17952 echo "$as_me: failed program was:" >&5
17953 sed 's/^/| /' conftest.$ac_ext >&5
17955 ac_cv_member_struct_statfs_f_frsize=no
17958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17963 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17964 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17965 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17967 cat >>confdefs.h <<_ACEOF
17968 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17973 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17974 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17975 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17976 echo $ECHO_N "(cached) $ECHO_C" >&6
17978 cat >conftest.$ac_ext <<_ACEOF
17981 cat confdefs.h >>conftest.$ac_ext
17982 cat >>conftest.$ac_ext <<_ACEOF
17983 /* end confdefs.h. */
17984 #include <sys/types.h>
17985 #ifdef HAVE_SYS_PARAM_H
17986 # include <sys/param.h>
17988 #ifdef HAVE_SYS_MOUNT_H
17989 # include <sys/mount.h>
17991 #ifdef HAVE_SYS_VFS_H
17992 # include <sys/vfs.h>
17994 #ifdef HAVE_SYS_STATFS_H
17995 # include <sys/statfs.h>
18001 static struct statfs ac_aggr;
18002 if (ac_aggr.f_ffree)
18008 rm -f conftest.$ac_objext
18009 if { (ac_try="$ac_compile"
18010 case "(($ac_try" in
18011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18012 *) ac_try_echo=$ac_try;;
18014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18015 (eval "$ac_compile") 2>conftest.er1
18017 grep -v '^ *+' conftest.er1 >conftest.err
18019 cat conftest.err >&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); } && {
18022 test -z "$ac_c_werror_flag" ||
18023 test ! -s conftest.err
18024 } && test -s conftest.$ac_objext; then
18025 ac_cv_member_struct_statfs_f_ffree=yes
18027 echo "$as_me: failed program was:" >&5
18028 sed 's/^/| /' conftest.$ac_ext >&5
18030 cat >conftest.$ac_ext <<_ACEOF
18033 cat confdefs.h >>conftest.$ac_ext
18034 cat >>conftest.$ac_ext <<_ACEOF
18035 /* end confdefs.h. */
18036 #include <sys/types.h>
18037 #ifdef HAVE_SYS_PARAM_H
18038 # include <sys/param.h>
18040 #ifdef HAVE_SYS_MOUNT_H
18041 # include <sys/mount.h>
18043 #ifdef HAVE_SYS_VFS_H
18044 # include <sys/vfs.h>
18046 #ifdef HAVE_SYS_STATFS_H
18047 # include <sys/statfs.h>
18053 static struct statfs ac_aggr;
18054 if (sizeof ac_aggr.f_ffree)
18060 rm -f conftest.$ac_objext
18061 if { (ac_try="$ac_compile"
18062 case "(($ac_try" in
18063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18064 *) ac_try_echo=$ac_try;;
18066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18067 (eval "$ac_compile") 2>conftest.er1
18069 grep -v '^ *+' conftest.er1 >conftest.err
18071 cat conftest.err >&5
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); } && {
18074 test -z "$ac_c_werror_flag" ||
18075 test ! -s conftest.err
18076 } && test -s conftest.$ac_objext; then
18077 ac_cv_member_struct_statfs_f_ffree=yes
18079 echo "$as_me: failed program was:" >&5
18080 sed 's/^/| /' conftest.$ac_ext >&5
18082 ac_cv_member_struct_statfs_f_ffree=no
18085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18090 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18091 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18092 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18094 cat >>confdefs.h <<_ACEOF
18095 #define HAVE_STRUCT_STATFS_F_FFREE 1
18100 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18101 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18102 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18103 echo $ECHO_N "(cached) $ECHO_C" >&6
18105 cat >conftest.$ac_ext <<_ACEOF
18108 cat confdefs.h >>conftest.$ac_ext
18109 cat >>conftest.$ac_ext <<_ACEOF
18110 /* end confdefs.h. */
18111 #include <sys/types.h>
18112 #ifdef HAVE_SYS_PARAM_H
18113 # include <sys/param.h>
18115 #ifdef HAVE_SYS_MOUNT_H
18116 # include <sys/mount.h>
18118 #ifdef HAVE_SYS_VFS_H
18119 # include <sys/vfs.h>
18121 #ifdef HAVE_SYS_STATFS_H
18122 # include <sys/statfs.h>
18128 static struct statfs ac_aggr;
18129 if (ac_aggr.f_favail)
18135 rm -f conftest.$ac_objext
18136 if { (ac_try="$ac_compile"
18137 case "(($ac_try" in
18138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18139 *) ac_try_echo=$ac_try;;
18141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18142 (eval "$ac_compile") 2>conftest.er1
18144 grep -v '^ *+' conftest.er1 >conftest.err
18146 cat conftest.err >&5
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); } && {
18149 test -z "$ac_c_werror_flag" ||
18150 test ! -s conftest.err
18151 } && test -s conftest.$ac_objext; then
18152 ac_cv_member_struct_statfs_f_favail=yes
18154 echo "$as_me: failed program was:" >&5
18155 sed 's/^/| /' conftest.$ac_ext >&5
18157 cat >conftest.$ac_ext <<_ACEOF
18160 cat confdefs.h >>conftest.$ac_ext
18161 cat >>conftest.$ac_ext <<_ACEOF
18162 /* end confdefs.h. */
18163 #include <sys/types.h>
18164 #ifdef HAVE_SYS_PARAM_H
18165 # include <sys/param.h>
18167 #ifdef HAVE_SYS_MOUNT_H
18168 # include <sys/mount.h>
18170 #ifdef HAVE_SYS_VFS_H
18171 # include <sys/vfs.h>
18173 #ifdef HAVE_SYS_STATFS_H
18174 # include <sys/statfs.h>
18180 static struct statfs ac_aggr;
18181 if (sizeof ac_aggr.f_favail)
18187 rm -f conftest.$ac_objext
18188 if { (ac_try="$ac_compile"
18189 case "(($ac_try" in
18190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18191 *) ac_try_echo=$ac_try;;
18193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18194 (eval "$ac_compile") 2>conftest.er1
18196 grep -v '^ *+' conftest.er1 >conftest.err
18198 cat conftest.err >&5
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); } && {
18201 test -z "$ac_c_werror_flag" ||
18202 test ! -s conftest.err
18203 } && test -s conftest.$ac_objext; then
18204 ac_cv_member_struct_statfs_f_favail=yes
18206 echo "$as_me: failed program was:" >&5
18207 sed 's/^/| /' conftest.$ac_ext >&5
18209 ac_cv_member_struct_statfs_f_favail=no
18212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18217 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18218 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18219 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18221 cat >>confdefs.h <<_ACEOF
18222 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18227 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18228 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18229 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18230 echo $ECHO_N "(cached) $ECHO_C" >&6
18232 cat >conftest.$ac_ext <<_ACEOF
18235 cat confdefs.h >>conftest.$ac_ext
18236 cat >>conftest.$ac_ext <<_ACEOF
18237 /* end confdefs.h. */
18238 #include <sys/types.h>
18239 #ifdef HAVE_SYS_PARAM_H
18240 # include <sys/param.h>
18242 #ifdef HAVE_SYS_MOUNT_H
18243 # include <sys/mount.h>
18245 #ifdef HAVE_SYS_VFS_H
18246 # include <sys/vfs.h>
18248 #ifdef HAVE_SYS_STATFS_H
18249 # include <sys/statfs.h>
18255 static struct statfs ac_aggr;
18256 if (ac_aggr.f_namelen)
18262 rm -f conftest.$ac_objext
18263 if { (ac_try="$ac_compile"
18264 case "(($ac_try" in
18265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18266 *) ac_try_echo=$ac_try;;
18268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18269 (eval "$ac_compile") 2>conftest.er1
18271 grep -v '^ *+' conftest.er1 >conftest.err
18273 cat conftest.err >&5
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); } && {
18276 test -z "$ac_c_werror_flag" ||
18277 test ! -s conftest.err
18278 } && test -s conftest.$ac_objext; then
18279 ac_cv_member_struct_statfs_f_namelen=yes
18281 echo "$as_me: failed program was:" >&5
18282 sed 's/^/| /' conftest.$ac_ext >&5
18284 cat >conftest.$ac_ext <<_ACEOF
18287 cat confdefs.h >>conftest.$ac_ext
18288 cat >>conftest.$ac_ext <<_ACEOF
18289 /* end confdefs.h. */
18290 #include <sys/types.h>
18291 #ifdef HAVE_SYS_PARAM_H
18292 # include <sys/param.h>
18294 #ifdef HAVE_SYS_MOUNT_H
18295 # include <sys/mount.h>
18297 #ifdef HAVE_SYS_VFS_H
18298 # include <sys/vfs.h>
18300 #ifdef HAVE_SYS_STATFS_H
18301 # include <sys/statfs.h>
18307 static struct statfs ac_aggr;
18308 if (sizeof ac_aggr.f_namelen)
18314 rm -f conftest.$ac_objext
18315 if { (ac_try="$ac_compile"
18316 case "(($ac_try" in
18317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18318 *) ac_try_echo=$ac_try;;
18320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18321 (eval "$ac_compile") 2>conftest.er1
18323 grep -v '^ *+' conftest.er1 >conftest.err
18325 cat conftest.err >&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); } && {
18328 test -z "$ac_c_werror_flag" ||
18329 test ! -s conftest.err
18330 } && test -s conftest.$ac_objext; then
18331 ac_cv_member_struct_statfs_f_namelen=yes
18333 echo "$as_me: failed program was:" >&5
18334 sed 's/^/| /' conftest.$ac_ext >&5
18336 ac_cv_member_struct_statfs_f_namelen=no
18339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18344 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18345 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18346 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18348 cat >>confdefs.h <<_ACEOF
18349 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18356 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18357 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18358 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18359 echo $ECHO_N "(cached) $ECHO_C" >&6
18361 cat >conftest.$ac_ext <<_ACEOF
18364 cat confdefs.h >>conftest.$ac_ext
18365 cat >>conftest.$ac_ext <<_ACEOF
18366 /* end confdefs.h. */
18367 #ifdef HAVE_SYS_STATVFS_H
18368 #include <sys/statvfs.h>
18374 static struct statvfs ac_aggr;
18375 if (ac_aggr.f_blocks)
18381 rm -f conftest.$ac_objext
18382 if { (ac_try="$ac_compile"
18383 case "(($ac_try" in
18384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18385 *) ac_try_echo=$ac_try;;
18387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18388 (eval "$ac_compile") 2>conftest.er1
18390 grep -v '^ *+' conftest.er1 >conftest.err
18392 cat conftest.err >&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); } && {
18395 test -z "$ac_c_werror_flag" ||
18396 test ! -s conftest.err
18397 } && test -s conftest.$ac_objext; then
18398 ac_cv_member_struct_statvfs_f_blocks=yes
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.$ac_ext >&5
18403 cat >conftest.$ac_ext <<_ACEOF
18406 cat confdefs.h >>conftest.$ac_ext
18407 cat >>conftest.$ac_ext <<_ACEOF
18408 /* end confdefs.h. */
18409 #ifdef HAVE_SYS_STATVFS_H
18410 #include <sys/statvfs.h>
18416 static struct statvfs ac_aggr;
18417 if (sizeof ac_aggr.f_blocks)
18423 rm -f conftest.$ac_objext
18424 if { (ac_try="$ac_compile"
18425 case "(($ac_try" in
18426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18427 *) ac_try_echo=$ac_try;;
18429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18430 (eval "$ac_compile") 2>conftest.er1
18432 grep -v '^ *+' conftest.er1 >conftest.err
18434 cat conftest.err >&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); } && {
18437 test -z "$ac_c_werror_flag" ||
18438 test ! -s conftest.err
18439 } && test -s conftest.$ac_objext; then
18440 ac_cv_member_struct_statvfs_f_blocks=yes
18442 echo "$as_me: failed program was:" >&5
18443 sed 's/^/| /' conftest.$ac_ext >&5
18445 ac_cv_member_struct_statvfs_f_blocks=no
18448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18453 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18454 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18455 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18457 cat >>confdefs.h <<_ACEOF
18458 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18465 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18466 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18467 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18468 echo $ECHO_N "(cached) $ECHO_C" >&6
18470 cat >conftest.$ac_ext <<_ACEOF
18473 cat confdefs.h >>conftest.$ac_ext
18474 cat >>conftest.$ac_ext <<_ACEOF
18475 /* end confdefs.h. */
18476 #include <sys/types.h>
18477 #ifdef HAVE_SYS_SOCKET_H
18478 # include <sys/socket.h>
18480 #ifdef HAVE_SYS_UN_H
18481 # include <sys/un.h>
18487 static struct msghdr ac_aggr;
18488 if (ac_aggr.msg_accrights)
18494 rm -f conftest.$ac_objext
18495 if { (ac_try="$ac_compile"
18496 case "(($ac_try" in
18497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18498 *) ac_try_echo=$ac_try;;
18500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18501 (eval "$ac_compile") 2>conftest.er1
18503 grep -v '^ *+' conftest.er1 >conftest.err
18505 cat conftest.err >&5
18506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18507 (exit $ac_status); } && {
18508 test -z "$ac_c_werror_flag" ||
18509 test ! -s conftest.err
18510 } && test -s conftest.$ac_objext; then
18511 ac_cv_member_struct_msghdr_msg_accrights=yes
18513 echo "$as_me: failed program was:" >&5
18514 sed 's/^/| /' conftest.$ac_ext >&5
18516 cat >conftest.$ac_ext <<_ACEOF
18519 cat confdefs.h >>conftest.$ac_ext
18520 cat >>conftest.$ac_ext <<_ACEOF
18521 /* end confdefs.h. */
18522 #include <sys/types.h>
18523 #ifdef HAVE_SYS_SOCKET_H
18524 # include <sys/socket.h>
18526 #ifdef HAVE_SYS_UN_H
18527 # include <sys/un.h>
18533 static struct msghdr ac_aggr;
18534 if (sizeof ac_aggr.msg_accrights)
18540 rm -f conftest.$ac_objext
18541 if { (ac_try="$ac_compile"
18542 case "(($ac_try" in
18543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18544 *) ac_try_echo=$ac_try;;
18546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18547 (eval "$ac_compile") 2>conftest.er1
18549 grep -v '^ *+' conftest.er1 >conftest.err
18551 cat conftest.err >&5
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); } && {
18554 test -z "$ac_c_werror_flag" ||
18555 test ! -s conftest.err
18556 } && test -s conftest.$ac_objext; then
18557 ac_cv_member_struct_msghdr_msg_accrights=yes
18559 echo "$as_me: failed program was:" >&5
18560 sed 's/^/| /' conftest.$ac_ext >&5
18562 ac_cv_member_struct_msghdr_msg_accrights=no
18565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18570 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18571 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18572 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18574 cat >>confdefs.h <<_ACEOF
18575 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18580 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18581 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18582 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18583 echo $ECHO_N "(cached) $ECHO_C" >&6
18585 cat >conftest.$ac_ext <<_ACEOF
18588 cat confdefs.h >>conftest.$ac_ext
18589 cat >>conftest.$ac_ext <<_ACEOF
18590 /* end confdefs.h. */
18591 #include <sys/types.h>
18592 #ifdef HAVE_SYS_SOCKET_H
18593 # include <sys/socket.h>
18595 #ifdef HAVE_SYS_UN_H
18596 # include <sys/un.h>
18602 static struct sockaddr ac_aggr;
18603 if (ac_aggr.sa_len)
18609 rm -f conftest.$ac_objext
18610 if { (ac_try="$ac_compile"
18611 case "(($ac_try" in
18612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18613 *) ac_try_echo=$ac_try;;
18615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18616 (eval "$ac_compile") 2>conftest.er1
18618 grep -v '^ *+' conftest.er1 >conftest.err
18620 cat conftest.err >&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); } && {
18623 test -z "$ac_c_werror_flag" ||
18624 test ! -s conftest.err
18625 } && test -s conftest.$ac_objext; then
18626 ac_cv_member_struct_sockaddr_sa_len=yes
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.$ac_ext >&5
18631 cat >conftest.$ac_ext <<_ACEOF
18634 cat confdefs.h >>conftest.$ac_ext
18635 cat >>conftest.$ac_ext <<_ACEOF
18636 /* end confdefs.h. */
18637 #include <sys/types.h>
18638 #ifdef HAVE_SYS_SOCKET_H
18639 # include <sys/socket.h>
18641 #ifdef HAVE_SYS_UN_H
18642 # include <sys/un.h>
18648 static struct sockaddr ac_aggr;
18649 if (sizeof ac_aggr.sa_len)
18655 rm -f conftest.$ac_objext
18656 if { (ac_try="$ac_compile"
18657 case "(($ac_try" in
18658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18659 *) ac_try_echo=$ac_try;;
18661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18662 (eval "$ac_compile") 2>conftest.er1
18664 grep -v '^ *+' conftest.er1 >conftest.err
18666 cat conftest.err >&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); } && {
18669 test -z "$ac_c_werror_flag" ||
18670 test ! -s conftest.err
18671 } && test -s conftest.$ac_objext; then
18672 ac_cv_member_struct_sockaddr_sa_len=yes
18674 echo "$as_me: failed program was:" >&5
18675 sed 's/^/| /' conftest.$ac_ext >&5
18677 ac_cv_member_struct_sockaddr_sa_len=no
18680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18685 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18686 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18687 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18689 cat >>confdefs.h <<_ACEOF
18690 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18695 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18696 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18697 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18698 echo $ECHO_N "(cached) $ECHO_C" >&6
18700 cat >conftest.$ac_ext <<_ACEOF
18703 cat confdefs.h >>conftest.$ac_ext
18704 cat >>conftest.$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18706 #include <sys/types.h>
18707 #ifdef HAVE_SYS_SOCKET_H
18708 # include <sys/socket.h>
18710 #ifdef HAVE_SYS_UN_H
18711 # include <sys/un.h>
18717 static struct sockaddr_un ac_aggr;
18718 if (ac_aggr.sun_len)
18724 rm -f conftest.$ac_objext
18725 if { (ac_try="$ac_compile"
18726 case "(($ac_try" in
18727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_compile") 2>conftest.er1
18733 grep -v '^ *+' conftest.er1 >conftest.err
18735 cat conftest.err >&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); } && {
18738 test -z "$ac_c_werror_flag" ||
18739 test ! -s conftest.err
18740 } && test -s conftest.$ac_objext; then
18741 ac_cv_member_struct_sockaddr_un_sun_len=yes
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.$ac_ext >&5
18746 cat >conftest.$ac_ext <<_ACEOF
18749 cat confdefs.h >>conftest.$ac_ext
18750 cat >>conftest.$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18752 #include <sys/types.h>
18753 #ifdef HAVE_SYS_SOCKET_H
18754 # include <sys/socket.h>
18756 #ifdef HAVE_SYS_UN_H
18757 # include <sys/un.h>
18763 static struct sockaddr_un ac_aggr;
18764 if (sizeof ac_aggr.sun_len)
18770 rm -f conftest.$ac_objext
18771 if { (ac_try="$ac_compile"
18772 case "(($ac_try" in
18773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18774 *) ac_try_echo=$ac_try;;
18776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18777 (eval "$ac_compile") 2>conftest.er1
18779 grep -v '^ *+' conftest.er1 >conftest.err
18781 cat conftest.err >&5
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); } && {
18784 test -z "$ac_c_werror_flag" ||
18785 test ! -s conftest.err
18786 } && test -s conftest.$ac_objext; then
18787 ac_cv_member_struct_sockaddr_un_sun_len=yes
18789 echo "$as_me: failed program was:" >&5
18790 sed 's/^/| /' conftest.$ac_ext >&5
18792 ac_cv_member_struct_sockaddr_un_sun_len=no
18795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18800 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18801 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18802 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18804 cat >>confdefs.h <<_ACEOF
18805 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18812 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18813 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18814 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18815 echo $ECHO_N "(cached) $ECHO_C" >&6
18817 cat >conftest.$ac_ext <<_ACEOF
18820 cat confdefs.h >>conftest.$ac_ext
18821 cat >>conftest.$ac_ext <<_ACEOF
18822 /* end confdefs.h. */
18823 #include <sys/types.h>
18824 #ifdef HAVE_SCSI_SG_H
18825 #include <scsi/sg.h>
18831 static scsireq_t ac_aggr;
18838 rm -f conftest.$ac_objext
18839 if { (ac_try="$ac_compile"
18840 case "(($ac_try" in
18841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18842 *) ac_try_echo=$ac_try;;
18844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18845 (eval "$ac_compile") 2>conftest.er1
18847 grep -v '^ *+' conftest.er1 >conftest.err
18849 cat conftest.err >&5
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); } && {
18852 test -z "$ac_c_werror_flag" ||
18853 test ! -s conftest.err
18854 } && test -s conftest.$ac_objext; then
18855 ac_cv_member_scsireq_t_cmd=yes
18857 echo "$as_me: failed program was:" >&5
18858 sed 's/^/| /' conftest.$ac_ext >&5
18860 cat >conftest.$ac_ext <<_ACEOF
18863 cat confdefs.h >>conftest.$ac_ext
18864 cat >>conftest.$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 #include <sys/types.h>
18867 #ifdef HAVE_SCSI_SG_H
18868 #include <scsi/sg.h>
18874 static scsireq_t ac_aggr;
18875 if (sizeof ac_aggr.cmd)
18881 rm -f conftest.$ac_objext
18882 if { (ac_try="$ac_compile"
18883 case "(($ac_try" in
18884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18885 *) ac_try_echo=$ac_try;;
18887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18888 (eval "$ac_compile") 2>conftest.er1
18890 grep -v '^ *+' conftest.er1 >conftest.err
18892 cat conftest.err >&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); } && {
18895 test -z "$ac_c_werror_flag" ||
18896 test ! -s conftest.err
18897 } && test -s conftest.$ac_objext; then
18898 ac_cv_member_scsireq_t_cmd=yes
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.$ac_ext >&5
18903 ac_cv_member_scsireq_t_cmd=no
18906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18911 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18912 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18913 if test $ac_cv_member_scsireq_t_cmd = yes; then
18915 cat >>confdefs.h <<_ACEOF
18916 #define HAVE_SCSIREQ_T_CMD 1
18921 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18922 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18923 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18926 cat >conftest.$ac_ext <<_ACEOF
18929 cat confdefs.h >>conftest.$ac_ext
18930 cat >>conftest.$ac_ext <<_ACEOF
18931 /* end confdefs.h. */
18932 #include <sys/types.h>
18933 #ifdef HAVE_SCSI_SG_H
18934 #include <scsi/sg.h>
18940 static sg_io_hdr_t ac_aggr;
18941 if (ac_aggr.interface_id)
18947 rm -f conftest.$ac_objext
18948 if { (ac_try="$ac_compile"
18949 case "(($ac_try" in
18950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18951 *) ac_try_echo=$ac_try;;
18953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18954 (eval "$ac_compile") 2>conftest.er1
18956 grep -v '^ *+' conftest.er1 >conftest.err
18958 cat conftest.err >&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); } && {
18961 test -z "$ac_c_werror_flag" ||
18962 test ! -s conftest.err
18963 } && test -s conftest.$ac_objext; then
18964 ac_cv_member_sg_io_hdr_t_interface_id=yes
18966 echo "$as_me: failed program was:" >&5
18967 sed 's/^/| /' conftest.$ac_ext >&5
18969 cat >conftest.$ac_ext <<_ACEOF
18972 cat confdefs.h >>conftest.$ac_ext
18973 cat >>conftest.$ac_ext <<_ACEOF
18974 /* end confdefs.h. */
18975 #include <sys/types.h>
18976 #ifdef HAVE_SCSI_SG_H
18977 #include <scsi/sg.h>
18983 static sg_io_hdr_t ac_aggr;
18984 if (sizeof ac_aggr.interface_id)
18990 rm -f conftest.$ac_objext
18991 if { (ac_try="$ac_compile"
18992 case "(($ac_try" in
18993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18994 *) ac_try_echo=$ac_try;;
18996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18997 (eval "$ac_compile") 2>conftest.er1
18999 grep -v '^ *+' conftest.er1 >conftest.err
19001 cat conftest.err >&5
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); } && {
19004 test -z "$ac_c_werror_flag" ||
19005 test ! -s conftest.err
19006 } && test -s conftest.$ac_objext; then
19007 ac_cv_member_sg_io_hdr_t_interface_id=yes
19009 echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.$ac_ext >&5
19012 ac_cv_member_sg_io_hdr_t_interface_id=no
19015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19020 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19021 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19022 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19024 cat >>confdefs.h <<_ACEOF
19025 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19032 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19033 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19034 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19035 echo $ECHO_N "(cached) $ECHO_C" >&6
19037 cat >conftest.$ac_ext <<_ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043 #include <signal.h>
19048 static siginfo_t ac_aggr;
19055 rm -f conftest.$ac_objext
19056 if { (ac_try="$ac_compile"
19057 case "(($ac_try" in
19058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19059 *) ac_try_echo=$ac_try;;
19061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_compile") 2>conftest.er1
19064 grep -v '^ *+' conftest.er1 >conftest.err
19066 cat conftest.err >&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } && {
19069 test -z "$ac_c_werror_flag" ||
19070 test ! -s conftest.err
19071 } && test -s conftest.$ac_objext; then
19072 ac_cv_member_siginfo_t_si_fd=yes
19074 echo "$as_me: failed program was:" >&5
19075 sed 's/^/| /' conftest.$ac_ext >&5
19077 cat >conftest.$ac_ext <<_ACEOF
19080 cat confdefs.h >>conftest.$ac_ext
19081 cat >>conftest.$ac_ext <<_ACEOF
19082 /* end confdefs.h. */
19083 #include <signal.h>
19088 static siginfo_t ac_aggr;
19089 if (sizeof ac_aggr.si_fd)
19095 rm -f conftest.$ac_objext
19096 if { (ac_try="$ac_compile"
19097 case "(($ac_try" in
19098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19099 *) ac_try_echo=$ac_try;;
19101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19102 (eval "$ac_compile") 2>conftest.er1
19104 grep -v '^ *+' conftest.er1 >conftest.err
19106 cat conftest.err >&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); } && {
19109 test -z "$ac_c_werror_flag" ||
19110 test ! -s conftest.err
19111 } && test -s conftest.$ac_objext; then
19112 ac_cv_member_siginfo_t_si_fd=yes
19114 echo "$as_me: failed program was:" >&5
19115 sed 's/^/| /' conftest.$ac_ext >&5
19117 ac_cv_member_siginfo_t_si_fd=no
19120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19125 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19126 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19127 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19129 cat >>confdefs.h <<_ACEOF
19130 #define HAVE_SIGINFO_T_SI_FD 1
19137 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19138 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19139 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19140 echo $ECHO_N "(cached) $ECHO_C" >&6
19142 cat >conftest.$ac_ext <<_ACEOF
19145 cat confdefs.h >>conftest.$ac_ext
19146 cat >>conftest.$ac_ext <<_ACEOF
19147 /* end confdefs.h. */
19148 #include <sys/types.h>
19149 #ifdef HAVE_SYS_MTIO_H
19150 #include <sys/mtio.h>
19156 static struct mtget ac_aggr;
19157 if (ac_aggr.mt_blksiz)
19163 rm -f conftest.$ac_objext
19164 if { (ac_try="$ac_compile"
19165 case "(($ac_try" in
19166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19167 *) ac_try_echo=$ac_try;;
19169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19170 (eval "$ac_compile") 2>conftest.er1
19172 grep -v '^ *+' conftest.er1 >conftest.err
19174 cat conftest.err >&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); } && {
19177 test -z "$ac_c_werror_flag" ||
19178 test ! -s conftest.err
19179 } && test -s conftest.$ac_objext; then
19180 ac_cv_member_struct_mtget_mt_blksiz=yes
19182 echo "$as_me: failed program was:" >&5
19183 sed 's/^/| /' conftest.$ac_ext >&5
19185 cat >conftest.$ac_ext <<_ACEOF
19188 cat confdefs.h >>conftest.$ac_ext
19189 cat >>conftest.$ac_ext <<_ACEOF
19190 /* end confdefs.h. */
19191 #include <sys/types.h>
19192 #ifdef HAVE_SYS_MTIO_H
19193 #include <sys/mtio.h>
19199 static struct mtget ac_aggr;
19200 if (sizeof ac_aggr.mt_blksiz)
19206 rm -f conftest.$ac_objext
19207 if { (ac_try="$ac_compile"
19208 case "(($ac_try" in
19209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19210 *) ac_try_echo=$ac_try;;
19212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19213 (eval "$ac_compile") 2>conftest.er1
19215 grep -v '^ *+' conftest.er1 >conftest.err
19217 cat conftest.err >&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); } && {
19220 test -z "$ac_c_werror_flag" ||
19221 test ! -s conftest.err
19222 } && test -s conftest.$ac_objext; then
19223 ac_cv_member_struct_mtget_mt_blksiz=yes
19225 echo "$as_me: failed program was:" >&5
19226 sed 's/^/| /' conftest.$ac_ext >&5
19228 ac_cv_member_struct_mtget_mt_blksiz=no
19231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19236 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19237 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19238 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19240 cat >>confdefs.h <<_ACEOF
19241 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19246 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19247 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19248 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19249 echo $ECHO_N "(cached) $ECHO_C" >&6
19251 cat >conftest.$ac_ext <<_ACEOF
19254 cat confdefs.h >>conftest.$ac_ext
19255 cat >>conftest.$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19257 #include <sys/types.h>
19258 #ifdef HAVE_SYS_MTIO_H
19259 #include <sys/mtio.h>
19265 static struct mtget ac_aggr;
19266 if (ac_aggr.mt_gstat)
19272 rm -f conftest.$ac_objext
19273 if { (ac_try="$ac_compile"
19274 case "(($ac_try" in
19275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19276 *) ac_try_echo=$ac_try;;
19278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19279 (eval "$ac_compile") 2>conftest.er1
19281 grep -v '^ *+' conftest.er1 >conftest.err
19283 cat conftest.err >&5
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); } && {
19286 test -z "$ac_c_werror_flag" ||
19287 test ! -s conftest.err
19288 } && test -s conftest.$ac_objext; then
19289 ac_cv_member_struct_mtget_mt_gstat=yes
19291 echo "$as_me: failed program was:" >&5
19292 sed 's/^/| /' conftest.$ac_ext >&5
19294 cat >conftest.$ac_ext <<_ACEOF
19297 cat confdefs.h >>conftest.$ac_ext
19298 cat >>conftest.$ac_ext <<_ACEOF
19299 /* end confdefs.h. */
19300 #include <sys/types.h>
19301 #ifdef HAVE_SYS_MTIO_H
19302 #include <sys/mtio.h>
19308 static struct mtget ac_aggr;
19309 if (sizeof ac_aggr.mt_gstat)
19315 rm -f conftest.$ac_objext
19316 if { (ac_try="$ac_compile"
19317 case "(($ac_try" in
19318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19319 *) ac_try_echo=$ac_try;;
19321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19322 (eval "$ac_compile") 2>conftest.er1
19324 grep -v '^ *+' conftest.er1 >conftest.err
19326 cat conftest.err >&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); } && {
19329 test -z "$ac_c_werror_flag" ||
19330 test ! -s conftest.err
19331 } && test -s conftest.$ac_objext; then
19332 ac_cv_member_struct_mtget_mt_gstat=yes
19334 echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.$ac_ext >&5
19337 ac_cv_member_struct_mtget_mt_gstat=no
19340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19345 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19346 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19347 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19349 cat >>confdefs.h <<_ACEOF
19350 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19355 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19356 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19357 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19358 echo $ECHO_N "(cached) $ECHO_C" >&6
19360 cat >conftest.$ac_ext <<_ACEOF
19363 cat confdefs.h >>conftest.$ac_ext
19364 cat >>conftest.$ac_ext <<_ACEOF
19365 /* end confdefs.h. */
19366 #include <sys/types.h>
19367 #ifdef HAVE_SYS_MTIO_H
19368 #include <sys/mtio.h>
19374 static struct mtget ac_aggr;
19375 if (ac_aggr.mt_blkno)
19381 rm -f conftest.$ac_objext
19382 if { (ac_try="$ac_compile"
19383 case "(($ac_try" in
19384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19385 *) ac_try_echo=$ac_try;;
19387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19388 (eval "$ac_compile") 2>conftest.er1
19390 grep -v '^ *+' conftest.er1 >conftest.err
19392 cat conftest.err >&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); } && {
19395 test -z "$ac_c_werror_flag" ||
19396 test ! -s conftest.err
19397 } && test -s conftest.$ac_objext; then
19398 ac_cv_member_struct_mtget_mt_blkno=yes
19400 echo "$as_me: failed program was:" >&5
19401 sed 's/^/| /' conftest.$ac_ext >&5
19403 cat >conftest.$ac_ext <<_ACEOF
19406 cat confdefs.h >>conftest.$ac_ext
19407 cat >>conftest.$ac_ext <<_ACEOF
19408 /* end confdefs.h. */
19409 #include <sys/types.h>
19410 #ifdef HAVE_SYS_MTIO_H
19411 #include <sys/mtio.h>
19417 static struct mtget ac_aggr;
19418 if (sizeof ac_aggr.mt_blkno)
19424 rm -f conftest.$ac_objext
19425 if { (ac_try="$ac_compile"
19426 case "(($ac_try" in
19427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19428 *) ac_try_echo=$ac_try;;
19430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19431 (eval "$ac_compile") 2>conftest.er1
19433 grep -v '^ *+' conftest.er1 >conftest.err
19435 cat conftest.err >&5
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); } && {
19438 test -z "$ac_c_werror_flag" ||
19439 test ! -s conftest.err
19440 } && test -s conftest.$ac_objext; then
19441 ac_cv_member_struct_mtget_mt_blkno=yes
19443 echo "$as_me: failed program was:" >&5
19444 sed 's/^/| /' conftest.$ac_ext >&5
19446 ac_cv_member_struct_mtget_mt_blkno=no
19449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19454 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19455 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19456 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19458 cat >>confdefs.h <<_ACEOF
19459 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19466 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19467 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19468 if test "${ac_cv_member_struct_option_name+set}" = set; then
19469 echo $ECHO_N "(cached) $ECHO_C" >&6
19471 cat >conftest.$ac_ext <<_ACEOF
19474 cat confdefs.h >>conftest.$ac_ext
19475 cat >>conftest.$ac_ext <<_ACEOF
19476 /* end confdefs.h. */
19477 #ifdef HAVE_GETOPT_H
19478 #include <getopt.h>
19484 static struct option ac_aggr;
19491 rm -f conftest.$ac_objext
19492 if { (ac_try="$ac_compile"
19493 case "(($ac_try" in
19494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19495 *) ac_try_echo=$ac_try;;
19497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19498 (eval "$ac_compile") 2>conftest.er1
19500 grep -v '^ *+' conftest.er1 >conftest.err
19502 cat conftest.err >&5
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); } && {
19505 test -z "$ac_c_werror_flag" ||
19506 test ! -s conftest.err
19507 } && test -s conftest.$ac_objext; then
19508 ac_cv_member_struct_option_name=yes
19510 echo "$as_me: failed program was:" >&5
19511 sed 's/^/| /' conftest.$ac_ext >&5
19513 cat >conftest.$ac_ext <<_ACEOF
19516 cat confdefs.h >>conftest.$ac_ext
19517 cat >>conftest.$ac_ext <<_ACEOF
19518 /* end confdefs.h. */
19519 #ifdef HAVE_GETOPT_H
19520 #include <getopt.h>
19526 static struct option ac_aggr;
19527 if (sizeof ac_aggr.name)
19533 rm -f conftest.$ac_objext
19534 if { (ac_try="$ac_compile"
19535 case "(($ac_try" in
19536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19537 *) ac_try_echo=$ac_try;;
19539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_compile") 2>conftest.er1
19542 grep -v '^ *+' conftest.er1 >conftest.err
19544 cat conftest.err >&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } && {
19547 test -z "$ac_c_werror_flag" ||
19548 test ! -s conftest.err
19549 } && test -s conftest.$ac_objext; then
19550 ac_cv_member_struct_option_name=yes
19552 echo "$as_me: failed program was:" >&5
19553 sed 's/^/| /' conftest.$ac_ext >&5
19555 ac_cv_member_struct_option_name=no
19558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19564 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19565 if test $ac_cv_member_struct_option_name = yes; then
19567 cat >>confdefs.h <<_ACEOF
19568 #define HAVE_STRUCT_OPTION_NAME 1
19575 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19576 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19577 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19578 echo $ECHO_N "(cached) $ECHO_C" >&6
19580 cat >conftest.$ac_ext <<_ACEOF
19583 cat confdefs.h >>conftest.$ac_ext
19584 cat >>conftest.$ac_ext <<_ACEOF
19585 /* end confdefs.h. */
19586 $ac_includes_default
19590 static struct stat ac_aggr;
19591 if (ac_aggr.st_blocks)
19597 rm -f conftest.$ac_objext
19598 if { (ac_try="$ac_compile"
19599 case "(($ac_try" in
19600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19601 *) ac_try_echo=$ac_try;;
19603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19604 (eval "$ac_compile") 2>conftest.er1
19606 grep -v '^ *+' conftest.er1 >conftest.err
19608 cat conftest.err >&5
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); } && {
19611 test -z "$ac_c_werror_flag" ||
19612 test ! -s conftest.err
19613 } && test -s conftest.$ac_objext; then
19614 ac_cv_member_struct_stat_st_blocks=yes
19616 echo "$as_me: failed program was:" >&5
19617 sed 's/^/| /' conftest.$ac_ext >&5
19619 cat >conftest.$ac_ext <<_ACEOF
19622 cat confdefs.h >>conftest.$ac_ext
19623 cat >>conftest.$ac_ext <<_ACEOF
19624 /* end confdefs.h. */
19625 $ac_includes_default
19629 static struct stat ac_aggr;
19630 if (sizeof ac_aggr.st_blocks)
19636 rm -f conftest.$ac_objext
19637 if { (ac_try="$ac_compile"
19638 case "(($ac_try" in
19639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19640 *) ac_try_echo=$ac_try;;
19642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19643 (eval "$ac_compile") 2>conftest.er1
19645 grep -v '^ *+' conftest.er1 >conftest.err
19647 cat conftest.err >&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); } && {
19650 test -z "$ac_c_werror_flag" ||
19651 test ! -s conftest.err
19652 } && test -s conftest.$ac_objext; then
19653 ac_cv_member_struct_stat_st_blocks=yes
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.$ac_ext >&5
19658 ac_cv_member_struct_stat_st_blocks=no
19661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19666 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19667 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19668 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19670 cat >>confdefs.h <<_ACEOF
19671 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19678 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19679 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19680 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19681 echo $ECHO_N "(cached) $ECHO_C" >&6
19683 cat >conftest.$ac_ext <<_ACEOF
19686 cat confdefs.h >>conftest.$ac_ext
19687 cat >>conftest.$ac_ext <<_ACEOF
19688 /* end confdefs.h. */
19689 #ifdef HAVE_SYS_TYPES_H
19690 #include <sys/types.h>
19692 #ifdef HAVE_NETINET_IN_H
19693 #include <netinet/in.h>
19699 static struct sockaddr_in6 ac_aggr;
19700 if (ac_aggr.sin6_scope_id)
19706 rm -f conftest.$ac_objext
19707 if { (ac_try="$ac_compile"
19708 case "(($ac_try" in
19709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19710 *) ac_try_echo=$ac_try;;
19712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19713 (eval "$ac_compile") 2>conftest.er1
19715 grep -v '^ *+' conftest.er1 >conftest.err
19717 cat conftest.err >&5
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); } && {
19720 test -z "$ac_c_werror_flag" ||
19721 test ! -s conftest.err
19722 } && test -s conftest.$ac_objext; then
19723 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19725 echo "$as_me: failed program was:" >&5
19726 sed 's/^/| /' conftest.$ac_ext >&5
19728 cat >conftest.$ac_ext <<_ACEOF
19731 cat confdefs.h >>conftest.$ac_ext
19732 cat >>conftest.$ac_ext <<_ACEOF
19733 /* end confdefs.h. */
19734 #ifdef HAVE_SYS_TYPES_H
19735 #include <sys/types.h>
19737 #ifdef HAVE_NETINET_IN_H
19738 #include <netinet/in.h>
19744 static struct sockaddr_in6 ac_aggr;
19745 if (sizeof ac_aggr.sin6_scope_id)
19751 rm -f conftest.$ac_objext
19752 if { (ac_try="$ac_compile"
19753 case "(($ac_try" in
19754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19755 *) ac_try_echo=$ac_try;;
19757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19758 (eval "$ac_compile") 2>conftest.er1
19760 grep -v '^ *+' conftest.er1 >conftest.err
19762 cat conftest.err >&5
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); } && {
19765 test -z "$ac_c_werror_flag" ||
19766 test ! -s conftest.err
19767 } && test -s conftest.$ac_objext; then
19768 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19770 echo "$as_me: failed program was:" >&5
19771 sed 's/^/| /' conftest.$ac_ext >&5
19773 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19781 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19782 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19783 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19785 cat >>confdefs.h <<_ACEOF
19786 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19793 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19794 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19795 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19796 echo $ECHO_N "(cached) $ECHO_C" >&6
19798 cat >conftest.$ac_ext <<_ACEOF
19801 cat confdefs.h >>conftest.$ac_ext
19802 cat >>conftest.$ac_ext <<_ACEOF
19803 /* end confdefs.h. */
19804 #ifdef HAVE_SYS_TYPES_H
19805 #include <sys/types.h>
19807 #ifdef HAVE_NETINET_IN_H
19808 # include <netinet/in.h>
19810 #ifdef HAVE_ARPA_NAMESER_H
19811 # include <arpa/nameser.h>
19817 static ns_msg ac_aggr;
19818 if (ac_aggr._msg_ptr)
19824 rm -f conftest.$ac_objext
19825 if { (ac_try="$ac_compile"
19826 case "(($ac_try" in
19827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19828 *) ac_try_echo=$ac_try;;
19830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19831 (eval "$ac_compile") 2>conftest.er1
19833 grep -v '^ *+' conftest.er1 >conftest.err
19835 cat conftest.err >&5
19836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837 (exit $ac_status); } && {
19838 test -z "$ac_c_werror_flag" ||
19839 test ! -s conftest.err
19840 } && test -s conftest.$ac_objext; then
19841 ac_cv_member_ns_msg__msg_ptr=yes
19843 echo "$as_me: failed program was:" >&5
19844 sed 's/^/| /' conftest.$ac_ext >&5
19846 cat >conftest.$ac_ext <<_ACEOF
19849 cat confdefs.h >>conftest.$ac_ext
19850 cat >>conftest.$ac_ext <<_ACEOF
19851 /* end confdefs.h. */
19852 #ifdef HAVE_SYS_TYPES_H
19853 #include <sys/types.h>
19855 #ifdef HAVE_NETINET_IN_H
19856 # include <netinet/in.h>
19858 #ifdef HAVE_ARPA_NAMESER_H
19859 # include <arpa/nameser.h>
19865 static ns_msg ac_aggr;
19866 if (sizeof ac_aggr._msg_ptr)
19872 rm -f conftest.$ac_objext
19873 if { (ac_try="$ac_compile"
19874 case "(($ac_try" in
19875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19876 *) ac_try_echo=$ac_try;;
19878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19879 (eval "$ac_compile") 2>conftest.er1
19881 grep -v '^ *+' conftest.er1 >conftest.err
19883 cat conftest.err >&5
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); } && {
19886 test -z "$ac_c_werror_flag" ||
19887 test ! -s conftest.err
19888 } && test -s conftest.$ac_objext; then
19889 ac_cv_member_ns_msg__msg_ptr=yes
19891 echo "$as_me: failed program was:" >&5
19892 sed 's/^/| /' conftest.$ac_ext >&5
19894 ac_cv_member_ns_msg__msg_ptr=no
19897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19902 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19903 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19904 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19906 cat >>confdefs.h <<_ACEOF
19907 #define HAVE_NS_MSG__MSG_PTR 1
19914 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19915 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19916 if test "${ac_cv_have_timezone+set}" = set; then
19917 echo $ECHO_N "(cached) $ECHO_C" >&6
19919 cat >conftest.$ac_ext <<_ACEOF
19922 cat confdefs.h >>conftest.$ac_ext
19923 cat >>conftest.$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19934 rm -f conftest.$ac_objext conftest$ac_exeext
19935 if { (ac_try="$ac_link"
19936 case "(($ac_try" in
19937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19938 *) ac_try_echo=$ac_try;;
19940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19941 (eval "$ac_link") 2>conftest.er1
19943 grep -v '^ *+' conftest.er1 >conftest.err
19945 cat conftest.err >&5
19946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 (exit $ac_status); } && {
19948 test -z "$ac_c_werror_flag" ||
19949 test ! -s conftest.err
19950 } && test -s conftest$ac_exeext &&
19951 $as_test_x conftest$ac_exeext; then
19952 ac_cv_have_timezone="yes"
19954 echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.$ac_ext >&5
19957 ac_cv_have_timezone="no"
19960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19961 conftest$ac_exeext conftest.$ac_ext
19963 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19964 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19965 if test "$ac_cv_have_timezone" = "yes"
19968 cat >>confdefs.h <<\_ACEOF
19969 #define HAVE_TIMEZONE 1
19973 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19974 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19975 if test "${ac_cv_have_daylight+set}" = set; then
19976 echo $ECHO_N "(cached) $ECHO_C" >&6
19978 cat >conftest.$ac_ext <<_ACEOF
19981 cat confdefs.h >>conftest.$ac_ext
19982 cat >>conftest.$ac_ext <<_ACEOF
19983 /* end confdefs.h. */
19993 rm -f conftest.$ac_objext conftest$ac_exeext
19994 if { (ac_try="$ac_link"
19995 case "(($ac_try" in
19996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19997 *) ac_try_echo=$ac_try;;
19999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20000 (eval "$ac_link") 2>conftest.er1
20002 grep -v '^ *+' conftest.er1 >conftest.err
20004 cat conftest.err >&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); } && {
20007 test -z "$ac_c_werror_flag" ||
20008 test ! -s conftest.err
20009 } && test -s conftest$ac_exeext &&
20010 $as_test_x conftest$ac_exeext; then
20011 ac_cv_have_daylight="yes"
20013 echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.$ac_ext >&5
20016 ac_cv_have_daylight="no"
20019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20020 conftest$ac_exeext conftest.$ac_ext
20022 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20023 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20024 if test "$ac_cv_have_daylight" = "yes"
20027 cat >>confdefs.h <<\_ACEOF
20028 #define HAVE_DAYLIGHT 1
20035 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20036 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20037 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20038 echo $ECHO_N "(cached) $ECHO_C" >&6
20040 cat >conftest.$ac_ext <<_ACEOF
20043 cat confdefs.h >>conftest.$ac_ext
20044 cat >>conftest.$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20051 $EGREP "yes" >/dev/null 2>&1; then
20052 ac_cv_cpp_def___i386__=yes
20054 ac_cv_cpp_def___i386__=no
20059 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20060 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20061 if test $ac_cv_cpp_def___i386__ = yes; then
20062 CFLAGS="$CFLAGS -D__i386__"
20063 LINTFLAGS="$LINTFLAGS -D__i386__"
20066 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20067 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20068 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20069 echo $ECHO_N "(cached) $ECHO_C" >&6
20071 cat >conftest.$ac_ext <<_ACEOF
20074 cat confdefs.h >>conftest.$ac_ext
20075 cat >>conftest.$ac_ext <<_ACEOF
20076 /* end confdefs.h. */
20081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20082 $EGREP "yes" >/dev/null 2>&1; then
20083 ac_cv_cpp_def___x86_64__=yes
20085 ac_cv_cpp_def___x86_64__=no
20090 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20091 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20092 if test $ac_cv_cpp_def___x86_64__ = yes; then
20093 CFLAGS="$CFLAGS -D__x86_64__"
20094 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20097 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20098 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20099 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20100 echo $ECHO_N "(cached) $ECHO_C" >&6
20102 cat >conftest.$ac_ext <<_ACEOF
20105 cat confdefs.h >>conftest.$ac_ext
20106 cat >>conftest.$ac_ext <<_ACEOF
20107 /* end confdefs.h. */
20112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20113 $EGREP "yes" >/dev/null 2>&1; then
20114 ac_cv_cpp_def___ALPHA__=yes
20116 ac_cv_cpp_def___ALPHA__=no
20121 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20122 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20123 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20124 CFLAGS="$CFLAGS -D__ALPHA__"
20125 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20128 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20129 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20130 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20131 echo $ECHO_N "(cached) $ECHO_C" >&6
20133 cat >conftest.$ac_ext <<_ACEOF
20136 cat confdefs.h >>conftest.$ac_ext
20137 cat >>conftest.$ac_ext <<_ACEOF
20138 /* end confdefs.h. */
20143 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20144 $EGREP "yes" >/dev/null 2>&1; then
20145 ac_cv_cpp_def___sparc__=yes
20147 ac_cv_cpp_def___sparc__=no
20152 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20153 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20154 if test $ac_cv_cpp_def___sparc__ = yes; then
20155 CFLAGS="$CFLAGS -D__sparc__"
20156 LINTFLAGS="$LINTFLAGS -D__sparc__"
20159 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20160 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20161 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20162 echo $ECHO_N "(cached) $ECHO_C" >&6
20164 cat >conftest.$ac_ext <<_ACEOF
20167 cat confdefs.h >>conftest.$ac_ext
20168 cat >>conftest.$ac_ext <<_ACEOF
20169 /* end confdefs.h. */
20170 #ifndef __powerpc__
20174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20175 $EGREP "yes" >/dev/null 2>&1; then
20176 ac_cv_cpp_def___powerpc__=yes
20178 ac_cv_cpp_def___powerpc__=no
20183 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20184 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20185 if test $ac_cv_cpp_def___powerpc__ = yes; then
20186 CFLAGS="$CFLAGS -D__powerpc__"
20187 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20192 case $host_vendor in
20193 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20194 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20195 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20196 echo $ECHO_N "(cached) $ECHO_C" >&6
20198 cat >conftest.$ac_ext <<_ACEOF
20201 cat confdefs.h >>conftest.$ac_ext
20202 cat >>conftest.$ac_ext <<_ACEOF
20203 /* end confdefs.h. */
20208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20209 $EGREP "yes" >/dev/null 2>&1; then
20210 ac_cv_cpp_def___sun__=yes
20212 ac_cv_cpp_def___sun__=no
20217 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20218 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20219 if test $ac_cv_cpp_def___sun__ = yes; then
20220 CFLAGS="$CFLAGS -D__sun__"
20221 LINTFLAGS="$LINTFLAGS -D__sun__"
20227 DEPENDENCIES="### Dependencies:
20232 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20234 \$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)
20235 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20236 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20237 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20243 ac_config_commands="$ac_config_commands include/stamp-h"
20246 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20248 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20250 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20252 ac_config_commands="$ac_config_commands dlls/user32/resources"
20254 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20256 ac_config_commands="$ac_config_commands include/wine"
20259 MAKE_RULES=Make.rules
20262 MAKE_DLL_RULES=dlls/Makedll.rules
20265 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20268 MAKE_TEST_RULES=dlls/Maketest.rules
20271 MAKE_PROG_RULES=programs/Makeprog.rules
20274 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/clusapi/Makefile dlls/comcat/Makefile dlls/comcat/tests/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/comdlg32/tests/Makefile dlls/compstui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/cryptnet/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/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/kernel32/Makefile dlls/kernel32/tests/Makefile dlls/localspl/Makefile dlls/localspl/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/mscoree/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/nddeapi/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/pstorec/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/query/Makefile dlls/rasapi32/Makefile dlls/resutils/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdoclc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/svrapi/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user32/Makefile dlls/user32/tests/Makefile dlls/userenv/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/uxtheme/tests/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps.drv/Makefile dlls/winequartz.drv/Makefile dlls/winex11.drv/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/tests/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winecoreaudio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool.drv/Makefile dlls/winspool.drv/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wintrust/tests/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmd/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/oleview/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
20277 cat >confcache <<\_ACEOF
20278 # This file is a shell script that caches the results of configure
20279 # tests run on this system so they can be shared between configure
20280 # scripts and configure runs, see configure's option --config-cache.
20281 # It is not useful on other systems. If it contains results you don't
20282 # want to keep, you may remove or edit it.
20284 # config.status only pays attention to the cache file if you give it
20285 # the --recheck option to rerun configure.
20287 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20288 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20289 # following values.
20293 # The following way of writing the cache mishandles newlines in values,
20294 # but we know of no workaround that is simple, portable, and efficient.
20295 # So, we kill variables containing newlines.
20296 # Ultrix sh set writes to stderr and can't be redirected directly,
20297 # and sets the high bit in the cache file unless we assign to the vars.
20299 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20300 eval ac_val=\$$ac_var
20304 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20305 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20308 _ | IFS | as_nl) ;; #(
20309 *) $as_unset $ac_var ;;
20315 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20316 *${as_nl}ac_space=\ *)
20317 # `set' does not quote correctly, so add quotes (double-quote
20318 # substitution turns \\\\ into \\, and sed turns \\ into \).
20321 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20324 # `set' quotes correctly as required by POSIX, so do not add quotes.
20325 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20334 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20336 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20338 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20339 if test -w "$cache_file"; then
20340 test "x$cache_file" != "x/dev/null" &&
20341 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20342 echo "$as_me: updating cache $cache_file" >&6;}
20343 cat confcache >$cache_file
20345 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20346 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20351 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20352 # Let make expand exec_prefix.
20353 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20355 DEFS=-DHAVE_CONFIG_H
20359 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20360 # 1. Remove the extension, and $U if already installed.
20361 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20362 ac_i=`echo "$ac_i" | sed "$ac_script"`
20363 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20364 # will be set to the directory where LIBOBJS objects are built.
20365 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20366 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20368 LIBOBJS=$ac_libobjs
20370 LTLIBOBJS=$ac_ltlibobjs
20374 : ${CONFIG_STATUS=./config.status}
20375 ac_clean_files_save=$ac_clean_files
20376 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20377 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20378 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20379 cat >$CONFIG_STATUS <<_ACEOF
20381 # Generated by $as_me.
20382 # Run this file to recreate the current configuration.
20383 # Compiler output produced by configure, useful for debugging
20384 # configure, is in config.log if it exists.
20387 ac_cs_recheck=false
20389 SHELL=\${CONFIG_SHELL-$SHELL}
20392 cat >>$CONFIG_STATUS <<\_ACEOF
20393 ## --------------------- ##
20394 ## M4sh Initialization. ##
20395 ## --------------------- ##
20397 # Be more Bourne compatible
20398 DUALCASE=1; export DUALCASE # for MKS sh
20399 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20402 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20403 # is contrary to our usage. Disable this feature.
20404 alias -g '${1+"$@"}'='"$@"'
20405 setopt NO_GLOB_SUBST
20407 case `(set -o) 2>/dev/null` in
20408 *posix*) set -o posix ;;
20417 # Avoid depending upon Character Ranges.
20418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20421 as_cr_digits='0123456789'
20422 as_cr_alnum=$as_cr_Letters$as_cr_digits
20424 # The user is always right.
20425 if test "${PATH_SEPARATOR+set}" != set; then
20426 echo "#! /bin/sh" >conf$$.sh
20427 echo "exit 0" >>conf$$.sh
20429 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20437 # Support unset when possible.
20438 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20446 # We need space, tab and new line, in precisely that order. Quoting is
20447 # there to prevent editors from complaining about space-tab.
20448 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20449 # splitting by setting IFS to empty value.)
20454 # Find who we are. Look in the path if we contain no directory separator.
20456 *[\\/]* ) as_myself=$0 ;;
20457 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20458 for as_dir in $PATH
20461 test -z "$as_dir" && as_dir=.
20462 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20468 # We did not find ourselves, most probably we were run as `sh COMMAND'
20469 # in which case we are not to be found in the path.
20470 if test "x$as_myself" = x; then
20473 if test ! -f "$as_myself"; then
20474 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20475 { (exit 1); exit 1; }
20478 # Work around bugs in pre-3.0 UWIN ksh.
20479 for as_var in ENV MAIL MAILPATH
20480 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20488 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20489 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20490 LC_TELEPHONE LC_TIME
20492 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20493 eval $as_var=C; export $as_var
20495 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20499 # Required to use basename.
20500 if expr a : '\(a\)' >/dev/null 2>&1 &&
20501 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20507 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20508 as_basename=basename
20514 # Name of the executable.
20515 as_me=`$as_basename -- "$0" ||
20516 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20517 X"$0" : 'X\(//\)$' \| \
20518 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20520 sed '/^.*\/\([^/][^/]*\)\/*$/{
20539 as_lineno_1=$LINENO
20540 as_lineno_2=$LINENO
20541 test "x$as_lineno_1" != "x$as_lineno_2" &&
20542 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
20544 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20545 # uniformly replaced by the line number. The first 'sed' inserts a
20546 # line-number line after each line using $LINENO; the second 'sed'
20547 # does the real work. The second script uses 'N' to pair each
20548 # line-number line with the line containing $LINENO, and appends
20549 # trailing '-' during substitution so that $LINENO is not a special
20550 # case at line end.
20551 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20552 # scripts with optimization help from Paolo Bonzini. Blame Lee
20553 # E. McMahon (1931-1989) for sed's syntax. :-)
20565 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20568 ' >$as_me.lineno &&
20569 chmod +x "$as_me.lineno" ||
20570 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20571 { (exit 1); exit 1; }; }
20573 # Don't try to exec as it changes $[0], causing all sort of problems
20574 # (the dirname of $[0] is not the place where we might find the
20575 # original and so on. Autoconf is especially sensitive to this).
20576 . "./$as_me.lineno"
20577 # Exit status is that of the last command.
20582 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20588 ECHO_C= ECHO_N= ECHO_T=
20589 case `echo -n x` in
20591 case `echo 'x\c'` in
20592 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20599 if expr a : '\(a\)' >/dev/null 2>&1 &&
20600 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20606 rm -f conf$$ conf$$.exe conf$$.file
20607 if test -d conf$$.dir; then
20608 rm -f conf$$.dir/conf$$.file
20614 if ln -s conf$$.file conf$$ 2>/dev/null; then
20616 # ... but there are two gotchas:
20617 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20618 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20619 # In both cases, we have to default to `cp -p'.
20620 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20622 elif ln conf$$.file conf$$ 2>/dev/null; then
20627 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20628 rmdir conf$$.dir 2>/dev/null
20630 if mkdir -p . 2>/dev/null; then
20633 test -d ./-p && rmdir ./-p
20637 if test -x / >/dev/null 2>&1; then
20638 as_test_x='test -x'
20640 if ls -dL / >/dev/null 2>&1; then
20647 if test -d "$1"; then
20653 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20654 ???[sx]*):;;*)false;;esac;fi
20658 as_executable_p=$as_test_x
20660 # Sed expression to map a string onto a valid CPP name.
20661 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20663 # Sed expression to map a string onto a valid variable name.
20664 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20669 # Save the log message, to keep $[0] and so on meaningful, and to
20670 # report actual input values of CONFIG_FILES etc. instead of their
20671 # values after options handling.
20673 This file was extended by Wine $as_me 0.9.27, which was
20674 generated by GNU Autoconf 2.61. Invocation command line was
20676 CONFIG_FILES = $CONFIG_FILES
20677 CONFIG_HEADERS = $CONFIG_HEADERS
20678 CONFIG_LINKS = $CONFIG_LINKS
20679 CONFIG_COMMANDS = $CONFIG_COMMANDS
20682 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20687 cat >>$CONFIG_STATUS <<_ACEOF
20688 # Files that config.status was made for.
20689 config_files="$ac_config_files"
20690 config_headers="$ac_config_headers"
20691 config_commands="$ac_config_commands"
20695 cat >>$CONFIG_STATUS <<\_ACEOF
20697 \`$as_me' instantiates files from templates according to the
20698 current configuration.
20700 Usage: $0 [OPTIONS] [FILE]...
20702 -h, --help print this help, then exit
20703 -V, --version print version number and configuration settings, then exit
20704 -q, --quiet do not print progress messages
20705 -d, --debug don't remove temporary files
20706 --recheck update $as_me by reconfiguring in the same conditions
20707 --file=FILE[:TEMPLATE]
20708 instantiate the configuration file FILE
20709 --header=FILE[:TEMPLATE]
20710 instantiate the configuration header FILE
20712 Configuration files:
20715 Configuration headers:
20718 Configuration commands:
20721 Report bugs to <bug-autoconf@gnu.org>."
20724 cat >>$CONFIG_STATUS <<_ACEOF
20726 Wine config.status 0.9.27
20727 configured by $0, generated by GNU Autoconf 2.61,
20728 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20730 Copyright (C) 2006 Free Software Foundation, Inc.
20731 This config.status script is free software; the Free Software Foundation
20732 gives unlimited permission to copy, distribute and modify it."
20739 cat >>$CONFIG_STATUS <<\_ACEOF
20740 # If no file are specified by the user, then we need to provide default
20741 # value. By we need to know if files were specified by the user.
20747 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20748 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20759 # Handling of the options.
20760 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20762 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20763 echo "$ac_cs_version"; exit ;;
20764 --debug | --debu | --deb | --de | --d | -d )
20766 --file | --fil | --fi | --f )
20768 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20769 ac_need_defaults=false;;
20770 --header | --heade | --head | --hea )
20772 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20773 ac_need_defaults=false;;
20775 # Conflict between --help and --header
20776 { echo "$as_me: error: ambiguous option: $1
20777 Try \`$0 --help' for more information." >&2
20778 { (exit 1); exit 1; }; };;
20779 --help | --hel | -h )
20780 echo "$ac_cs_usage"; exit ;;
20781 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20782 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20785 # This is an error.
20786 -*) { echo "$as_me: error: unrecognized option: $1
20787 Try \`$0 --help' for more information." >&2
20788 { (exit 1); exit 1; }; } ;;
20790 *) ac_config_targets="$ac_config_targets $1"
20791 ac_need_defaults=false ;;
20797 ac_configure_extra_args=
20799 if $ac_cs_silent; then
20801 ac_configure_extra_args="$ac_configure_extra_args --silent"
20805 cat >>$CONFIG_STATUS <<_ACEOF
20806 if \$ac_cs_recheck; then
20807 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20808 CONFIG_SHELL=$SHELL
20809 export CONFIG_SHELL
20810 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20814 cat >>$CONFIG_STATUS <<\_ACEOF
20818 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20819 ## Running $as_me. ##
20825 cat >>$CONFIG_STATUS <<_ACEOF
20828 cat >>$CONFIG_STATUS <<\_ACEOF
20830 # Handling of arguments.
20831 for ac_config_target in $ac_config_targets
20833 case $ac_config_target in
20834 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20835 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20836 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
20837 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
20838 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
20839 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
20840 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
20841 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
20842 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
20843 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
20844 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
20845 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
20846 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
20847 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20848 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
20849 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
20850 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20851 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20852 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
20853 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
20854 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
20855 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
20856 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20857 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20858 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20859 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
20860 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20861 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
20862 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20863 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
20864 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
20865 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
20866 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20867 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20868 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
20869 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
20870 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
20871 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20872 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20873 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
20874 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
20875 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
20876 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
20877 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20878 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
20879 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20880 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
20881 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20882 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20883 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20884 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20885 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20886 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20887 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20888 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20889 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
20890 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
20891 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
20892 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
20893 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20894 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
20895 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20896 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
20897 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20898 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20899 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20900 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20901 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20902 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20903 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
20904 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
20905 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
20906 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20907 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20908 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20909 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
20910 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20911 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
20912 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20913 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20914 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20915 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20916 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
20917 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
20918 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
20919 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
20920 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20921 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
20922 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
20923 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
20924 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20925 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
20926 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20927 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
20928 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20929 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
20930 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
20931 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
20932 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
20933 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20934 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20935 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
20936 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
20937 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
20938 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
20939 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
20940 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
20941 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
20942 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20943 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20944 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
20945 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
20946 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
20947 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
20948 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
20949 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
20950 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20951 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20952 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20953 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
20954 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
20955 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
20956 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
20957 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
20958 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
20959 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
20960 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20961 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
20962 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20963 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
20964 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
20965 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20966 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
20967 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
20968 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
20969 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20970 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
20971 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20972 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20973 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20974 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20975 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20976 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20977 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20978 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20979 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
20980 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20981 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20982 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
20983 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
20984 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
20985 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20986 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20987 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
20988 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20989 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20990 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
20991 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
20992 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20993 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
20994 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
20995 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20996 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20997 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20998 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20999 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21000 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21001 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21002 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21003 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21004 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21005 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21006 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21007 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21008 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21009 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21010 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21011 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21012 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21013 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21014 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21015 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21016 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21017 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21018 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21019 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21020 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21021 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21022 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21023 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21024 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21025 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21026 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21027 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21028 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21029 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21030 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21031 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21032 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21033 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21034 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21035 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21036 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21037 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21038 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21039 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21040 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21041 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21042 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21043 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21044 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21045 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21046 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21047 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21048 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21049 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21050 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21051 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21052 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21053 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21054 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21055 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21056 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21057 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21058 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21059 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21060 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21061 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21062 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21063 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21064 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21065 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21066 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21067 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21068 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21069 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21070 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21071 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21072 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21073 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21074 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21075 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21076 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21077 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21078 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21079 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21080 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21081 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
21082 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21083 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
21084 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
21085 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
21086 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
21087 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
21088 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
21089 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
21090 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
21091 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21092 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21093 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21094 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21095 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21096 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21097 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21098 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21099 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21100 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21101 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21102 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21103 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21104 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21105 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21106 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21107 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21108 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21109 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21110 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21111 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21112 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21113 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21114 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21115 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21116 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21117 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21118 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21119 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21120 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21121 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21122 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21123 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21124 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21125 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21126 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21127 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21128 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21129 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21130 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21131 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21132 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21133 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21134 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21135 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21136 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21137 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21138 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21139 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21140 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21141 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21142 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21143 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21144 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21145 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21146 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21147 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21148 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21149 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21150 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21151 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21152 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21153 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21154 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21155 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21156 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21158 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21159 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21160 { (exit 1); exit 1; }; };;
21165 # If the user did not use the arguments to specify the items to instantiate,
21166 # then the envvar interface is used. Set only those that are not.
21167 # We use the long form for the default assignment because of an extremely
21168 # bizarre bug on SunOS 4.1.3.
21169 if $ac_need_defaults; then
21170 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21171 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21172 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21175 # Have a temporary directory for convenience. Make it in the build tree
21176 # simply because there is no reason against having it here, and in addition,
21177 # creating and moving files from /tmp can sometimes cause problems.
21178 # Hook for its removal unless debugging.
21179 # Note that there is a small window in which the directory will not be cleaned:
21180 # after its creation but before its name has been assigned to `$tmp'.
21184 trap 'exit_status=$?
21185 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21187 trap '{ (exit 1); exit 1; }' 1 2 13 15
21189 # Create a (secure) tmp directory for tmp files.
21192 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21193 test -n "$tmp" && test -d "$tmp"
21196 tmp=./conf$$-$RANDOM
21197 (umask 077 && mkdir "$tmp")
21200 echo "$me: cannot create a temporary directory in ." >&2
21201 { (exit 1); exit 1; }
21205 # Set up the sed scripts for CONFIG_FILES section.
21208 # No need to generate the scripts if there are no CONFIG_FILES.
21209 # This happens for instance when ./config.status config.h
21210 if test -n "$CONFIG_FILES"; then
21214 # Create sed commands to just substitute file output variables.
21216 # Remaining file output variables are in a fragment that also has non-file
21222 for ac_last_try in false false false false false :; do
21223 cat >conf$$subs.sed <<_ACEOF
21224 SHELL!$SHELL$ac_delim
21225 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21226 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21227 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21228 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21229 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21230 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21231 exec_prefix!$exec_prefix$ac_delim
21232 prefix!$prefix$ac_delim
21233 program_transform_name!$program_transform_name$ac_delim
21234 bindir!$bindir$ac_delim
21235 sbindir!$sbindir$ac_delim
21236 libexecdir!$libexecdir$ac_delim
21237 datarootdir!$datarootdir$ac_delim
21238 datadir!$datadir$ac_delim
21239 sysconfdir!$sysconfdir$ac_delim
21240 sharedstatedir!$sharedstatedir$ac_delim
21241 localstatedir!$localstatedir$ac_delim
21242 includedir!$includedir$ac_delim
21243 oldincludedir!$oldincludedir$ac_delim
21244 docdir!$docdir$ac_delim
21245 infodir!$infodir$ac_delim
21246 htmldir!$htmldir$ac_delim
21247 dvidir!$dvidir$ac_delim
21248 pdfdir!$pdfdir$ac_delim
21249 psdir!$psdir$ac_delim
21250 libdir!$libdir$ac_delim
21251 localedir!$localedir$ac_delim
21252 mandir!$mandir$ac_delim
21253 DEFS!$DEFS$ac_delim
21254 ECHO_C!$ECHO_C$ac_delim
21255 ECHO_N!$ECHO_N$ac_delim
21256 ECHO_T!$ECHO_T$ac_delim
21257 LIBS!$LIBS$ac_delim
21258 build_alias!$build_alias$ac_delim
21259 host_alias!$host_alias$ac_delim
21260 target_alias!$target_alias$ac_delim
21261 build!$build$ac_delim
21262 build_cpu!$build_cpu$ac_delim
21263 build_vendor!$build_vendor$ac_delim
21264 build_os!$build_os$ac_delim
21265 host!$host$ac_delim
21266 host_cpu!$host_cpu$ac_delim
21267 host_vendor!$host_vendor$ac_delim
21268 host_os!$host_os$ac_delim
21269 WIN16_FILES!$WIN16_FILES$ac_delim
21270 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21271 SET_MAKE!$SET_MAKE$ac_delim
21273 CFLAGS!$CFLAGS$ac_delim
21274 LDFLAGS!$LDFLAGS$ac_delim
21275 CPPFLAGS!$CPPFLAGS$ac_delim
21276 ac_ct_CC!$ac_ct_CC$ac_delim
21277 EXEEXT!$EXEEXT$ac_delim
21278 OBJEXT!$OBJEXT$ac_delim
21280 CXXFLAGS!$CXXFLAGS$ac_delim
21281 ac_ct_CXX!$ac_ct_CXX$ac_delim
21282 CPPBIN!$CPPBIN$ac_delim
21283 TOOLSDIR!$TOOLSDIR$ac_delim
21284 XMKMF!$XMKMF$ac_delim
21286 X_CFLAGS!$X_CFLAGS$ac_delim
21287 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21288 X_LIBS!$X_LIBS$ac_delim
21289 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21291 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
21292 LEXLIB!$LEXLIB$ac_delim
21293 XLEX!$XLEX$ac_delim
21294 BISON!$BISON$ac_delim
21296 ac_ct_AS!$ac_ct_AS$ac_delim
21299 RANLIB!$RANLIB$ac_delim
21300 STRIP!$STRIP$ac_delim
21301 WINDRES!$WINDRES$ac_delim
21302 LN_S!$LN_S$ac_delim
21304 GREP!$GREP$ac_delim
21305 EGREP!$EGREP$ac_delim
21308 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21310 elif $ac_last_try; then
21311 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21312 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21313 { (exit 1); exit 1; }; }
21315 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21319 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21320 if test -n "$ac_eof"; then
21321 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21322 ac_eof=`expr $ac_eof + 1`
21325 cat >>$CONFIG_STATUS <<_ACEOF
21326 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21327 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21328 /^[ ]*@MAKE_RULES@[ ]*$/{
21332 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
21336 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
21337 r $MAKE_IMPLIB_RULES
21340 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
21344 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
21350 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21351 s/^/s,@/; s/!/@,|#_!!_#|/
21354 s/'"$ac_delim"'$/,g/; t
21356 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21357 ' >>$CONFIG_STATUS <conf$$subs.sed
21358 rm -f conf$$subs.sed
21359 cat >>$CONFIG_STATUS <<_ACEOF
21365 for ac_last_try in false false false false false :; do
21366 cat >conf$$subs.sed <<_ACEOF
21367 LDCONFIG!$LDCONFIG$ac_delim
21368 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21369 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21370 INSTALL_DATA!$INSTALL_DATA$ac_delim
21371 LINT!$LINT$ac_delim
21372 LINTFLAGS!$LINTFLAGS$ac_delim
21373 FONTFORGE!$FONTFORGE$ac_delim
21374 PKG_CONFIG!$PKG_CONFIG$ac_delim
21375 PRELINK!$PRELINK$ac_delim
21376 LIBPTHREAD!$LIBPTHREAD$ac_delim
21377 XLIB!$XLIB$ac_delim
21378 XFILES!$XFILES$ac_delim
21379 OPENGLFILES!$OPENGLFILES$ac_delim
21380 GLU32FILES!$GLU32FILES$ac_delim
21381 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
21382 QUARTZFILES!$QUARTZFILES$ac_delim
21383 NASLIBS!$NASLIBS$ac_delim
21384 XML2LIBS!$XML2LIBS$ac_delim
21385 XML2INCL!$XML2INCL$ac_delim
21386 XSLTLIBS!$XSLTLIBS$ac_delim
21387 XSLTINCL!$XSLTINCL$ac_delim
21388 HALINCL!$HALINCL$ac_delim
21389 sane_devel!$sane_devel$ac_delim
21390 SANELIBS!$SANELIBS$ac_delim
21391 SANEINCL!$SANEINCL$ac_delim
21392 gphoto2_devel!$gphoto2_devel$ac_delim
21393 gphoto2port_devel!$gphoto2port_devel$ac_delim
21394 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
21395 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
21396 ICULIBS!$ICULIBS$ac_delim
21397 RESOLVLIBS!$RESOLVLIBS$ac_delim
21398 LCMSLIBS!$LCMSLIBS$ac_delim
21399 LDAPLIBS!$LDAPLIBS$ac_delim
21400 FREETYPELIBS!$FREETYPELIBS$ac_delim
21401 FREETYPEINCL!$FREETYPEINCL$ac_delim
21402 ft_devel!$ft_devel$ac_delim
21403 ft_devel2!$ft_devel2$ac_delim
21404 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
21405 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
21406 ARTSLIBS!$ARTSLIBS$ac_delim
21407 ARTSINCL!$ARTSINCL$ac_delim
21408 ESDCONFIG!$ESDCONFIG$ac_delim
21409 ESDLIBS!$ESDLIBS$ac_delim
21410 ESDINCL!$ESDINCL$ac_delim
21411 ALSALIBS!$ALSALIBS$ac_delim
21412 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
21413 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
21414 BUILTINFLAG!$BUILTINFLAG$ac_delim
21415 DLLEXT!$DLLEXT$ac_delim
21416 DLLFLAGS!$DLLFLAGS$ac_delim
21417 LDSHARED!$LDSHARED$ac_delim
21418 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
21419 LIBEXT!$LIBEXT$ac_delim
21420 IMPLIBEXT!$IMPLIBEXT$ac_delim
21421 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
21422 DLLTOOL!$DLLTOOL$ac_delim
21423 DLLWRAP!$DLLWRAP$ac_delim
21424 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
21425 IOKITLIB!$IOKITLIB$ac_delim
21426 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
21427 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
21428 COREAUDIO!$COREAUDIO$ac_delim
21429 CROSSTEST!$CROSSTEST$ac_delim
21430 CROSSCC!$CROSSCC$ac_delim
21431 CROSSWINDRES!$CROSSWINDRES$ac_delim
21432 LDPATH!$LDPATH$ac_delim
21433 CRTLIBS!$CRTLIBS$ac_delim
21434 SOCKETLIBS!$SOCKETLIBS$ac_delim
21435 MAIN_BINARY!$MAIN_BINARY$ac_delim
21436 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
21438 LIBDL!$LIBDL$ac_delim
21439 LIBPOLL!$LIBPOLL$ac_delim
21440 DEPENDENCIES!$DEPENDENCIES$ac_delim
21441 LIBOBJS!$LIBOBJS$ac_delim
21442 LTLIBOBJS!$LTLIBOBJS$ac_delim
21445 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
21447 elif $ac_last_try; then
21448 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21449 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21450 { (exit 1); exit 1; }; }
21452 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21456 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21457 if test -n "$ac_eof"; then
21458 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21459 ac_eof=`expr $ac_eof + 1`
21462 cat >>$CONFIG_STATUS <<_ACEOF
21463 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21464 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21467 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21468 s/^/s,@/; s/!/@,|#_!!_#|/
21471 s/'"$ac_delim"'$/,g/; t
21473 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21474 ' >>$CONFIG_STATUS <conf$$subs.sed
21475 rm -f conf$$subs.sed
21476 cat >>$CONFIG_STATUS <<_ACEOF
21483 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21484 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21485 # trailing colons and then remove the whole line if VPATH becomes empty
21486 # (actually we leave an empty line to preserve line numbers).
21487 if test "x$srcdir" = x.; then
21488 ac_vpsub='/^[ ]*VPATH[ ]*=/{
21489 s/:*\$(srcdir):*/:/
21490 s/:*\${srcdir}:*/:/
21492 s/^\([^=]*=[ ]*\):*/\1/
21498 cat >>$CONFIG_STATUS <<\_ACEOF
21499 fi # test -n "$CONFIG_FILES"
21502 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
21505 :[FHLC]) ac_mode=$ac_tag; continue;;
21507 case $ac_mode$ac_tag in
21509 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21510 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21511 { (exit 1); exit 1; }; };;
21512 :[FH]-) ac_tag=-:-;;
21513 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21530 -) ac_f="$tmp/stdin";;
21531 *) # Look for the file first in the build tree, then in the source tree
21532 # (if the path is not absolute). The absolute path cannot be DOS-style,
21533 # because $ac_f cannot contain `:'.
21537 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21539 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21540 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21541 { (exit 1); exit 1; }; };;
21543 ac_file_inputs="$ac_file_inputs $ac_f"
21546 # Let's still pretend it is `configure' which instantiates (i.e., don't
21547 # use $as_me), people would be surprised to read:
21548 # /* config.h. Generated by config.status. */
21549 configure_input="Generated from "`IFS=:
21550 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21551 if test x"$ac_file" != x-; then
21552 configure_input="$ac_file. $configure_input"
21553 { echo "$as_me:$LINENO: creating $ac_file" >&5
21554 echo "$as_me: creating $ac_file" >&6;}
21558 *:-:* | *:-) cat >"$tmp/stdin";;
21563 ac_dir=`$as_dirname -- "$ac_file" ||
21564 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21565 X"$ac_file" : 'X\(//\)[^/]' \| \
21566 X"$ac_file" : 'X\(//\)$' \| \
21567 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21569 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21573 /^X\(\/\/\)[^/].*/{
21588 -*) as_dir=./$as_dir;;
21590 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21594 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21595 *) as_qdir=$as_dir;;
21597 as_dirs="'$as_qdir' $as_dirs"
21598 as_dir=`$as_dirname -- "$as_dir" ||
21599 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21600 X"$as_dir" : 'X\(//\)[^/]' \| \
21601 X"$as_dir" : 'X\(//\)$' \| \
21602 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21608 /^X\(\/\/\)[^/].*/{
21621 test -d "$as_dir" && break
21623 test -z "$as_dirs" || eval "mkdir $as_dirs"
21624 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21625 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21626 { (exit 1); exit 1; }; }; }
21630 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21632 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21633 # A ".." for each directory in $ac_dir_suffix.
21634 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21635 case $ac_top_builddir_sub in
21636 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21637 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21640 ac_abs_top_builddir=$ac_pwd
21641 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21642 # for backward compatibility:
21643 ac_top_builddir=$ac_top_build_prefix
21646 .) # We are building in place.
21648 ac_top_srcdir=$ac_top_builddir_sub
21649 ac_abs_top_srcdir=$ac_pwd ;;
21650 [\\/]* | ?:[\\/]* ) # Absolute name.
21651 ac_srcdir=$srcdir$ac_dir_suffix;
21652 ac_top_srcdir=$srcdir
21653 ac_abs_top_srcdir=$srcdir ;;
21654 *) # Relative name.
21655 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21656 ac_top_srcdir=$ac_top_build_prefix$srcdir
21657 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21659 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21669 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21670 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21674 cat >>$CONFIG_STATUS <<\_ACEOF
21675 # If the template does not know about datarootdir, expand it.
21676 # FIXME: This hack should be removed a few years after 2.60.
21677 ac_datarootdir_hack=; ac_datarootdir_seen=
21679 case `sed -n '/datarootdir/ {
21688 ' $ac_file_inputs` in
21689 *datarootdir*) ac_datarootdir_seen=yes;;
21690 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21691 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21692 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21694 cat >>$CONFIG_STATUS <<_ACEOF
21695 ac_datarootdir_hack='
21696 s&@datadir@&$datadir&g
21697 s&@docdir@&$docdir&g
21698 s&@infodir@&$infodir&g
21699 s&@localedir@&$localedir&g
21700 s&@mandir@&$mandir&g
21701 s&\\\${datarootdir}&$datarootdir&g' ;;
21705 # Neutralize VPATH when `$srcdir' = `.'.
21706 # Shell code in configure.ac might set extrasub.
21707 # FIXME: do we really want to maintain this feature?
21708 cat >>$CONFIG_STATUS <<_ACEOF
21712 cat >>$CONFIG_STATUS <<\_ACEOF
21714 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21715 s&@configure_input@&$configure_input&;t t
21716 s&@top_builddir@&$ac_top_builddir_sub&;t t
21717 s&@srcdir@&$ac_srcdir&;t t
21718 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21719 s&@top_srcdir@&$ac_top_srcdir&;t t
21720 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21721 s&@builddir@&$ac_builddir&;t t
21722 s&@abs_builddir@&$ac_abs_builddir&;t t
21723 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21724 s&@INSTALL@&$ac_INSTALL&;t t
21725 $ac_datarootdir_hack
21726 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
21728 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21729 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
21730 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
21731 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21732 which seems to be undefined. Please make sure it is defined." >&5
21733 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21734 which seems to be undefined. Please make sure it is defined." >&2;}
21738 -) cat "$tmp/out"; rm -f "$tmp/out";;
21739 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21748 # Transform confdefs.h into a sed script `conftest.defines', that
21749 # substitutes the proper values into config.h.in to produce config.h.
21750 rm -f conftest.defines conftest.tail
21751 # First, append a space to every undef/define line, to ease matching.
21752 echo 's/$/ /' >conftest.defines
21753 # Then, protect against being on the right side of a sed subst, or in
21754 # an unquoted here document, in config.status. If some macros were
21755 # called several times there might be several #defines for the same
21756 # symbol, which is useless. But do not sort them, since the last
21757 # AC_DEFINE must be honored.
21758 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21759 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21760 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21761 # PARAMS is the parameter list in the macro definition--in most cases, it's
21762 # just an empty string.
21763 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21764 ac_dB='\\)[ (].*,\\1define\\2'
21772 s/^[ ]*#[ ]*define[ ][ ]*//
21777 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21778 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21779 ' >>conftest.defines
21781 # Remove the space that was appended to ease matching.
21782 # Then replace #undef with comments. This is necessary, for
21783 # example, in the case of _POSIX_SOURCE, which is predefined and required
21784 # on some systems where configure will not decide to define it.
21785 # (The regexp can be short, since the line contains either #define or #undef.)
21787 s,^[ #]*u.*,/* & */,' >>conftest.defines
21789 # Break up conftest.defines:
21790 ac_max_sed_lines=50
21792 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21793 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21794 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21796 ac_in='$ac_file_inputs'
21797 ac_out='"$tmp/out1"'
21798 ac_nxt='"$tmp/out2"'
21802 # Write a here document:
21803 cat >>$CONFIG_STATUS <<_ACEOF
21804 # First, check the format of the line:
21805 cat >"\$tmp/defines.sed" <<\\CEOF
21806 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21807 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21811 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
21813 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21814 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
21815 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
21816 grep . conftest.tail >/dev/null || break
21817 rm -f conftest.defines
21818 mv conftest.tail conftest.defines
21820 rm -f conftest.defines conftest.tail
21822 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21823 cat >>$CONFIG_STATUS <<\_ACEOF
21824 if test x"$ac_file" != x-; then
21825 echo "/* $configure_input */" >"$tmp/config.h"
21826 cat "$ac_result" >>"$tmp/config.h"
21827 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
21828 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21829 echo "$as_me: $ac_file is unchanged" >&6;}
21832 mv "$tmp/config.h" $ac_file
21835 echo "/* $configure_input */"
21841 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21842 echo "$as_me: executing $ac_file commands" >&6;}
21847 case $ac_file$ac_mode in
21848 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21849 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
21850 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
21851 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
21852 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
21853 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
21854 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
21855 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
21856 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
21857 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
21858 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
21859 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
21860 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
21866 { (exit 0); exit 0; }
21868 chmod +x $CONFIG_STATUS
21869 ac_clean_files=$ac_clean_files_save
21872 # configure is writing to config.log, and then calls config.status.
21873 # config.status does its own redirection, appending to config.log.
21874 # Unfortunately, on DOS this fails, as config.log is still kept open
21875 # by configure, so config.status won't be able to write to it; its
21876 # output is simply discarded. So we exec the FD to /dev/null,
21877 # effectively closing config.log, so it can be properly (re)opened and
21878 # appended to by config.status. When coming back to configure, we
21879 # need to make the FD available again.
21880 if test "$no_create" != yes; then
21882 ac_config_status_args=
21883 test "$silent" = yes &&
21884 ac_config_status_args="$ac_config_status_args --quiet"
21886 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21888 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21889 # would make configure fail if this is the last instruction.
21890 $ac_cs_success || { (exit 1); exit 1; }
21895 if test "$no_create" = "yes"
21900 if test "$verbose" = "yes"
21902 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
21905 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
21906 echo "$as_me: libcapi20 development files not found." >&6;}
21907 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
21908 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
21911 if test "$ac_cv_header_cups_cups_h" != "yes"
21914 { echo "$as_me:$LINENO: libcups development files not found." >&5
21915 echo "$as_me: libcups development files not found." >&6;}
21916 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
21917 echo "$as_me: Wine will be built without CUPS support." >&6;}
21921 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
21924 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
21925 echo "$as_me: libgphoto2 development files not found." >&6;}
21926 if test "$ac_cv_header_sane_sane_h" = "yes"
21928 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
21929 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
21931 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
21932 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
21936 if test "$ac_cv_header_hal_libhal_h" != "yes"
21939 { echo "$as_me:$LINENO: libhal development files not found." >&5
21940 echo "$as_me: libhal development files not found." >&6;}
21941 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
21942 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
21945 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
21948 { echo "$as_me:$LINENO: libicu development files not found." >&5
21949 echo "$as_me: libicu development files not found." >&6;}
21950 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
21951 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
21954 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
21957 { echo "$as_me:$LINENO: liblcms development files not found." >&5
21958 echo "$as_me: liblcms development files not found." >&6;}
21959 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
21960 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
21963 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
21966 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
21967 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
21968 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
21969 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
21972 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
21975 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
21976 echo "$as_me: lib(n)curses development files not found." >&6;}
21977 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
21978 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
21981 if test "$ac_cv_header_sane_sane_h" != "yes"
21984 { echo "$as_me:$LINENO: libsane development files not found." >&5
21985 echo "$as_me: libsane development files not found." >&6;}
21986 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
21987 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
21990 if test "$have_x" = "yes"
21992 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
21995 { echo "$as_me:$LINENO: libxext development files not found." >&5
21996 echo "$as_me: libxext development files not found." >&6;}
21997 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
21998 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22001 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22004 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22005 echo "$as_me: libXrandr development files not found." >&6;}
22006 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22007 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22010 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22013 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22014 echo "$as_me: libXrender development files not found." >&6;}
22015 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22016 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22019 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22022 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22023 echo "$as_me: libXxf86vm development files not found." >&6;}
22024 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22025 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22029 if test "$ac_cv_header_libxml_parser_h" != "yes"
22032 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22033 echo "$as_me: libxml2 development files not found." >&6;}
22034 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22035 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22038 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22041 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22042 echo "$as_me: libxslt development files not found." >&6;}
22043 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22044 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22049 if test "$have_x" = "no"
22052 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22053 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22054 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22055 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22056 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22057 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22058 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22059 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22062 if test -z "$OPENGLFILES"
22065 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22066 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22067 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22068 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22069 if test "$wine_cv_opengl_headers_found" = "no"
22071 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22072 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22074 if test "$wine_cv_opengl_header_version_OK" = "no"
22076 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22077 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22078 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22080 if test -f /usr/X11R6/lib/libGL.a
22082 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22083 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22084 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22085 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22087 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22088 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22093 if test "$wine_cv_msg_freetype" = "yes"
22096 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22097 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22098 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22099 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22100 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22101 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22102 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22103 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22106 if test -z "$FONTSSUBDIRS"
22109 if test "$FONTFORGE" = "false"
22111 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22112 echo "$as_me: WARNING: FontForge is missing." >&2;}
22114 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22115 echo "$as_me: WARNING: FreeType is missing." >&2;}
22117 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22118 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22121 if test -z "$ALSALIBS" -a \
22122 -z "$ARTSC_LIBS" -a \
22123 -z "$AUDIOIOLIBS" -a \
22125 -z "$ESD_LIBS" -a \
22126 -z "$ac_cv_lib_soname_jack" -a \
22127 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22128 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22129 "$ac_cv_header_soundcard_h" != "yes"
22132 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22133 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22134 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22135 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22136 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
22137 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22141 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."