2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.33.
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.33'
578 PACKAGE_STRING='Wine 0.9.33'
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
774 ac_subst_files='MAKE_RULES
779 ac_precious_vars='build_alias
794 # Initialize some variables set by options.
796 ac_init_version=false
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
806 program_transform_name=s,x,x,
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir='${exec_prefix}/bin'
821 sbindir='${exec_prefix}/sbin'
822 libexecdir='${exec_prefix}/libexec'
823 datarootdir='${prefix}/share'
824 datadir='${datarootdir}'
825 sysconfdir='${prefix}/etc'
826 sharedstatedir='${prefix}/com'
827 localstatedir='${prefix}/var'
828 includedir='${prefix}/include'
829 oldincludedir='/usr/include'
830 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
831 infodir='${datarootdir}/info'
836 libdir='${exec_prefix}/lib'
837 localedir='${datarootdir}/locale'
838 mandir='${datarootdir}/man'
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\$ac_option
852 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
856 # Accept the important Cygnus configure options, so we can diagnose typos.
858 case $ac_dashdash$ac_option in
862 -bindir | --bindir | --bindi | --bind | --bin | --bi)
864 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
867 -build | --build | --buil | --bui | --bu)
868 ac_prev=build_alias ;;
869 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
870 build_alias=$ac_optarg ;;
872 -cache-file | --cache-file | --cache-fil | --cache-fi \
873 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
874 ac_prev=cache_file ;;
875 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
876 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
877 cache_file=$ac_optarg ;;
880 cache_file=config.cache ;;
882 -datadir | --datadir | --datadi | --datad)
884 -datadir=* | --datadir=* | --datadi=* | --datad=*)
885 datadir=$ac_optarg ;;
887 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
888 | --dataroo | --dataro | --datar)
889 ac_prev=datarootdir ;;
890 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
891 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
892 datarootdir=$ac_optarg ;;
894 -disable-* | --disable-*)
895 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
898 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
899 { (exit 1); exit 1; }; }
900 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
901 eval enable_$ac_feature=no ;;
903 -docdir | --docdir | --docdi | --doc | --do)
905 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
908 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
910 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
913 -enable-* | --enable-*)
914 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
917 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
918 { (exit 1); exit 1; }; }
919 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
920 eval enable_$ac_feature=\$ac_optarg ;;
922 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
923 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
924 | --exec | --exe | --ex)
925 ac_prev=exec_prefix ;;
926 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
927 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
928 | --exec=* | --exe=* | --ex=*)
929 exec_prefix=$ac_optarg ;;
931 -gas | --gas | --ga | --g)
932 # Obsolete; use --with-gas.
935 -help | --help | --hel | --he | -h)
937 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
938 ac_init_help=recursive ;;
939 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
940 ac_init_help=short ;;
942 -host | --host | --hos | --ho)
943 ac_prev=host_alias ;;
944 -host=* | --host=* | --hos=* | --ho=*)
945 host_alias=$ac_optarg ;;
947 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
949 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
951 htmldir=$ac_optarg ;;
953 -includedir | --includedir | --includedi | --included | --include \
954 | --includ | --inclu | --incl | --inc)
955 ac_prev=includedir ;;
956 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
957 | --includ=* | --inclu=* | --incl=* | --inc=*)
958 includedir=$ac_optarg ;;
960 -infodir | --infodir | --infodi | --infod | --info | --inf)
962 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
963 infodir=$ac_optarg ;;
965 -libdir | --libdir | --libdi | --libd)
967 -libdir=* | --libdir=* | --libdi=* | --libd=*)
970 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
971 | --libexe | --libex | --libe)
972 ac_prev=libexecdir ;;
973 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
974 | --libexe=* | --libex=* | --libe=*)
975 libexecdir=$ac_optarg ;;
977 -localedir | --localedir | --localedi | --localed | --locale)
979 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
980 localedir=$ac_optarg ;;
982 -localstatedir | --localstatedir | --localstatedi | --localstated \
983 | --localstate | --localstat | --localsta | --localst | --locals)
984 ac_prev=localstatedir ;;
985 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
986 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
987 localstatedir=$ac_optarg ;;
989 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
991 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
995 # Obsolete; use --without-fp.
998 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999 | --no-cr | --no-c | -n)
1002 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1007 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1008 | --oldin | --oldi | --old | --ol | --o)
1009 ac_prev=oldincludedir ;;
1010 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1011 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1012 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1013 oldincludedir=$ac_optarg ;;
1015 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1017 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1018 prefix=$ac_optarg ;;
1020 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1021 | --program-pre | --program-pr | --program-p)
1022 ac_prev=program_prefix ;;
1023 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1024 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1025 program_prefix=$ac_optarg ;;
1027 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1028 | --program-suf | --program-su | --program-s)
1029 ac_prev=program_suffix ;;
1030 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1031 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1032 program_suffix=$ac_optarg ;;
1034 -program-transform-name | --program-transform-name \
1035 | --program-transform-nam | --program-transform-na \
1036 | --program-transform-n | --program-transform- \
1037 | --program-transform | --program-transfor \
1038 | --program-transfo | --program-transf \
1039 | --program-trans | --program-tran \
1040 | --progr-tra | --program-tr | --program-t)
1041 ac_prev=program_transform_name ;;
1042 -program-transform-name=* | --program-transform-name=* \
1043 | --program-transform-nam=* | --program-transform-na=* \
1044 | --program-transform-n=* | --program-transform-=* \
1045 | --program-transform=* | --program-transfor=* \
1046 | --program-transfo=* | --program-transf=* \
1047 | --program-trans=* | --program-tran=* \
1048 | --progr-tra=* | --program-tr=* | --program-t=*)
1049 program_transform_name=$ac_optarg ;;
1051 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1053 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1054 pdfdir=$ac_optarg ;;
1056 -psdir | --psdir | --psdi | --psd | --ps)
1058 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1065 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1067 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1069 sbindir=$ac_optarg ;;
1071 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1072 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1073 | --sharedst | --shareds | --shared | --share | --shar \
1075 ac_prev=sharedstatedir ;;
1076 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1077 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1078 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1080 sharedstatedir=$ac_optarg ;;
1082 -site | --site | --sit)
1084 -site=* | --site=* | --sit=*)
1087 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1089 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1090 srcdir=$ac_optarg ;;
1092 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1093 | --syscon | --sysco | --sysc | --sys | --sy)
1094 ac_prev=sysconfdir ;;
1095 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1096 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1097 sysconfdir=$ac_optarg ;;
1099 -target | --target | --targe | --targ | --tar | --ta | --t)
1100 ac_prev=target_alias ;;
1101 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1102 target_alias=$ac_optarg ;;
1104 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107 -version | --version | --versio | --versi | --vers | -V)
1108 ac_init_version=: ;;
1111 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1114 { echo "$as_me: error: invalid package name: $ac_package" >&2
1115 { (exit 1); exit 1; }; }
1116 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1117 eval with_$ac_package=\$ac_optarg ;;
1119 -without-* | --without-*)
1120 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1123 { echo "$as_me: error: invalid package name: $ac_package" >&2
1124 { (exit 1); exit 1; }; }
1125 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1126 eval with_$ac_package=no ;;
1129 # Obsolete; use --with-x.
1132 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1133 | --x-incl | --x-inc | --x-in | --x-i)
1134 ac_prev=x_includes ;;
1135 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1136 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1137 x_includes=$ac_optarg ;;
1139 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1140 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1141 ac_prev=x_libraries ;;
1142 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1143 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1144 x_libraries=$ac_optarg ;;
1146 -*) { echo "$as_me: error: unrecognized option: $ac_option
1147 Try \`$0 --help' for more information." >&2
1148 { (exit 1); exit 1; }; }
1152 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1155 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1156 { (exit 1); exit 1; }; }
1157 eval $ac_envvar=\$ac_optarg
1158 export $ac_envvar ;;
1161 # FIXME: should be removed in autoconf 3.0.
1162 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1164 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1171 if test -n "$ac_prev"; then
1172 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1173 { echo "$as_me: error: missing argument to $ac_option" >&2
1174 { (exit 1); exit 1; }; }
1177 # Be sure to have absolute directory names.
1178 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179 datadir sysconfdir sharedstatedir localstatedir includedir \
1180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181 libdir localedir mandir
1183 eval ac_val=\$$ac_var
1185 [\\/$]* | ?:[\\/]* ) continue;;
1186 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1188 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1189 { (exit 1); exit 1; }; }
1192 # There might be people who depend on the old broken behavior: `$host'
1193 # used to hold the argument of --host etc.
1194 # FIXME: To remove some day.
1197 target=$target_alias
1199 # FIXME: To remove some day.
1200 if test "x$host_alias" != x; then
1201 if test "x$build_alias" = x; then
1202 cross_compiling=maybe
1203 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1204 If a cross compiler is detected then cross compile mode will be used." >&2
1205 elif test "x$build_alias" != "x$host_alias"; then
1211 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1213 test "$silent" = yes && exec 6>/dev/null
1216 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1217 ac_ls_di=`ls -di .` &&
1218 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1219 { echo "$as_me: error: Working directory cannot be determined" >&2
1220 { (exit 1); exit 1; }; }
1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1222 { echo "$as_me: error: pwd does not report name of working directory" >&2
1223 { (exit 1); exit 1; }; }
1226 # Find the source files, if location was not specified.
1227 if test -z "$srcdir"; then
1228 ac_srcdir_defaulted=yes
1229 # Try the directory containing this script, then the parent directory.
1230 ac_confdir=`$as_dirname -- "$0" ||
1231 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1232 X"$0" : 'X\(//\)[^/]' \| \
1233 X"$0" : 'X\(//\)$' \| \
1234 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1254 if test ! -r "$srcdir/$ac_unique_file"; then
1258 ac_srcdir_defaulted=no
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1261 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1262 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1263 { (exit 1); exit 1; }; }
1265 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1267 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1268 { (exit 1); exit 1; }; }
1270 # When building in place, set srcdir=.
1271 if test "$ac_abs_confdir" = "$ac_pwd"; then
1274 # Remove unnecessary trailing slashes from srcdir.
1275 # Double slashes in file names in object file debugging info
1276 # mess up M-x gdb in Emacs.
1278 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1280 for ac_var in $ac_precious_vars; do
1281 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_env_${ac_var}_value=\$${ac_var}
1283 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1288 # Report the --help message.
1290 if test "$ac_init_help" = "long"; then
1291 # Omit some internal or obsolete options to make the list less imposing.
1292 # This message is too long to be a string in the A/UX 3.1 sh.
1294 \`configure' configures Wine 0.9.33 to adapt to many kinds of systems.
1296 Usage: $0 [OPTION]... [VAR=VALUE]...
1298 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1299 VAR=VALUE. See below for descriptions of some of the useful variables.
1301 Defaults for the options are specified in brackets.
1304 -h, --help display this help and exit
1305 --help=short display options specific to this package
1306 --help=recursive display the short help of all the included packages
1307 -V, --version display version information and exit
1308 -q, --quiet, --silent do not print \`checking...' messages
1309 --cache-file=FILE cache test results in FILE [disabled]
1310 -C, --config-cache alias for \`--cache-file=config.cache'
1311 -n, --no-create do not create output files
1312 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1314 Installation directories:
1315 --prefix=PREFIX install architecture-independent files in PREFIX
1316 [$ac_default_prefix]
1317 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1320 By default, \`make install' will install all the files in
1321 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1322 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1323 for instance \`--prefix=\$HOME'.
1325 For better control, use the options below.
1327 Fine tuning of the installation directories:
1328 --bindir=DIR user executables [EPREFIX/bin]
1329 --sbindir=DIR system admin executables [EPREFIX/sbin]
1330 --libexecdir=DIR program executables [EPREFIX/libexec]
1331 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1332 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1333 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1334 --libdir=DIR object code libraries [EPREFIX/lib]
1335 --includedir=DIR C header files [PREFIX/include]
1336 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1339 --infodir=DIR info documentation [DATAROOTDIR/info]
1340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1341 --mandir=DIR man documentation [DATAROOTDIR/man]
1342 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1343 --htmldir=DIR html documentation [DOCDIR]
1344 --dvidir=DIR dvi documentation [DOCDIR]
1345 --pdfdir=DIR pdf documentation [DOCDIR]
1346 --psdir=DIR ps documentation [DOCDIR]
1352 --x-includes=DIR X include files are in DIR
1353 --x-libraries=DIR X library files are in DIR
1356 --build=BUILD configure for building on BUILD [guessed]
1357 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1361 if test -n "$ac_init_help"; then
1362 case $ac_init_help in
1363 short | recursive ) echo "Configuration of Wine 0.9.33:";;
1368 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1369 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1370 --disable-win16 do not include Win16 support
1371 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1375 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1376 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1377 --without-opengl do not use OpenGL
1378 --with-wine-tools=<dir> use Wine tools from directory <dir>
1379 --with-x use the X Window System
1381 Some influential environment variables:
1382 CC C compiler command
1383 CFLAGS C compiler flags
1384 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1385 nonstandard directory <lib dir>
1386 LIBS libraries to pass to the linker, e.g. -l<library>
1387 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1388 you have headers in a nonstandard directory <include dir>
1389 CXX C++ compiler command
1390 CXXFLAGS C++ compiler flags
1391 XMKMF Path to xmkmf, Makefile generator for X Window System
1394 Use these variables to override the choices made by `configure' or to help
1395 it to find libraries and programs with nonstandard names/locations.
1397 Report bugs to <wine-devel@winehq.org>.
1402 if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1405 test -d "$ac_dir" || continue
1409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1419 ac_abs_top_builddir=$ac_pwd
1420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir=$ac_top_build_prefix
1425 .) # We are building in place.
1427 ac_top_srcdir=$ac_top_builddir_sub
1428 ac_abs_top_srcdir=$ac_pwd ;;
1429 [\\/]* | ?:[\\/]* ) # Absolute name.
1430 ac_srcdir=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir=$srcdir
1432 ac_abs_top_srcdir=$srcdir ;;
1434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1440 cd "$ac_dir" || { ac_status=$?; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1449 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1451 cd "$ac_pwd" || { ac_status=$?; break; }
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1458 Wine configure 0.9.33
1459 generated by GNU Autoconf 2.61
1461 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1463 This configure script is free software; the Free Software Foundation
1464 gives unlimited permission to copy, distribute and modify it.
1468 cat >config.log <<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1472 It was created by Wine $as_me 0.9.33, which was
1473 generated by GNU Autoconf 2.61. Invocation command line was
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1508 test -z "$as_dir" && as_dir=.
1509 echo "PATH: $as_dir"
1525 # Keep a trace of the command line.
1526 # Strip out --no-create and --no-recursion so they do not pile up.
1527 # Strip out --silent because we don't want to record it for future runs.
1528 # Also quote any args containing shell meta-characters.
1529 # Make two passes to allow for proper duplicate-argument suppression.
1533 ac_must_keep_next=false
1539 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1541 | -silent | --silent | --silen | --sile | --sil)
1544 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1547 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1549 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1550 if test $ac_must_keep_next = true; then
1551 ac_must_keep_next=false # Got value, back to normal.
1554 *=* | --config-cache | -C | -disable-* | --disable-* \
1555 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1556 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1557 | -with-* | --with-* | -without-* | --without-* | --x)
1558 case "$ac_configure_args0 " in
1559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1562 -* ) ac_must_keep_next=true ;;
1565 ac_configure_args="$ac_configure_args '$ac_arg'"
1570 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1571 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1573 # When interrupted or exit'd, cleanup temporary files, and complete
1574 # config.log. We remove comments because anyway the quotes in there
1575 # would cause problems or look ugly.
1576 # WARNING: Use '\'' to represent an apostrophe within the trap.
1577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578 trap 'exit_status=$?
1579 # Save into config.log some information that might help in debugging.
1584 ## ---------------- ##
1585 ## Cache variables. ##
1586 ## ---------------- ##
1589 # The following way of writing the cache mishandles newlines in values,
1591 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1592 eval ac_val=\$$ac_var
1596 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1597 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1600 _ | IFS | as_nl) ;; #(
1601 *) $as_unset $ac_var ;;
1606 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1607 *${as_nl}ac_space=\ *)
1609 "s/'\''/'\''\\\\'\'''\''/g;
1610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1621 ## ----------------- ##
1622 ## Output variables. ##
1623 ## ----------------- ##
1626 for ac_var in $ac_subst_vars
1628 eval ac_val=\$$ac_var
1630 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1632 echo "$ac_var='\''$ac_val'\''"
1636 if test -n "$ac_subst_files"; then
1638 ## ------------------- ##
1639 ## File substitutions. ##
1640 ## ------------------- ##
1643 for ac_var in $ac_subst_files
1645 eval ac_val=\$$ac_var
1647 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1649 echo "$ac_var='\''$ac_val'\''"
1654 if test -s confdefs.h; then
1664 test "$ac_signal" != 0 &&
1665 echo "$as_me: caught signal $ac_signal"
1666 echo "$as_me: exit $exit_status"
1668 rm -f core *.core core.conftest.* &&
1669 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1672 for ac_signal in 1 2 13 15; do
1673 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1677 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1678 rm -f -r conftest* confdefs.h
1680 # Predefined preprocessor variables.
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_NAME "$PACKAGE_NAME"
1687 cat >>confdefs.h <<_ACEOF
1688 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1692 cat >>confdefs.h <<_ACEOF
1693 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_STRING "$PACKAGE_STRING"
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer explicitly selected file to automatically selected ones.
1709 if test -n "$CONFIG_SITE"; then
1710 set x "$CONFIG_SITE"
1711 elif test "x$prefix" != xNONE; then
1712 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1714 set x "$ac_default_prefix/share/config.site" \
1715 "$ac_default_prefix/etc/config.site"
1720 if test -r "$ac_site_file"; then
1721 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1722 echo "$as_me: loading site script $ac_site_file" >&6;}
1723 sed 's/^/| /' "$ac_site_file" >&5
1728 if test -r "$cache_file"; then
1729 # Some versions of bash will fail to source /dev/null (special
1730 # files actually), so we avoid doing that.
1731 if test -f "$cache_file"; then
1732 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1733 echo "$as_me: loading cache $cache_file" >&6;}
1735 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1736 *) . "./$cache_file";;
1740 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1741 echo "$as_me: creating cache $cache_file" >&6;}
1745 # Check that the precious variables saved in the cache have kept the same
1747 ac_cache_corrupted=false
1748 for ac_var in $ac_precious_vars; do
1749 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1750 eval ac_new_set=\$ac_env_${ac_var}_set
1751 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1752 eval ac_new_val=\$ac_env_${ac_var}_value
1753 case $ac_old_set,$ac_new_set in
1755 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1756 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1757 ac_cache_corrupted=: ;;
1759 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1760 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1761 ac_cache_corrupted=: ;;
1764 if test "x$ac_old_val" != "x$ac_new_val"; then
1765 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1766 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1767 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1768 echo "$as_me: former value: $ac_old_val" >&2;}
1769 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1770 echo "$as_me: current value: $ac_new_val" >&2;}
1771 ac_cache_corrupted=:
1774 # Pass precious variables to config.status.
1775 if test "$ac_new_set" = set; then
1777 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1778 *) ac_arg=$ac_var=$ac_new_val ;;
1780 case " $ac_configure_args " in
1781 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1782 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1786 if $ac_cache_corrupted; then
1787 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1788 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1789 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1790 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1791 { (exit 1); exit 1; }; }
1819 ac_cpp='$CPP $CPPFLAGS'
1820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1826 ac_config_headers="$ac_config_headers include/config.h"
1829 for ac_dir in tools "$srcdir"/tools; do
1830 if test -f "$ac_dir/install-sh"; then
1832 ac_install_sh="$ac_aux_dir/install-sh -c"
1834 elif test -f "$ac_dir/install.sh"; then
1836 ac_install_sh="$ac_aux_dir/install.sh -c"
1838 elif test -f "$ac_dir/shtool"; then
1840 ac_install_sh="$ac_aux_dir/shtool install -c"
1844 if test -z "$ac_aux_dir"; then
1845 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1846 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # These three variables are undocumented and unsupported,
1851 # and are intended to be withdrawn in a future Autoconf release.
1852 # They can cause serious problems if a builder's source tree is in a directory
1853 # whose full name contains unusual characters.
1854 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1855 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1856 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1861 # Check whether --enable-win16 was given.
1862 if test "${enable_win16+set}" = set; then
1863 enableval=$enable_win16;
1866 # Check whether --enable-win64 was given.
1867 if test "${enable_win64+set}" = set; then
1868 enableval=$enable_win64;
1873 # Check whether --with-opengl was given.
1874 if test "${with_opengl+set}" = set; then
1875 withval=$with_opengl;
1879 # Check whether --with-wine-tools was given.
1880 if test "${with_wine_tools+set}" = set; then
1881 withval=$with_wine_tools;
1885 # Make sure we can run config.sub.
1886 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1887 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1888 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1889 { (exit 1); exit 1; }; }
1891 { echo "$as_me:$LINENO: checking build system type" >&5
1892 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1893 if test "${ac_cv_build+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1896 ac_build_alias=$build_alias
1897 test "x$ac_build_alias" = x &&
1898 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1899 test "x$ac_build_alias" = x &&
1900 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1901 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1902 { (exit 1); exit 1; }; }
1903 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1904 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1905 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1906 { (exit 1); exit 1; }; }
1909 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1910 echo "${ECHO_T}$ac_cv_build" >&6; }
1911 case $ac_cv_build in
1913 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1914 echo "$as_me: error: invalid value of canonical build" >&2;}
1915 { (exit 1); exit 1; }; };;
1918 ac_save_IFS=$IFS; IFS='-'
1924 # Remember, the first character of IFS is used to create $*,
1925 # except with old shells:
1928 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1931 { echo "$as_me:$LINENO: checking host system type" >&5
1932 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1933 if test "${ac_cv_host+set}" = set; then
1934 echo $ECHO_N "(cached) $ECHO_C" >&6
1936 if test "x$host_alias" = x; then
1937 ac_cv_host=$ac_cv_build
1939 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1940 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1941 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1942 { (exit 1); exit 1; }; }
1946 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1947 echo "${ECHO_T}$ac_cv_host" >&6; }
1950 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1951 echo "$as_me: error: invalid value of canonical host" >&2;}
1952 { (exit 1); exit 1; }; };;
1955 ac_save_IFS=$IFS; IFS='-'
1961 # Remember, the first character of IFS is used to create $*,
1962 # except with old shells:
1965 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1970 if test "x$enable_win64" != "xyes"
1972 test -n "$CC" || CC="gcc -m32"
1973 test -n "$LD" || LD="ld -m elf_i386"
1974 test -n "$AS" || AS="as --32"
1982 if test "x$enable_win16" != "xno"
1989 WIN16_FILES="\$(WIN16_FILES)"
1991 WIN16_INSTALL="\$(WIN16_INSTALL)"
1993 if test "x$enable_win16" != "xyes"
2001 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2002 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2003 You need to run 'make distclean' in the source tree first." >&5
2004 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2005 You need to run 'make distclean' in the source tree first." >&2;}
2006 { (exit 1); exit 1; }; }
2011 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2012 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2013 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2014 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2015 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 cat >conftest.make <<\_ACEOF
2020 @echo '@@@%%%=$(MAKE)=@@@%%%'
2022 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2023 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2025 eval ac_cv_prog_make_${ac_make}_set=yes;;
2027 eval ac_cv_prog_make_${ac_make}_set=no;;
2031 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2032 { echo "$as_me:$LINENO: result: yes" >&5
2033 echo "${ECHO_T}yes" >&6; }
2036 { echo "$as_me:$LINENO: result: no" >&5
2037 echo "${ECHO_T}no" >&6; }
2038 SET_MAKE="MAKE=${MAKE-make}"
2042 ac_cpp='$CPP $CPPFLAGS'
2043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2046 if test -n "$ac_tool_prefix"; then
2047 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2048 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2051 if test "${ac_cv_prog_CC+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2054 if test -n "$CC"; then
2055 ac_cv_prog_CC="$CC" # Let the user override the test.
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061 test -z "$as_dir" && as_dir=.
2062 for ac_exec_ext in '' $ac_executable_extensions; do
2063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2064 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2075 if test -n "$CC"; then
2076 { echo "$as_me:$LINENO: result: $CC" >&5
2077 echo "${ECHO_T}$CC" >&6; }
2079 { echo "$as_me:$LINENO: result: no" >&5
2080 echo "${ECHO_T}no" >&6; }
2085 if test -z "$ac_cv_prog_CC"; then
2087 # Extract the first word of "gcc", so it can be a program name with args.
2088 set dummy gcc; ac_word=$2
2089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2091 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2092 echo $ECHO_N "(cached) $ECHO_C" >&6
2094 if test -n "$ac_ct_CC"; then
2095 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2101 test -z "$as_dir" && as_dir=.
2102 for ac_exec_ext in '' $ac_executable_extensions; do
2103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2104 ac_cv_prog_ac_ct_CC="gcc"
2105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2114 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2115 if test -n "$ac_ct_CC"; then
2116 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2117 echo "${ECHO_T}$ac_ct_CC" >&6; }
2119 { echo "$as_me:$LINENO: result: no" >&5
2120 echo "${ECHO_T}no" >&6; }
2123 if test "x$ac_ct_CC" = x; then
2126 case $cross_compiling:$ac_tool_warned in
2128 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2129 whose name does not start with the host triplet. If you think this
2130 configuration is useful to you, please write to autoconf@gnu.org." >&5
2131 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2132 whose name does not start with the host triplet. If you think this
2133 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2134 ac_tool_warned=yes ;;
2142 if test -z "$CC"; then
2143 if test -n "$ac_tool_prefix"; then
2144 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2145 set dummy ${ac_tool_prefix}cc; ac_word=$2
2146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2148 if test "${ac_cv_prog_CC+set}" = set; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 if test -n "$CC"; then
2152 ac_cv_prog_CC="$CC" # Let the user override the test.
2154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158 test -z "$as_dir" && as_dir=.
2159 for ac_exec_ext in '' $ac_executable_extensions; do
2160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2161 ac_cv_prog_CC="${ac_tool_prefix}cc"
2162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2172 if test -n "$CC"; then
2173 { echo "$as_me:$LINENO: result: $CC" >&5
2174 echo "${ECHO_T}$CC" >&6; }
2176 { echo "$as_me:$LINENO: result: no" >&5
2177 echo "${ECHO_T}no" >&6; }
2183 if test -z "$CC"; then
2184 # Extract the first word of "cc", so it can be a program name with args.
2185 set dummy cc; ac_word=$2
2186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2188 if test "${ac_cv_prog_CC+set}" = set; then
2189 echo $ECHO_N "(cached) $ECHO_C" >&6
2191 if test -n "$CC"; then
2192 ac_cv_prog_CC="$CC" # Let the user override the test.
2195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2199 test -z "$as_dir" && as_dir=.
2200 for ac_exec_ext in '' $ac_executable_extensions; do
2201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2202 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2203 ac_prog_rejected=yes
2207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2214 if test $ac_prog_rejected = yes; then
2215 # We found a bogon in the path, so make sure we never use it.
2216 set dummy $ac_cv_prog_CC
2218 if test $# != 0; then
2219 # We chose a different compiler from the bogus one.
2220 # However, it has the same basename, so the bogon will be chosen
2221 # first if we set CC to just the basename; use the full file name.
2223 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2229 if test -n "$CC"; then
2230 { echo "$as_me:$LINENO: result: $CC" >&5
2231 echo "${ECHO_T}$CC" >&6; }
2233 { echo "$as_me:$LINENO: result: no" >&5
2234 echo "${ECHO_T}no" >&6; }
2239 if test -z "$CC"; then
2240 if test -n "$ac_tool_prefix"; then
2241 for ac_prog in cl.exe
2243 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2244 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2247 if test "${ac_cv_prog_CC+set}" = set; then
2248 echo $ECHO_N "(cached) $ECHO_C" >&6
2250 if test -n "$CC"; then
2251 ac_cv_prog_CC="$CC" # Let the user override the test.
2253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2257 test -z "$as_dir" && as_dir=.
2258 for ac_exec_ext in '' $ac_executable_extensions; do
2259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2260 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2271 if test -n "$CC"; then
2272 { echo "$as_me:$LINENO: result: $CC" >&5
2273 echo "${ECHO_T}$CC" >&6; }
2275 { echo "$as_me:$LINENO: result: no" >&5
2276 echo "${ECHO_T}no" >&6; }
2280 test -n "$CC" && break
2283 if test -z "$CC"; then
2285 for ac_prog in cl.exe
2287 # Extract the first word of "$ac_prog", so it can be a program name with args.
2288 set dummy $ac_prog; ac_word=$2
2289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2291 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2292 echo $ECHO_N "(cached) $ECHO_C" >&6
2294 if test -n "$ac_ct_CC"; then
2295 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301 test -z "$as_dir" && as_dir=.
2302 for ac_exec_ext in '' $ac_executable_extensions; do
2303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2304 ac_cv_prog_ac_ct_CC="$ac_prog"
2305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2314 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2315 if test -n "$ac_ct_CC"; then
2316 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2317 echo "${ECHO_T}$ac_ct_CC" >&6; }
2319 { echo "$as_me:$LINENO: result: no" >&5
2320 echo "${ECHO_T}no" >&6; }
2324 test -n "$ac_ct_CC" && break
2327 if test "x$ac_ct_CC" = x; then
2330 case $cross_compiling:$ac_tool_warned in
2332 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2333 whose name does not start with the host triplet. If you think this
2334 configuration is useful to you, please write to autoconf@gnu.org." >&5
2335 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2336 whose name does not start with the host triplet. If you think this
2337 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2338 ac_tool_warned=yes ;;
2347 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2348 See \`config.log' for more details." >&5
2349 echo "$as_me: error: no acceptable C compiler found in \$PATH
2350 See \`config.log' for more details." >&2;}
2351 { (exit 1); exit 1; }; }
2353 # Provide some information about the compiler.
2354 echo "$as_me:$LINENO: checking for C compiler version" >&5
2355 ac_compiler=`set X $ac_compile; echo $2`
2356 { (ac_try="$ac_compiler --version >&5"
2358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2359 *) ac_try_echo=$ac_try;;
2361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2362 (eval "$ac_compiler --version >&5") 2>&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }
2366 { (ac_try="$ac_compiler -v >&5"
2368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2369 *) ac_try_echo=$ac_try;;
2371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2372 (eval "$ac_compiler -v >&5") 2>&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }
2376 { (ac_try="$ac_compiler -V >&5"
2378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2379 *) ac_try_echo=$ac_try;;
2381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2382 (eval "$ac_compiler -V >&5") 2>&5
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }
2387 cat >conftest.$ac_ext <<_ACEOF
2390 cat confdefs.h >>conftest.$ac_ext
2391 cat >>conftest.$ac_ext <<_ACEOF
2392 /* end confdefs.h. */
2402 ac_clean_files_save=$ac_clean_files
2403 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2404 # Try to create an executable without -o first, disregard a.out.
2405 # It will help us diagnose broken compilers, and finding out an intuition
2407 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2408 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2409 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2411 # List of possible output files, starting from the most likely.
2412 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2413 # only as a last resort. b.out is created by i960 compilers.
2414 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2416 # The IRIX 6 linker writes into existing files which may not be
2417 # executable, retaining their permissions. Remove them first so a
2418 # subsequent execution test works.
2420 for ac_file in $ac_files
2423 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2424 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2429 if { (ac_try="$ac_link_default"
2431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2432 *) ac_try_echo=$ac_try;;
2434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2435 (eval "$ac_link_default") 2>&5
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); }; then
2439 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2440 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2441 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2442 # so that the user can short-circuit this test for compilers unknown to
2444 for ac_file in $ac_files ''
2446 test -f "$ac_file" || continue
2448 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2451 # We found the default executable, but exeext='' is most
2455 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2457 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2459 # We set ac_cv_exeext here because the later test for it is not
2460 # safe: cross compilers may not add the suffix if given an `-o'
2461 # argument, so we may need to know it at that point already.
2462 # Even if this section looks crufty: it has the advantage of
2469 test "$ac_cv_exeext" = no && ac_cv_exeext=
2475 { echo "$as_me:$LINENO: result: $ac_file" >&5
2476 echo "${ECHO_T}$ac_file" >&6; }
2477 if test -z "$ac_file"; then
2478 echo "$as_me: failed program was:" >&5
2479 sed 's/^/| /' conftest.$ac_ext >&5
2481 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2482 See \`config.log' for more details." >&5
2483 echo "$as_me: error: C compiler cannot create executables
2484 See \`config.log' for more details." >&2;}
2485 { (exit 77); exit 77; }; }
2488 ac_exeext=$ac_cv_exeext
2490 # Check that the compiler produces executables we can run. If not, either
2491 # the compiler is broken, or we cross compile.
2492 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2493 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2494 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2495 # If not cross compiling, check that we can run a simple program.
2496 if test "$cross_compiling" != yes; then
2497 if { ac_try='./$ac_file'
2498 { (case "(($ac_try" in
2499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2500 *) ac_try_echo=$ac_try;;
2502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2503 (eval "$ac_try") 2>&5
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; }; then
2509 if test "$cross_compiling" = maybe; then
2512 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2513 If you meant to cross compile, use \`--host'.
2514 See \`config.log' for more details." >&5
2515 echo "$as_me: error: cannot run C compiled programs.
2516 If you meant to cross compile, use \`--host'.
2517 See \`config.log' for more details." >&2;}
2518 { (exit 1); exit 1; }; }
2522 { echo "$as_me:$LINENO: result: yes" >&5
2523 echo "${ECHO_T}yes" >&6; }
2525 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2526 ac_clean_files=$ac_clean_files_save
2527 # Check that the compiler produces executables we can run. If not, either
2528 # the compiler is broken, or we cross compile.
2529 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2530 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2531 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2532 echo "${ECHO_T}$cross_compiling" >&6; }
2534 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2535 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2536 if { (ac_try="$ac_link"
2538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2539 *) ac_try_echo=$ac_try;;
2541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2542 (eval "$ac_link") 2>&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }; then
2546 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2547 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2548 # work properly (i.e., refer to `conftest.exe'), while it won't with
2550 for ac_file in conftest.exe conftest conftest.*; do
2551 test -f "$ac_file" || continue
2553 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2554 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2560 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&5
2562 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2563 See \`config.log' for more details." >&2;}
2564 { (exit 1); exit 1; }; }
2567 rm -f conftest$ac_cv_exeext
2568 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2569 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2571 rm -f conftest.$ac_ext
2572 EXEEXT=$ac_cv_exeext
2574 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2575 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2576 if test "${ac_cv_objext+set}" = set; then
2577 echo $ECHO_N "(cached) $ECHO_C" >&6
2579 cat >conftest.$ac_ext <<_ACEOF
2582 cat confdefs.h >>conftest.$ac_ext
2583 cat >>conftest.$ac_ext <<_ACEOF
2584 /* end confdefs.h. */
2594 rm -f conftest.o conftest.obj
2595 if { (ac_try="$ac_compile"
2597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2598 *) ac_try_echo=$ac_try;;
2600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2601 (eval "$ac_compile") 2>&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }; then
2605 for ac_file in conftest.o conftest.obj conftest.*; do
2606 test -f "$ac_file" || continue;
2608 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2609 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2614 echo "$as_me: failed program was:" >&5
2615 sed 's/^/| /' conftest.$ac_ext >&5
2617 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2618 See \`config.log' for more details." >&5
2619 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2620 See \`config.log' for more details." >&2;}
2621 { (exit 1); exit 1; }; }
2624 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2626 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2627 echo "${ECHO_T}$ac_cv_objext" >&6; }
2628 OBJEXT=$ac_cv_objext
2630 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2631 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2632 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2633 echo $ECHO_N "(cached) $ECHO_C" >&6
2635 cat >conftest.$ac_ext <<_ACEOF
2638 cat confdefs.h >>conftest.$ac_ext
2639 cat >>conftest.$ac_ext <<_ACEOF
2640 /* end confdefs.h. */
2653 rm -f conftest.$ac_objext
2654 if { (ac_try="$ac_compile"
2656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2657 *) ac_try_echo=$ac_try;;
2659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2660 (eval "$ac_compile") 2>conftest.er1
2662 grep -v '^ *+' conftest.er1 >conftest.err
2664 cat conftest.err >&5
2665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666 (exit $ac_status); } && {
2667 test -z "$ac_c_werror_flag" ||
2668 test ! -s conftest.err
2669 } && test -s conftest.$ac_objext; then
2672 echo "$as_me: failed program was:" >&5
2673 sed 's/^/| /' conftest.$ac_ext >&5
2678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2679 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2682 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2683 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2684 GCC=`test $ac_compiler_gnu = yes && echo yes`
2685 ac_test_CFLAGS=${CFLAGS+set}
2686 ac_save_CFLAGS=$CFLAGS
2687 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2688 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2689 if test "${ac_cv_prog_cc_g+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2692 ac_save_c_werror_flag=$ac_c_werror_flag
2693 ac_c_werror_flag=yes
2696 cat >conftest.$ac_ext <<_ACEOF
2699 cat confdefs.h >>conftest.$ac_ext
2700 cat >>conftest.$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2711 rm -f conftest.$ac_objext
2712 if { (ac_try="$ac_compile"
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2718 (eval "$ac_compile") 2>conftest.er1
2720 grep -v '^ *+' conftest.er1 >conftest.err
2722 cat conftest.err >&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); } && {
2725 test -z "$ac_c_werror_flag" ||
2726 test ! -s conftest.err
2727 } && test -s conftest.$ac_objext; then
2730 echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2734 cat >conftest.$ac_ext <<_ACEOF
2737 cat confdefs.h >>conftest.$ac_ext
2738 cat >>conftest.$ac_ext <<_ACEOF
2739 /* end confdefs.h. */
2749 rm -f conftest.$ac_objext
2750 if { (ac_try="$ac_compile"
2752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2753 *) ac_try_echo=$ac_try;;
2755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2756 (eval "$ac_compile") 2>conftest.er1
2758 grep -v '^ *+' conftest.er1 >conftest.err
2760 cat conftest.err >&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); } && {
2763 test -z "$ac_c_werror_flag" ||
2764 test ! -s conftest.err
2765 } && test -s conftest.$ac_objext; then
2768 echo "$as_me: failed program was:" >&5
2769 sed 's/^/| /' conftest.$ac_ext >&5
2771 ac_c_werror_flag=$ac_save_c_werror_flag
2773 cat >conftest.$ac_ext <<_ACEOF
2776 cat confdefs.h >>conftest.$ac_ext
2777 cat >>conftest.$ac_ext <<_ACEOF
2778 /* end confdefs.h. */
2788 rm -f conftest.$ac_objext
2789 if { (ac_try="$ac_compile"
2791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2795 (eval "$ac_compile") 2>conftest.er1
2797 grep -v '^ *+' conftest.er1 >conftest.err
2799 cat conftest.err >&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); } && {
2802 test -z "$ac_c_werror_flag" ||
2803 test ! -s conftest.err
2804 } && test -s conftest.$ac_objext; then
2807 echo "$as_me: failed program was:" >&5
2808 sed 's/^/| /' conftest.$ac_ext >&5
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2820 ac_c_werror_flag=$ac_save_c_werror_flag
2822 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2823 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2824 if test "$ac_test_CFLAGS" = set; then
2825 CFLAGS=$ac_save_CFLAGS
2826 elif test $ac_cv_prog_cc_g = yes; then
2827 if test "$GCC" = yes; then
2833 if test "$GCC" = yes; then
2839 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2840 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2841 if test "${ac_cv_prog_cc_c89+set}" = set; then
2842 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 ac_cv_prog_cc_c89=no
2846 cat >conftest.$ac_ext <<_ACEOF
2849 cat confdefs.h >>conftest.$ac_ext
2850 cat >>conftest.$ac_ext <<_ACEOF
2851 /* end confdefs.h. */
2854 #include <sys/types.h>
2855 #include <sys/stat.h>
2856 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2857 struct buf { int x; };
2858 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2859 static char *e (p, i)
2865 static char *f (char * (*g) (char **, int), char **p, ...)
2870 s = g (p, va_arg (v,int));
2875 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2876 function prototypes and stuff, but not '\xHH' hex character constants.
2877 These don't provoke an error unfortunately, instead are silently treated
2878 as 'x'. The following induces an error, until -std is added to get
2879 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2880 array size at least. It's necessary to write '\x00'==0 to get something
2881 that's true only with -std. */
2882 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2884 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2885 inside strings and character constants. */
2887 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2889 int test (int i, double x);
2890 struct s1 {int (*f) (int a);};
2891 struct s2 {int (*f) (double a);};
2892 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2898 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2903 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2904 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2906 CC="$ac_save_CC $ac_arg"
2907 rm -f conftest.$ac_objext
2908 if { (ac_try="$ac_compile"
2910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911 *) ac_try_echo=$ac_try;;
2913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2914 (eval "$ac_compile") 2>conftest.er1
2916 grep -v '^ *+' conftest.er1 >conftest.err
2918 cat conftest.err >&5
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); } && {
2921 test -z "$ac_c_werror_flag" ||
2922 test ! -s conftest.err
2923 } && test -s conftest.$ac_objext; then
2924 ac_cv_prog_cc_c89=$ac_arg
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2932 rm -f core conftest.err conftest.$ac_objext
2933 test "x$ac_cv_prog_cc_c89" != "xno" && break
2935 rm -f conftest.$ac_ext
2940 case "x$ac_cv_prog_cc_c89" in
2942 { echo "$as_me:$LINENO: result: none needed" >&5
2943 echo "${ECHO_T}none needed" >&6; } ;;
2945 { echo "$as_me:$LINENO: result: unsupported" >&5
2946 echo "${ECHO_T}unsupported" >&6; } ;;
2948 CC="$CC $ac_cv_prog_cc_c89"
2949 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2950 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2955 ac_cpp='$CPP $CPPFLAGS'
2956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2961 ac_cpp='$CXXCPP $CPPFLAGS'
2962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2965 if test -z "$CXX"; then
2966 if test -n "$CCC"; then
2969 if test -n "$ac_tool_prefix"; then
2970 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2973 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2976 if test "${ac_cv_prog_CXX+set}" = set; then
2977 echo $ECHO_N "(cached) $ECHO_C" >&6
2979 if test -n "$CXX"; then
2980 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2986 test -z "$as_dir" && as_dir=.
2987 for ac_exec_ext in '' $ac_executable_extensions; do
2988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2989 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3000 if test -n "$CXX"; then
3001 { echo "$as_me:$LINENO: result: $CXX" >&5
3002 echo "${ECHO_T}$CXX" >&6; }
3004 { echo "$as_me:$LINENO: result: no" >&5
3005 echo "${ECHO_T}no" >&6; }
3009 test -n "$CXX" && break
3012 if test -z "$CXX"; then
3014 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3016 # Extract the first word of "$ac_prog", so it can be a program name with args.
3017 set dummy $ac_prog; ac_word=$2
3018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3020 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 if test -n "$ac_ct_CXX"; then
3024 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030 test -z "$as_dir" && as_dir=.
3031 for ac_exec_ext in '' $ac_executable_extensions; do
3032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3033 ac_cv_prog_ac_ct_CXX="$ac_prog"
3034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3043 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3044 if test -n "$ac_ct_CXX"; then
3045 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3046 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3048 { echo "$as_me:$LINENO: result: no" >&5
3049 echo "${ECHO_T}no" >&6; }
3053 test -n "$ac_ct_CXX" && break
3056 if test "x$ac_ct_CXX" = x; then
3059 case $cross_compiling:$ac_tool_warned in
3061 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3062 whose name does not start with the host triplet. If you think this
3063 configuration is useful to you, please write to autoconf@gnu.org." >&5
3064 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3065 whose name does not start with the host triplet. If you think this
3066 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3067 ac_tool_warned=yes ;;
3075 # Provide some information about the compiler.
3076 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3077 ac_compiler=`set X $ac_compile; echo $2`
3078 { (ac_try="$ac_compiler --version >&5"
3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3084 (eval "$ac_compiler --version >&5") 2>&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }
3088 { (ac_try="$ac_compiler -v >&5"
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3094 (eval "$ac_compiler -v >&5") 2>&5
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); }
3098 { (ac_try="$ac_compiler -V >&5"
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3104 (eval "$ac_compiler -V >&5") 2>&5
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); }
3109 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3110 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3111 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3112 echo $ECHO_N "(cached) $ECHO_C" >&6
3114 cat >conftest.$ac_ext <<_ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3132 rm -f conftest.$ac_objext
3133 if { (ac_try="$ac_compile"
3135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3136 *) ac_try_echo=$ac_try;;
3138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3139 (eval "$ac_compile") 2>conftest.er1
3141 grep -v '^ *+' conftest.er1 >conftest.err
3143 cat conftest.err >&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); } && {
3146 test -z "$ac_cxx_werror_flag" ||
3147 test ! -s conftest.err
3148 } && test -s conftest.$ac_objext; then
3151 echo "$as_me: failed program was:" >&5
3152 sed 's/^/| /' conftest.$ac_ext >&5
3157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3158 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3161 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3162 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3163 GXX=`test $ac_compiler_gnu = yes && echo yes`
3164 ac_test_CXXFLAGS=${CXXFLAGS+set}
3165 ac_save_CXXFLAGS=$CXXFLAGS
3166 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3167 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3168 if test "${ac_cv_prog_cxx_g+set}" = set; then
3169 echo $ECHO_N "(cached) $ECHO_C" >&6
3171 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3172 ac_cxx_werror_flag=yes
3175 cat >conftest.$ac_ext <<_ACEOF
3178 cat confdefs.h >>conftest.$ac_ext
3179 cat >>conftest.$ac_ext <<_ACEOF
3180 /* end confdefs.h. */
3190 rm -f conftest.$ac_objext
3191 if { (ac_try="$ac_compile"
3193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194 *) ac_try_echo=$ac_try;;
3196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3197 (eval "$ac_compile") 2>conftest.er1
3199 grep -v '^ *+' conftest.er1 >conftest.err
3201 cat conftest.err >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); } && {
3204 test -z "$ac_cxx_werror_flag" ||
3205 test ! -s conftest.err
3206 } && test -s conftest.$ac_objext; then
3207 ac_cv_prog_cxx_g=yes
3209 echo "$as_me: failed program was:" >&5
3210 sed 's/^/| /' conftest.$ac_ext >&5
3213 cat >conftest.$ac_ext <<_ACEOF
3216 cat confdefs.h >>conftest.$ac_ext
3217 cat >>conftest.$ac_ext <<_ACEOF
3218 /* end confdefs.h. */
3228 rm -f conftest.$ac_objext
3229 if { (ac_try="$ac_compile"
3231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232 *) ac_try_echo=$ac_try;;
3234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3235 (eval "$ac_compile") 2>conftest.er1
3237 grep -v '^ *+' conftest.er1 >conftest.err
3239 cat conftest.err >&5
3240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3241 (exit $ac_status); } && {
3242 test -z "$ac_cxx_werror_flag" ||
3243 test ! -s conftest.err
3244 } && test -s conftest.$ac_objext; then
3247 echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.$ac_ext >&5
3250 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3252 cat >conftest.$ac_ext <<_ACEOF
3255 cat confdefs.h >>conftest.$ac_ext
3256 cat >>conftest.$ac_ext <<_ACEOF
3257 /* end confdefs.h. */
3267 rm -f conftest.$ac_objext
3268 if { (ac_try="$ac_compile"
3270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3274 (eval "$ac_compile") 2>conftest.er1
3276 grep -v '^ *+' conftest.er1 >conftest.err
3278 cat conftest.err >&5
3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280 (exit $ac_status); } && {
3281 test -z "$ac_cxx_werror_flag" ||
3282 test ! -s conftest.err
3283 } && test -s conftest.$ac_objext; then
3284 ac_cv_prog_cxx_g=yes
3286 echo "$as_me: failed program was:" >&5
3287 sed 's/^/| /' conftest.$ac_ext >&5
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3301 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3302 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3303 if test "$ac_test_CXXFLAGS" = set; then
3304 CXXFLAGS=$ac_save_CXXFLAGS
3305 elif test $ac_cv_prog_cxx_g = yes; then
3306 if test "$GXX" = yes; then
3312 if test "$GXX" = yes; then
3319 ac_cpp='$CPP $CPPFLAGS'
3320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3324 if test -n "$ac_tool_prefix"; then
3325 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3326 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3329 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3330 echo $ECHO_N "(cached) $ECHO_C" >&6
3332 if test -n "$CPPBIN"; then
3333 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3339 test -z "$as_dir" && as_dir=.
3340 for ac_exec_ext in '' $ac_executable_extensions; do
3341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3342 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3352 CPPBIN=$ac_cv_prog_CPPBIN
3353 if test -n "$CPPBIN"; then
3354 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3355 echo "${ECHO_T}$CPPBIN" >&6; }
3357 { echo "$as_me:$LINENO: result: no" >&5
3358 echo "${ECHO_T}no" >&6; }
3363 if test -z "$ac_cv_prog_CPPBIN"; then
3364 ac_ct_CPPBIN=$CPPBIN
3365 # Extract the first word of "cpp", so it can be a program name with args.
3366 set dummy cpp; ac_word=$2
3367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3369 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3370 echo $ECHO_N "(cached) $ECHO_C" >&6
3372 if test -n "$ac_ct_CPPBIN"; then
3373 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3379 test -z "$as_dir" && as_dir=.
3380 for ac_exec_ext in '' $ac_executable_extensions; do
3381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3382 ac_cv_prog_ac_ct_CPPBIN="cpp"
3383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3392 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3393 if test -n "$ac_ct_CPPBIN"; then
3394 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3395 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3397 { echo "$as_me:$LINENO: result: no" >&5
3398 echo "${ECHO_T}no" >&6; }
3401 if test "x$ac_ct_CPPBIN" = x; then
3404 case $cross_compiling:$ac_tool_warned in
3406 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3407 whose name does not start with the host triplet. If you think this
3408 configuration is useful to you, please write to autoconf@gnu.org." >&5
3409 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3410 whose name does not start with the host triplet. If you think this
3411 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3412 ac_tool_warned=yes ;;
3414 CPPBIN=$ac_ct_CPPBIN
3417 CPPBIN="$ac_cv_prog_CPPBIN"
3421 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3422 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3423 if test "${wine_cv_toolsdir+set}" = set; then
3424 echo $ECHO_N "(cached) $ECHO_C" >&6
3426 if test -z "$with_wine_tools"; then
3427 if test "$cross_compiling" = "yes"; then
3428 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3429 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3430 { (exit 1); exit 1; }; }
3432 wine_cv_toolsdir="\$(TOPOBJDIR)"
3434 elif test -d "$with_wine_tools/tools/winebuild"; then
3435 case $with_wine_tools in
3436 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3437 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3440 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3441 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3442 { (exit 1); exit 1; }; }
3445 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3446 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3447 TOOLSDIR=$wine_cv_toolsdir
3452 ac_cpp='$CPP $CPPFLAGS'
3453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3456 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3457 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3458 # On Suns, sometimes $CPP names a directory.
3459 if test -n "$CPP" && test -d "$CPP"; then
3462 if test -z "$CPP"; then
3463 if test "${ac_cv_prog_CPP+set}" = set; then
3464 echo $ECHO_N "(cached) $ECHO_C" >&6
3466 # Double quotes because CPP needs to be expanded
3467 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3470 for ac_c_preproc_warn_flag in '' yes
3472 # Use a header file that comes with gcc, so configuring glibc
3473 # with a fresh cross-compiler works.
3474 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3475 # <limits.h> exists even on freestanding compilers.
3476 # On the NeXT, cc -E runs the code through the compiler's parser,
3477 # not just through cpp. "Syntax error" is here to catch this case.
3478 cat >conftest.$ac_ext <<_ACEOF
3481 cat confdefs.h >>conftest.$ac_ext
3482 cat >>conftest.$ac_ext <<_ACEOF
3483 /* end confdefs.h. */
3485 # include <limits.h>
3487 # include <assert.h>
3491 if { (ac_try="$ac_cpp conftest.$ac_ext"
3493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3494 *) ac_try_echo=$ac_try;;
3496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3497 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3499 grep -v '^ *+' conftest.er1 >conftest.err
3501 cat conftest.err >&5
3502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503 (exit $ac_status); } >/dev/null && {
3504 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3505 test ! -s conftest.err
3509 echo "$as_me: failed program was:" >&5
3510 sed 's/^/| /' conftest.$ac_ext >&5
3512 # Broken: fails on valid input.
3516 rm -f conftest.err conftest.$ac_ext
3518 # OK, works on sane cases. Now check whether nonexistent headers
3519 # can be detected and how.
3520 cat >conftest.$ac_ext <<_ACEOF
3523 cat confdefs.h >>conftest.$ac_ext
3524 cat >>conftest.$ac_ext <<_ACEOF
3525 /* end confdefs.h. */
3526 #include <ac_nonexistent.h>
3528 if { (ac_try="$ac_cpp conftest.$ac_ext"
3530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3531 *) ac_try_echo=$ac_try;;
3533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3536 grep -v '^ *+' conftest.er1 >conftest.err
3538 cat conftest.err >&5
3539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540 (exit $ac_status); } >/dev/null && {
3541 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3542 test ! -s conftest.err
3544 # Broken: success on invalid input.
3547 echo "$as_me: failed program was:" >&5
3548 sed 's/^/| /' conftest.$ac_ext >&5
3550 # Passes both tests.
3555 rm -f conftest.err conftest.$ac_ext
3558 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3559 rm -f conftest.err conftest.$ac_ext
3560 if $ac_preproc_ok; then
3572 { echo "$as_me:$LINENO: result: $CPP" >&5
3573 echo "${ECHO_T}$CPP" >&6; }
3575 for ac_c_preproc_warn_flag in '' yes
3577 # Use a header file that comes with gcc, so configuring glibc
3578 # with a fresh cross-compiler works.
3579 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3580 # <limits.h> exists even on freestanding compilers.
3581 # On the NeXT, cc -E runs the code through the compiler's parser,
3582 # not just through cpp. "Syntax error" is here to catch this case.
3583 cat >conftest.$ac_ext <<_ACEOF
3586 cat confdefs.h >>conftest.$ac_ext
3587 cat >>conftest.$ac_ext <<_ACEOF
3588 /* end confdefs.h. */
3590 # include <limits.h>
3592 # include <assert.h>
3596 if { (ac_try="$ac_cpp conftest.$ac_ext"
3598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3599 *) ac_try_echo=$ac_try;;
3601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3602 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3604 grep -v '^ *+' conftest.er1 >conftest.err
3606 cat conftest.err >&5
3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); } >/dev/null && {
3609 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3610 test ! -s conftest.err
3614 echo "$as_me: failed program was:" >&5
3615 sed 's/^/| /' conftest.$ac_ext >&5
3617 # Broken: fails on valid input.
3621 rm -f conftest.err conftest.$ac_ext
3623 # OK, works on sane cases. Now check whether nonexistent headers
3624 # can be detected and how.
3625 cat >conftest.$ac_ext <<_ACEOF
3628 cat confdefs.h >>conftest.$ac_ext
3629 cat >>conftest.$ac_ext <<_ACEOF
3630 /* end confdefs.h. */
3631 #include <ac_nonexistent.h>
3633 if { (ac_try="$ac_cpp conftest.$ac_ext"
3635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3636 *) ac_try_echo=$ac_try;;
3638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3641 grep -v '^ *+' conftest.er1 >conftest.err
3643 cat conftest.err >&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); } >/dev/null && {
3646 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3647 test ! -s conftest.err
3649 # Broken: success on invalid input.
3652 echo "$as_me: failed program was:" >&5
3653 sed 's/^/| /' conftest.$ac_ext >&5
3655 # Passes both tests.
3660 rm -f conftest.err conftest.$ac_ext
3663 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3664 rm -f conftest.err conftest.$ac_ext
3665 if $ac_preproc_ok; then
3668 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3669 See \`config.log' for more details." >&5
3670 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3671 See \`config.log' for more details." >&2;}
3672 { (exit 1); exit 1; }; }
3676 ac_cpp='$CPP $CPPFLAGS'
3677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3682 { echo "$as_me:$LINENO: checking for X" >&5
3683 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3686 # Check whether --with-x was given.
3687 if test "${with_x+set}" = set; then
3691 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3692 if test "x$with_x" = xno; then
3693 # The user explicitly disabled X.
3696 case $x_includes,$x_libraries in #(
3697 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3698 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3699 { (exit 1); exit 1; }; };; #(
3700 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3703 # One or both of the vars are not set, and there is no cached value.
3704 ac_x_includes=no ac_x_libraries=no
3705 rm -f -r conftest.dir
3706 if mkdir conftest.dir; then
3708 cat >Imakefile <<'_ACEOF'
3710 @echo incroot='${INCROOT}'
3712 @echo usrlibdir='${USRLIBDIR}'
3714 @echo libdir='${LIBDIR}'
3716 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3717 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3718 for ac_var in incroot usrlibdir libdir; do
3719 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3721 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3722 for ac_extension in a so sl; do
3723 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3724 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3725 ac_im_usrlibdir=$ac_im_libdir; break
3728 # Screen out bogus values from the imake configuration. They are
3729 # bogus both because they are the default anyway, and because
3730 # using them would break gcc on systems where it needs fixed includes.
3731 case $ac_im_incroot in
3732 /usr/include) ac_x_includes= ;;
3733 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3735 case $ac_im_usrlibdir in
3737 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3741 rm -f -r conftest.dir
3744 # Standard set of common directories for X headers.
3745 # Check X11 before X11Rn because it is often a symlink to the current release.
3757 /usr/local/X11/include
3758 /usr/local/X11R6/include
3759 /usr/local/X11R5/include
3760 /usr/local/X11R4/include
3762 /usr/local/include/X11
3763 /usr/local/include/X11R6
3764 /usr/local/include/X11R5
3765 /usr/local/include/X11R4
3769 /usr/XFree86/include/X11
3773 /usr/unsupported/include
3775 /usr/local/x11r5/include
3776 /usr/lpp/Xamples/include
3778 /usr/openwin/include
3779 /usr/openwin/share/include'
3781 if test "$ac_x_includes" = no; then
3782 # Guess where to find include files, by looking for Xlib.h.
3783 # First, try using that file with no special directory specified.
3784 cat >conftest.$ac_ext <<_ACEOF
3787 cat confdefs.h >>conftest.$ac_ext
3788 cat >>conftest.$ac_ext <<_ACEOF
3789 /* end confdefs.h. */
3790 #include <X11/Xlib.h>
3792 if { (ac_try="$ac_cpp conftest.$ac_ext"
3794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3795 *) ac_try_echo=$ac_try;;
3797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3800 grep -v '^ *+' conftest.er1 >conftest.err
3802 cat conftest.err >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); } >/dev/null && {
3805 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3806 test ! -s conftest.err
3808 # We can compile using X headers with no special include directory.
3811 echo "$as_me: failed program was:" >&5
3812 sed 's/^/| /' conftest.$ac_ext >&5
3814 for ac_dir in $ac_x_header_dirs; do
3815 if test -r "$ac_dir/X11/Xlib.h"; then
3816 ac_x_includes=$ac_dir
3822 rm -f conftest.err conftest.$ac_ext
3823 fi # $ac_x_includes = no
3825 if test "$ac_x_libraries" = no; then
3826 # Check for the libraries.
3827 # See if we find them without any special options.
3828 # Don't add to $LIBS permanently.
3831 cat >conftest.$ac_ext <<_ACEOF
3834 cat confdefs.h >>conftest.$ac_ext
3835 cat >>conftest.$ac_ext <<_ACEOF
3836 /* end confdefs.h. */
3837 #include <X11/Xlib.h>
3846 rm -f conftest.$ac_objext conftest$ac_exeext
3847 if { (ac_try="$ac_link"
3849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3850 *) ac_try_echo=$ac_try;;
3852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3853 (eval "$ac_link") 2>conftest.er1
3855 grep -v '^ *+' conftest.er1 >conftest.err
3857 cat conftest.err >&5
3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); } && {
3860 test -z "$ac_c_werror_flag" ||
3861 test ! -s conftest.err
3862 } && test -s conftest$ac_exeext &&
3863 $as_test_x conftest$ac_exeext; then
3865 # We can link X programs with no special library path.
3868 echo "$as_me: failed program was:" >&5
3869 sed 's/^/| /' conftest.$ac_ext >&5
3872 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3874 # Don't even attempt the hair of trying to link an X program!
3875 for ac_extension in a so sl; do
3876 if test -r "$ac_dir/libX11.$ac_extension"; then
3877 ac_x_libraries=$ac_dir
3884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3885 conftest$ac_exeext conftest.$ac_ext
3886 fi # $ac_x_libraries = no
3888 case $ac_x_includes,$ac_x_libraries in #(
3890 # Didn't find X, or a directory has "'" in its name.
3891 ac_cv_have_x="have_x=no";; #(
3893 # Record where we found X for the cache.
3894 ac_cv_have_x="have_x=yes\
3895 ac_x_includes='$ac_x_includes'\
3896 ac_x_libraries='$ac_x_libraries'"
3902 eval "$ac_cv_have_x"
3905 if test "$have_x" != yes; then
3906 { echo "$as_me:$LINENO: result: $have_x" >&5
3907 echo "${ECHO_T}$have_x" >&6; }
3910 # If each of the values was on the command line, it overrides each guess.
3911 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3912 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3913 # Update the cache value to reflect the command line values.
3914 ac_cv_have_x="have_x=yes\
3915 ac_x_includes='$x_includes'\
3916 ac_x_libraries='$x_libraries'"
3917 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3918 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3921 if test "$no_x" = yes; then
3922 # Not all programs may use this symbol, but it does not hurt to define it.
3924 cat >>confdefs.h <<\_ACEOF
3925 #define X_DISPLAY_MISSING 1
3928 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3930 if test -n "$x_includes"; then
3931 X_CFLAGS="$X_CFLAGS -I$x_includes"
3934 # It would also be nice to do this for all -L options, not just this one.
3935 if test -n "$x_libraries"; then
3936 X_LIBS="$X_LIBS -L$x_libraries"
3937 # For Solaris; some versions of Sun CC require a space after -R and
3938 # others require no space. Words are not sufficient . . . .
3939 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3940 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3941 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3942 ac_xsave_c_werror_flag=$ac_c_werror_flag
3943 ac_c_werror_flag=yes
3944 cat >conftest.$ac_ext <<_ACEOF
3947 cat confdefs.h >>conftest.$ac_ext
3948 cat >>conftest.$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3959 rm -f conftest.$ac_objext conftest$ac_exeext
3960 if { (ac_try="$ac_link"
3962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3963 *) ac_try_echo=$ac_try;;
3965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3966 (eval "$ac_link") 2>conftest.er1
3968 grep -v '^ *+' conftest.er1 >conftest.err
3970 cat conftest.err >&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); } && {
3973 test -z "$ac_c_werror_flag" ||
3974 test ! -s conftest.err
3975 } && test -s conftest$ac_exeext &&
3976 $as_test_x conftest$ac_exeext; then
3977 { echo "$as_me:$LINENO: result: no" >&5
3978 echo "${ECHO_T}no" >&6; }
3979 X_LIBS="$X_LIBS -R$x_libraries"
3981 echo "$as_me: failed program was:" >&5
3982 sed 's/^/| /' conftest.$ac_ext >&5
3984 LIBS="$ac_xsave_LIBS -R $x_libraries"
3985 cat >conftest.$ac_ext <<_ACEOF
3988 cat confdefs.h >>conftest.$ac_ext
3989 cat >>conftest.$ac_ext <<_ACEOF
3990 /* end confdefs.h. */
4000 rm -f conftest.$ac_objext conftest$ac_exeext
4001 if { (ac_try="$ac_link"
4003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004 *) ac_try_echo=$ac_try;;
4006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4007 (eval "$ac_link") 2>conftest.er1
4009 grep -v '^ *+' conftest.er1 >conftest.err
4011 cat conftest.err >&5
4012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013 (exit $ac_status); } && {
4014 test -z "$ac_c_werror_flag" ||
4015 test ! -s conftest.err
4016 } && test -s conftest$ac_exeext &&
4017 $as_test_x conftest$ac_exeext; then
4018 { echo "$as_me:$LINENO: result: yes" >&5
4019 echo "${ECHO_T}yes" >&6; }
4020 X_LIBS="$X_LIBS -R $x_libraries"
4022 echo "$as_me: failed program was:" >&5
4023 sed 's/^/| /' conftest.$ac_ext >&5
4025 { echo "$as_me:$LINENO: result: neither works" >&5
4026 echo "${ECHO_T}neither works" >&6; }
4029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4030 conftest$ac_exeext conftest.$ac_ext
4033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4034 conftest$ac_exeext conftest.$ac_ext
4035 ac_c_werror_flag=$ac_xsave_c_werror_flag
4039 # Check for system-dependent libraries X programs must link with.
4040 # Do this before checking for the system-independent R6 libraries
4041 # (-lICE), since we may need -lsocket or whatever for X linking.
4043 if test "$ISC" = yes; then
4044 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4046 # Martyn Johnson says this is needed for Ultrix, if the X
4047 # libraries were built with DECnet support. And Karl Berry says
4048 # the Alpha needs dnet_stub (dnet does not exist).
4049 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4050 cat >conftest.$ac_ext <<_ACEOF
4053 cat confdefs.h >>conftest.$ac_ext
4054 cat >>conftest.$ac_ext <<_ACEOF
4055 /* end confdefs.h. */
4057 /* Override any GCC internal prototype to avoid an error.
4058 Use char because int might match the return type of a GCC
4059 builtin and then its argument prototype would still apply. */
4063 char XOpenDisplay ();
4067 return XOpenDisplay ();
4072 rm -f conftest.$ac_objext conftest$ac_exeext
4073 if { (ac_try="$ac_link"
4075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4076 *) ac_try_echo=$ac_try;;
4078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4079 (eval "$ac_link") 2>conftest.er1
4081 grep -v '^ *+' conftest.er1 >conftest.err
4083 cat conftest.err >&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); } && {
4086 test -z "$ac_c_werror_flag" ||
4087 test ! -s conftest.err
4088 } && test -s conftest$ac_exeext &&
4089 $as_test_x conftest$ac_exeext; then
4092 echo "$as_me: failed program was:" >&5
4093 sed 's/^/| /' conftest.$ac_ext >&5
4095 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4096 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4097 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4098 echo $ECHO_N "(cached) $ECHO_C" >&6
4100 ac_check_lib_save_LIBS=$LIBS
4102 cat >conftest.$ac_ext <<_ACEOF
4105 cat confdefs.h >>conftest.$ac_ext
4106 cat >>conftest.$ac_ext <<_ACEOF
4107 /* end confdefs.h. */
4109 /* Override any GCC internal prototype to avoid an error.
4110 Use char because int might match the return type of a GCC
4111 builtin and then its argument prototype would still apply. */
4119 return dnet_ntoa ();
4124 rm -f conftest.$ac_objext conftest$ac_exeext
4125 if { (ac_try="$ac_link"
4127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4128 *) ac_try_echo=$ac_try;;
4130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4131 (eval "$ac_link") 2>conftest.er1
4133 grep -v '^ *+' conftest.er1 >conftest.err
4135 cat conftest.err >&5
4136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); } && {
4138 test -z "$ac_c_werror_flag" ||
4139 test ! -s conftest.err
4140 } && test -s conftest$ac_exeext &&
4141 $as_test_x conftest$ac_exeext; then
4142 ac_cv_lib_dnet_dnet_ntoa=yes
4144 echo "$as_me: failed program was:" >&5
4145 sed 's/^/| /' conftest.$ac_ext >&5
4147 ac_cv_lib_dnet_dnet_ntoa=no
4150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4151 conftest$ac_exeext conftest.$ac_ext
4152 LIBS=$ac_check_lib_save_LIBS
4154 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4155 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4156 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4157 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4160 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4161 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4162 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4163 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4164 echo $ECHO_N "(cached) $ECHO_C" >&6
4166 ac_check_lib_save_LIBS=$LIBS
4167 LIBS="-ldnet_stub $LIBS"
4168 cat >conftest.$ac_ext <<_ACEOF
4171 cat confdefs.h >>conftest.$ac_ext
4172 cat >>conftest.$ac_ext <<_ACEOF
4173 /* end confdefs.h. */
4175 /* Override any GCC internal prototype to avoid an error.
4176 Use char because int might match the return type of a GCC
4177 builtin and then its argument prototype would still apply. */
4185 return dnet_ntoa ();
4190 rm -f conftest.$ac_objext conftest$ac_exeext
4191 if { (ac_try="$ac_link"
4193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4194 *) ac_try_echo=$ac_try;;
4196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4197 (eval "$ac_link") 2>conftest.er1
4199 grep -v '^ *+' conftest.er1 >conftest.err
4201 cat conftest.err >&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); } && {
4204 test -z "$ac_c_werror_flag" ||
4205 test ! -s conftest.err
4206 } && test -s conftest$ac_exeext &&
4207 $as_test_x conftest$ac_exeext; then
4208 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4210 echo "$as_me: failed program was:" >&5
4211 sed 's/^/| /' conftest.$ac_ext >&5
4213 ac_cv_lib_dnet_stub_dnet_ntoa=no
4216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4217 conftest$ac_exeext conftest.$ac_ext
4218 LIBS=$ac_check_lib_save_LIBS
4220 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4221 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4222 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4223 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4230 conftest$ac_exeext conftest.$ac_ext
4231 LIBS="$ac_xsave_LIBS"
4233 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4234 # to get the SysV transport functions.
4235 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4237 # The nsl library prevents programs from opening the X display
4238 # on Irix 5.2, according to T.E. Dickey.
4239 # The functions gethostbyname, getservbyname, and inet_addr are
4240 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4241 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4242 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4243 if test "${ac_cv_func_gethostbyname+set}" = set; then
4244 echo $ECHO_N "(cached) $ECHO_C" >&6
4246 cat >conftest.$ac_ext <<_ACEOF
4249 cat confdefs.h >>conftest.$ac_ext
4250 cat >>conftest.$ac_ext <<_ACEOF
4251 /* end confdefs.h. */
4252 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4254 #define gethostbyname innocuous_gethostbyname
4256 /* System header to define __stub macros and hopefully few prototypes,
4257 which can conflict with char gethostbyname (); below.
4258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4259 <limits.h> exists even on freestanding compilers. */
4262 # include <limits.h>
4264 # include <assert.h>
4267 #undef gethostbyname
4269 /* Override any GCC internal prototype to avoid an error.
4270 Use char because int might match the return type of a GCC
4271 builtin and then its argument prototype would still apply. */
4275 char gethostbyname ();
4276 /* The GNU C library defines this for functions which it implements
4277 to always fail with ENOSYS. Some functions are actually named
4278 something starting with __ and the normal name is an alias. */
4279 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4286 return gethostbyname ();
4291 rm -f conftest.$ac_objext conftest$ac_exeext
4292 if { (ac_try="$ac_link"
4294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4298 (eval "$ac_link") 2>conftest.er1
4300 grep -v '^ *+' conftest.er1 >conftest.err
4302 cat conftest.err >&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); } && {
4305 test -z "$ac_c_werror_flag" ||
4306 test ! -s conftest.err
4307 } && test -s conftest$ac_exeext &&
4308 $as_test_x conftest$ac_exeext; then
4309 ac_cv_func_gethostbyname=yes
4311 echo "$as_me: failed program was:" >&5
4312 sed 's/^/| /' conftest.$ac_ext >&5
4314 ac_cv_func_gethostbyname=no
4317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4318 conftest$ac_exeext conftest.$ac_ext
4320 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4321 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4323 if test $ac_cv_func_gethostbyname = no; then
4324 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4325 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4326 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4329 ac_check_lib_save_LIBS=$LIBS
4331 cat >conftest.$ac_ext <<_ACEOF
4334 cat confdefs.h >>conftest.$ac_ext
4335 cat >>conftest.$ac_ext <<_ACEOF
4336 /* end confdefs.h. */
4338 /* Override any GCC internal prototype to avoid an error.
4339 Use char because int might match the return type of a GCC
4340 builtin and then its argument prototype would still apply. */
4344 char gethostbyname ();
4348 return gethostbyname ();
4353 rm -f conftest.$ac_objext conftest$ac_exeext
4354 if { (ac_try="$ac_link"
4356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4357 *) ac_try_echo=$ac_try;;
4359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4360 (eval "$ac_link") 2>conftest.er1
4362 grep -v '^ *+' conftest.er1 >conftest.err
4364 cat conftest.err >&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); } && {
4367 test -z "$ac_c_werror_flag" ||
4368 test ! -s conftest.err
4369 } && test -s conftest$ac_exeext &&
4370 $as_test_x conftest$ac_exeext; then
4371 ac_cv_lib_nsl_gethostbyname=yes
4373 echo "$as_me: failed program was:" >&5
4374 sed 's/^/| /' conftest.$ac_ext >&5
4376 ac_cv_lib_nsl_gethostbyname=no
4379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4380 conftest$ac_exeext conftest.$ac_ext
4381 LIBS=$ac_check_lib_save_LIBS
4383 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4384 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4385 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4386 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4389 if test $ac_cv_lib_nsl_gethostbyname = no; then
4390 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4391 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4392 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4393 echo $ECHO_N "(cached) $ECHO_C" >&6
4395 ac_check_lib_save_LIBS=$LIBS
4397 cat >conftest.$ac_ext <<_ACEOF
4400 cat confdefs.h >>conftest.$ac_ext
4401 cat >>conftest.$ac_ext <<_ACEOF
4402 /* end confdefs.h. */
4404 /* Override any GCC internal prototype to avoid an error.
4405 Use char because int might match the return type of a GCC
4406 builtin and then its argument prototype would still apply. */
4410 char gethostbyname ();
4414 return gethostbyname ();
4419 rm -f conftest.$ac_objext conftest$ac_exeext
4420 if { (ac_try="$ac_link"
4422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4423 *) ac_try_echo=$ac_try;;
4425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4426 (eval "$ac_link") 2>conftest.er1
4428 grep -v '^ *+' conftest.er1 >conftest.err
4430 cat conftest.err >&5
4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 (exit $ac_status); } && {
4433 test -z "$ac_c_werror_flag" ||
4434 test ! -s conftest.err
4435 } && test -s conftest$ac_exeext &&
4436 $as_test_x conftest$ac_exeext; then
4437 ac_cv_lib_bsd_gethostbyname=yes
4439 echo "$as_me: failed program was:" >&5
4440 sed 's/^/| /' conftest.$ac_ext >&5
4442 ac_cv_lib_bsd_gethostbyname=no
4445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4446 conftest$ac_exeext conftest.$ac_ext
4447 LIBS=$ac_check_lib_save_LIBS
4449 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4450 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4451 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4452 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4458 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4459 # socket/setsockopt and other routines are undefined under SCO ODT
4460 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4461 # on later versions), says Simon Leinen: it contains gethostby*
4462 # variants that don't use the name server (or something). -lsocket
4463 # must be given before -lnsl if both are needed. We assume that
4464 # if connect needs -lnsl, so does gethostbyname.
4465 { echo "$as_me:$LINENO: checking for connect" >&5
4466 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4467 if test "${ac_cv_func_connect+set}" = set; then
4468 echo $ECHO_N "(cached) $ECHO_C" >&6
4470 cat >conftest.$ac_ext <<_ACEOF
4473 cat confdefs.h >>conftest.$ac_ext
4474 cat >>conftest.$ac_ext <<_ACEOF
4475 /* end confdefs.h. */
4476 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4478 #define connect innocuous_connect
4480 /* System header to define __stub macros and hopefully few prototypes,
4481 which can conflict with char connect (); below.
4482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4483 <limits.h> exists even on freestanding compilers. */
4486 # include <limits.h>
4488 # include <assert.h>
4493 /* Override any GCC internal prototype to avoid an error.
4494 Use char because int might match the return type of a GCC
4495 builtin and then its argument prototype would still apply. */
4500 /* The GNU C library defines this for functions which it implements
4501 to always fail with ENOSYS. Some functions are actually named
4502 something starting with __ and the normal name is an alias. */
4503 #if defined __stub_connect || defined __stub___connect
4515 rm -f conftest.$ac_objext conftest$ac_exeext
4516 if { (ac_try="$ac_link"
4518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4519 *) ac_try_echo=$ac_try;;
4521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4522 (eval "$ac_link") 2>conftest.er1
4524 grep -v '^ *+' conftest.er1 >conftest.err
4526 cat conftest.err >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); } && {
4529 test -z "$ac_c_werror_flag" ||
4530 test ! -s conftest.err
4531 } && test -s conftest$ac_exeext &&
4532 $as_test_x conftest$ac_exeext; then
4533 ac_cv_func_connect=yes
4535 echo "$as_me: failed program was:" >&5
4536 sed 's/^/| /' conftest.$ac_ext >&5
4538 ac_cv_func_connect=no
4541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4542 conftest$ac_exeext conftest.$ac_ext
4544 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4545 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4547 if test $ac_cv_func_connect = no; then
4548 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4549 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4550 if test "${ac_cv_lib_socket_connect+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 ac_check_lib_save_LIBS=$LIBS
4554 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4555 cat >conftest.$ac_ext <<_ACEOF
4558 cat confdefs.h >>conftest.$ac_ext
4559 cat >>conftest.$ac_ext <<_ACEOF
4560 /* end confdefs.h. */
4562 /* Override any GCC internal prototype to avoid an error.
4563 Use char because int might match the return type of a GCC
4564 builtin and then its argument prototype would still apply. */
4577 rm -f conftest.$ac_objext conftest$ac_exeext
4578 if { (ac_try="$ac_link"
4580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4581 *) ac_try_echo=$ac_try;;
4583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4584 (eval "$ac_link") 2>conftest.er1
4586 grep -v '^ *+' conftest.er1 >conftest.err
4588 cat conftest.err >&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); } && {
4591 test -z "$ac_c_werror_flag" ||
4592 test ! -s conftest.err
4593 } && test -s conftest$ac_exeext &&
4594 $as_test_x conftest$ac_exeext; then
4595 ac_cv_lib_socket_connect=yes
4597 echo "$as_me: failed program was:" >&5
4598 sed 's/^/| /' conftest.$ac_ext >&5
4600 ac_cv_lib_socket_connect=no
4603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4604 conftest$ac_exeext conftest.$ac_ext
4605 LIBS=$ac_check_lib_save_LIBS
4607 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4608 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4609 if test $ac_cv_lib_socket_connect = yes; then
4610 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4615 # Guillermo Gomez says -lposix is necessary on A/UX.
4616 { echo "$as_me:$LINENO: checking for remove" >&5
4617 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4618 if test "${ac_cv_func_remove+set}" = set; then
4619 echo $ECHO_N "(cached) $ECHO_C" >&6
4621 cat >conftest.$ac_ext <<_ACEOF
4624 cat confdefs.h >>conftest.$ac_ext
4625 cat >>conftest.$ac_ext <<_ACEOF
4626 /* end confdefs.h. */
4627 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4629 #define remove innocuous_remove
4631 /* System header to define __stub macros and hopefully few prototypes,
4632 which can conflict with char remove (); below.
4633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4634 <limits.h> exists even on freestanding compilers. */
4637 # include <limits.h>
4639 # include <assert.h>
4644 /* Override any GCC internal prototype to avoid an error.
4645 Use char because int might match the return type of a GCC
4646 builtin and then its argument prototype would still apply. */
4651 /* The GNU C library defines this for functions which it implements
4652 to always fail with ENOSYS. Some functions are actually named
4653 something starting with __ and the normal name is an alias. */
4654 #if defined __stub_remove || defined __stub___remove
4666 rm -f conftest.$ac_objext conftest$ac_exeext
4667 if { (ac_try="$ac_link"
4669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4670 *) ac_try_echo=$ac_try;;
4672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4673 (eval "$ac_link") 2>conftest.er1
4675 grep -v '^ *+' conftest.er1 >conftest.err
4677 cat conftest.err >&5
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); } && {
4680 test -z "$ac_c_werror_flag" ||
4681 test ! -s conftest.err
4682 } && test -s conftest$ac_exeext &&
4683 $as_test_x conftest$ac_exeext; then
4684 ac_cv_func_remove=yes
4686 echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.$ac_ext >&5
4689 ac_cv_func_remove=no
4692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4693 conftest$ac_exeext conftest.$ac_ext
4695 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4696 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4698 if test $ac_cv_func_remove = no; then
4699 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4700 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4701 if test "${ac_cv_lib_posix_remove+set}" = set; then
4702 echo $ECHO_N "(cached) $ECHO_C" >&6
4704 ac_check_lib_save_LIBS=$LIBS
4705 LIBS="-lposix $LIBS"
4706 cat >conftest.$ac_ext <<_ACEOF
4709 cat confdefs.h >>conftest.$ac_ext
4710 cat >>conftest.$ac_ext <<_ACEOF
4711 /* end confdefs.h. */
4713 /* Override any GCC internal prototype to avoid an error.
4714 Use char because int might match the return type of a GCC
4715 builtin and then its argument prototype would still apply. */
4728 rm -f conftest.$ac_objext conftest$ac_exeext
4729 if { (ac_try="$ac_link"
4731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4732 *) ac_try_echo=$ac_try;;
4734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4735 (eval "$ac_link") 2>conftest.er1
4737 grep -v '^ *+' conftest.er1 >conftest.err
4739 cat conftest.err >&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); } && {
4742 test -z "$ac_c_werror_flag" ||
4743 test ! -s conftest.err
4744 } && test -s conftest$ac_exeext &&
4745 $as_test_x conftest$ac_exeext; then
4746 ac_cv_lib_posix_remove=yes
4748 echo "$as_me: failed program was:" >&5
4749 sed 's/^/| /' conftest.$ac_ext >&5
4751 ac_cv_lib_posix_remove=no
4754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4755 conftest$ac_exeext conftest.$ac_ext
4756 LIBS=$ac_check_lib_save_LIBS
4758 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4759 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4760 if test $ac_cv_lib_posix_remove = yes; then
4761 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4766 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4767 { echo "$as_me:$LINENO: checking for shmat" >&5
4768 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4769 if test "${ac_cv_func_shmat+set}" = set; then
4770 echo $ECHO_N "(cached) $ECHO_C" >&6
4772 cat >conftest.$ac_ext <<_ACEOF
4775 cat confdefs.h >>conftest.$ac_ext
4776 cat >>conftest.$ac_ext <<_ACEOF
4777 /* end confdefs.h. */
4778 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4780 #define shmat innocuous_shmat
4782 /* System header to define __stub macros and hopefully few prototypes,
4783 which can conflict with char shmat (); below.
4784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4785 <limits.h> exists even on freestanding compilers. */
4788 # include <limits.h>
4790 # include <assert.h>
4795 /* Override any GCC internal prototype to avoid an error.
4796 Use char because int might match the return type of a GCC
4797 builtin and then its argument prototype would still apply. */
4802 /* The GNU C library defines this for functions which it implements
4803 to always fail with ENOSYS. Some functions are actually named
4804 something starting with __ and the normal name is an alias. */
4805 #if defined __stub_shmat || defined __stub___shmat
4817 rm -f conftest.$ac_objext conftest$ac_exeext
4818 if { (ac_try="$ac_link"
4820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4821 *) ac_try_echo=$ac_try;;
4823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4824 (eval "$ac_link") 2>conftest.er1
4826 grep -v '^ *+' conftest.er1 >conftest.err
4828 cat conftest.err >&5
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); } && {
4831 test -z "$ac_c_werror_flag" ||
4832 test ! -s conftest.err
4833 } && test -s conftest$ac_exeext &&
4834 $as_test_x conftest$ac_exeext; then
4835 ac_cv_func_shmat=yes
4837 echo "$as_me: failed program was:" >&5
4838 sed 's/^/| /' conftest.$ac_ext >&5
4843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4844 conftest$ac_exeext conftest.$ac_ext
4846 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4847 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4849 if test $ac_cv_func_shmat = no; then
4850 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4851 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4852 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4853 echo $ECHO_N "(cached) $ECHO_C" >&6
4855 ac_check_lib_save_LIBS=$LIBS
4857 cat >conftest.$ac_ext <<_ACEOF
4860 cat confdefs.h >>conftest.$ac_ext
4861 cat >>conftest.$ac_ext <<_ACEOF
4862 /* end confdefs.h. */
4864 /* Override any GCC internal prototype to avoid an error.
4865 Use char because int might match the return type of a GCC
4866 builtin and then its argument prototype would still apply. */
4879 rm -f conftest.$ac_objext conftest$ac_exeext
4880 if { (ac_try="$ac_link"
4882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4883 *) ac_try_echo=$ac_try;;
4885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4886 (eval "$ac_link") 2>conftest.er1
4888 grep -v '^ *+' conftest.er1 >conftest.err
4890 cat conftest.err >&5
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); } && {
4893 test -z "$ac_c_werror_flag" ||
4894 test ! -s conftest.err
4895 } && test -s conftest$ac_exeext &&
4896 $as_test_x conftest$ac_exeext; then
4897 ac_cv_lib_ipc_shmat=yes
4899 echo "$as_me: failed program was:" >&5
4900 sed 's/^/| /' conftest.$ac_ext >&5
4902 ac_cv_lib_ipc_shmat=no
4905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4906 conftest$ac_exeext conftest.$ac_ext
4907 LIBS=$ac_check_lib_save_LIBS
4909 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4910 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4911 if test $ac_cv_lib_ipc_shmat = yes; then
4912 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4918 # Check for libraries that X11R6 Xt/Xaw programs need.
4919 ac_save_LDFLAGS=$LDFLAGS
4920 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4921 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4922 # check for ICE first), but we must link in the order -lSM -lICE or
4923 # we get undefined symbols. So assume we have SM if we have ICE.
4924 # These have to be linked with before -lX11, unlike the other
4925 # libraries we check for below, so use a different variable.
4926 # John Interrante, Karl Berry
4927 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4928 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4929 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4930 echo $ECHO_N "(cached) $ECHO_C" >&6
4932 ac_check_lib_save_LIBS=$LIBS
4933 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4934 cat >conftest.$ac_ext <<_ACEOF
4937 cat confdefs.h >>conftest.$ac_ext
4938 cat >>conftest.$ac_ext <<_ACEOF
4939 /* end confdefs.h. */
4941 /* Override any GCC internal prototype to avoid an error.
4942 Use char because int might match the return type of a GCC
4943 builtin and then its argument prototype would still apply. */
4947 char IceConnectionNumber ();
4951 return IceConnectionNumber ();
4956 rm -f conftest.$ac_objext conftest$ac_exeext
4957 if { (ac_try="$ac_link"
4959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4960 *) ac_try_echo=$ac_try;;
4962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4963 (eval "$ac_link") 2>conftest.er1
4965 grep -v '^ *+' conftest.er1 >conftest.err
4967 cat conftest.err >&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); } && {
4970 test -z "$ac_c_werror_flag" ||
4971 test ! -s conftest.err
4972 } && test -s conftest$ac_exeext &&
4973 $as_test_x conftest$ac_exeext; then
4974 ac_cv_lib_ICE_IceConnectionNumber=yes
4976 echo "$as_me: failed program was:" >&5
4977 sed 's/^/| /' conftest.$ac_ext >&5
4979 ac_cv_lib_ICE_IceConnectionNumber=no
4982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4983 conftest$ac_exeext conftest.$ac_ext
4984 LIBS=$ac_check_lib_save_LIBS
4986 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4987 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4988 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4989 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4992 LDFLAGS=$ac_save_LDFLAGS
4999 # Extract the first word of "$ac_prog", so it can be a program name with args.
5000 set dummy $ac_prog; ac_word=$2
5001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5003 if test "${ac_cv_prog_FLEX+set}" = set; then
5004 echo $ECHO_N "(cached) $ECHO_C" >&6
5006 if test -n "$FLEX"; then
5007 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5013 test -z "$as_dir" && as_dir=.
5014 for ac_exec_ext in '' $ac_executable_extensions; do
5015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5016 ac_cv_prog_FLEX="$ac_prog"
5017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5026 FLEX=$ac_cv_prog_FLEX
5027 if test -n "$FLEX"; then
5028 { echo "$as_me:$LINENO: result: $FLEX" >&5
5029 echo "${ECHO_T}$FLEX" >&6; }
5031 { echo "$as_me:$LINENO: result: no" >&5
5032 echo "${ECHO_T}no" >&6; }
5036 test -n "$FLEX" && break
5038 test -n "$FLEX" || FLEX="none"
5040 if test "$FLEX" = "none"
5042 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5043 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5044 { (exit 1); exit 1; }; }
5047 for ac_prog in bison
5049 # Extract the first word of "$ac_prog", so it can be a program name with args.
5050 set dummy $ac_prog; ac_word=$2
5051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5053 if test "${ac_cv_prog_BISON+set}" = set; then
5054 echo $ECHO_N "(cached) $ECHO_C" >&6
5056 if test -n "$BISON"; then
5057 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 test -z "$as_dir" && as_dir=.
5064 for ac_exec_ext in '' $ac_executable_extensions; do
5065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5066 ac_cv_prog_BISON="$ac_prog"
5067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5076 BISON=$ac_cv_prog_BISON
5077 if test -n "$BISON"; then
5078 { echo "$as_me:$LINENO: result: $BISON" >&5
5079 echo "${ECHO_T}$BISON" >&6; }
5081 { echo "$as_me:$LINENO: result: no" >&5
5082 echo "${ECHO_T}no" >&6; }
5086 test -n "$BISON" && break
5088 test -n "$BISON" || BISON="none"
5090 if test "$BISON" = "none"
5092 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5093 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5094 { (exit 1); exit 1; }; }
5097 if test -n "$ac_tool_prefix"; then
5098 for ac_prog in gas as
5100 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5101 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5102 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5104 if test "${ac_cv_prog_AS+set}" = set; then
5105 echo $ECHO_N "(cached) $ECHO_C" >&6
5107 if test -n "$AS"; then
5108 ac_cv_prog_AS="$AS" # Let the user override the test.
5110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114 test -z "$as_dir" && as_dir=.
5115 for ac_exec_ext in '' $ac_executable_extensions; do
5116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5117 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5128 if test -n "$AS"; then
5129 { echo "$as_me:$LINENO: result: $AS" >&5
5130 echo "${ECHO_T}$AS" >&6; }
5132 { echo "$as_me:$LINENO: result: no" >&5
5133 echo "${ECHO_T}no" >&6; }
5137 test -n "$AS" && break
5140 if test -z "$AS"; then
5142 for ac_prog in gas as
5144 # Extract the first word of "$ac_prog", so it can be a program name with args.
5145 set dummy $ac_prog; ac_word=$2
5146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5148 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 if test -n "$ac_ct_AS"; then
5152 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5158 test -z "$as_dir" && as_dir=.
5159 for ac_exec_ext in '' $ac_executable_extensions; do
5160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5161 ac_cv_prog_ac_ct_AS="$ac_prog"
5162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5171 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5172 if test -n "$ac_ct_AS"; then
5173 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5174 echo "${ECHO_T}$ac_ct_AS" >&6; }
5176 { echo "$as_me:$LINENO: result: no" >&5
5177 echo "${ECHO_T}no" >&6; }
5181 test -n "$ac_ct_AS" && break
5184 if test "x$ac_ct_AS" = x; then
5187 case $cross_compiling:$ac_tool_warned in
5189 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5190 whose name does not start with the host triplet. If you think this
5191 configuration is useful to you, please write to autoconf@gnu.org." >&5
5192 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5193 whose name does not start with the host triplet. If you think this
5194 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5195 ac_tool_warned=yes ;;
5201 if test -n "$ac_tool_prefix"; then
5202 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5203 set dummy ${ac_tool_prefix}ld; ac_word=$2
5204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5206 if test "${ac_cv_prog_LD+set}" = set; then
5207 echo $ECHO_N "(cached) $ECHO_C" >&6
5209 if test -n "$LD"; then
5210 ac_cv_prog_LD="$LD" # Let the user override the test.
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216 test -z "$as_dir" && as_dir=.
5217 for ac_exec_ext in '' $ac_executable_extensions; do
5218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219 ac_cv_prog_LD="${ac_tool_prefix}ld"
5220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5230 if test -n "$LD"; then
5231 { echo "$as_me:$LINENO: result: $LD" >&5
5232 echo "${ECHO_T}$LD" >&6; }
5234 { echo "$as_me:$LINENO: result: no" >&5
5235 echo "${ECHO_T}no" >&6; }
5240 if test -z "$ac_cv_prog_LD"; then
5242 # Extract the first word of "ld", so it can be a program name with args.
5243 set dummy ld; ac_word=$2
5244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5246 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 if test -n "$ac_ct_LD"; then
5250 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256 test -z "$as_dir" && as_dir=.
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5259 ac_cv_prog_ac_ct_LD="ld"
5260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5270 if test -n "$ac_ct_LD"; then
5271 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5272 echo "${ECHO_T}$ac_ct_LD" >&6; }
5274 { echo "$as_me:$LINENO: result: no" >&5
5275 echo "${ECHO_T}no" >&6; }
5278 if test "x$ac_ct_LD" = x; then
5281 case $cross_compiling:$ac_tool_warned in
5283 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5284 whose name does not start with the host triplet. If you think this
5285 configuration is useful to you, please write to autoconf@gnu.org." >&5
5286 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5287 whose name does not start with the host triplet. If you think this
5288 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5289 ac_tool_warned=yes ;;
5297 if test -n "$ac_tool_prefix"; then
5298 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5299 set dummy ${ac_tool_prefix}ar; ac_word=$2
5300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5302 if test "${ac_cv_prog_AR+set}" = set; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5305 if test -n "$AR"; then
5306 ac_cv_prog_AR="$AR" # Let the user override the test.
5308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5312 test -z "$as_dir" && as_dir=.
5313 for ac_exec_ext in '' $ac_executable_extensions; do
5314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5315 ac_cv_prog_AR="${ac_tool_prefix}ar"
5316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 if test -n "$AR"; then
5327 { echo "$as_me:$LINENO: result: $AR" >&5
5328 echo "${ECHO_T}$AR" >&6; }
5330 { echo "$as_me:$LINENO: result: no" >&5
5331 echo "${ECHO_T}no" >&6; }
5336 if test -z "$ac_cv_prog_AR"; then
5338 # Extract the first word of "ar", so it can be a program name with args.
5339 set dummy ar; ac_word=$2
5340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5342 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 if test -n "$ac_ct_AR"; then
5346 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5352 test -z "$as_dir" && as_dir=.
5353 for ac_exec_ext in '' $ac_executable_extensions; do
5354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5355 ac_cv_prog_ac_ct_AR="ar"
5356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5365 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5366 if test -n "$ac_ct_AR"; then
5367 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5368 echo "${ECHO_T}$ac_ct_AR" >&6; }
5370 { echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6; }
5374 if test "x$ac_ct_AR" = x; then
5377 case $cross_compiling:$ac_tool_warned in
5379 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5380 whose name does not start with the host triplet. If you think this
5381 configuration is useful to you, please write to autoconf@gnu.org." >&5
5382 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5383 whose name does not start with the host triplet. If you think this
5384 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5385 ac_tool_warned=yes ;;
5393 if test -n "$ac_tool_prefix"; then
5394 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5395 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5398 if test "${ac_cv_prog_RANLIB+set}" = set; then
5399 echo $ECHO_N "(cached) $ECHO_C" >&6
5401 if test -n "$RANLIB"; then
5402 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5408 test -z "$as_dir" && as_dir=.
5409 for ac_exec_ext in '' $ac_executable_extensions; do
5410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5411 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5421 RANLIB=$ac_cv_prog_RANLIB
5422 if test -n "$RANLIB"; then
5423 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5424 echo "${ECHO_T}$RANLIB" >&6; }
5426 { echo "$as_me:$LINENO: result: no" >&5
5427 echo "${ECHO_T}no" >&6; }
5432 if test -z "$ac_cv_prog_RANLIB"; then
5433 ac_ct_RANLIB=$RANLIB
5434 # Extract the first word of "ranlib", so it can be a program name with args.
5435 set dummy ranlib; ac_word=$2
5436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5438 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5439 echo $ECHO_N "(cached) $ECHO_C" >&6
5441 if test -n "$ac_ct_RANLIB"; then
5442 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5448 test -z "$as_dir" && as_dir=.
5449 for ac_exec_ext in '' $ac_executable_extensions; do
5450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5451 ac_cv_prog_ac_ct_RANLIB="ranlib"
5452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5462 if test -n "$ac_ct_RANLIB"; then
5463 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5464 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5466 { echo "$as_me:$LINENO: result: no" >&5
5467 echo "${ECHO_T}no" >&6; }
5470 if test "x$ac_ct_RANLIB" = x; then
5473 case $cross_compiling:$ac_tool_warned in
5475 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5476 whose name does not start with the host triplet. If you think this
5477 configuration is useful to you, please write to autoconf@gnu.org." >&5
5478 echo "$as_me: 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." >&2;}
5481 ac_tool_warned=yes ;;
5483 RANLIB=$ac_ct_RANLIB
5486 RANLIB="$ac_cv_prog_RANLIB"
5489 if test -n "$ac_tool_prefix"; then
5490 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5491 set dummy ${ac_tool_prefix}strip; ac_word=$2
5492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5494 if test "${ac_cv_prog_STRIP+set}" = set; then
5495 echo $ECHO_N "(cached) $ECHO_C" >&6
5497 if test -n "$STRIP"; then
5498 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5504 test -z "$as_dir" && as_dir=.
5505 for ac_exec_ext in '' $ac_executable_extensions; do
5506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5507 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5517 STRIP=$ac_cv_prog_STRIP
5518 if test -n "$STRIP"; then
5519 { echo "$as_me:$LINENO: result: $STRIP" >&5
5520 echo "${ECHO_T}$STRIP" >&6; }
5522 { echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6; }
5528 if test -z "$ac_cv_prog_STRIP"; then
5530 # Extract the first word of "strip", so it can be a program name with args.
5531 set dummy strip; ac_word=$2
5532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5534 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5535 echo $ECHO_N "(cached) $ECHO_C" >&6
5537 if test -n "$ac_ct_STRIP"; then
5538 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5544 test -z "$as_dir" && as_dir=.
5545 for ac_exec_ext in '' $ac_executable_extensions; do
5546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5547 ac_cv_prog_ac_ct_STRIP="strip"
5548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5557 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5558 if test -n "$ac_ct_STRIP"; then
5559 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5560 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5562 { echo "$as_me:$LINENO: result: no" >&5
5563 echo "${ECHO_T}no" >&6; }
5566 if test "x$ac_ct_STRIP" = x; then
5569 case $cross_compiling:$ac_tool_warned in
5571 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5572 whose name does not start with the host triplet. If you think this
5573 configuration is useful to you, please write to autoconf@gnu.org." >&5
5574 echo "$as_me: 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." >&2;}
5577 ac_tool_warned=yes ;;
5582 STRIP="$ac_cv_prog_STRIP"
5585 if test -n "$ac_tool_prefix"; then
5586 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5587 set dummy ${ac_tool_prefix}windres; ac_word=$2
5588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5590 if test "${ac_cv_prog_WINDRES+set}" = set; then
5591 echo $ECHO_N "(cached) $ECHO_C" >&6
5593 if test -n "$WINDRES"; then
5594 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5600 test -z "$as_dir" && as_dir=.
5601 for ac_exec_ext in '' $ac_executable_extensions; do
5602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5603 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5613 WINDRES=$ac_cv_prog_WINDRES
5614 if test -n "$WINDRES"; then
5615 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5616 echo "${ECHO_T}$WINDRES" >&6; }
5618 { echo "$as_me:$LINENO: result: no" >&5
5619 echo "${ECHO_T}no" >&6; }
5624 if test -z "$ac_cv_prog_WINDRES"; then
5625 ac_ct_WINDRES=$WINDRES
5626 # Extract the first word of "windres", so it can be a program name with args.
5627 set dummy windres; ac_word=$2
5628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5630 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5631 echo $ECHO_N "(cached) $ECHO_C" >&6
5633 if test -n "$ac_ct_WINDRES"; then
5634 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5640 test -z "$as_dir" && as_dir=.
5641 for ac_exec_ext in '' $ac_executable_extensions; do
5642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5643 ac_cv_prog_ac_ct_WINDRES="windres"
5644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5653 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5654 if test -n "$ac_ct_WINDRES"; then
5655 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5656 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5658 { echo "$as_me:$LINENO: result: no" >&5
5659 echo "${ECHO_T}no" >&6; }
5662 if test "x$ac_ct_WINDRES" = x; then
5665 case $cross_compiling:$ac_tool_warned in
5667 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5668 whose name does not start with the host triplet. If you think this
5669 configuration is useful to you, please write to autoconf@gnu.org." >&5
5670 echo "$as_me: 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." >&2;}
5673 ac_tool_warned=yes ;;
5675 WINDRES=$ac_ct_WINDRES
5678 WINDRES="$ac_cv_prog_WINDRES"
5681 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5682 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5684 if test "$LN_S" = "ln -s"; then
5685 { echo "$as_me:$LINENO: result: yes" >&5
5686 echo "${ECHO_T}yes" >&6; }
5688 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5689 echo "${ECHO_T}no, using $LN_S" >&6; }
5692 { echo "$as_me:$LINENO: checking whether ln works" >&5
5693 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5694 rm -f conf$$ conf$$.file
5696 if ln conf$$.file conf$$ 2>/dev/null; then
5699 { echo "$as_me:$LINENO: result: yes" >&5
5700 echo "${ECHO_T}yes" >&6; }
5704 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5705 echo "${ECHO_T}no, using $LN" >&6; }
5707 rm -f conf$$ conf$$.file
5708 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5709 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5710 if test "${ac_cv_path_GREP+set}" = set; then
5711 echo $ECHO_N "(cached) $ECHO_C" >&6
5713 # Extract the first word of "grep ggrep" to use in msg output
5714 if test -z "$GREP"; then
5715 set dummy grep ggrep; ac_prog_name=$2
5716 if test "${ac_cv_path_GREP+set}" = set; then
5717 echo $ECHO_N "(cached) $ECHO_C" >&6
5719 ac_path_GREP_found=false
5720 # Loop through the user's path and test for each of PROGNAME-LIST
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5722 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5725 test -z "$as_dir" && as_dir=.
5726 for ac_prog in grep ggrep; do
5727 for ac_exec_ext in '' $ac_executable_extensions; do
5728 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5729 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5730 # Check for GNU ac_path_GREP and select it if it is found.
5731 # Check for GNU $ac_path_GREP
5732 case `"$ac_path_GREP" --version 2>&1` in
5734 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5737 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5740 cat "conftest.in" "conftest.in" >"conftest.tmp"
5741 mv "conftest.tmp" "conftest.in"
5742 cp "conftest.in" "conftest.nl"
5743 echo 'GREP' >> "conftest.nl"
5744 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5745 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5746 ac_count=`expr $ac_count + 1`
5747 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5748 # Best one so far, save it but keep looking for a better one
5749 ac_cv_path_GREP="$ac_path_GREP"
5750 ac_path_GREP_max=$ac_count
5752 # 10*(2^10) chars as input seems more than enough
5753 test $ac_count -gt 10 && break
5755 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5759 $ac_path_GREP_found && break 3
5769 GREP="$ac_cv_path_GREP"
5770 if test -z "$GREP"; then
5771 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5772 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5773 { (exit 1); exit 1; }; }
5777 ac_cv_path_GREP=$GREP
5782 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5783 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5784 GREP="$ac_cv_path_GREP"
5787 { echo "$as_me:$LINENO: checking for egrep" >&5
5788 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5789 if test "${ac_cv_path_EGREP+set}" = set; then
5790 echo $ECHO_N "(cached) $ECHO_C" >&6
5792 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5793 then ac_cv_path_EGREP="$GREP -E"
5795 # Extract the first word of "egrep" to use in msg output
5796 if test -z "$EGREP"; then
5797 set dummy egrep; ac_prog_name=$2
5798 if test "${ac_cv_path_EGREP+set}" = set; then
5799 echo $ECHO_N "(cached) $ECHO_C" >&6
5801 ac_path_EGREP_found=false
5802 # Loop through the user's path and test for each of PROGNAME-LIST
5803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5804 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5807 test -z "$as_dir" && as_dir=.
5808 for ac_prog in egrep; do
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5811 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5812 # Check for GNU ac_path_EGREP and select it if it is found.
5813 # Check for GNU $ac_path_EGREP
5814 case `"$ac_path_EGREP" --version 2>&1` in
5816 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5819 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5822 cat "conftest.in" "conftest.in" >"conftest.tmp"
5823 mv "conftest.tmp" "conftest.in"
5824 cp "conftest.in" "conftest.nl"
5825 echo 'EGREP' >> "conftest.nl"
5826 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5827 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5828 ac_count=`expr $ac_count + 1`
5829 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5830 # Best one so far, save it but keep looking for a better one
5831 ac_cv_path_EGREP="$ac_path_EGREP"
5832 ac_path_EGREP_max=$ac_count
5834 # 10*(2^10) chars as input seems more than enough
5835 test $ac_count -gt 10 && break
5837 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5841 $ac_path_EGREP_found && break 3
5851 EGREP="$ac_cv_path_EGREP"
5852 if test -z "$EGREP"; then
5853 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5854 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5855 { (exit 1); exit 1; }; }
5859 ac_cv_path_EGREP=$EGREP
5865 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5866 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5867 EGREP="$ac_cv_path_EGREP"
5870 # Extract the first word of "ldconfig", so it can be a program name with args.
5871 set dummy ldconfig; ac_word=$2
5872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5874 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5875 echo $ECHO_N "(cached) $ECHO_C" >&6
5879 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 for as_dir in /sbin /usr/sbin $PATH
5886 test -z "$as_dir" && as_dir=.
5887 for ac_exec_ext in '' $ac_executable_extensions; do
5888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5889 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5897 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5901 LDCONFIG=$ac_cv_path_LDCONFIG
5902 if test -n "$LDCONFIG"; then
5903 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5904 echo "${ECHO_T}$LDCONFIG" >&6; }
5906 { echo "$as_me:$LINENO: result: no" >&5
5907 echo "${ECHO_T}no" >&6; }
5911 # Find a good install program. We prefer a C program (faster),
5912 # so one script is as good as another. But avoid the broken or
5913 # incompatible versions:
5914 # SysV /etc/install, /usr/sbin/install
5915 # SunOS /usr/etc/install
5916 # IRIX /sbin/install
5918 # AmigaOS /C/install, which installs bootblocks on floppy discs
5919 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5920 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5921 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5922 # OS/2's system install, which has a completely different semantic
5923 # ./install, which can be erroneously created by make from ./install.sh.
5924 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5925 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5926 if test -z "$INSTALL"; then
5927 if test "${ac_cv_path_install+set}" = set; then
5928 echo $ECHO_N "(cached) $ECHO_C" >&6
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 test -z "$as_dir" && as_dir=.
5935 # Account for people who put trailing slashes in PATH elements.
5937 ./ | .// | /cC/* | \
5938 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5939 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5942 # OSF1 and SCO ODT 3.0 have their own names for install.
5943 # Don't use installbsd from OSF since it installs stuff as root
5945 for ac_prog in ginstall scoinst install; do
5946 for ac_exec_ext in '' $ac_executable_extensions; do
5947 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5948 if test $ac_prog = install &&
5949 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5950 # AIX install. It has an incompatible calling convention.
5952 elif test $ac_prog = install &&
5953 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5954 # program-specific install script used by HP pwplus--don't use.
5957 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5970 if test "${ac_cv_path_install+set}" = set; then
5971 INSTALL=$ac_cv_path_install
5973 # As a last resort, use the slow shell script. Don't cache a
5974 # value for INSTALL within a source directory, because that will
5975 # break other packages using the cache if that directory is
5976 # removed, or if the value is a relative name.
5977 INSTALL=$ac_install_sh
5980 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5981 echo "${ECHO_T}$INSTALL" >&6; }
5983 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5984 # It thinks the first close brace ends the variable substitution.
5985 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5987 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5989 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5992 [\\/$]* | ?:[\\/]* ) ;;
5993 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5996 for ac_prog in lclint lint
5998 # Extract the first word of "$ac_prog", so it can be a program name with args.
5999 set dummy $ac_prog; ac_word=$2
6000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6002 if test "${ac_cv_prog_LINT+set}" = set; then
6003 echo $ECHO_N "(cached) $ECHO_C" >&6
6005 if test -n "$LINT"; then
6006 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6012 test -z "$as_dir" && as_dir=.
6013 for ac_exec_ext in '' $ac_executable_extensions; do
6014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6015 ac_cv_prog_LINT="$ac_prog"
6016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6025 LINT=$ac_cv_prog_LINT
6026 if test -n "$LINT"; then
6027 { echo "$as_me:$LINENO: result: $LINT" >&5
6028 echo "${ECHO_T}$LINT" >&6; }
6030 { echo "$as_me:$LINENO: result: no" >&5
6031 echo "${ECHO_T}no" >&6; }
6035 test -n "$LINT" && break
6038 if test "$LINT" = "lint"
6040 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6045 for ac_prog in fontforge
6047 # Extract the first word of "$ac_prog", so it can be a program name with args.
6048 set dummy $ac_prog; ac_word=$2
6049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6051 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6052 echo $ECHO_N "(cached) $ECHO_C" >&6
6054 if test -n "$FONTFORGE"; then
6055 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6064 ac_cv_prog_FONTFORGE="$ac_prog"
6065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 FONTFORGE=$ac_cv_prog_FONTFORGE
6075 if test -n "$FONTFORGE"; then
6076 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6077 echo "${ECHO_T}$FONTFORGE" >&6; }
6079 { echo "$as_me:$LINENO: result: no" >&5
6080 echo "${ECHO_T}no" >&6; }
6084 test -n "$FONTFORGE" && break
6086 test -n "$FONTFORGE" || FONTFORGE="false"
6088 for ac_prog in pkg-config
6090 # Extract the first word of "$ac_prog", so it can be a program name with args.
6091 set dummy $ac_prog; ac_word=$2
6092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6094 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6095 echo $ECHO_N "(cached) $ECHO_C" >&6
6097 if test -n "$PKG_CONFIG"; then
6098 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 test -z "$as_dir" && as_dir=.
6105 for ac_exec_ext in '' $ac_executable_extensions; do
6106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6107 ac_cv_prog_PKG_CONFIG="$ac_prog"
6108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6118 if test -n "$PKG_CONFIG"; then
6119 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6120 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6122 { echo "$as_me:$LINENO: result: no" >&5
6123 echo "${ECHO_T}no" >&6; }
6127 test -n "$PKG_CONFIG" && break
6129 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6134 # Extract the first word of "prelink", so it can be a program name with args.
6135 set dummy prelink; ac_word=$2
6136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6138 if test "${ac_cv_path_PRELINK+set}" = set; then
6139 echo $ECHO_N "(cached) $ECHO_C" >&6
6143 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6147 for as_dir in /sbin /usr/sbin $PATH
6150 test -z "$as_dir" && as_dir=.
6151 for ac_exec_ext in '' $ac_executable_extensions; do
6152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6153 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6161 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6165 PRELINK=$ac_cv_path_PRELINK
6166 if test -n "$PRELINK"; then
6167 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6168 echo "${ECHO_T}$PRELINK" >&6; }
6170 { echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6; }
6180 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6181 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6182 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6183 echo $ECHO_N "(cached) $ECHO_C" >&6
6185 ac_check_lib_save_LIBS=$LIBS
6187 cat >conftest.$ac_ext <<_ACEOF
6190 cat confdefs.h >>conftest.$ac_ext
6191 cat >>conftest.$ac_ext <<_ACEOF
6192 /* end confdefs.h. */
6194 /* Override any GCC internal prototype to avoid an error.
6195 Use char because int might match the return type of a GCC
6196 builtin and then its argument prototype would still apply. */
6200 char i386_set_ldt ();
6204 return i386_set_ldt ();
6209 rm -f conftest.$ac_objext conftest$ac_exeext
6210 if { (ac_try="$ac_link"
6212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6213 *) ac_try_echo=$ac_try;;
6215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6216 (eval "$ac_link") 2>conftest.er1
6218 grep -v '^ *+' conftest.er1 >conftest.err
6220 cat conftest.err >&5
6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 (exit $ac_status); } && {
6223 test -z "$ac_c_werror_flag" ||
6224 test ! -s conftest.err
6225 } && test -s conftest$ac_exeext &&
6226 $as_test_x conftest$ac_exeext; then
6227 ac_cv_lib_i386_i386_set_ldt=yes
6229 echo "$as_me: failed program was:" >&5
6230 sed 's/^/| /' conftest.$ac_ext >&5
6232 ac_cv_lib_i386_i386_set_ldt=no
6235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6236 conftest$ac_exeext conftest.$ac_ext
6237 LIBS=$ac_check_lib_save_LIBS
6239 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6240 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6241 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6242 cat >>confdefs.h <<_ACEOF
6243 #define HAVE_LIBI386 1
6251 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6252 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6253 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6254 echo $ECHO_N "(cached) $ECHO_C" >&6
6256 ac_check_lib_save_LIBS=$LIBS
6257 LIBS="-lossaudio $LIBS"
6258 cat >conftest.$ac_ext <<_ACEOF
6261 cat confdefs.h >>conftest.$ac_ext
6262 cat >>conftest.$ac_ext <<_ACEOF
6263 /* end confdefs.h. */
6265 /* Override any GCC internal prototype to avoid an error.
6266 Use char because int might match the return type of a GCC
6267 builtin and then its argument prototype would still apply. */
6275 return _oss_ioctl ();
6280 rm -f conftest.$ac_objext conftest$ac_exeext
6281 if { (ac_try="$ac_link"
6283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6284 *) ac_try_echo=$ac_try;;
6286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6287 (eval "$ac_link") 2>conftest.er1
6289 grep -v '^ *+' conftest.er1 >conftest.err
6291 cat conftest.err >&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } && {
6294 test -z "$ac_c_werror_flag" ||
6295 test ! -s conftest.err
6296 } && test -s conftest$ac_exeext &&
6297 $as_test_x conftest$ac_exeext; then
6298 ac_cv_lib_ossaudio__oss_ioctl=yes
6300 echo "$as_me: failed program was:" >&5
6301 sed 's/^/| /' conftest.$ac_ext >&5
6303 ac_cv_lib_ossaudio__oss_ioctl=no
6306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6307 conftest$ac_exeext conftest.$ac_ext
6308 LIBS=$ac_check_lib_save_LIBS
6310 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6311 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6312 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6313 cat >>confdefs.h <<_ACEOF
6314 #define HAVE_LIBOSSAUDIO 1
6317 LIBS="-lossaudio $LIBS"
6322 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6323 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6324 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6325 echo $ECHO_N "(cached) $ECHO_C" >&6
6327 ac_check_lib_save_LIBS=$LIBS
6329 cat >conftest.$ac_ext <<_ACEOF
6332 cat confdefs.h >>conftest.$ac_ext
6333 cat >>conftest.$ac_ext <<_ACEOF
6334 /* end confdefs.h. */
6336 /* Override any GCC internal prototype to avoid an error.
6337 Use char because int might match the return type of a GCC
6338 builtin and then its argument prototype would still apply. */
6342 char _xpg4_setrunelocale ();
6346 return _xpg4_setrunelocale ();
6351 rm -f conftest.$ac_objext conftest$ac_exeext
6352 if { (ac_try="$ac_link"
6354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6355 *) ac_try_echo=$ac_try;;
6357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6358 (eval "$ac_link") 2>conftest.er1
6360 grep -v '^ *+' conftest.er1 >conftest.err
6362 cat conftest.err >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); } && {
6365 test -z "$ac_c_werror_flag" ||
6366 test ! -s conftest.err
6367 } && test -s conftest$ac_exeext &&
6368 $as_test_x conftest$ac_exeext; then
6369 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6371 echo "$as_me: failed program was:" >&5
6372 sed 's/^/| /' conftest.$ac_ext >&5
6374 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6378 conftest$ac_exeext conftest.$ac_ext
6379 LIBS=$ac_check_lib_save_LIBS
6381 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6382 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6383 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6384 cat >>confdefs.h <<_ACEOF
6385 #define HAVE_LIBXPG4 1
6392 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6393 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6394 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6395 echo $ECHO_N "(cached) $ECHO_C" >&6
6397 ac_check_lib_save_LIBS=$LIBS
6398 LIBS="-lpthread $LIBS"
6399 cat >conftest.$ac_ext <<_ACEOF
6402 cat confdefs.h >>conftest.$ac_ext
6403 cat >>conftest.$ac_ext <<_ACEOF
6404 /* end confdefs.h. */
6406 /* Override any GCC internal prototype to avoid an error.
6407 Use char because int might match the return type of a GCC
6408 builtin and then its argument prototype would still apply. */
6412 char pthread_create ();
6416 return pthread_create ();
6421 rm -f conftest.$ac_objext conftest$ac_exeext
6422 if { (ac_try="$ac_link"
6424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6425 *) ac_try_echo=$ac_try;;
6427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6428 (eval "$ac_link") 2>conftest.er1
6430 grep -v '^ *+' conftest.er1 >conftest.err
6432 cat conftest.err >&5
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); } && {
6435 test -z "$ac_c_werror_flag" ||
6436 test ! -s conftest.err
6437 } && test -s conftest$ac_exeext &&
6438 $as_test_x conftest$ac_exeext; then
6439 ac_cv_lib_pthread_pthread_create=yes
6441 echo "$as_me: failed program was:" >&5
6442 sed 's/^/| /' conftest.$ac_ext >&5
6444 ac_cv_lib_pthread_pthread_create=no
6447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6448 conftest$ac_exeext conftest.$ac_ext
6449 LIBS=$ac_check_lib_save_LIBS
6451 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6452 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6453 if test $ac_cv_lib_pthread_pthread_create = yes; then
6454 LIBPTHREAD="-lpthread"
6473 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6474 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6475 if test "${ac_cv_header_stdc+set}" = set; then
6476 echo $ECHO_N "(cached) $ECHO_C" >&6
6478 cat >conftest.$ac_ext <<_ACEOF
6481 cat confdefs.h >>conftest.$ac_ext
6482 cat >>conftest.$ac_ext <<_ACEOF
6483 /* end confdefs.h. */
6497 rm -f conftest.$ac_objext
6498 if { (ac_try="$ac_compile"
6500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6501 *) ac_try_echo=$ac_try;;
6503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6504 (eval "$ac_compile") 2>conftest.er1
6506 grep -v '^ *+' conftest.er1 >conftest.err
6508 cat conftest.err >&5
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); } && {
6511 test -z "$ac_c_werror_flag" ||
6512 test ! -s conftest.err
6513 } && test -s conftest.$ac_objext; then
6514 ac_cv_header_stdc=yes
6516 echo "$as_me: failed program was:" >&5
6517 sed 's/^/| /' conftest.$ac_ext >&5
6519 ac_cv_header_stdc=no
6522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6524 if test $ac_cv_header_stdc = yes; then
6525 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6526 cat >conftest.$ac_ext <<_ACEOF
6529 cat confdefs.h >>conftest.$ac_ext
6530 cat >>conftest.$ac_ext <<_ACEOF
6531 /* end confdefs.h. */
6535 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6536 $EGREP "memchr" >/dev/null 2>&1; then
6539 ac_cv_header_stdc=no
6545 if test $ac_cv_header_stdc = yes; then
6546 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6547 cat >conftest.$ac_ext <<_ACEOF
6550 cat confdefs.h >>conftest.$ac_ext
6551 cat >>conftest.$ac_ext <<_ACEOF
6552 /* end confdefs.h. */
6556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6557 $EGREP "free" >/dev/null 2>&1; then
6560 ac_cv_header_stdc=no
6566 if test $ac_cv_header_stdc = yes; then
6567 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6568 if test "$cross_compiling" = yes; then
6571 cat >conftest.$ac_ext <<_ACEOF
6574 cat confdefs.h >>conftest.$ac_ext
6575 cat >>conftest.$ac_ext <<_ACEOF
6576 /* end confdefs.h. */
6579 #if ((' ' & 0x0FF) == 0x020)
6580 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6581 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6583 # define ISLOWER(c) \
6584 (('a' <= (c) && (c) <= 'i') \
6585 || ('j' <= (c) && (c) <= 'r') \
6586 || ('s' <= (c) && (c) <= 'z'))
6587 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6590 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6595 for (i = 0; i < 256; i++)
6596 if (XOR (islower (i), ISLOWER (i))
6597 || toupper (i) != TOUPPER (i))
6602 rm -f conftest$ac_exeext
6603 if { (ac_try="$ac_link"
6605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6606 *) ac_try_echo=$ac_try;;
6608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6609 (eval "$ac_link") 2>&5
6611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6613 { (case "(($ac_try" in
6614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6615 *) ac_try_echo=$ac_try;;
6617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6618 (eval "$ac_try") 2>&5
6620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6621 (exit $ac_status); }; }; then
6624 echo "$as_me: program exited with status $ac_status" >&5
6625 echo "$as_me: failed program was:" >&5
6626 sed 's/^/| /' conftest.$ac_ext >&5
6629 ac_cv_header_stdc=no
6631 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6637 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6638 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6639 if test $ac_cv_header_stdc = yes; then
6641 cat >>confdefs.h <<\_ACEOF
6642 #define STDC_HEADERS 1
6647 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6657 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6658 inttypes.h stdint.h unistd.h
6660 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6661 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6663 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6664 echo $ECHO_N "(cached) $ECHO_C" >&6
6666 cat >conftest.$ac_ext <<_ACEOF
6669 cat confdefs.h >>conftest.$ac_ext
6670 cat >>conftest.$ac_ext <<_ACEOF
6671 /* end confdefs.h. */
6672 $ac_includes_default
6674 #include <$ac_header>
6676 rm -f conftest.$ac_objext
6677 if { (ac_try="$ac_compile"
6679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6680 *) ac_try_echo=$ac_try;;
6682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6683 (eval "$ac_compile") 2>conftest.er1
6685 grep -v '^ *+' conftest.er1 >conftest.err
6687 cat conftest.err >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } && {
6690 test -z "$ac_c_werror_flag" ||
6691 test ! -s conftest.err
6692 } && test -s conftest.$ac_objext; then
6693 eval "$as_ac_Header=yes"
6695 echo "$as_me: failed program was:" >&5
6696 sed 's/^/| /' conftest.$ac_ext >&5
6698 eval "$as_ac_Header=no"
6701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6703 ac_res=`eval echo '${'$as_ac_Header'}'`
6704 { echo "$as_me:$LINENO: result: $ac_res" >&5
6705 echo "${ECHO_T}$ac_res" >&6; }
6706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6707 cat >>confdefs.h <<_ACEOF
6708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6826 AudioUnit/AudioUnit.h \
6828 CoreAudio/CoreAudio.h \
6829 DiskArbitration/DiskArbitration.h \
6842 fontconfig/fontconfig.h \
6868 machine/soundcard.h \
6873 netinet/in_systm.h \
6937 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6938 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6939 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6941 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6942 echo $ECHO_N "(cached) $ECHO_C" >&6
6944 ac_res=`eval echo '${'$as_ac_Header'}'`
6945 { echo "$as_me:$LINENO: result: $ac_res" >&5
6946 echo "${ECHO_T}$ac_res" >&6; }
6948 # Is the header compilable?
6949 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6951 cat >conftest.$ac_ext <<_ACEOF
6954 cat confdefs.h >>conftest.$ac_ext
6955 cat >>conftest.$ac_ext <<_ACEOF
6956 /* end confdefs.h. */
6957 $ac_includes_default
6958 #include <$ac_header>
6960 rm -f conftest.$ac_objext
6961 if { (ac_try="$ac_compile"
6963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6964 *) ac_try_echo=$ac_try;;
6966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6967 (eval "$ac_compile") 2>conftest.er1
6969 grep -v '^ *+' conftest.er1 >conftest.err
6971 cat conftest.err >&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } && {
6974 test -z "$ac_c_werror_flag" ||
6975 test ! -s conftest.err
6976 } && test -s conftest.$ac_objext; then
6977 ac_header_compiler=yes
6979 echo "$as_me: failed program was:" >&5
6980 sed 's/^/| /' conftest.$ac_ext >&5
6982 ac_header_compiler=no
6985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6986 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6987 echo "${ECHO_T}$ac_header_compiler" >&6; }
6989 # Is the header present?
6990 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6992 cat >conftest.$ac_ext <<_ACEOF
6995 cat confdefs.h >>conftest.$ac_ext
6996 cat >>conftest.$ac_ext <<_ACEOF
6997 /* end confdefs.h. */
6998 #include <$ac_header>
7000 if { (ac_try="$ac_cpp conftest.$ac_ext"
7002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7003 *) ac_try_echo=$ac_try;;
7005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7008 grep -v '^ *+' conftest.er1 >conftest.err
7010 cat conftest.err >&5
7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012 (exit $ac_status); } >/dev/null && {
7013 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7014 test ! -s conftest.err
7016 ac_header_preproc=yes
7018 echo "$as_me: failed program was:" >&5
7019 sed 's/^/| /' conftest.$ac_ext >&5
7021 ac_header_preproc=no
7024 rm -f conftest.err conftest.$ac_ext
7025 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7026 echo "${ECHO_T}$ac_header_preproc" >&6; }
7028 # So? What about this header?
7029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7031 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7032 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7034 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7035 ac_header_preproc=yes
7038 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7039 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7040 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7041 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7042 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7043 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7044 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7045 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7048 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7049 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7051 ## ------------------------------------ ##
7052 ## Report this to wine-devel@winehq.org ##
7053 ## ------------------------------------ ##
7055 ) | sed "s/^/$as_me: WARNING: /" >&2
7058 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7060 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7061 echo $ECHO_N "(cached) $ECHO_C" >&6
7063 eval "$as_ac_Header=\$ac_header_preproc"
7065 ac_res=`eval echo '${'$as_ac_Header'}'`
7066 { echo "$as_me:$LINENO: result: $ac_res" >&5
7067 echo "${ECHO_T}$ac_res" >&6; }
7070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7071 cat >>confdefs.h <<_ACEOF
7072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7079 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7080 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7081 if test "${ac_cv_header_stat_broken+set}" = set; then
7082 echo $ECHO_N "(cached) $ECHO_C" >&6
7084 cat >conftest.$ac_ext <<_ACEOF
7087 cat confdefs.h >>conftest.$ac_ext
7088 cat >>conftest.$ac_ext <<_ACEOF
7089 /* end confdefs.h. */
7090 #include <sys/types.h>
7091 #include <sys/stat.h>
7093 #if defined S_ISBLK && defined S_IFDIR
7094 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7097 #if defined S_ISBLK && defined S_IFCHR
7098 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7101 #if defined S_ISLNK && defined S_IFREG
7102 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7105 #if defined S_ISSOCK && defined S_IFREG
7106 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7110 rm -f conftest.$ac_objext
7111 if { (ac_try="$ac_compile"
7113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7114 *) ac_try_echo=$ac_try;;
7116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7117 (eval "$ac_compile") 2>conftest.er1
7119 grep -v '^ *+' conftest.er1 >conftest.err
7121 cat conftest.err >&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); } && {
7124 test -z "$ac_c_werror_flag" ||
7125 test ! -s conftest.err
7126 } && test -s conftest.$ac_objext; then
7127 ac_cv_header_stat_broken=no
7129 echo "$as_me: failed program was:" >&5
7130 sed 's/^/| /' conftest.$ac_ext >&5
7132 ac_cv_header_stat_broken=yes
7135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7137 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7138 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7139 if test $ac_cv_header_stat_broken = yes; then
7141 cat >>confdefs.h <<\_ACEOF
7142 #define STAT_MACROS_BROKEN 1
7153 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7156 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7158 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7159 echo $ECHO_N "(cached) $ECHO_C" >&6
7161 cat >conftest.$ac_ext <<_ACEOF
7164 cat confdefs.h >>conftest.$ac_ext
7165 cat >>conftest.$ac_ext <<_ACEOF
7166 /* end confdefs.h. */
7167 #include <sys/types.h>
7168 #if HAVE_SYS_PARAM_H
7169 # include <sys/param.h>
7172 #include <$ac_header>
7174 rm -f conftest.$ac_objext
7175 if { (ac_try="$ac_compile"
7177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7178 *) ac_try_echo=$ac_try;;
7180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7181 (eval "$ac_compile") 2>conftest.er1
7183 grep -v '^ *+' conftest.er1 >conftest.err
7185 cat conftest.err >&5
7186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187 (exit $ac_status); } && {
7188 test -z "$ac_c_werror_flag" ||
7189 test ! -s conftest.err
7190 } && test -s conftest.$ac_objext; then
7191 eval "$as_ac_Header=yes"
7193 echo "$as_me: failed program was:" >&5
7194 sed 's/^/| /' conftest.$ac_ext >&5
7196 eval "$as_ac_Header=no"
7199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7201 ac_res=`eval echo '${'$as_ac_Header'}'`
7202 { echo "$as_me:$LINENO: result: $ac_res" >&5
7203 echo "${ECHO_T}$ac_res" >&6; }
7204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7205 cat >>confdefs.h <<_ACEOF
7206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7220 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
7222 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7226 echo $ECHO_N "(cached) $ECHO_C" >&6
7228 cat >conftest.$ac_ext <<_ACEOF
7231 cat confdefs.h >>conftest.$ac_ext
7232 cat >>conftest.$ac_ext <<_ACEOF
7233 /* end confdefs.h. */
7234 #include <sys/types.h>
7235 #if HAVE_SYS_SOCKET_H
7236 # include <sys/socket.h>
7239 #include <$ac_header>
7241 rm -f conftest.$ac_objext
7242 if { (ac_try="$ac_compile"
7244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7245 *) ac_try_echo=$ac_try;;
7247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7248 (eval "$ac_compile") 2>conftest.er1
7250 grep -v '^ *+' conftest.er1 >conftest.err
7252 cat conftest.err >&5
7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 (exit $ac_status); } && {
7255 test -z "$ac_c_werror_flag" ||
7256 test ! -s conftest.err
7257 } && test -s conftest.$ac_objext; then
7258 eval "$as_ac_Header=yes"
7260 echo "$as_me: failed program was:" >&5
7261 sed 's/^/| /' conftest.$ac_ext >&5
7263 eval "$as_ac_Header=no"
7266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7268 ac_res=`eval echo '${'$as_ac_Header'}'`
7269 { echo "$as_me:$LINENO: result: $ac_res" >&5
7270 echo "${ECHO_T}$ac_res" >&6; }
7271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7272 cat >>confdefs.h <<_ACEOF
7273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7282 for ac_header in linux/ipx.h
7284 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7285 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7288 echo $ECHO_N "(cached) $ECHO_C" >&6
7290 cat >conftest.$ac_ext <<_ACEOF
7293 cat confdefs.h >>conftest.$ac_ext
7294 cat >>conftest.$ac_ext <<_ACEOF
7295 /* end confdefs.h. */
7296 #include <sys/types.h>
7297 #ifdef HAVE_ASM_TYPES_H
7298 # include <asm/types.h>
7300 #if HAVE_SYS_SOCKET_H
7301 # include <sys/socket.h>
7304 #include <$ac_header>
7306 rm -f conftest.$ac_objext
7307 if { (ac_try="$ac_compile"
7309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7310 *) ac_try_echo=$ac_try;;
7312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7313 (eval "$ac_compile") 2>conftest.er1
7315 grep -v '^ *+' conftest.er1 >conftest.err
7317 cat conftest.err >&5
7318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7319 (exit $ac_status); } && {
7320 test -z "$ac_c_werror_flag" ||
7321 test ! -s conftest.err
7322 } && test -s conftest.$ac_objext; then
7323 eval "$as_ac_Header=yes"
7325 echo "$as_me: failed program was:" >&5
7326 sed 's/^/| /' conftest.$ac_ext >&5
7328 eval "$as_ac_Header=no"
7331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7333 ac_res=`eval echo '${'$as_ac_Header'}'`
7334 { echo "$as_me:$LINENO: result: $ac_res" >&5
7335 echo "${ECHO_T}$ac_res" >&6; }
7336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7337 cat >>confdefs.h <<_ACEOF
7338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7347 for ac_header in resolv.h
7349 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7350 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7355 cat >conftest.$ac_ext <<_ACEOF
7358 cat confdefs.h >>conftest.$ac_ext
7359 cat >>conftest.$ac_ext <<_ACEOF
7360 /* end confdefs.h. */
7361 #include <sys/types.h>
7362 #if HAVE_SYS_SOCKET_H
7363 # include <sys/socket.h>
7365 #if HAVE_NETINET_IN_H
7366 # include <netinet/in.h>
7368 #if HAVE_ARPA_NAMESER_H
7369 # include <arpa/nameser.h>
7372 #include <$ac_header>
7374 rm -f conftest.$ac_objext
7375 if { (ac_try="$ac_compile"
7377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7378 *) ac_try_echo=$ac_try;;
7380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7381 (eval "$ac_compile") 2>conftest.er1
7383 grep -v '^ *+' conftest.er1 >conftest.err
7385 cat conftest.err >&5
7386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7387 (exit $ac_status); } && {
7388 test -z "$ac_c_werror_flag" ||
7389 test ! -s conftest.err
7390 } && test -s conftest.$ac_objext; then
7391 eval "$as_ac_Header=yes"
7393 echo "$as_me: failed program was:" >&5
7394 sed 's/^/| /' conftest.$ac_ext >&5
7396 eval "$as_ac_Header=no"
7399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7401 ac_res=`eval echo '${'$as_ac_Header'}'`
7402 { echo "$as_me:$LINENO: result: $ac_res" >&5
7403 echo "${ECHO_T}$ac_res" >&6; }
7404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7405 cat >>confdefs.h <<_ACEOF
7406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7415 for ac_header in ucontext.h
7417 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7418 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7420 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7421 echo $ECHO_N "(cached) $ECHO_C" >&6
7423 cat >conftest.$ac_ext <<_ACEOF
7426 cat confdefs.h >>conftest.$ac_ext
7427 cat >>conftest.$ac_ext <<_ACEOF
7428 /* end confdefs.h. */
7431 #include <$ac_header>
7433 rm -f conftest.$ac_objext
7434 if { (ac_try="$ac_compile"
7436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7437 *) ac_try_echo=$ac_try;;
7439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7440 (eval "$ac_compile") 2>conftest.er1
7442 grep -v '^ *+' conftest.er1 >conftest.err
7444 cat conftest.err >&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } && {
7447 test -z "$ac_c_werror_flag" ||
7448 test ! -s conftest.err
7449 } && test -s conftest.$ac_objext; then
7450 eval "$as_ac_Header=yes"
7452 echo "$as_me: failed program was:" >&5
7453 sed 's/^/| /' conftest.$ac_ext >&5
7455 eval "$as_ac_Header=no"
7458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7460 ac_res=`eval echo '${'$as_ac_Header'}'`
7461 { echo "$as_me:$LINENO: result: $ac_res" >&5
7462 echo "${ECHO_T}$ac_res" >&6; }
7463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7464 cat >>confdefs.h <<_ACEOF
7465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7474 for ac_header in pthread_np.h
7476 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7477 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7480 echo $ECHO_N "(cached) $ECHO_C" >&6
7482 cat >conftest.$ac_ext <<_ACEOF
7485 cat confdefs.h >>conftest.$ac_ext
7486 cat >>conftest.$ac_ext <<_ACEOF
7487 /* end confdefs.h. */
7488 #ifdef HAVE_PTHREAD_H
7489 #include <pthread.h>
7492 #include <$ac_header>
7494 rm -f conftest.$ac_objext
7495 if { (ac_try="$ac_compile"
7497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7498 *) ac_try_echo=$ac_try;;
7500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7501 (eval "$ac_compile") 2>conftest.er1
7503 grep -v '^ *+' conftest.er1 >conftest.err
7505 cat conftest.err >&5
7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); } && {
7508 test -z "$ac_c_werror_flag" ||
7509 test ! -s conftest.err
7510 } && test -s conftest.$ac_objext; then
7511 eval "$as_ac_Header=yes"
7513 echo "$as_me: failed program was:" >&5
7514 sed 's/^/| /' conftest.$ac_ext >&5
7516 eval "$as_ac_Header=no"
7519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7521 ac_res=`eval echo '${'$as_ac_Header'}'`
7522 { echo "$as_me:$LINENO: result: $ac_res" >&5
7523 echo "${ECHO_T}$ac_res" >&6; }
7524 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7525 cat >>confdefs.h <<_ACEOF
7526 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7535 for ac_header in linux/videodev.h
7537 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7538 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7540 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7541 echo $ECHO_N "(cached) $ECHO_C" >&6
7543 cat >conftest.$ac_ext <<_ACEOF
7546 cat confdefs.h >>conftest.$ac_ext
7547 cat >>conftest.$ac_ext <<_ACEOF
7548 /* end confdefs.h. */
7549 #ifdef HAVE_SYS_TIME_H
7550 #include <sys/time.h>
7552 #include <sys/types.h>
7553 #ifdef HAVE_ASM_TYPES_H
7554 #include <asm/types.h>
7557 #include <$ac_header>
7559 rm -f conftest.$ac_objext
7560 if { (ac_try="$ac_compile"
7562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7563 *) ac_try_echo=$ac_try;;
7565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7566 (eval "$ac_compile") 2>conftest.er1
7568 grep -v '^ *+' conftest.er1 >conftest.err
7570 cat conftest.err >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); } && {
7573 test -z "$ac_c_werror_flag" ||
7574 test ! -s conftest.err
7575 } && test -s conftest.$ac_objext; then
7576 eval "$as_ac_Header=yes"
7578 echo "$as_me: failed program was:" >&5
7579 sed 's/^/| /' conftest.$ac_ext >&5
7581 eval "$as_ac_Header=no"
7584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7586 ac_res=`eval echo '${'$as_ac_Header'}'`
7587 { echo "$as_me:$LINENO: result: $ac_res" >&5
7588 echo "${ECHO_T}$ac_res" >&6; }
7589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7590 cat >>confdefs.h <<_ACEOF
7591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7600 for ac_header in linux/capi.h
7602 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7603 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7606 echo $ECHO_N "(cached) $ECHO_C" >&6
7608 cat >conftest.$ac_ext <<_ACEOF
7611 cat confdefs.h >>conftest.$ac_ext
7612 cat >>conftest.$ac_ext <<_ACEOF
7613 /* end confdefs.h. */
7616 #include <$ac_header>
7618 rm -f conftest.$ac_objext
7619 if { (ac_try="$ac_compile"
7621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7622 *) ac_try_echo=$ac_try;;
7624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7625 (eval "$ac_compile") 2>conftest.er1
7627 grep -v '^ *+' conftest.er1 >conftest.err
7629 cat conftest.err >&5
7630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631 (exit $ac_status); } && {
7632 test -z "$ac_c_werror_flag" ||
7633 test ! -s conftest.err
7634 } && test -s conftest.$ac_objext; then
7635 eval "$as_ac_Header=yes"
7637 echo "$as_me: failed program was:" >&5
7638 sed 's/^/| /' conftest.$ac_ext >&5
7640 eval "$as_ac_Header=no"
7643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7645 ac_res=`eval echo '${'$as_ac_Header'}'`
7646 { echo "$as_me:$LINENO: result: $ac_res" >&5
7647 echo "${ECHO_T}$ac_res" >&6; }
7648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7649 cat >>confdefs.h <<_ACEOF
7650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7659 if test "$have_x" = "yes"
7662 ac_save_CPPFLAGS="$CPPFLAGS"
7663 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7676 for ac_header in X11/Xlib.h \
7679 X11/Xcursor/Xcursor.h \
7680 X11/extensions/shape.h \
7681 X11/extensions/XInput.h \
7682 X11/extensions/XShm.h \
7683 X11/extensions/Xinerama.h \
7684 X11/extensions/Xrandr.h \
7685 X11/extensions/Xrender.h \
7686 X11/extensions/xf86vmode.h
7688 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7689 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7691 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7692 echo $ECHO_N "(cached) $ECHO_C" >&6
7694 cat >conftest.$ac_ext <<_ACEOF
7697 cat confdefs.h >>conftest.$ac_ext
7698 cat >>conftest.$ac_ext <<_ACEOF
7699 /* end confdefs.h. */
7700 #ifdef HAVE_X11_XLIB_H
7701 # include <X11/Xlib.h>
7703 #ifdef HAVE_X11_XUTIL_H
7704 # include <X11/Xutil.h>
7707 #include <$ac_header>
7709 rm -f conftest.$ac_objext
7710 if { (ac_try="$ac_compile"
7712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7713 *) ac_try_echo=$ac_try;;
7715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7716 (eval "$ac_compile") 2>conftest.er1
7718 grep -v '^ *+' conftest.er1 >conftest.err
7720 cat conftest.err >&5
7721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7722 (exit $ac_status); } && {
7723 test -z "$ac_c_werror_flag" ||
7724 test ! -s conftest.err
7725 } && test -s conftest.$ac_objext; then
7726 eval "$as_ac_Header=yes"
7728 echo "$as_me: failed program was:" >&5
7729 sed 's/^/| /' conftest.$ac_ext >&5
7731 eval "$as_ac_Header=no"
7734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7736 ac_res=`eval echo '${'$as_ac_Header'}'`
7737 { echo "$as_me:$LINENO: result: $ac_res" >&5
7738 echo "${ECHO_T}$ac_res" >&6; }
7739 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7740 cat >>confdefs.h <<_ACEOF
7741 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7749 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7751 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7752 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7753 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7754 echo $ECHO_N "(cached) $ECHO_C" >&6
7756 ac_check_lib_save_LIBS=$LIBS
7757 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7758 cat >conftest.$ac_ext <<_ACEOF
7761 cat confdefs.h >>conftest.$ac_ext
7762 cat >>conftest.$ac_ext <<_ACEOF
7763 /* end confdefs.h. */
7765 /* Override any GCC internal prototype to avoid an error.
7766 Use char because int might match the return type of a GCC
7767 builtin and then its argument prototype would still apply. */
7771 char XkbQueryExtension ();
7775 return XkbQueryExtension ();
7780 rm -f conftest.$ac_objext conftest$ac_exeext
7781 if { (ac_try="$ac_link"
7783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7784 *) ac_try_echo=$ac_try;;
7786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7787 (eval "$ac_link") 2>conftest.er1
7789 grep -v '^ *+' conftest.er1 >conftest.err
7791 cat conftest.err >&5
7792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7793 (exit $ac_status); } && {
7794 test -z "$ac_c_werror_flag" ||
7795 test ! -s conftest.err
7796 } && test -s conftest$ac_exeext &&
7797 $as_test_x conftest$ac_exeext; then
7798 ac_cv_lib_X11_XkbQueryExtension=yes
7800 echo "$as_me: failed program was:" >&5
7801 sed 's/^/| /' conftest.$ac_ext >&5
7803 ac_cv_lib_X11_XkbQueryExtension=no
7806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7807 conftest$ac_exeext conftest.$ac_ext
7808 LIBS=$ac_check_lib_save_LIBS
7810 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7811 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7812 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7814 cat >>confdefs.h <<\_ACEOF
7822 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7824 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7825 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
7826 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7827 echo $ECHO_N "(cached) $ECHO_C" >&6
7829 ac_check_lib_save_LIBS=$LIBS
7830 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7831 cat >conftest.$ac_ext <<_ACEOF
7834 cat confdefs.h >>conftest.$ac_ext
7835 cat >>conftest.$ac_ext <<_ACEOF
7836 /* end confdefs.h. */
7838 /* Override any GCC internal prototype to avoid an error.
7839 Use char because int might match the return type of a GCC
7840 builtin and then its argument prototype would still apply. */
7844 char XShmQueryExtension ();
7848 return XShmQueryExtension ();
7853 rm -f conftest.$ac_objext conftest$ac_exeext
7854 if { (ac_try="$ac_link"
7856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7857 *) ac_try_echo=$ac_try;;
7859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7860 (eval "$ac_link") 2>conftest.er1
7862 grep -v '^ *+' conftest.er1 >conftest.err
7864 cat conftest.err >&5
7865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7866 (exit $ac_status); } && {
7867 test -z "$ac_c_werror_flag" ||
7868 test ! -s conftest.err
7869 } && test -s conftest$ac_exeext &&
7870 $as_test_x conftest$ac_exeext; then
7871 ac_cv_lib_Xext_XShmQueryExtension=yes
7873 echo "$as_me: failed program was:" >&5
7874 sed 's/^/| /' conftest.$ac_ext >&5
7876 ac_cv_lib_Xext_XShmQueryExtension=no
7879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7880 conftest$ac_exeext conftest.$ac_ext
7881 LIBS=$ac_check_lib_save_LIBS
7883 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7884 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
7885 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7887 cat >>confdefs.h <<\_ACEOF
7888 #define HAVE_LIBXXSHM 1
7895 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7897 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7898 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
7899 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7900 echo $ECHO_N "(cached) $ECHO_C" >&6
7902 ac_check_lib_save_LIBS=$LIBS
7903 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7904 cat >conftest.$ac_ext <<_ACEOF
7907 cat confdefs.h >>conftest.$ac_ext
7908 cat >>conftest.$ac_ext <<_ACEOF
7909 /* end confdefs.h. */
7911 /* Override any GCC internal prototype to avoid an error.
7912 Use char because int might match the return type of a GCC
7913 builtin and then its argument prototype would still apply. */
7917 char XShapeQueryExtension ();
7921 return XShapeQueryExtension ();
7926 rm -f conftest.$ac_objext conftest$ac_exeext
7927 if { (ac_try="$ac_link"
7929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7930 *) ac_try_echo=$ac_try;;
7932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7933 (eval "$ac_link") 2>conftest.er1
7935 grep -v '^ *+' conftest.er1 >conftest.err
7937 cat conftest.err >&5
7938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7939 (exit $ac_status); } && {
7940 test -z "$ac_c_werror_flag" ||
7941 test ! -s conftest.err
7942 } && test -s conftest$ac_exeext &&
7943 $as_test_x conftest$ac_exeext; then
7944 ac_cv_lib_Xext_XShapeQueryExtension=yes
7946 echo "$as_me: failed program was:" >&5
7947 sed 's/^/| /' conftest.$ac_ext >&5
7949 ac_cv_lib_Xext_XShapeQueryExtension=no
7952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7953 conftest$ac_exeext conftest.$ac_ext
7954 LIBS=$ac_check_lib_save_LIBS
7956 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7957 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
7958 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7960 cat >>confdefs.h <<\_ACEOF
7961 #define HAVE_LIBXSHAPE 1
7968 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7970 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7971 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
7972 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7973 echo $ECHO_N "(cached) $ECHO_C" >&6
7975 ac_check_lib_save_LIBS=$LIBS
7976 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7977 cat >conftest.$ac_ext <<_ACEOF
7980 cat confdefs.h >>conftest.$ac_ext
7981 cat >>conftest.$ac_ext <<_ACEOF
7982 /* end confdefs.h. */
7984 /* Override any GCC internal prototype to avoid an error.
7985 Use char because int might match the return type of a GCC
7986 builtin and then its argument prototype would still apply. */
7990 char XF86VidModeQueryExtension ();
7994 return XF86VidModeQueryExtension ();
7999 rm -f conftest.$ac_objext conftest$ac_exeext
8000 if { (ac_try="$ac_link"
8002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8003 *) ac_try_echo=$ac_try;;
8005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8006 (eval "$ac_link") 2>conftest.er1
8008 grep -v '^ *+' conftest.er1 >conftest.err
8010 cat conftest.err >&5
8011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8012 (exit $ac_status); } && {
8013 test -z "$ac_c_werror_flag" ||
8014 test ! -s conftest.err
8015 } && test -s conftest$ac_exeext &&
8016 $as_test_x conftest$ac_exeext; then
8017 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8019 echo "$as_me: failed program was:" >&5
8020 sed 's/^/| /' conftest.$ac_ext >&5
8022 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8026 conftest$ac_exeext conftest.$ac_ext
8027 LIBS=$ac_check_lib_save_LIBS
8029 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8030 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8031 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8033 cat >>confdefs.h <<\_ACEOF
8034 #define HAVE_LIBXXF86VM 1
8037 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8043 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8045 cat >conftest.$ac_ext <<_ACEOF
8048 cat confdefs.h >>conftest.$ac_ext
8049 cat >>conftest.$ac_ext <<_ACEOF
8050 /* end confdefs.h. */
8051 #include <X11/Xlib.h>
8052 #include <X11/extensions/Xrandr.h>
8056 static typeof(XRRSetScreenConfigAndRate) * func;
8061 rm -f conftest.$ac_objext
8062 if { (ac_try="$ac_compile"
8064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8065 *) ac_try_echo=$ac_try;;
8067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8068 (eval "$ac_compile") 2>conftest.er1
8070 grep -v '^ *+' conftest.er1 >conftest.err
8072 cat conftest.err >&5
8073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8074 (exit $ac_status); } && {
8075 test -z "$ac_c_werror_flag" ||
8076 test ! -s conftest.err
8077 } && test -s conftest.$ac_objext; then
8079 cat >>confdefs.h <<\_ACEOF
8080 #define HAVE_LIBXRANDR 1
8084 echo "$as_me: failed program was:" >&5
8085 sed 's/^/| /' conftest.$ac_ext >&5
8090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8093 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8095 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8096 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8097 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8098 echo $ECHO_N "(cached) $ECHO_C" >&6
8100 ac_check_lib_save_LIBS=$LIBS
8101 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8102 cat >conftest.$ac_ext <<_ACEOF
8105 cat confdefs.h >>conftest.$ac_ext
8106 cat >>conftest.$ac_ext <<_ACEOF
8107 /* end confdefs.h. */
8109 /* Override any GCC internal prototype to avoid an error.
8110 Use char because int might match the return type of a GCC
8111 builtin and then its argument prototype would still apply. */
8115 char XRenderSetPictureTransform ();
8119 return XRenderSetPictureTransform ();
8124 rm -f conftest.$ac_objext conftest$ac_exeext
8125 if { (ac_try="$ac_link"
8127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8128 *) ac_try_echo=$ac_try;;
8130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8131 (eval "$ac_link") 2>conftest.er1
8133 grep -v '^ *+' conftest.er1 >conftest.err
8135 cat conftest.err >&5
8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 (exit $ac_status); } && {
8138 test -z "$ac_c_werror_flag" ||
8139 test ! -s conftest.err
8140 } && test -s conftest$ac_exeext &&
8141 $as_test_x conftest$ac_exeext; then
8142 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8144 echo "$as_me: failed program was:" >&5
8145 sed 's/^/| /' conftest.$ac_ext >&5
8147 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8151 conftest$ac_exeext conftest.$ac_ext
8152 LIBS=$ac_check_lib_save_LIBS
8154 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8155 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8156 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8158 cat >>confdefs.h <<\_ACEOF
8159 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8166 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8168 cat >conftest.$ac_ext <<_ACEOF
8171 cat confdefs.h >>conftest.$ac_ext
8172 cat >>conftest.$ac_ext <<_ACEOF
8173 /* end confdefs.h. */
8174 #include <X11/Xlib.h>
8175 #include <X11/extensions/Xinerama.h>
8179 static typeof(XineramaQueryScreens) * func;
8184 rm -f conftest.$ac_objext
8185 if { (ac_try="$ac_compile"
8187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8188 *) ac_try_echo=$ac_try;;
8190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8191 (eval "$ac_compile") 2>conftest.er1
8193 grep -v '^ *+' conftest.er1 >conftest.err
8195 cat conftest.err >&5
8196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 (exit $ac_status); } && {
8198 test -z "$ac_c_werror_flag" ||
8199 test ! -s conftest.err
8200 } && test -s conftest.$ac_objext; then
8202 cat >>confdefs.h <<\_ACEOF
8203 #define HAVE_LIBXINERAMA 1
8207 echo "$as_me: failed program was:" >&5
8208 sed 's/^/| /' conftest.$ac_ext >&5
8213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8217 if test "x$with_opengl" != "xno"
8223 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8225 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8226 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8228 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8229 echo $ECHO_N "(cached) $ECHO_C" >&6
8231 cat >conftest.$ac_ext <<_ACEOF
8234 cat confdefs.h >>conftest.$ac_ext
8235 cat >>conftest.$ac_ext <<_ACEOF
8236 /* end confdefs.h. */
8237 #ifdef HAVE_GL_GLX_H
8238 # include <GL/glx.h>
8241 #include <$ac_header>
8243 rm -f conftest.$ac_objext
8244 if { (ac_try="$ac_compile"
8246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8247 *) ac_try_echo=$ac_try;;
8249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8250 (eval "$ac_compile") 2>conftest.er1
8252 grep -v '^ *+' conftest.er1 >conftest.err
8254 cat conftest.err >&5
8255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256 (exit $ac_status); } && {
8257 test -z "$ac_c_werror_flag" ||
8258 test ! -s conftest.err
8259 } && test -s conftest.$ac_objext; then
8260 eval "$as_ac_Header=yes"
8262 echo "$as_me: failed program was:" >&5
8263 sed 's/^/| /' conftest.$ac_ext >&5
8265 eval "$as_ac_Header=no"
8268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8270 ac_res=`eval echo '${'$as_ac_Header'}'`
8271 { echo "$as_me:$LINENO: result: $ac_res" >&5
8272 echo "${ECHO_T}$ac_res" >&6; }
8273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8274 cat >>confdefs.h <<_ACEOF
8275 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8282 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8284 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8285 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8286 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8287 echo $ECHO_N "(cached) $ECHO_C" >&6
8289 cat >conftest.$ac_ext <<_ACEOF
8292 cat confdefs.h >>conftest.$ac_ext
8293 cat >>conftest.$ac_ext <<_ACEOF
8294 /* end confdefs.h. */
8299 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8304 rm -f conftest.$ac_objext
8305 if { (ac_try="$ac_compile"
8307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8308 *) ac_try_echo=$ac_try;;
8310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8311 (eval "$ac_compile") 2>conftest.er1
8313 grep -v '^ *+' conftest.er1 >conftest.err
8315 cat conftest.err >&5
8316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317 (exit $ac_status); } && {
8318 test -z "$ac_c_werror_flag" ||
8319 test ! -s conftest.err
8320 } && test -s conftest.$ac_objext; then
8321 wine_cv_opengl_header_version_OK="yes"
8323 echo "$as_me: failed program was:" >&5
8324 sed 's/^/| /' conftest.$ac_ext >&5
8326 wine_cv_opengl_header_version_OK="no"
8330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8333 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8334 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8336 if test "$wine_cv_opengl_header_version_OK" = "yes"
8338 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8339 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8340 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8341 echo $ECHO_N "(cached) $ECHO_C" >&6
8343 ac_check_lib_save_LIBS=$LIBS
8344 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8345 cat >conftest.$ac_ext <<_ACEOF
8348 cat confdefs.h >>conftest.$ac_ext
8349 cat >>conftest.$ac_ext <<_ACEOF
8350 /* end confdefs.h. */
8352 /* Override any GCC internal prototype to avoid an error.
8353 Use char because int might match the return type of a GCC
8354 builtin and then its argument prototype would still apply. */
8358 char glXCreateContext ();
8362 return glXCreateContext ();
8367 rm -f conftest.$ac_objext conftest$ac_exeext
8368 if { (ac_try="$ac_link"
8370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8371 *) ac_try_echo=$ac_try;;
8373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8374 (eval "$ac_link") 2>conftest.er1
8376 grep -v '^ *+' conftest.er1 >conftest.err
8378 cat conftest.err >&5
8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380 (exit $ac_status); } && {
8381 test -z "$ac_c_werror_flag" ||
8382 test ! -s conftest.err
8383 } && test -s conftest$ac_exeext &&
8384 $as_test_x conftest$ac_exeext; then
8385 ac_cv_lib_GL_glXCreateContext=yes
8387 echo "$as_me: failed program was:" >&5
8388 sed 's/^/| /' conftest.$ac_ext >&5
8390 ac_cv_lib_GL_glXCreateContext=no
8393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8394 conftest$ac_exeext conftest.$ac_ext
8395 LIBS=$ac_check_lib_save_LIBS
8397 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8398 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8399 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8401 OPENGLFILES='$(OPENGLFILES)'
8403 cat >>confdefs.h <<\_ACEOF
8404 #define HAVE_OPENGL 1
8411 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8412 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8413 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8414 echo $ECHO_N "(cached) $ECHO_C" >&6
8416 ac_check_lib_save_LIBS=$LIBS
8417 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8419 cat >conftest.$ac_ext <<_ACEOF
8422 cat confdefs.h >>conftest.$ac_ext
8423 cat >>conftest.$ac_ext <<_ACEOF
8424 /* end confdefs.h. */
8426 /* Override any GCC internal prototype to avoid an error.
8427 Use char because int might match the return type of a GCC
8428 builtin and then its argument prototype would still apply. */
8436 return gluLookAt ();
8441 rm -f conftest.$ac_objext conftest$ac_exeext
8442 if { (ac_try="$ac_link"
8444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8445 *) ac_try_echo=$ac_try;;
8447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8448 (eval "$ac_link") 2>conftest.er1
8450 grep -v '^ *+' conftest.er1 >conftest.err
8452 cat conftest.err >&5
8453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454 (exit $ac_status); } && {
8455 test -z "$ac_c_werror_flag" ||
8456 test ! -s conftest.err
8457 } && test -s conftest$ac_exeext &&
8458 $as_test_x conftest$ac_exeext; then
8459 ac_cv_lib_GLU_gluLookAt=yes
8461 echo "$as_me: failed program was:" >&5
8462 sed 's/^/| /' conftest.$ac_ext >&5
8464 ac_cv_lib_GLU_gluLookAt=no
8467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8468 conftest$ac_exeext conftest.$ac_ext
8469 LIBS=$ac_check_lib_save_LIBS
8471 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8472 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8473 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8474 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8475 GLU32FILES='$(GLU32FILES)'
8481 wine_cv_opengl_headers_found="no"
8487 for ac_header in audio/audiolib.h
8489 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8490 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8491 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8493 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8494 echo $ECHO_N "(cached) $ECHO_C" >&6
8496 ac_res=`eval echo '${'$as_ac_Header'}'`
8497 { echo "$as_me:$LINENO: result: $ac_res" >&5
8498 echo "${ECHO_T}$ac_res" >&6; }
8500 # Is the header compilable?
8501 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8502 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8503 cat >conftest.$ac_ext <<_ACEOF
8506 cat confdefs.h >>conftest.$ac_ext
8507 cat >>conftest.$ac_ext <<_ACEOF
8508 /* end confdefs.h. */
8509 $ac_includes_default
8510 #include <$ac_header>
8512 rm -f conftest.$ac_objext
8513 if { (ac_try="$ac_compile"
8515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8516 *) ac_try_echo=$ac_try;;
8518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8519 (eval "$ac_compile") 2>conftest.er1
8521 grep -v '^ *+' conftest.er1 >conftest.err
8523 cat conftest.err >&5
8524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 (exit $ac_status); } && {
8526 test -z "$ac_c_werror_flag" ||
8527 test ! -s conftest.err
8528 } && test -s conftest.$ac_objext; then
8529 ac_header_compiler=yes
8531 echo "$as_me: failed program was:" >&5
8532 sed 's/^/| /' conftest.$ac_ext >&5
8534 ac_header_compiler=no
8537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8538 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8539 echo "${ECHO_T}$ac_header_compiler" >&6; }
8541 # Is the header present?
8542 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8543 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8544 cat >conftest.$ac_ext <<_ACEOF
8547 cat confdefs.h >>conftest.$ac_ext
8548 cat >>conftest.$ac_ext <<_ACEOF
8549 /* end confdefs.h. */
8550 #include <$ac_header>
8552 if { (ac_try="$ac_cpp conftest.$ac_ext"
8554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8555 *) ac_try_echo=$ac_try;;
8557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8558 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8560 grep -v '^ *+' conftest.er1 >conftest.err
8562 cat conftest.err >&5
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 (exit $ac_status); } >/dev/null && {
8565 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8566 test ! -s conftest.err
8568 ac_header_preproc=yes
8570 echo "$as_me: failed program was:" >&5
8571 sed 's/^/| /' conftest.$ac_ext >&5
8573 ac_header_preproc=no
8576 rm -f conftest.err conftest.$ac_ext
8577 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8578 echo "${ECHO_T}$ac_header_preproc" >&6; }
8580 # So? What about this header?
8581 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8583 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8584 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8586 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8587 ac_header_preproc=yes
8590 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8591 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8592 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8593 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8594 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8595 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8596 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8597 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8599 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8600 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8601 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8603 ## ------------------------------------ ##
8604 ## Report this to wine-devel@winehq.org ##
8605 ## ------------------------------------ ##
8607 ) | sed "s/^/$as_me: WARNING: /" >&2
8610 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8612 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8613 echo $ECHO_N "(cached) $ECHO_C" >&6
8615 eval "$as_ac_Header=\$ac_header_preproc"
8617 ac_res=`eval echo '${'$as_ac_Header'}'`
8618 { echo "$as_me:$LINENO: result: $ac_res" >&5
8619 echo "${ECHO_T}$ac_res" >&6; }
8622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8623 cat >>confdefs.h <<_ACEOF
8624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8627 for ac_header in audio/soundlib.h
8629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8630 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8633 echo $ECHO_N "(cached) $ECHO_C" >&6
8635 cat >conftest.$ac_ext <<_ACEOF
8638 cat confdefs.h >>conftest.$ac_ext
8639 cat >>conftest.$ac_ext <<_ACEOF
8640 /* end confdefs.h. */
8641 #include <audio/audiolib.h>
8643 #include <$ac_header>
8645 rm -f conftest.$ac_objext
8646 if { (ac_try="$ac_compile"
8648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8649 *) ac_try_echo=$ac_try;;
8651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8652 (eval "$ac_compile") 2>conftest.er1
8654 grep -v '^ *+' conftest.er1 >conftest.err
8656 cat conftest.err >&5
8657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8658 (exit $ac_status); } && {
8659 test -z "$ac_c_werror_flag" ||
8660 test ! -s conftest.err
8661 } && test -s conftest.$ac_objext; then
8662 eval "$as_ac_Header=yes"
8664 echo "$as_me: failed program was:" >&5
8665 sed 's/^/| /' conftest.$ac_ext >&5
8667 eval "$as_ac_Header=no"
8670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8672 ac_res=`eval echo '${'$as_ac_Header'}'`
8673 { echo "$as_me:$LINENO: result: $ac_res" >&5
8674 echo "${ECHO_T}$ac_res" >&6; }
8675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8676 cat >>confdefs.h <<_ACEOF
8677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8684 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8685 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8686 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8687 echo $ECHO_N "(cached) $ECHO_C" >&6
8689 ac_check_lib_save_LIBS=$LIBS
8690 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8691 cat >conftest.$ac_ext <<_ACEOF
8694 cat confdefs.h >>conftest.$ac_ext
8695 cat >>conftest.$ac_ext <<_ACEOF
8696 /* end confdefs.h. */
8698 /* Override any GCC internal prototype to avoid an error.
8699 Use char because int might match the return type of a GCC
8700 builtin and then its argument prototype would still apply. */
8704 char AuCreateFlow ();
8708 return AuCreateFlow ();
8713 rm -f conftest.$ac_objext conftest$ac_exeext
8714 if { (ac_try="$ac_link"
8716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8717 *) ac_try_echo=$ac_try;;
8719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8720 (eval "$ac_link") 2>conftest.er1
8722 grep -v '^ *+' conftest.er1 >conftest.err
8724 cat conftest.err >&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); } && {
8727 test -z "$ac_c_werror_flag" ||
8728 test ! -s conftest.err
8729 } && test -s conftest$ac_exeext &&
8730 $as_test_x conftest$ac_exeext; then
8731 ac_cv_lib_audio_AuCreateFlow=yes
8733 echo "$as_me: failed program was:" >&5
8734 sed 's/^/| /' conftest.$ac_ext >&5
8736 ac_cv_lib_audio_AuCreateFlow=no
8739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8740 conftest$ac_exeext conftest.$ac_ext
8741 LIBS=$ac_check_lib_save_LIBS
8743 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8744 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8745 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8747 cat >>confdefs.h <<\_ACEOF
8751 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
8752 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
8753 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
8754 echo $ECHO_N "(cached) $ECHO_C" >&6
8756 ac_check_lib_save_LIBS=$LIBS
8757 LIBS="-lXau $X_LIBS $LIBS"
8758 cat >conftest.$ac_ext <<_ACEOF
8761 cat confdefs.h >>conftest.$ac_ext
8762 cat >>conftest.$ac_ext <<_ACEOF
8763 /* end confdefs.h. */
8765 /* Override any GCC internal prototype to avoid an error.
8766 Use char because int might match the return type of a GCC
8767 builtin and then its argument prototype would still apply. */
8771 char XauGetBestAuthByAddr ();
8775 return XauGetBestAuthByAddr ();
8780 rm -f conftest.$ac_objext conftest$ac_exeext
8781 if { (ac_try="$ac_link"
8783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8784 *) ac_try_echo=$ac_try;;
8786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8787 (eval "$ac_link") 2>conftest.er1
8789 grep -v '^ *+' conftest.er1 >conftest.err
8791 cat conftest.err >&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); } && {
8794 test -z "$ac_c_werror_flag" ||
8795 test ! -s conftest.err
8796 } && test -s conftest$ac_exeext &&
8797 $as_test_x conftest$ac_exeext; then
8798 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
8800 echo "$as_me: failed program was:" >&5
8801 sed 's/^/| /' conftest.$ac_ext >&5
8803 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
8806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8807 conftest$ac_exeext conftest.$ac_ext
8808 LIBS=$ac_check_lib_save_LIBS
8810 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
8811 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
8812 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
8813 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8815 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8826 CPPFLAGS="$ac_save_CPPFLAGS"
8843 if test "$PKG_CONFIG" != "false"
8845 ac_save_CPPFLAGS="$CPPFLAGS"
8846 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8847 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8848 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8850 for ac_header in libxml/parser.h
8852 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8853 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8854 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8856 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8857 echo $ECHO_N "(cached) $ECHO_C" >&6
8859 ac_res=`eval echo '${'$as_ac_Header'}'`
8860 { echo "$as_me:$LINENO: result: $ac_res" >&5
8861 echo "${ECHO_T}$ac_res" >&6; }
8863 # Is the header compilable?
8864 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8865 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8866 cat >conftest.$ac_ext <<_ACEOF
8869 cat confdefs.h >>conftest.$ac_ext
8870 cat >>conftest.$ac_ext <<_ACEOF
8871 /* end confdefs.h. */
8872 $ac_includes_default
8873 #include <$ac_header>
8875 rm -f conftest.$ac_objext
8876 if { (ac_try="$ac_compile"
8878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8879 *) ac_try_echo=$ac_try;;
8881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8882 (eval "$ac_compile") 2>conftest.er1
8884 grep -v '^ *+' conftest.er1 >conftest.err
8886 cat conftest.err >&5
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 (exit $ac_status); } && {
8889 test -z "$ac_c_werror_flag" ||
8890 test ! -s conftest.err
8891 } && test -s conftest.$ac_objext; then
8892 ac_header_compiler=yes
8894 echo "$as_me: failed program was:" >&5
8895 sed 's/^/| /' conftest.$ac_ext >&5
8897 ac_header_compiler=no
8900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8901 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8902 echo "${ECHO_T}$ac_header_compiler" >&6; }
8904 # Is the header present?
8905 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8906 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8907 cat >conftest.$ac_ext <<_ACEOF
8910 cat confdefs.h >>conftest.$ac_ext
8911 cat >>conftest.$ac_ext <<_ACEOF
8912 /* end confdefs.h. */
8913 #include <$ac_header>
8915 if { (ac_try="$ac_cpp conftest.$ac_ext"
8917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8918 *) ac_try_echo=$ac_try;;
8920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8921 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8923 grep -v '^ *+' conftest.er1 >conftest.err
8925 cat conftest.err >&5
8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927 (exit $ac_status); } >/dev/null && {
8928 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8929 test ! -s conftest.err
8931 ac_header_preproc=yes
8933 echo "$as_me: failed program was:" >&5
8934 sed 's/^/| /' conftest.$ac_ext >&5
8936 ac_header_preproc=no
8939 rm -f conftest.err conftest.$ac_ext
8940 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8941 echo "${ECHO_T}$ac_header_preproc" >&6; }
8943 # So? What about this header?
8944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8946 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8947 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8949 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8950 ac_header_preproc=yes
8953 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8954 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8955 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8956 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8957 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8958 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8959 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8960 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8963 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8964 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8966 ## ------------------------------------ ##
8967 ## Report this to wine-devel@winehq.org ##
8968 ## ------------------------------------ ##
8970 ) | sed "s/^/$as_me: WARNING: /" >&2
8973 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8975 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8976 echo $ECHO_N "(cached) $ECHO_C" >&6
8978 eval "$as_ac_Header=\$ac_header_preproc"
8980 ac_res=`eval echo '${'$as_ac_Header'}'`
8981 { echo "$as_me:$LINENO: result: $ac_res" >&5
8982 echo "${ECHO_T}$ac_res" >&6; }
8985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8986 cat >>confdefs.h <<_ACEOF
8987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8989 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
8990 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
8991 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
8992 echo $ECHO_N "(cached) $ECHO_C" >&6
8994 ac_check_lib_save_LIBS=$LIBS
8995 LIBS="-lxml2 $ac_xml_libs $LIBS"
8996 cat >conftest.$ac_ext <<_ACEOF
8999 cat confdefs.h >>conftest.$ac_ext
9000 cat >>conftest.$ac_ext <<_ACEOF
9001 /* end confdefs.h. */
9003 /* Override any GCC internal prototype to avoid an error.
9004 Use char because int might match the return type of a GCC
9005 builtin and then its argument prototype would still apply. */
9009 char xmlParseMemory ();
9013 return xmlParseMemory ();
9018 rm -f conftest.$ac_objext conftest$ac_exeext
9019 if { (ac_try="$ac_link"
9021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9022 *) ac_try_echo=$ac_try;;
9024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9025 (eval "$ac_link") 2>conftest.er1
9027 grep -v '^ *+' conftest.er1 >conftest.err
9029 cat conftest.err >&5
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 (exit $ac_status); } && {
9032 test -z "$ac_c_werror_flag" ||
9033 test ! -s conftest.err
9034 } && test -s conftest$ac_exeext &&
9035 $as_test_x conftest$ac_exeext; then
9036 ac_cv_lib_xml2_xmlParseMemory=yes
9038 echo "$as_me: failed program was:" >&5
9039 sed 's/^/| /' conftest.$ac_ext >&5
9041 ac_cv_lib_xml2_xmlParseMemory=no
9044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9045 conftest$ac_exeext conftest.$ac_ext
9046 LIBS=$ac_check_lib_save_LIBS
9048 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9049 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9050 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9052 cat >>confdefs.h <<\_ACEOF
9053 #define HAVE_LIBXML2 1
9056 XML2LIBS="$ac_xml_libs"
9057 XML2INCL="$ac_xml_cflags"
9060 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9061 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
9062 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9063 echo $ECHO_N "(cached) $ECHO_C" >&6
9065 ac_check_lib_save_LIBS=$LIBS
9066 LIBS="-lxml2 $ac_xml_libs $LIBS"
9067 cat >conftest.$ac_ext <<_ACEOF
9070 cat confdefs.h >>conftest.$ac_ext
9071 cat >>conftest.$ac_ext <<_ACEOF
9072 /* end confdefs.h. */
9074 /* Override any GCC internal prototype to avoid an error.
9075 Use char because int might match the return type of a GCC
9076 builtin and then its argument prototype would still apply. */
9080 char xmlReadMemory ();
9084 return xmlReadMemory ();
9089 rm -f conftest.$ac_objext conftest$ac_exeext
9090 if { (ac_try="$ac_link"
9092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9093 *) ac_try_echo=$ac_try;;
9095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9096 (eval "$ac_link") 2>conftest.er1
9098 grep -v '^ *+' conftest.er1 >conftest.err
9100 cat conftest.err >&5
9101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102 (exit $ac_status); } && {
9103 test -z "$ac_c_werror_flag" ||
9104 test ! -s conftest.err
9105 } && test -s conftest$ac_exeext &&
9106 $as_test_x conftest$ac_exeext; then
9107 ac_cv_lib_xml2_xmlReadMemory=yes
9109 echo "$as_me: failed program was:" >&5
9110 sed 's/^/| /' conftest.$ac_ext >&5
9112 ac_cv_lib_xml2_xmlReadMemory=no
9115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9116 conftest$ac_exeext conftest.$ac_ext
9117 LIBS=$ac_check_lib_save_LIBS
9119 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9120 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9121 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9123 cat >>confdefs.h <<\_ACEOF
9124 #define HAVE_XMLREADMEMORY 1
9129 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9130 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9131 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9132 echo $ECHO_N "(cached) $ECHO_C" >&6
9134 ac_check_lib_save_LIBS=$LIBS
9135 LIBS="-lxml2 $ac_xml_libs $LIBS"
9136 cat >conftest.$ac_ext <<_ACEOF
9139 cat confdefs.h >>conftest.$ac_ext
9140 cat >>conftest.$ac_ext <<_ACEOF
9141 /* end confdefs.h. */
9143 /* Override any GCC internal prototype to avoid an error.
9144 Use char because int might match the return type of a GCC
9145 builtin and then its argument prototype would still apply. */
9149 char xmlNewDocPI ();
9153 return xmlNewDocPI ();
9158 rm -f conftest.$ac_objext conftest$ac_exeext
9159 if { (ac_try="$ac_link"
9161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9162 *) ac_try_echo=$ac_try;;
9164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9165 (eval "$ac_link") 2>conftest.er1
9167 grep -v '^ *+' conftest.er1 >conftest.err
9169 cat conftest.err >&5
9170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9171 (exit $ac_status); } && {
9172 test -z "$ac_c_werror_flag" ||
9173 test ! -s conftest.err
9174 } && test -s conftest$ac_exeext &&
9175 $as_test_x conftest$ac_exeext; then
9176 ac_cv_lib_xml2_xmlNewDocPI=yes
9178 echo "$as_me: failed program was:" >&5
9179 sed 's/^/| /' conftest.$ac_ext >&5
9181 ac_cv_lib_xml2_xmlNewDocPI=no
9184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9185 conftest$ac_exeext conftest.$ac_ext
9186 LIBS=$ac_check_lib_save_LIBS
9188 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9189 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9190 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9192 cat >>confdefs.h <<\_ACEOF
9193 #define HAVE_XMLNEWDOCPI 1
9203 CPPFLAGS="$ac_save_CPPFLAGS"
9204 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9205 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9206 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9209 for ac_header in libxslt/pattern.h libxslt/transform.h
9211 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9212 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9214 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9215 echo $ECHO_N "(cached) $ECHO_C" >&6
9217 cat >conftest.$ac_ext <<_ACEOF
9220 cat confdefs.h >>conftest.$ac_ext
9221 cat >>conftest.$ac_ext <<_ACEOF
9222 /* end confdefs.h. */
9223 #ifdef HAVE_LIBXSLT_PATTERN_H
9224 # include <libxslt/pattern.h>
9227 #include <$ac_header>
9229 rm -f conftest.$ac_objext
9230 if { (ac_try="$ac_compile"
9232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9233 *) ac_try_echo=$ac_try;;
9235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9236 (eval "$ac_compile") 2>conftest.er1
9238 grep -v '^ *+' conftest.er1 >conftest.err
9240 cat conftest.err >&5
9241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9242 (exit $ac_status); } && {
9243 test -z "$ac_c_werror_flag" ||
9244 test ! -s conftest.err
9245 } && test -s conftest.$ac_objext; then
9246 eval "$as_ac_Header=yes"
9248 echo "$as_me: failed program was:" >&5
9249 sed 's/^/| /' conftest.$ac_ext >&5
9251 eval "$as_ac_Header=no"
9254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9256 ac_res=`eval echo '${'$as_ac_Header'}'`
9257 { echo "$as_me:$LINENO: result: $ac_res" >&5
9258 echo "${ECHO_T}$ac_res" >&6; }
9259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9260 cat >>confdefs.h <<_ACEOF
9261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9263 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9264 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9265 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9266 echo $ECHO_N "(cached) $ECHO_C" >&6
9268 ac_check_lib_save_LIBS=$LIBS
9269 LIBS="-lxslt $ac_xslt_libs $LIBS"
9270 cat >conftest.$ac_ext <<_ACEOF
9273 cat confdefs.h >>conftest.$ac_ext
9274 cat >>conftest.$ac_ext <<_ACEOF
9275 /* end confdefs.h. */
9277 /* Override any GCC internal prototype to avoid an error.
9278 Use char because int might match the return type of a GCC
9279 builtin and then its argument prototype would still apply. */
9283 char xsltCompilePattern ();
9287 return xsltCompilePattern ();
9292 rm -f conftest.$ac_objext conftest$ac_exeext
9293 if { (ac_try="$ac_link"
9295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9296 *) ac_try_echo=$ac_try;;
9298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9299 (eval "$ac_link") 2>conftest.er1
9301 grep -v '^ *+' conftest.er1 >conftest.err
9303 cat conftest.err >&5
9304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305 (exit $ac_status); } && {
9306 test -z "$ac_c_werror_flag" ||
9307 test ! -s conftest.err
9308 } && test -s conftest$ac_exeext &&
9309 $as_test_x conftest$ac_exeext; then
9310 ac_cv_lib_xslt_xsltCompilePattern=yes
9312 echo "$as_me: failed program was:" >&5
9313 sed 's/^/| /' conftest.$ac_ext >&5
9315 ac_cv_lib_xslt_xsltCompilePattern=no
9318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9319 conftest$ac_exeext conftest.$ac_ext
9320 LIBS=$ac_check_lib_save_LIBS
9322 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9323 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9324 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9326 cat >>confdefs.h <<\_ACEOF
9327 #define HAVE_LIBXSLT 1
9330 XSLTLIBS="$ac_xslt_libs"
9331 XSLTINCL="$ac_xslt_cflags"
9339 CPPFLAGS="$ac_save_CPPFLAGS"
9344 if test "$PKG_CONFIG" != "false"
9346 ac_save_CPPFLAGS="$CPPFLAGS"
9347 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9348 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9349 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9352 for ac_header in dbus/dbus.h hal/libhal.h
9354 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9355 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9356 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9358 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9359 echo $ECHO_N "(cached) $ECHO_C" >&6
9361 ac_res=`eval echo '${'$as_ac_Header'}'`
9362 { echo "$as_me:$LINENO: result: $ac_res" >&5
9363 echo "${ECHO_T}$ac_res" >&6; }
9365 # Is the header compilable?
9366 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9367 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9368 cat >conftest.$ac_ext <<_ACEOF
9371 cat confdefs.h >>conftest.$ac_ext
9372 cat >>conftest.$ac_ext <<_ACEOF
9373 /* end confdefs.h. */
9374 $ac_includes_default
9375 #include <$ac_header>
9377 rm -f conftest.$ac_objext
9378 if { (ac_try="$ac_compile"
9380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9381 *) ac_try_echo=$ac_try;;
9383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9384 (eval "$ac_compile") 2>conftest.er1
9386 grep -v '^ *+' conftest.er1 >conftest.err
9388 cat conftest.err >&5
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); } && {
9391 test -z "$ac_c_werror_flag" ||
9392 test ! -s conftest.err
9393 } && test -s conftest.$ac_objext; then
9394 ac_header_compiler=yes
9396 echo "$as_me: failed program was:" >&5
9397 sed 's/^/| /' conftest.$ac_ext >&5
9399 ac_header_compiler=no
9402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9403 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9404 echo "${ECHO_T}$ac_header_compiler" >&6; }
9406 # Is the header present?
9407 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9408 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9409 cat >conftest.$ac_ext <<_ACEOF
9412 cat confdefs.h >>conftest.$ac_ext
9413 cat >>conftest.$ac_ext <<_ACEOF
9414 /* end confdefs.h. */
9415 #include <$ac_header>
9417 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null && {
9430 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9431 test ! -s conftest.err
9433 ac_header_preproc=yes
9435 echo "$as_me: failed program was:" >&5
9436 sed 's/^/| /' conftest.$ac_ext >&5
9438 ac_header_preproc=no
9441 rm -f conftest.err conftest.$ac_ext
9442 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9443 echo "${ECHO_T}$ac_header_preproc" >&6; }
9445 # So? What about this header?
9446 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9448 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9449 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9451 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9452 ac_header_preproc=yes
9455 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9456 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9457 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9458 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9459 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9460 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9461 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9462 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9464 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9465 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9466 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9468 ## ------------------------------------ ##
9469 ## Report this to wine-devel@winehq.org ##
9470 ## ------------------------------------ ##
9472 ) | sed "s/^/$as_me: WARNING: /" >&2
9475 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9477 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9478 echo $ECHO_N "(cached) $ECHO_C" >&6
9480 eval "$as_ac_Header=\$ac_header_preproc"
9482 ac_res=`eval echo '${'$as_ac_Header'}'`
9483 { echo "$as_me:$LINENO: result: $ac_res" >&5
9484 echo "${ECHO_T}$ac_res" >&6; }
9487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9488 cat >>confdefs.h <<_ACEOF
9489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9496 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9498 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9499 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9500 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9501 echo $ECHO_N "(cached) $ECHO_C" >&6
9503 ac_check_lib_save_LIBS=$LIBS
9505 cat >conftest.$ac_ext <<_ACEOF
9508 cat confdefs.h >>conftest.$ac_ext
9509 cat >>conftest.$ac_ext <<_ACEOF
9510 /* end confdefs.h. */
9512 /* Override any GCC internal prototype to avoid an error.
9513 Use char because int might match the return type of a GCC
9514 builtin and then its argument prototype would still apply. */
9518 char libhal_ctx_new ();
9522 return libhal_ctx_new ();
9527 rm -f conftest.$ac_objext conftest$ac_exeext
9528 if { (ac_try="$ac_link"
9530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9531 *) ac_try_echo=$ac_try;;
9533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9534 (eval "$ac_link") 2>conftest.er1
9536 grep -v '^ *+' conftest.er1 >conftest.err
9538 cat conftest.err >&5
9539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9540 (exit $ac_status); } && {
9541 test -z "$ac_c_werror_flag" ||
9542 test ! -s conftest.err
9543 } && test -s conftest$ac_exeext &&
9544 $as_test_x conftest$ac_exeext; then
9545 ac_cv_lib_hal_libhal_ctx_new=yes
9547 echo "$as_me: failed program was:" >&5
9548 sed 's/^/| /' conftest.$ac_ext >&5
9550 ac_cv_lib_hal_libhal_ctx_new=no
9553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9554 conftest$ac_exeext conftest.$ac_ext
9555 LIBS=$ac_check_lib_save_LIBS
9557 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9558 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9559 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9560 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9561 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9562 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9563 echo $ECHO_N "(cached) $ECHO_C" >&6
9565 ac_check_lib_save_LIBS=$LIBS
9566 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9567 cat >conftest.$ac_ext <<_ACEOF
9570 cat confdefs.h >>conftest.$ac_ext
9571 cat >>conftest.$ac_ext <<_ACEOF
9572 /* end confdefs.h. */
9574 /* Override any GCC internal prototype to avoid an error.
9575 Use char because int might match the return type of a GCC
9576 builtin and then its argument prototype would still apply. */
9580 char dbus_connection_close ();
9584 return dbus_connection_close ();
9589 rm -f conftest.$ac_objext conftest$ac_exeext
9590 if { (ac_try="$ac_link"
9592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9593 *) ac_try_echo=$ac_try;;
9595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9596 (eval "$ac_link") 2>conftest.er1
9598 grep -v '^ *+' conftest.er1 >conftest.err
9600 cat conftest.err >&5
9601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9602 (exit $ac_status); } && {
9603 test -z "$ac_c_werror_flag" ||
9604 test ! -s conftest.err
9605 } && test -s conftest$ac_exeext &&
9606 $as_test_x conftest$ac_exeext; then
9607 ac_cv_lib_dbus_1_dbus_connection_close=yes
9609 echo "$as_me: failed program was:" >&5
9610 sed 's/^/| /' conftest.$ac_ext >&5
9612 ac_cv_lib_dbus_1_dbus_connection_close=no
9615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9616 conftest$ac_exeext conftest.$ac_ext
9617 LIBS=$ac_check_lib_save_LIBS
9619 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9620 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9621 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9623 cat >>confdefs.h <<\_ACEOF
9624 #define HAVE_LIBHAL 1
9627 HALINCL="$ac_hal_cflags"
9633 CPPFLAGS="$ac_save_CPPFLAGS"
9637 if test "$ac_cv_header_ncurses_h" = "yes"
9639 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9640 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9641 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9642 echo $ECHO_N "(cached) $ECHO_C" >&6
9644 ac_check_lib_save_LIBS=$LIBS
9645 LIBS="-lncurses $LIBS"
9646 cat >conftest.$ac_ext <<_ACEOF
9649 cat confdefs.h >>conftest.$ac_ext
9650 cat >>conftest.$ac_ext <<_ACEOF
9651 /* end confdefs.h. */
9653 /* Override any GCC internal prototype to avoid an error.
9654 Use char because int might match the return type of a GCC
9655 builtin and then its argument prototype would still apply. */
9668 rm -f conftest.$ac_objext conftest$ac_exeext
9669 if { (ac_try="$ac_link"
9671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9672 *) ac_try_echo=$ac_try;;
9674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9675 (eval "$ac_link") 2>conftest.er1
9677 grep -v '^ *+' conftest.er1 >conftest.err
9679 cat conftest.err >&5
9680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9681 (exit $ac_status); } && {
9682 test -z "$ac_c_werror_flag" ||
9683 test ! -s conftest.err
9684 } && test -s conftest$ac_exeext &&
9685 $as_test_x conftest$ac_exeext; then
9686 ac_cv_lib_ncurses_waddch=yes
9688 echo "$as_me: failed program was:" >&5
9689 sed 's/^/| /' conftest.$ac_ext >&5
9691 ac_cv_lib_ncurses_waddch=no
9694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9695 conftest$ac_exeext conftest.$ac_ext
9696 LIBS=$ac_check_lib_save_LIBS
9698 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9699 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9700 if test $ac_cv_lib_ncurses_waddch = yes; then
9701 CURSESLIBS="-lncurses"
9704 elif test "$ac_cv_header_curses_h" = "yes"
9706 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9707 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9708 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9709 echo $ECHO_N "(cached) $ECHO_C" >&6
9711 ac_check_lib_save_LIBS=$LIBS
9712 LIBS="-lcurses $LIBS"
9713 cat >conftest.$ac_ext <<_ACEOF
9716 cat confdefs.h >>conftest.$ac_ext
9717 cat >>conftest.$ac_ext <<_ACEOF
9718 /* end confdefs.h. */
9720 /* Override any GCC internal prototype to avoid an error.
9721 Use char because int might match the return type of a GCC
9722 builtin and then its argument prototype would still apply. */
9735 rm -f conftest.$ac_objext conftest$ac_exeext
9736 if { (ac_try="$ac_link"
9738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9739 *) ac_try_echo=$ac_try;;
9741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9742 (eval "$ac_link") 2>conftest.er1
9744 grep -v '^ *+' conftest.er1 >conftest.err
9746 cat conftest.err >&5
9747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9748 (exit $ac_status); } && {
9749 test -z "$ac_c_werror_flag" ||
9750 test ! -s conftest.err
9751 } && test -s conftest$ac_exeext &&
9752 $as_test_x conftest$ac_exeext; then
9753 ac_cv_lib_curses_waddch=yes
9755 echo "$as_me: failed program was:" >&5
9756 sed 's/^/| /' conftest.$ac_ext >&5
9758 ac_cv_lib_curses_waddch=no
9761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9762 conftest$ac_exeext conftest.$ac_ext
9763 LIBS=$ac_check_lib_save_LIBS
9765 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9766 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9767 if test $ac_cv_lib_curses_waddch = yes; then
9768 CURSESLIBS="-lcurses"
9772 ac_save_LIBS="$LIBS"
9773 LIBS="$LIBS $CURSESLIBS"
9775 for ac_func in mousemask
9777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9778 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9780 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9781 echo $ECHO_N "(cached) $ECHO_C" >&6
9783 cat >conftest.$ac_ext <<_ACEOF
9786 cat confdefs.h >>conftest.$ac_ext
9787 cat >>conftest.$ac_ext <<_ACEOF
9788 /* end confdefs.h. */
9789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9791 #define $ac_func innocuous_$ac_func
9793 /* System header to define __stub macros and hopefully few prototypes,
9794 which can conflict with char $ac_func (); below.
9795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9796 <limits.h> exists even on freestanding compilers. */
9799 # include <limits.h>
9801 # include <assert.h>
9806 /* Override any GCC internal prototype to avoid an error.
9807 Use char because int might match the return type of a GCC
9808 builtin and then its argument prototype would still apply. */
9813 /* The GNU C library defines this for functions which it implements
9814 to always fail with ENOSYS. Some functions are actually named
9815 something starting with __ and the normal name is an alias. */
9816 #if defined __stub_$ac_func || defined __stub___$ac_func
9828 rm -f conftest.$ac_objext conftest$ac_exeext
9829 if { (ac_try="$ac_link"
9831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9832 *) ac_try_echo=$ac_try;;
9834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9835 (eval "$ac_link") 2>conftest.er1
9837 grep -v '^ *+' conftest.er1 >conftest.err
9839 cat conftest.err >&5
9840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9841 (exit $ac_status); } && {
9842 test -z "$ac_c_werror_flag" ||
9843 test ! -s conftest.err
9844 } && test -s conftest$ac_exeext &&
9845 $as_test_x conftest$ac_exeext; then
9846 eval "$as_ac_var=yes"
9848 echo "$as_me: failed program was:" >&5
9849 sed 's/^/| /' conftest.$ac_ext >&5
9851 eval "$as_ac_var=no"
9854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9855 conftest$ac_exeext conftest.$ac_ext
9857 ac_res=`eval echo '${'$as_ac_var'}'`
9858 { echo "$as_me:$LINENO: result: $ac_res" >&5
9859 echo "${ECHO_T}$ac_res" >&6; }
9860 if test `eval echo '${'$as_ac_var'}'` = yes; then
9861 cat >>confdefs.h <<_ACEOF
9862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9868 LIBS="$ac_save_LIBS"
9870 # Extract the first word of "sane-config", so it can be a program name with args.
9871 set dummy sane-config; ac_word=$2
9872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9874 if test "${ac_cv_prog_sane_devel+set}" = set; then
9875 echo $ECHO_N "(cached) $ECHO_C" >&6
9877 if test -n "$sane_devel"; then
9878 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9884 test -z "$as_dir" && as_dir=.
9885 for ac_exec_ext in '' $ac_executable_extensions; do
9886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9887 ac_cv_prog_sane_devel="sane-config"
9888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9895 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9898 sane_devel=$ac_cv_prog_sane_devel
9899 if test -n "$sane_devel"; then
9900 { echo "$as_me:$LINENO: result: $sane_devel" >&5
9901 echo "${ECHO_T}$sane_devel" >&6; }
9903 { echo "$as_me:$LINENO: result: no" >&5
9904 echo "${ECHO_T}no" >&6; }
9910 if test "$sane_devel" != "no"
9912 SANEINCL="`$sane_devel --cflags`"
9913 ac_save_CPPFLAGS="$CPPFLAGS"
9914 CPPFLAGS="$CPPFLAGS $SANEINCL"
9915 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9916 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9917 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9918 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9919 echo $ECHO_N "(cached) $ECHO_C" >&6
9921 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9922 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9924 # Is the header compilable?
9925 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9926 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
9927 cat >conftest.$ac_ext <<_ACEOF
9930 cat confdefs.h >>conftest.$ac_ext
9931 cat >>conftest.$ac_ext <<_ACEOF
9932 /* end confdefs.h. */
9933 $ac_includes_default
9934 #include <sane/sane.h>
9936 rm -f conftest.$ac_objext
9937 if { (ac_try="$ac_compile"
9939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9940 *) ac_try_echo=$ac_try;;
9942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9943 (eval "$ac_compile") 2>conftest.er1
9945 grep -v '^ *+' conftest.er1 >conftest.err
9947 cat conftest.err >&5
9948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949 (exit $ac_status); } && {
9950 test -z "$ac_c_werror_flag" ||
9951 test ! -s conftest.err
9952 } && test -s conftest.$ac_objext; then
9953 ac_header_compiler=yes
9955 echo "$as_me: failed program was:" >&5
9956 sed 's/^/| /' conftest.$ac_ext >&5
9958 ac_header_compiler=no
9961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9962 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9963 echo "${ECHO_T}$ac_header_compiler" >&6; }
9965 # Is the header present?
9966 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9967 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
9968 cat >conftest.$ac_ext <<_ACEOF
9971 cat confdefs.h >>conftest.$ac_ext
9972 cat >>conftest.$ac_ext <<_ACEOF
9973 /* end confdefs.h. */
9974 #include <sane/sane.h>
9976 if { (ac_try="$ac_cpp conftest.$ac_ext"
9978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9979 *) ac_try_echo=$ac_try;;
9981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9982 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9984 grep -v '^ *+' conftest.er1 >conftest.err
9986 cat conftest.err >&5
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 (exit $ac_status); } >/dev/null && {
9989 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9990 test ! -s conftest.err
9992 ac_header_preproc=yes
9994 echo "$as_me: failed program was:" >&5
9995 sed 's/^/| /' conftest.$ac_ext >&5
9997 ac_header_preproc=no
10000 rm -f conftest.err conftest.$ac_ext
10001 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10002 echo "${ECHO_T}$ac_header_preproc" >&6; }
10004 # So? What about this header?
10005 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10007 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10008 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10009 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10010 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10011 ac_header_preproc=yes
10014 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10015 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10016 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10017 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10018 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10019 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10020 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10021 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10022 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10023 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10024 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10025 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10027 ## ------------------------------------ ##
10028 ## Report this to wine-devel@winehq.org ##
10029 ## ------------------------------------ ##
10031 ) | sed "s/^/$as_me: WARNING: /" >&2
10034 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10035 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10036 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10037 echo $ECHO_N "(cached) $ECHO_C" >&6
10039 ac_cv_header_sane_sane_h=$ac_header_preproc
10041 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10042 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10045 if test $ac_cv_header_sane_sane_h = yes; then
10047 cat >>confdefs.h <<\_ACEOF
10048 #define HAVE_SANE 1
10056 CPPFLAGS="$ac_save_CPPFLAGS"
10059 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10060 set dummy gphoto2-config; ac_word=$2
10061 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10063 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10064 echo $ECHO_N "(cached) $ECHO_C" >&6
10066 if test -n "$gphoto2_devel"; then
10067 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10070 for as_dir in $PATH
10073 test -z "$as_dir" && as_dir=.
10074 for ac_exec_ext in '' $ac_executable_extensions; do
10075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10076 ac_cv_prog_gphoto2_devel="gphoto2-config"
10077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10084 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10087 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10088 if test -n "$gphoto2_devel"; then
10089 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10090 echo "${ECHO_T}$gphoto2_devel" >&6; }
10092 { echo "$as_me:$LINENO: result: no" >&5
10093 echo "${ECHO_T}no" >&6; }
10097 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10098 set dummy gphoto2-port-config; ac_word=$2
10099 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10101 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10102 echo $ECHO_N "(cached) $ECHO_C" >&6
10104 if test -n "$gphoto2port_devel"; then
10105 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10108 for as_dir in $PATH
10111 test -z "$as_dir" && as_dir=.
10112 for ac_exec_ext in '' $ac_executable_extensions; do
10113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10114 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10122 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10125 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10126 if test -n "$gphoto2port_devel"; then
10127 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10128 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10130 { echo "$as_me:$LINENO: result: no" >&5
10131 echo "${ECHO_T}no" >&6; }
10139 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10141 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10143 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10146 -L/usr/lib|-L/usr/lib64) ;;
10147 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
10150 ac_save_CPPFLAGS="$CPPFLAGS"
10151 ac_save_LIBS="$LIBS"
10152 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
10153 LIBS="$LIBS $GPHOTO2LIBS"
10154 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10155 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10156 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10157 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10158 echo $ECHO_N "(cached) $ECHO_C" >&6
10160 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10161 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10163 # Is the header compilable?
10164 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10165 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10166 cat >conftest.$ac_ext <<_ACEOF
10169 cat confdefs.h >>conftest.$ac_ext
10170 cat >>conftest.$ac_ext <<_ACEOF
10171 /* end confdefs.h. */
10172 $ac_includes_default
10173 #include <gphoto2-camera.h>
10175 rm -f conftest.$ac_objext
10176 if { (ac_try="$ac_compile"
10177 case "(($ac_try" in
10178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10179 *) ac_try_echo=$ac_try;;
10181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10182 (eval "$ac_compile") 2>conftest.er1
10184 grep -v '^ *+' conftest.er1 >conftest.err
10186 cat conftest.err >&5
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 (exit $ac_status); } && {
10189 test -z "$ac_c_werror_flag" ||
10190 test ! -s conftest.err
10191 } && test -s conftest.$ac_objext; then
10192 ac_header_compiler=yes
10194 echo "$as_me: failed program was:" >&5
10195 sed 's/^/| /' conftest.$ac_ext >&5
10197 ac_header_compiler=no
10200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10201 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10202 echo "${ECHO_T}$ac_header_compiler" >&6; }
10204 # Is the header present?
10205 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10206 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10207 cat >conftest.$ac_ext <<_ACEOF
10210 cat confdefs.h >>conftest.$ac_ext
10211 cat >>conftest.$ac_ext <<_ACEOF
10212 /* end confdefs.h. */
10213 #include <gphoto2-camera.h>
10215 if { (ac_try="$ac_cpp conftest.$ac_ext"
10216 case "(($ac_try" in
10217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10218 *) ac_try_echo=$ac_try;;
10220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10221 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10223 grep -v '^ *+' conftest.er1 >conftest.err
10225 cat conftest.err >&5
10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227 (exit $ac_status); } >/dev/null && {
10228 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10229 test ! -s conftest.err
10231 ac_header_preproc=yes
10233 echo "$as_me: failed program was:" >&5
10234 sed 's/^/| /' conftest.$ac_ext >&5
10236 ac_header_preproc=no
10239 rm -f conftest.err conftest.$ac_ext
10240 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10241 echo "${ECHO_T}$ac_header_preproc" >&6; }
10243 # So? What about this header?
10244 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10246 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10247 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10248 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10249 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10250 ac_header_preproc=yes
10253 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10254 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10255 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10256 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10257 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10258 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10259 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10260 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10261 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10262 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10263 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10264 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10266 ## ------------------------------------ ##
10267 ## Report this to wine-devel@winehq.org ##
10268 ## ------------------------------------ ##
10270 ) | sed "s/^/$as_me: WARNING: /" >&2
10273 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10274 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10275 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10276 echo $ECHO_N "(cached) $ECHO_C" >&6
10278 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
10280 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10281 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10284 if test $ac_cv_header_gphoto2_camera_h = yes; then
10285 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10286 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10287 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10288 echo $ECHO_N "(cached) $ECHO_C" >&6
10290 ac_check_lib_save_LIBS=$LIBS
10291 LIBS="-lgphoto2 $LIBS"
10292 cat >conftest.$ac_ext <<_ACEOF
10295 cat confdefs.h >>conftest.$ac_ext
10296 cat >>conftest.$ac_ext <<_ACEOF
10297 /* end confdefs.h. */
10299 /* Override any GCC internal prototype to avoid an error.
10300 Use char because int might match the return type of a GCC
10301 builtin and then its argument prototype would still apply. */
10305 char gp_camera_new ();
10309 return gp_camera_new ();
10314 rm -f conftest.$ac_objext conftest$ac_exeext
10315 if { (ac_try="$ac_link"
10316 case "(($ac_try" in
10317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10318 *) ac_try_echo=$ac_try;;
10320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10321 (eval "$ac_link") 2>conftest.er1
10323 grep -v '^ *+' conftest.er1 >conftest.err
10325 cat conftest.err >&5
10326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10327 (exit $ac_status); } && {
10328 test -z "$ac_c_werror_flag" ||
10329 test ! -s conftest.err
10330 } && test -s conftest$ac_exeext &&
10331 $as_test_x conftest$ac_exeext; then
10332 ac_cv_lib_gphoto2_gp_camera_new=yes
10334 echo "$as_me: failed program was:" >&5
10335 sed 's/^/| /' conftest.$ac_ext >&5
10337 ac_cv_lib_gphoto2_gp_camera_new=no
10340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10341 conftest$ac_exeext conftest.$ac_ext
10342 LIBS=$ac_check_lib_save_LIBS
10344 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10345 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10346 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10348 cat >>confdefs.h <<\_ACEOF
10349 #define HAVE_GPHOTO2 1
10363 LIBS="$ac_save_LIBS"
10364 CPPFLAGS="$ac_save_CPPFLAGS"
10367 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10370 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
10372 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
10373 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
10374 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
10375 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
10376 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10377 cat >conftest.$ac_ext <<_ACEOF
10380 cat confdefs.h >>conftest.$ac_ext
10381 cat >>conftest.$ac_ext <<_ACEOF
10382 /* end confdefs.h. */
10383 #include <unicode/ubidi.h>
10392 rm -f conftest.$ac_objext conftest$ac_exeext
10393 if { (ac_try="$ac_link"
10394 case "(($ac_try" in
10395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10396 *) ac_try_echo=$ac_try;;
10398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10399 (eval "$ac_link") 2>conftest.er1
10401 grep -v '^ *+' conftest.er1 >conftest.err
10403 cat conftest.err >&5
10404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10405 (exit $ac_status); } && {
10406 test -z "$ac_c_werror_flag" ||
10407 test ! -s conftest.err
10408 } && test -s conftest$ac_exeext &&
10409 $as_test_x conftest$ac_exeext; then
10411 cat >>confdefs.h <<\_ACEOF
10415 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10417 { echo "$as_me:$LINENO: result: yes" >&5
10418 echo "${ECHO_T}yes" >&6; }
10420 echo "$as_me: failed program was:" >&5
10421 sed 's/^/| /' conftest.$ac_ext >&5
10423 { echo "$as_me:$LINENO: result: no" >&5
10424 echo "${ECHO_T}no" >&6; }
10427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10428 conftest$ac_exeext conftest.$ac_ext
10435 if test "$ac_cv_header_resolv_h" = "yes"
10437 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10438 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10439 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10440 echo $ECHO_N "(cached) $ECHO_C" >&6
10442 ac_check_lib_save_LIBS=$LIBS
10443 LIBS="-lresolv $LIBS"
10444 cat >conftest.$ac_ext <<_ACEOF
10447 cat confdefs.h >>conftest.$ac_ext
10448 cat >>conftest.$ac_ext <<_ACEOF
10449 /* end confdefs.h. */
10451 /* Override any GCC internal prototype to avoid an error.
10452 Use char because int might match the return type of a GCC
10453 builtin and then its argument prototype would still apply. */
10461 return res_query ();
10466 rm -f conftest.$ac_objext conftest$ac_exeext
10467 if { (ac_try="$ac_link"
10468 case "(($ac_try" in
10469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10470 *) ac_try_echo=$ac_try;;
10472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10473 (eval "$ac_link") 2>conftest.er1
10475 grep -v '^ *+' conftest.er1 >conftest.err
10477 cat conftest.err >&5
10478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10479 (exit $ac_status); } && {
10480 test -z "$ac_c_werror_flag" ||
10481 test ! -s conftest.err
10482 } && test -s conftest$ac_exeext &&
10483 $as_test_x conftest$ac_exeext; then
10484 ac_cv_lib_resolv_res_query=yes
10486 echo "$as_me: failed program was:" >&5
10487 sed 's/^/| /' conftest.$ac_ext >&5
10489 ac_cv_lib_resolv_res_query=no
10492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10493 conftest$ac_exeext conftest.$ac_ext
10494 LIBS=$ac_check_lib_save_LIBS
10496 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10497 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10498 if test $ac_cv_lib_resolv_res_query = yes; then
10500 cat >>confdefs.h <<\_ACEOF
10501 #define HAVE_RESOLV 1
10504 RESOLVLIBS="-lresolv"
10511 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10513 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10514 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10515 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10516 echo $ECHO_N "(cached) $ECHO_C" >&6
10518 ac_check_lib_save_LIBS=$LIBS
10519 LIBS="-llcms $LIBS"
10520 cat >conftest.$ac_ext <<_ACEOF
10523 cat confdefs.h >>conftest.$ac_ext
10524 cat >>conftest.$ac_ext <<_ACEOF
10525 /* end confdefs.h. */
10527 /* Override any GCC internal prototype to avoid an error.
10528 Use char because int might match the return type of a GCC
10529 builtin and then its argument prototype would still apply. */
10533 char cmsOpenProfileFromFile ();
10537 return cmsOpenProfileFromFile ();
10542 rm -f conftest.$ac_objext conftest$ac_exeext
10543 if { (ac_try="$ac_link"
10544 case "(($ac_try" in
10545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10546 *) ac_try_echo=$ac_try;;
10548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10549 (eval "$ac_link") 2>conftest.er1
10551 grep -v '^ *+' conftest.er1 >conftest.err
10553 cat conftest.err >&5
10554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10555 (exit $ac_status); } && {
10556 test -z "$ac_c_werror_flag" ||
10557 test ! -s conftest.err
10558 } && test -s conftest$ac_exeext &&
10559 $as_test_x conftest$ac_exeext; then
10560 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10562 echo "$as_me: failed program was:" >&5
10563 sed 's/^/| /' conftest.$ac_ext >&5
10565 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10569 conftest$ac_exeext conftest.$ac_ext
10570 LIBS=$ac_check_lib_save_LIBS
10572 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10573 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10574 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10576 cat >>confdefs.h <<\_ACEOF
10577 #define HAVE_LCMS 1
10587 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10589 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10590 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10591 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10592 echo $ECHO_N "(cached) $ECHO_C" >&6
10594 ac_check_lib_save_LIBS=$LIBS
10595 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10596 cat >conftest.$ac_ext <<_ACEOF
10599 cat confdefs.h >>conftest.$ac_ext
10600 cat >>conftest.$ac_ext <<_ACEOF
10601 /* end confdefs.h. */
10603 /* Override any GCC internal prototype to avoid an error.
10604 Use char because int might match the return type of a GCC
10605 builtin and then its argument prototype would still apply. */
10609 char ldap_initialize ();
10613 return ldap_initialize ();
10618 rm -f conftest.$ac_objext conftest$ac_exeext
10619 if { (ac_try="$ac_link"
10620 case "(($ac_try" in
10621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10622 *) ac_try_echo=$ac_try;;
10624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10625 (eval "$ac_link") 2>conftest.er1
10627 grep -v '^ *+' conftest.er1 >conftest.err
10629 cat conftest.err >&5
10630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10631 (exit $ac_status); } && {
10632 test -z "$ac_c_werror_flag" ||
10633 test ! -s conftest.err
10634 } && test -s conftest$ac_exeext &&
10635 $as_test_x conftest$ac_exeext; then
10636 ac_cv_lib_ldap_r_ldap_initialize=yes
10638 echo "$as_me: failed program was:" >&5
10639 sed 's/^/| /' conftest.$ac_ext >&5
10641 ac_cv_lib_ldap_r_ldap_initialize=no
10644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10645 conftest$ac_exeext conftest.$ac_ext
10646 LIBS=$ac_check_lib_save_LIBS
10648 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10649 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10650 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10651 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10652 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10653 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10654 echo $ECHO_N "(cached) $ECHO_C" >&6
10656 ac_check_lib_save_LIBS=$LIBS
10657 LIBS="-llber $LIBPTHREAD $LIBS"
10658 cat >conftest.$ac_ext <<_ACEOF
10661 cat confdefs.h >>conftest.$ac_ext
10662 cat >>conftest.$ac_ext <<_ACEOF
10663 /* end confdefs.h. */
10665 /* Override any GCC internal prototype to avoid an error.
10666 Use char because int might match the return type of a GCC
10667 builtin and then its argument prototype would still apply. */
10675 return ber_init ();
10680 rm -f conftest.$ac_objext conftest$ac_exeext
10681 if { (ac_try="$ac_link"
10682 case "(($ac_try" in
10683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10684 *) ac_try_echo=$ac_try;;
10686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10687 (eval "$ac_link") 2>conftest.er1
10689 grep -v '^ *+' conftest.er1 >conftest.err
10691 cat conftest.err >&5
10692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693 (exit $ac_status); } && {
10694 test -z "$ac_c_werror_flag" ||
10695 test ! -s conftest.err
10696 } && test -s conftest$ac_exeext &&
10697 $as_test_x conftest$ac_exeext; then
10698 ac_cv_lib_lber_ber_init=yes
10700 echo "$as_me: failed program was:" >&5
10701 sed 's/^/| /' conftest.$ac_ext >&5
10703 ac_cv_lib_lber_ber_init=no
10706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10707 conftest$ac_exeext conftest.$ac_ext
10708 LIBS=$ac_check_lib_save_LIBS
10710 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10711 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10712 if test $ac_cv_lib_lber_ber_init = yes; then
10714 cat >>confdefs.h <<\_ACEOF
10715 #define HAVE_LDAP 1
10718 LDAPLIBS="-lldap_r -llber"
10723 ac_wine_check_funcs_save_LIBS="$LIBS"
10724 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10730 ldap_count_references \
10731 ldap_first_reference \
10732 ldap_next_reference \
10733 ldap_parse_reference
10735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10736 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10738 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10739 echo $ECHO_N "(cached) $ECHO_C" >&6
10741 cat >conftest.$ac_ext <<_ACEOF
10744 cat confdefs.h >>conftest.$ac_ext
10745 cat >>conftest.$ac_ext <<_ACEOF
10746 /* end confdefs.h. */
10747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10749 #define $ac_func innocuous_$ac_func
10751 /* System header to define __stub macros and hopefully few prototypes,
10752 which can conflict with char $ac_func (); below.
10753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10754 <limits.h> exists even on freestanding compilers. */
10757 # include <limits.h>
10759 # include <assert.h>
10764 /* Override any GCC internal prototype to avoid an error.
10765 Use char because int might match the return type of a GCC
10766 builtin and then its argument prototype would still apply. */
10771 /* The GNU C library defines this for functions which it implements
10772 to always fail with ENOSYS. Some functions are actually named
10773 something starting with __ and the normal name is an alias. */
10774 #if defined __stub_$ac_func || defined __stub___$ac_func
10781 return $ac_func ();
10786 rm -f conftest.$ac_objext conftest$ac_exeext
10787 if { (ac_try="$ac_link"
10788 case "(($ac_try" in
10789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10790 *) ac_try_echo=$ac_try;;
10792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10793 (eval "$ac_link") 2>conftest.er1
10795 grep -v '^ *+' conftest.er1 >conftest.err
10797 cat conftest.err >&5
10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799 (exit $ac_status); } && {
10800 test -z "$ac_c_werror_flag" ||
10801 test ! -s conftest.err
10802 } && test -s conftest$ac_exeext &&
10803 $as_test_x conftest$ac_exeext; then
10804 eval "$as_ac_var=yes"
10806 echo "$as_me: failed program was:" >&5
10807 sed 's/^/| /' conftest.$ac_ext >&5
10809 eval "$as_ac_var=no"
10812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10813 conftest$ac_exeext conftest.$ac_ext
10815 ac_res=`eval echo '${'$as_ac_var'}'`
10816 { echo "$as_me:$LINENO: result: $ac_res" >&5
10817 echo "${ECHO_T}$ac_res" >&6; }
10818 if test `eval echo '${'$as_ac_var'}'` = yes; then
10819 cat >>confdefs.h <<_ACEOF
10820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10826 LIBS="$ac_wine_check_funcs_save_LIBS"
10833 # Extract the first word of "freetype-config", so it can be a program name with args.
10834 set dummy freetype-config; ac_word=$2
10835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10837 if test "${ac_cv_prog_ft_devel+set}" = set; then
10838 echo $ECHO_N "(cached) $ECHO_C" >&6
10840 if test -n "$ft_devel"; then
10841 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10844 for as_dir in $PATH
10847 test -z "$as_dir" && as_dir=.
10848 for ac_exec_ext in '' $ac_executable_extensions; do
10849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10850 ac_cv_prog_ft_devel="freetype-config"
10851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10858 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10861 ft_devel=$ac_cv_prog_ft_devel
10862 if test -n "$ft_devel"; then
10863 { echo "$as_me:$LINENO: result: $ft_devel" >&5
10864 echo "${ECHO_T}$ft_devel" >&6; }
10866 { echo "$as_me:$LINENO: result: no" >&5
10867 echo "${ECHO_T}no" >&6; }
10871 if test "$ft_devel" = "no"
10873 # Extract the first word of "freetype2-config", so it can be a program name with args.
10874 set dummy freetype2-config; ac_word=$2
10875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10877 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10878 echo $ECHO_N "(cached) $ECHO_C" >&6
10880 if test -n "$ft_devel2"; then
10881 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10884 for as_dir in $PATH
10887 test -z "$as_dir" && as_dir=.
10888 for ac_exec_ext in '' $ac_executable_extensions; do
10889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10890 ac_cv_prog_ft_devel2="freetype2-config"
10891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10898 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10901 ft_devel2=$ac_cv_prog_ft_devel2
10902 if test -n "$ft_devel2"; then
10903 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
10904 echo "${ECHO_T}$ft_devel2" >&6; }
10906 { echo "$as_me:$LINENO: result: no" >&5
10907 echo "${ECHO_T}no" >&6; }
10911 if test "$ft_devel2" = "freetype2-config"
10913 ft_devel=$ft_devel2
10917 if test "$ft_devel" = "no"
10919 wine_cv_msg_freetype=yes
10921 FREETYPELIBS=`$ft_devel --libs`
10922 FREETYPEINCL=`$ft_devel --cflags`
10923 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10924 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
10925 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10926 echo $ECHO_N "(cached) $ECHO_C" >&6
10928 ac_check_lib_save_LIBS=$LIBS
10929 LIBS="-lfreetype $FREETYPELIBS $LIBS"
10930 cat >conftest.$ac_ext <<_ACEOF
10933 cat confdefs.h >>conftest.$ac_ext
10934 cat >>conftest.$ac_ext <<_ACEOF
10935 /* end confdefs.h. */
10937 /* Override any GCC internal prototype to avoid an error.
10938 Use char because int might match the return type of a GCC
10939 builtin and then its argument prototype would still apply. */
10943 char FT_Init_FreeType ();
10947 return FT_Init_FreeType ();
10952 rm -f conftest.$ac_objext conftest$ac_exeext
10953 if { (ac_try="$ac_link"
10954 case "(($ac_try" in
10955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10956 *) ac_try_echo=$ac_try;;
10958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10959 (eval "$ac_link") 2>conftest.er1
10961 grep -v '^ *+' conftest.er1 >conftest.err
10963 cat conftest.err >&5
10964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10965 (exit $ac_status); } && {
10966 test -z "$ac_c_werror_flag" ||
10967 test ! -s conftest.err
10968 } && test -s conftest$ac_exeext &&
10969 $as_test_x conftest$ac_exeext; then
10970 ac_cv_lib_freetype_FT_Init_FreeType=yes
10972 echo "$as_me: failed program was:" >&5
10973 sed 's/^/| /' conftest.$ac_ext >&5
10975 ac_cv_lib_freetype_FT_Init_FreeType=no
10978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10979 conftest$ac_exeext conftest.$ac_ext
10980 LIBS=$ac_check_lib_save_LIBS
10982 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10983 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
10984 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10990 if test "$ft_lib" = "no"
10992 wine_cv_msg_freetype=yes
10996 ac_save_CPPFLAGS="$CPPFLAGS"
10997 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
11009 for ac_header in ft2build.h \
11010 freetype/freetype.h \
11011 freetype/ftglyph.h \
11012 freetype/tttables.h \
11013 freetype/ftnames.h \
11014 freetype/ftsnames.h \
11015 freetype/ttnameid.h \
11016 freetype/ftoutln.h \
11017 freetype/ftwinfnt.h \
11018 freetype/ftmodapi.h \
11019 freetype/internal/sfnt.h
11021 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11022 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11024 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11025 echo $ECHO_N "(cached) $ECHO_C" >&6
11027 cat >conftest.$ac_ext <<_ACEOF
11030 cat confdefs.h >>conftest.$ac_ext
11031 cat >>conftest.$ac_ext <<_ACEOF
11032 /* end confdefs.h. */
11033 #if HAVE_FT2BUILD_H
11034 #include <ft2build.h>
11037 #include <$ac_header>
11039 rm -f conftest.$ac_objext
11040 if { (ac_try="$ac_compile"
11041 case "(($ac_try" in
11042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11043 *) ac_try_echo=$ac_try;;
11045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11046 (eval "$ac_compile") 2>conftest.er1
11048 grep -v '^ *+' conftest.er1 >conftest.err
11050 cat conftest.err >&5
11051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11052 (exit $ac_status); } && {
11053 test -z "$ac_c_werror_flag" ||
11054 test ! -s conftest.err
11055 } && test -s conftest.$ac_objext; then
11056 eval "$as_ac_Header=yes"
11058 echo "$as_me: failed program was:" >&5
11059 sed 's/^/| /' conftest.$ac_ext >&5
11061 eval "$as_ac_Header=no"
11064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11066 ac_res=`eval echo '${'$as_ac_Header'}'`
11067 { echo "$as_me:$LINENO: result: $ac_res" >&5
11068 echo "${ECHO_T}$ac_res" >&6; }
11069 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11070 cat >>confdefs.h <<_ACEOF
11071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11078 cat >conftest.$ac_ext <<_ACEOF
11081 cat confdefs.h >>conftest.$ac_ext
11082 cat >>conftest.$ac_ext <<_ACEOF
11083 /* end confdefs.h. */
11084 #include <ft2build.h>
11085 #include <freetype/fttrigon.h>
11087 if { (ac_try="$ac_cpp conftest.$ac_ext"
11088 case "(($ac_try" in
11089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11090 *) ac_try_echo=$ac_try;;
11092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11093 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11095 grep -v '^ *+' conftest.er1 >conftest.err
11097 cat conftest.err >&5
11098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11099 (exit $ac_status); } >/dev/null && {
11100 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11101 test ! -s conftest.err
11104 cat >>confdefs.h <<\_ACEOF
11105 #define HAVE_FREETYPE_FTTRIGON_H 1
11108 wine_cv_fttrigon=yes
11110 echo "$as_me: failed program was:" >&5
11111 sed 's/^/| /' conftest.$ac_ext >&5
11113 wine_cv_fttrigon=no
11116 rm -f conftest.err conftest.$ac_ext
11117 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11118 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11119 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11120 echo $ECHO_N "(cached) $ECHO_C" >&6
11122 cat >conftest.$ac_ext <<_ACEOF
11125 cat confdefs.h >>conftest.$ac_ext
11126 cat >>conftest.$ac_ext <<_ACEOF
11127 /* end confdefs.h. */
11128 #include <freetype/ftmodapi.h>
11130 typedef FT_TrueTypeEngineType ac__type_new_;
11134 if ((ac__type_new_ *) 0)
11136 if (sizeof (ac__type_new_))
11142 rm -f conftest.$ac_objext
11143 if { (ac_try="$ac_compile"
11144 case "(($ac_try" in
11145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11146 *) ac_try_echo=$ac_try;;
11148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11149 (eval "$ac_compile") 2>conftest.er1
11151 grep -v '^ *+' conftest.er1 >conftest.err
11153 cat conftest.err >&5
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); } && {
11156 test -z "$ac_c_werror_flag" ||
11157 test ! -s conftest.err
11158 } && test -s conftest.$ac_objext; then
11159 ac_cv_type_FT_TrueTypeEngineType=yes
11161 echo "$as_me: failed program was:" >&5
11162 sed 's/^/| /' conftest.$ac_ext >&5
11164 ac_cv_type_FT_TrueTypeEngineType=no
11167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11169 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11170 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11171 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11173 cat >>confdefs.h <<_ACEOF
11174 #define HAVE_FT_TRUETYPEENGINETYPE 1
11180 ac_save_CFLAGS="$CFLAGS"
11181 CFLAGS="$CFLAGS $FREETYPELIBS"
11183 for ac_func in FT_Load_Sfnt_Table
11185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11186 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11188 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11191 cat >conftest.$ac_ext <<_ACEOF
11194 cat confdefs.h >>conftest.$ac_ext
11195 cat >>conftest.$ac_ext <<_ACEOF
11196 /* end confdefs.h. */
11197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11199 #define $ac_func innocuous_$ac_func
11201 /* System header to define __stub macros and hopefully few prototypes,
11202 which can conflict with char $ac_func (); below.
11203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11204 <limits.h> exists even on freestanding compilers. */
11207 # include <limits.h>
11209 # include <assert.h>
11214 /* Override any GCC internal prototype to avoid an error.
11215 Use char because int might match the return type of a GCC
11216 builtin and then its argument prototype would still apply. */
11221 /* The GNU C library defines this for functions which it implements
11222 to always fail with ENOSYS. Some functions are actually named
11223 something starting with __ and the normal name is an alias. */
11224 #if defined __stub_$ac_func || defined __stub___$ac_func
11231 return $ac_func ();
11236 rm -f conftest.$ac_objext conftest$ac_exeext
11237 if { (ac_try="$ac_link"
11238 case "(($ac_try" in
11239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11240 *) ac_try_echo=$ac_try;;
11242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11243 (eval "$ac_link") 2>conftest.er1
11245 grep -v '^ *+' conftest.er1 >conftest.err
11247 cat conftest.err >&5
11248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11249 (exit $ac_status); } && {
11250 test -z "$ac_c_werror_flag" ||
11251 test ! -s conftest.err
11252 } && test -s conftest$ac_exeext &&
11253 $as_test_x conftest$ac_exeext; then
11254 eval "$as_ac_var=yes"
11256 echo "$as_me: failed program was:" >&5
11257 sed 's/^/| /' conftest.$ac_ext >&5
11259 eval "$as_ac_var=no"
11262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11263 conftest$ac_exeext conftest.$ac_ext
11265 ac_res=`eval echo '${'$as_ac_var'}'`
11266 { echo "$as_me:$LINENO: result: $ac_res" >&5
11267 echo "${ECHO_T}$ac_res" >&6; }
11268 if test `eval echo '${'$as_ac_var'}'` = yes; then
11269 cat >>confdefs.h <<_ACEOF
11270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11276 CFLAGS="$ac_save_CFLAGS"
11277 CPPFLAGS="$ac_save_CPPFLAGS"
11278 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11281 cat >>confdefs.h <<\_ACEOF
11282 #define HAVE_FREETYPE 1
11285 wine_cv_msg_freetype=no
11289 wine_cv_msg_freetype=yes
11294 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11296 FONTSSUBDIRS="fonts"
11300 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11301 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11302 if test "${ac_cv_c_ppdev+set}" = set; then
11303 echo $ECHO_N "(cached) $ECHO_C" >&6
11305 cat >conftest.$ac_ext <<_ACEOF
11308 cat confdefs.h >>conftest.$ac_ext
11309 cat >>conftest.$ac_ext <<_ACEOF
11310 /* end confdefs.h. */
11311 #include <linux/ppdev.h>
11315 ioctl (1,PPCLAIM,0)
11320 rm -f conftest.$ac_objext
11321 if { (ac_try="$ac_compile"
11322 case "(($ac_try" in
11323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11324 *) ac_try_echo=$ac_try;;
11326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11327 (eval "$ac_compile") 2>conftest.er1
11329 grep -v '^ *+' conftest.er1 >conftest.err
11331 cat conftest.err >&5
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); } && {
11334 test -z "$ac_c_werror_flag" ||
11335 test ! -s conftest.err
11336 } && test -s conftest.$ac_objext; then
11337 ac_cv_c_ppdev="yes"
11339 echo "$as_me: failed program was:" >&5
11340 sed 's/^/| /' conftest.$ac_ext >&5
11345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11348 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11349 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11350 if test "$ac_cv_c_ppdev" = "yes"
11353 cat >>confdefs.h <<\_ACEOF
11354 #define HAVE_PPDEV 1
11359 { echo "$as_me:$LINENO: checking for va_copy" >&5
11360 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11361 if test "${ac_cv_c_va_copy+set}" = set; then
11362 echo $ECHO_N "(cached) $ECHO_C" >&6
11364 cat >conftest.$ac_ext <<_ACEOF
11367 cat confdefs.h >>conftest.$ac_ext
11368 cat >>conftest.$ac_ext <<_ACEOF
11369 /* end confdefs.h. */
11370 #include <stdarg.h>
11381 rm -f conftest.$ac_objext conftest$ac_exeext
11382 if { (ac_try="$ac_link"
11383 case "(($ac_try" in
11384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11385 *) ac_try_echo=$ac_try;;
11387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11388 (eval "$ac_link") 2>conftest.er1
11390 grep -v '^ *+' conftest.er1 >conftest.err
11392 cat conftest.err >&5
11393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); } && {
11395 test -z "$ac_c_werror_flag" ||
11396 test ! -s conftest.err
11397 } && test -s conftest$ac_exeext &&
11398 $as_test_x conftest$ac_exeext; then
11399 ac_cv_c_va_copy="yes"
11401 echo "$as_me: failed program was:" >&5
11402 sed 's/^/| /' conftest.$ac_ext >&5
11404 ac_cv_c_va_copy="no"
11407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11408 conftest$ac_exeext conftest.$ac_ext
11411 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11412 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11413 if test "$ac_cv_c_va_copy" = "yes"
11416 cat >>confdefs.h <<\_ACEOF
11417 #define HAVE_VA_COPY 1
11421 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11422 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11423 if test "${ac_cv_c___va_copy+set}" = set; then
11424 echo $ECHO_N "(cached) $ECHO_C" >&6
11426 cat >conftest.$ac_ext <<_ACEOF
11429 cat confdefs.h >>conftest.$ac_ext
11430 cat >>conftest.$ac_ext <<_ACEOF
11431 /* end confdefs.h. */
11432 #include <stdarg.h>
11437 __va_copy(ap1,ap2);
11443 rm -f conftest.$ac_objext conftest$ac_exeext
11444 if { (ac_try="$ac_link"
11445 case "(($ac_try" in
11446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11447 *) ac_try_echo=$ac_try;;
11449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11450 (eval "$ac_link") 2>conftest.er1
11452 grep -v '^ *+' conftest.er1 >conftest.err
11454 cat conftest.err >&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); } && {
11457 test -z "$ac_c_werror_flag" ||
11458 test ! -s conftest.err
11459 } && test -s conftest$ac_exeext &&
11460 $as_test_x conftest$ac_exeext; then
11461 ac_cv_c___va_copy="yes"
11463 echo "$as_me: failed program was:" >&5
11464 sed 's/^/| /' conftest.$ac_ext >&5
11466 ac_cv_c___va_copy="no"
11469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11470 conftest$ac_exeext conftest.$ac_ext
11473 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11474 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11475 if test "$ac_cv_c___va_copy" = "yes"
11478 cat >>confdefs.h <<\_ACEOF
11479 #define HAVE___VA_COPY 1
11484 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11485 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11486 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11487 echo $ECHO_N "(cached) $ECHO_C" >&6
11489 cat >conftest.$ac_ext <<_ACEOF
11492 cat confdefs.h >>conftest.$ac_ext
11493 cat >>conftest.$ac_ext <<_ACEOF
11494 /* end confdefs.h. */
11495 #include <setjmp.h>
11500 sigsetjmp( buf, 1 );
11501 siglongjmp( buf, 1 );
11506 rm -f conftest.$ac_objext conftest$ac_exeext
11507 if { (ac_try="$ac_link"
11508 case "(($ac_try" in
11509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11510 *) ac_try_echo=$ac_try;;
11512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11513 (eval "$ac_link") 2>conftest.er1
11515 grep -v '^ *+' conftest.er1 >conftest.err
11517 cat conftest.err >&5
11518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519 (exit $ac_status); } && {
11520 test -z "$ac_c_werror_flag" ||
11521 test ! -s conftest.err
11522 } && test -s conftest$ac_exeext &&
11523 $as_test_x conftest$ac_exeext; then
11524 ac_cv_c_sigsetjmp="yes"
11526 echo "$as_me: failed program was:" >&5
11527 sed 's/^/| /' conftest.$ac_ext >&5
11529 ac_cv_c_sigsetjmp="no"
11532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11533 conftest$ac_exeext conftest.$ac_ext
11536 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11537 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11538 if test "$ac_cv_c_sigsetjmp" = "yes"
11541 cat >>confdefs.h <<\_ACEOF
11542 #define HAVE_SIGSETJMP 1
11547 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11548 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11549 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11550 echo $ECHO_N "(cached) $ECHO_C" >&6
11552 cat >conftest.$ac_ext <<_ACEOF
11555 cat confdefs.h >>conftest.$ac_ext
11556 cat >>conftest.$ac_ext <<_ACEOF
11557 /* end confdefs.h. */
11558 #define _GNU_SOURCE
11559 #include <pthread.h>
11561 typedef pthread_rwlock_t ac__type_new_;
11565 if ((ac__type_new_ *) 0)
11567 if (sizeof (ac__type_new_))
11573 rm -f conftest.$ac_objext
11574 if { (ac_try="$ac_compile"
11575 case "(($ac_try" in
11576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11577 *) ac_try_echo=$ac_try;;
11579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11580 (eval "$ac_compile") 2>conftest.er1
11582 grep -v '^ *+' conftest.er1 >conftest.err
11584 cat conftest.err >&5
11585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586 (exit $ac_status); } && {
11587 test -z "$ac_c_werror_flag" ||
11588 test ! -s conftest.err
11589 } && test -s conftest.$ac_objext; then
11590 ac_cv_type_pthread_rwlock_t=yes
11592 echo "$as_me: failed program was:" >&5
11593 sed 's/^/| /' conftest.$ac_ext >&5
11595 ac_cv_type_pthread_rwlock_t=no
11598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11600 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11601 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11602 if test $ac_cv_type_pthread_rwlock_t = yes; then
11604 cat >>confdefs.h <<_ACEOF
11605 #define HAVE_PTHREAD_RWLOCK_T 1
11610 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11611 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11612 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11613 echo $ECHO_N "(cached) $ECHO_C" >&6
11615 cat >conftest.$ac_ext <<_ACEOF
11618 cat confdefs.h >>conftest.$ac_ext
11619 cat >>conftest.$ac_ext <<_ACEOF
11620 /* end confdefs.h. */
11621 #define _GNU_SOURCE
11622 #include <pthread.h>
11624 typedef pthread_rwlockattr_t ac__type_new_;
11628 if ((ac__type_new_ *) 0)
11630 if (sizeof (ac__type_new_))
11636 rm -f conftest.$ac_objext
11637 if { (ac_try="$ac_compile"
11638 case "(($ac_try" in
11639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11640 *) ac_try_echo=$ac_try;;
11642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11643 (eval "$ac_compile") 2>conftest.er1
11645 grep -v '^ *+' conftest.er1 >conftest.err
11647 cat conftest.err >&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); } && {
11650 test -z "$ac_c_werror_flag" ||
11651 test ! -s conftest.err
11652 } && test -s conftest.$ac_objext; then
11653 ac_cv_type_pthread_rwlockattr_t=yes
11655 echo "$as_me: failed program was:" >&5
11656 sed 's/^/| /' conftest.$ac_ext >&5
11658 ac_cv_type_pthread_rwlockattr_t=no
11661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11663 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11664 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11665 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11667 cat >>confdefs.h <<_ACEOF
11668 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11675 ac_wine_check_funcs_save_LIBS="$LIBS"
11676 LIBS="$LIBS $LIBPTHREAD"
11682 pthread_attr_get_np \
11683 pthread_getattr_np \
11684 pthread_get_stackaddr_np \
11685 pthread_get_stacksize_np
11687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11688 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11690 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11691 echo $ECHO_N "(cached) $ECHO_C" >&6
11693 cat >conftest.$ac_ext <<_ACEOF
11696 cat confdefs.h >>conftest.$ac_ext
11697 cat >>conftest.$ac_ext <<_ACEOF
11698 /* end confdefs.h. */
11699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11701 #define $ac_func innocuous_$ac_func
11703 /* System header to define __stub macros and hopefully few prototypes,
11704 which can conflict with char $ac_func (); below.
11705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11706 <limits.h> exists even on freestanding compilers. */
11709 # include <limits.h>
11711 # include <assert.h>
11716 /* Override any GCC internal prototype to avoid an error.
11717 Use char because int might match the return type of a GCC
11718 builtin and then its argument prototype would still apply. */
11723 /* The GNU C library defines this for functions which it implements
11724 to always fail with ENOSYS. Some functions are actually named
11725 something starting with __ and the normal name is an alias. */
11726 #if defined __stub_$ac_func || defined __stub___$ac_func
11733 return $ac_func ();
11738 rm -f conftest.$ac_objext conftest$ac_exeext
11739 if { (ac_try="$ac_link"
11740 case "(($ac_try" in
11741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11742 *) ac_try_echo=$ac_try;;
11744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11745 (eval "$ac_link") 2>conftest.er1
11747 grep -v '^ *+' conftest.er1 >conftest.err
11749 cat conftest.err >&5
11750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751 (exit $ac_status); } && {
11752 test -z "$ac_c_werror_flag" ||
11753 test ! -s conftest.err
11754 } && test -s conftest$ac_exeext &&
11755 $as_test_x conftest$ac_exeext; then
11756 eval "$as_ac_var=yes"
11758 echo "$as_me: failed program was:" >&5
11759 sed 's/^/| /' conftest.$ac_ext >&5
11761 eval "$as_ac_var=no"
11764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11765 conftest$ac_exeext conftest.$ac_ext
11767 ac_res=`eval echo '${'$as_ac_var'}'`
11768 { echo "$as_me:$LINENO: result: $ac_res" >&5
11769 echo "${ECHO_T}$ac_res" >&6; }
11770 if test `eval echo '${'$as_ac_var'}'` = yes; then
11771 cat >>confdefs.h <<_ACEOF
11772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11778 LIBS="$ac_wine_check_funcs_save_LIBS"
11780 # Extract the first word of "artsc-config", so it can be a program name with args.
11781 set dummy artsc-config; ac_word=$2
11782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11784 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11785 echo $ECHO_N "(cached) $ECHO_C" >&6
11787 case $ARTSCCONFIG in
11789 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
11792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11793 for as_dir in $PATH
11796 test -z "$as_dir" && as_dir=.
11797 for ac_exec_ext in '' $ac_executable_extensions; do
11798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11799 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
11800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11810 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
11811 if test -n "$ARTSCCONFIG"; then
11812 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11813 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
11815 { echo "$as_me:$LINENO: result: no" >&5
11816 echo "${ECHO_T}no" >&6; }
11820 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
11823 for i in `$ARTSCCONFIG --cflags`
11826 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
11830 for i in `$ARTSCCONFIG --libs`
11833 -L/usr/lib|-L/usr/lib64) ;;
11834 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
11837 save_CFLAGS="$CFLAGS"
11838 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
11839 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
11840 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
11841 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
11842 echo $ECHO_N "(cached) $ECHO_C" >&6
11844 ac_check_lib_save_LIBS=$LIBS
11845 LIBS="-lartsc $ARTSC_LIBS $LIBS"
11846 cat >conftest.$ac_ext <<_ACEOF
11849 cat confdefs.h >>conftest.$ac_ext
11850 cat >>conftest.$ac_ext <<_ACEOF
11851 /* end confdefs.h. */
11853 /* Override any GCC internal prototype to avoid an error.
11854 Use char because int might match the return type of a GCC
11855 builtin and then its argument prototype would still apply. */
11863 return arts_init ();
11868 rm -f conftest.$ac_objext conftest$ac_exeext
11869 if { (ac_try="$ac_link"
11870 case "(($ac_try" in
11871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11872 *) ac_try_echo=$ac_try;;
11874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11875 (eval "$ac_link") 2>conftest.er1
11877 grep -v '^ *+' conftest.er1 >conftest.err
11879 cat conftest.err >&5
11880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 (exit $ac_status); } && {
11882 test -z "$ac_c_werror_flag" ||
11883 test ! -s conftest.err
11884 } && test -s conftest$ac_exeext &&
11885 $as_test_x conftest$ac_exeext; then
11886 ac_cv_lib_artsc_arts_init=yes
11888 echo "$as_me: failed program was:" >&5
11889 sed 's/^/| /' conftest.$ac_ext >&5
11891 ac_cv_lib_artsc_arts_init=no
11894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11895 conftest$ac_exeext conftest.$ac_ext
11896 LIBS=$ac_check_lib_save_LIBS
11898 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
11899 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
11900 if test $ac_cv_lib_artsc_arts_init = yes; then
11901 cat >conftest.$ac_ext <<_ACEOF
11904 cat confdefs.h >>conftest.$ac_ext
11905 cat >>conftest.$ac_ext <<_ACEOF
11906 /* end confdefs.h. */
11911 arts_stream_t stream;
11916 rm -f conftest.$ac_objext
11917 if { (ac_try="$ac_compile"
11918 case "(($ac_try" in
11919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11920 *) ac_try_echo=$ac_try;;
11922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11923 (eval "$ac_compile") 2>conftest.er1
11925 grep -v '^ *+' conftest.er1 >conftest.err
11927 cat conftest.err >&5
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); } && {
11930 test -z "$ac_c_werror_flag" ||
11931 test ! -s conftest.err
11932 } && test -s conftest.$ac_objext; then
11933 ARTSLIBS=$ARTSC_LIBS
11935 ARTSINCL=$ARTSC_CFLAGS
11938 cat >>confdefs.h <<\_ACEOF
11939 #define HAVE_ARTS 1
11943 echo "$as_me: failed program was:" >&5
11944 sed 's/^/| /' conftest.$ac_ext >&5
11949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11952 CFLAGS="$save_CFLAGS"
11955 # Extract the first word of "esd-config", so it can be a program name with args.
11956 set dummy esd-config; ac_word=$2
11957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11959 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
11960 echo $ECHO_N "(cached) $ECHO_C" >&6
11964 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
11967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11968 for as_dir in $PATH
11971 test -z "$as_dir" && as_dir=.
11972 for ac_exec_ext in '' $ac_executable_extensions; do
11973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11974 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
11975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11985 ESDCONFIG=$ac_cv_path_ESDCONFIG
11986 if test -n "$ESDCONFIG"; then
11987 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
11988 echo "${ECHO_T}$ESDCONFIG" >&6; }
11990 { echo "$as_me:$LINENO: result: no" >&5
11991 echo "${ECHO_T}no" >&6; }
11995 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
11998 for i in `$ESDCONFIG --cflags`
12001 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
12004 ESD_LIBS=`$ESDCONFIG --libs`
12005 save_CFLAGS="$CFLAGS"
12006 CFLAGS="$CFLAGS $ESD_CFLAGS"
12007 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
12008 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
12009 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
12010 echo $ECHO_N "(cached) $ECHO_C" >&6
12012 ac_check_lib_save_LIBS=$LIBS
12014 cat >conftest.$ac_ext <<_ACEOF
12017 cat confdefs.h >>conftest.$ac_ext
12018 cat >>conftest.$ac_ext <<_ACEOF
12019 /* end confdefs.h. */
12021 /* Override any GCC internal prototype to avoid an error.
12022 Use char because int might match the return type of a GCC
12023 builtin and then its argument prototype would still apply. */
12027 char esd_open_sound ();
12031 return esd_open_sound ();
12036 rm -f conftest.$ac_objext conftest$ac_exeext
12037 if { (ac_try="$ac_link"
12038 case "(($ac_try" in
12039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12040 *) ac_try_echo=$ac_try;;
12042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12043 (eval "$ac_link") 2>conftest.er1
12045 grep -v '^ *+' conftest.er1 >conftest.err
12047 cat conftest.err >&5
12048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12049 (exit $ac_status); } && {
12050 test -z "$ac_c_werror_flag" ||
12051 test ! -s conftest.err
12052 } && test -s conftest$ac_exeext &&
12053 $as_test_x conftest$ac_exeext; then
12054 ac_cv_lib_esd_esd_open_sound=yes
12056 echo "$as_me: failed program was:" >&5
12057 sed 's/^/| /' conftest.$ac_ext >&5
12059 ac_cv_lib_esd_esd_open_sound=no
12062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12063 conftest$ac_exeext conftest.$ac_ext
12064 LIBS=$ac_check_lib_save_LIBS
12066 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
12067 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
12068 if test $ac_cv_lib_esd_esd_open_sound = yes; then
12071 ESDINCL=$ESD_CFLAGS
12074 cat >>confdefs.h <<\_ACEOF
12080 CFLAGS="$save_CFLAGS"
12085 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12087 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
12088 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
12089 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
12090 echo $ECHO_N "(cached) $ECHO_C" >&6
12092 ac_check_lib_save_LIBS=$LIBS
12093 LIBS="-lasound $LIBS"
12094 cat >conftest.$ac_ext <<_ACEOF
12097 cat confdefs.h >>conftest.$ac_ext
12098 cat >>conftest.$ac_ext <<_ACEOF
12099 /* end confdefs.h. */
12101 /* Override any GCC internal prototype to avoid an error.
12102 Use char because int might match the return type of a GCC
12103 builtin and then its argument prototype would still apply. */
12107 char snd_pcm_hw_params_get_access ();
12111 return snd_pcm_hw_params_get_access ();
12116 rm -f conftest.$ac_objext conftest$ac_exeext
12117 if { (ac_try="$ac_link"
12118 case "(($ac_try" in
12119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12120 *) ac_try_echo=$ac_try;;
12122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12123 (eval "$ac_link") 2>conftest.er1
12125 grep -v '^ *+' conftest.er1 >conftest.err
12127 cat conftest.err >&5
12128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12129 (exit $ac_status); } && {
12130 test -z "$ac_c_werror_flag" ||
12131 test ! -s conftest.err
12132 } && test -s conftest$ac_exeext &&
12133 $as_test_x conftest$ac_exeext; then
12134 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
12136 echo "$as_me: failed program was:" >&5
12137 sed 's/^/| /' conftest.$ac_ext >&5
12139 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
12142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12143 conftest$ac_exeext conftest.$ac_ext
12144 LIBS=$ac_check_lib_save_LIBS
12146 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
12147 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
12148 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
12149 cat >conftest.$ac_ext <<_ACEOF
12152 cat confdefs.h >>conftest.$ac_ext
12153 cat >>conftest.$ac_ext <<_ACEOF
12154 /* end confdefs.h. */
12155 #ifdef HAVE_ALSA_ASOUNDLIB_H
12156 #include <alsa/asoundlib.h>
12157 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12158 #include <sys/asoundlib.h>
12163 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12168 rm -f conftest.$ac_objext
12169 if { (ac_try="$ac_compile"
12170 case "(($ac_try" in
12171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12172 *) ac_try_echo=$ac_try;;
12174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12175 (eval "$ac_compile") 2>conftest.er1
12177 grep -v '^ *+' conftest.er1 >conftest.err
12179 cat conftest.err >&5
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); } && {
12182 test -z "$ac_c_werror_flag" ||
12183 test ! -s conftest.err
12184 } && test -s conftest.$ac_objext; then
12186 cat >>confdefs.h <<\_ACEOF
12187 #define HAVE_ALSA 1
12190 ALSALIBS="-lasound"
12192 echo "$as_me: failed program was:" >&5
12193 sed 's/^/| /' conftest.$ac_ext >&5
12198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12206 if test "$ac_cv_header_libaudioio_h" = "yes"
12208 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12209 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12210 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12211 echo $ECHO_N "(cached) $ECHO_C" >&6
12213 ac_check_lib_save_LIBS=$LIBS
12214 LIBS="-laudioio $LIBS"
12215 cat >conftest.$ac_ext <<_ACEOF
12218 cat confdefs.h >>conftest.$ac_ext
12219 cat >>conftest.$ac_ext <<_ACEOF
12220 /* end confdefs.h. */
12222 /* Override any GCC internal prototype to avoid an error.
12223 Use char because int might match the return type of a GCC
12224 builtin and then its argument prototype would still apply. */
12228 char AudioIOGetVersion ();
12232 return AudioIOGetVersion ();
12237 rm -f conftest.$ac_objext conftest$ac_exeext
12238 if { (ac_try="$ac_link"
12239 case "(($ac_try" in
12240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12241 *) ac_try_echo=$ac_try;;
12243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12244 (eval "$ac_link") 2>conftest.er1
12246 grep -v '^ *+' conftest.er1 >conftest.err
12248 cat conftest.err >&5
12249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12250 (exit $ac_status); } && {
12251 test -z "$ac_c_werror_flag" ||
12252 test ! -s conftest.err
12253 } && test -s conftest$ac_exeext &&
12254 $as_test_x conftest$ac_exeext; then
12255 ac_cv_lib_audioio_AudioIOGetVersion=yes
12257 echo "$as_me: failed program was:" >&5
12258 sed 's/^/| /' conftest.$ac_ext >&5
12260 ac_cv_lib_audioio_AudioIOGetVersion=no
12263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12264 conftest$ac_exeext conftest.$ac_ext
12265 LIBS=$ac_check_lib_save_LIBS
12267 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12268 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12269 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12270 AUDIOIOLIBS="-laudioio"
12272 cat >>confdefs.h <<\_ACEOF
12273 #define HAVE_LIBAUDIOIO 1
12281 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12283 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12284 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12285 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12286 echo $ECHO_N "(cached) $ECHO_C" >&6
12288 ac_check_lib_save_LIBS=$LIBS
12289 LIBS="-lcapi20 $LIBS"
12290 cat >conftest.$ac_ext <<_ACEOF
12293 cat confdefs.h >>conftest.$ac_ext
12294 cat >>conftest.$ac_ext <<_ACEOF
12295 /* end confdefs.h. */
12297 /* Override any GCC internal prototype to avoid an error.
12298 Use char because int might match the return type of a GCC
12299 builtin and then its argument prototype would still apply. */
12303 char capi20_register ();
12307 return capi20_register ();
12312 rm -f conftest.$ac_objext conftest$ac_exeext
12313 if { (ac_try="$ac_link"
12314 case "(($ac_try" in
12315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12316 *) ac_try_echo=$ac_try;;
12318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12319 (eval "$ac_link") 2>conftest.er1
12321 grep -v '^ *+' conftest.er1 >conftest.err
12323 cat conftest.err >&5
12324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325 (exit $ac_status); } && {
12326 test -z "$ac_c_werror_flag" ||
12327 test ! -s conftest.err
12328 } && test -s conftest$ac_exeext &&
12329 $as_test_x conftest$ac_exeext; then
12330 ac_cv_lib_capi20_capi20_register=yes
12332 echo "$as_me: failed program was:" >&5
12333 sed 's/^/| /' conftest.$ac_ext >&5
12335 ac_cv_lib_capi20_capi20_register=no
12338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12339 conftest$ac_exeext conftest.$ac_ext
12340 LIBS=$ac_check_lib_save_LIBS
12342 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12343 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12344 if test $ac_cv_lib_capi20_capi20_register = yes; then
12346 cat >>confdefs.h <<\_ACEOF
12347 #define HAVE_CAPI4LINUX 1
12357 if test "x${GCC}" = "xyes"
12359 EXTRACFLAGS="-Wall -pipe"
12361 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12362 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12363 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12364 echo $ECHO_N "(cached) $ECHO_C" >&6
12366 if test "$cross_compiling" = yes; then
12367 ac_cv_c_gcc_strength_bug="yes"
12369 cat >conftest.$ac_ext <<_ACEOF
12372 cat confdefs.h >>conftest.$ac_ext
12373 cat >>conftest.$ac_ext <<_ACEOF
12374 /* end confdefs.h. */
12376 int L[4] = {0,1,2,3};
12378 static int Array[3];
12379 unsigned int B = 3;
12381 for(i=0; i<B; i++) Array[i] = i - 3;
12382 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12385 exit( Array[1] != -2 || L[2] != 3);
12388 rm -f conftest$ac_exeext
12389 if { (ac_try="$ac_link"
12390 case "(($ac_try" in
12391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12392 *) ac_try_echo=$ac_try;;
12394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12395 (eval "$ac_link") 2>&5
12397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12398 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12399 { (case "(($ac_try" in
12400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12401 *) ac_try_echo=$ac_try;;
12403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12404 (eval "$ac_try") 2>&5
12406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12407 (exit $ac_status); }; }; then
12408 ac_cv_c_gcc_strength_bug="no"
12410 echo "$as_me: program exited with status $ac_status" >&5
12411 echo "$as_me: failed program was:" >&5
12412 sed 's/^/| /' conftest.$ac_ext >&5
12414 ( exit $ac_status )
12415 ac_cv_c_gcc_strength_bug="yes"
12417 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12422 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12423 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12424 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12426 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12430 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12431 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12432 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12433 echo $ECHO_N "(cached) $ECHO_C" >&6
12435 ac_wine_try_cflags_saved=$CFLAGS
12436 CFLAGS="$CFLAGS -fshort-wchar"
12437 cat >conftest.$ac_ext <<_ACEOF
12440 cat confdefs.h >>conftest.$ac_ext
12441 cat >>conftest.$ac_ext <<_ACEOF
12442 /* end confdefs.h. */
12452 rm -f conftest.$ac_objext conftest$ac_exeext
12453 if { (ac_try="$ac_link"
12454 case "(($ac_try" in
12455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12456 *) ac_try_echo=$ac_try;;
12458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12459 (eval "$ac_link") 2>conftest.er1
12461 grep -v '^ *+' conftest.er1 >conftest.err
12463 cat conftest.err >&5
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); } && {
12466 test -z "$ac_c_werror_flag" ||
12467 test ! -s conftest.err
12468 } && test -s conftest$ac_exeext &&
12469 $as_test_x conftest$ac_exeext; then
12470 ac_cv_cflags__fshort_wchar=yes
12472 echo "$as_me: failed program was:" >&5
12473 sed 's/^/| /' conftest.$ac_ext >&5
12475 ac_cv_cflags__fshort_wchar=no
12478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12479 conftest$ac_exeext conftest.$ac_ext
12480 CFLAGS=$ac_wine_try_cflags_saved
12482 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12483 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12484 if test $ac_cv_cflags__fshort_wchar = yes; then
12486 cat >>confdefs.h <<\_ACEOF
12487 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12492 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12493 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12494 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12495 echo $ECHO_N "(cached) $ECHO_C" >&6
12497 ac_wine_try_cflags_saved=$CFLAGS
12498 CFLAGS="$CFLAGS -fno-strict-aliasing"
12499 cat >conftest.$ac_ext <<_ACEOF
12502 cat confdefs.h >>conftest.$ac_ext
12503 cat >>conftest.$ac_ext <<_ACEOF
12504 /* end confdefs.h. */
12514 rm -f conftest.$ac_objext conftest$ac_exeext
12515 if { (ac_try="$ac_link"
12516 case "(($ac_try" in
12517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12518 *) ac_try_echo=$ac_try;;
12520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12521 (eval "$ac_link") 2>conftest.er1
12523 grep -v '^ *+' conftest.er1 >conftest.err
12525 cat conftest.err >&5
12526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527 (exit $ac_status); } && {
12528 test -z "$ac_c_werror_flag" ||
12529 test ! -s conftest.err
12530 } && test -s conftest$ac_exeext &&
12531 $as_test_x conftest$ac_exeext; then
12532 ac_cv_cflags__fno_strict_aliasing=yes
12534 echo "$as_me: failed program was:" >&5
12535 sed 's/^/| /' conftest.$ac_ext >&5
12537 ac_cv_cflags__fno_strict_aliasing=no
12540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12541 conftest$ac_exeext conftest.$ac_ext
12542 CFLAGS=$ac_wine_try_cflags_saved
12544 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12545 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12546 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12547 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12550 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12551 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12552 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12553 echo $ECHO_N "(cached) $ECHO_C" >&6
12555 ac_wine_try_cflags_saved=$CFLAGS
12556 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12557 cat >conftest.$ac_ext <<_ACEOF
12560 cat confdefs.h >>conftest.$ac_ext
12561 cat >>conftest.$ac_ext <<_ACEOF
12562 /* end confdefs.h. */
12572 rm -f conftest.$ac_objext conftest$ac_exeext
12573 if { (ac_try="$ac_link"
12574 case "(($ac_try" in
12575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12576 *) ac_try_echo=$ac_try;;
12578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12579 (eval "$ac_link") 2>conftest.er1
12581 grep -v '^ *+' conftest.er1 >conftest.err
12583 cat conftest.err >&5
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); } && {
12586 test -z "$ac_c_werror_flag" ||
12587 test ! -s conftest.err
12588 } && test -s conftest$ac_exeext &&
12589 $as_test_x conftest$ac_exeext; then
12590 ac_cv_cflags__Wdeclaration_after_statement=yes
12592 echo "$as_me: failed program was:" >&5
12593 sed 's/^/| /' conftest.$ac_ext >&5
12595 ac_cv_cflags__Wdeclaration_after_statement=no
12598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12599 conftest$ac_exeext conftest.$ac_ext
12600 CFLAGS=$ac_wine_try_cflags_saved
12602 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12603 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12604 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12605 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12608 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12609 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12610 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12611 echo $ECHO_N "(cached) $ECHO_C" >&6
12613 ac_wine_try_cflags_saved=$CFLAGS
12614 CFLAGS="$CFLAGS -Wwrite-strings"
12615 cat >conftest.$ac_ext <<_ACEOF
12618 cat confdefs.h >>conftest.$ac_ext
12619 cat >>conftest.$ac_ext <<_ACEOF
12620 /* end confdefs.h. */
12630 rm -f conftest.$ac_objext conftest$ac_exeext
12631 if { (ac_try="$ac_link"
12632 case "(($ac_try" in
12633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12634 *) ac_try_echo=$ac_try;;
12636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12637 (eval "$ac_link") 2>conftest.er1
12639 grep -v '^ *+' conftest.er1 >conftest.err
12641 cat conftest.err >&5
12642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); } && {
12644 test -z "$ac_c_werror_flag" ||
12645 test ! -s conftest.err
12646 } && test -s conftest$ac_exeext &&
12647 $as_test_x conftest$ac_exeext; then
12648 ac_cv_cflags__Wwrite_strings=yes
12650 echo "$as_me: failed program was:" >&5
12651 sed 's/^/| /' conftest.$ac_ext >&5
12653 ac_cv_cflags__Wwrite_strings=no
12656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12657 conftest$ac_exeext conftest.$ac_ext
12658 CFLAGS=$ac_wine_try_cflags_saved
12660 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12661 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12662 if test $ac_cv_cflags__Wwrite_strings = yes; then
12663 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12667 saved_CFLAGS="$CFLAGS"
12668 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12669 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12670 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12671 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12672 echo $ECHO_N "(cached) $ECHO_C" >&6
12674 cat >conftest.$ac_ext <<_ACEOF
12677 cat confdefs.h >>conftest.$ac_ext
12678 cat >>conftest.$ac_ext <<_ACEOF
12679 /* end confdefs.h. */
12680 #include <string.h>
12689 rm -f conftest.$ac_objext
12690 if { (ac_try="$ac_compile"
12691 case "(($ac_try" in
12692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12693 *) ac_try_echo=$ac_try;;
12695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12696 (eval "$ac_compile") 2>conftest.er1
12698 grep -v '^ *+' conftest.er1 >conftest.err
12700 cat conftest.err >&5
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); } && {
12703 test -z "$ac_c_werror_flag" ||
12704 test ! -s conftest.err
12705 } && test -s conftest.$ac_objext; then
12706 ac_cv_c_string_h_warnings=no
12708 echo "$as_me: failed program was:" >&5
12709 sed 's/^/| /' conftest.$ac_ext >&5
12711 ac_cv_c_string_h_warnings=yes
12714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12716 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12717 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12718 CFLAGS="$saved_CFLAGS"
12719 if test "$ac_cv_c_string_h_warnings" = "no"
12721 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12726 saved_CFLAGS="$CFLAGS"
12727 CFLAGS="$CFLAGS -Werror"
12728 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12729 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12730 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12731 echo $ECHO_N "(cached) $ECHO_C" >&6
12733 cat >conftest.$ac_ext <<_ACEOF
12736 cat confdefs.h >>conftest.$ac_ext
12737 cat >>conftest.$ac_ext <<_ACEOF
12738 /* end confdefs.h. */
12743 int iswlower(unsigned short);
12748 rm -f conftest.$ac_objext
12749 if { (ac_try="$ac_compile"
12750 case "(($ac_try" in
12751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12752 *) ac_try_echo=$ac_try;;
12754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12755 (eval "$ac_compile") 2>conftest.er1
12757 grep -v '^ *+' conftest.er1 >conftest.err
12759 cat conftest.err >&5
12760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12761 (exit $ac_status); } && {
12762 test -z "$ac_c_werror_flag" ||
12763 test ! -s conftest.err
12764 } && test -s conftest.$ac_objext; then
12765 ac_cv_c_builtin_wchar_ctype=no
12767 echo "$as_me: failed program was:" >&5
12768 sed 's/^/| /' conftest.$ac_ext >&5
12770 ac_cv_c_builtin_wchar_ctype=yes
12773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12775 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12776 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12777 CFLAGS="$saved_CFLAGS"
12778 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12780 BUILTINFLAG="-fno-builtin"
12785 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12786 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12787 if test "${ac_cv_asm_func_def+set}" = set; then
12788 echo $ECHO_N "(cached) $ECHO_C" >&6
12790 cat >conftest.$ac_ext <<_ACEOF
12793 cat confdefs.h >>conftest.$ac_ext
12794 cat >>conftest.$ac_ext <<_ACEOF
12795 /* end confdefs.h. */
12796 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"); }
12806 rm -f conftest.$ac_objext conftest$ac_exeext
12807 if { (ac_try="$ac_link"
12808 case "(($ac_try" in
12809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12810 *) ac_try_echo=$ac_try;;
12812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12813 (eval "$ac_link") 2>conftest.er1
12815 grep -v '^ *+' conftest.er1 >conftest.err
12817 cat conftest.err >&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); } && {
12820 test -z "$ac_c_werror_flag" ||
12821 test ! -s conftest.err
12822 } && test -s conftest$ac_exeext &&
12823 $as_test_x conftest$ac_exeext; then
12824 ac_cv_asm_func_def=".def"
12826 echo "$as_me: failed program was:" >&5
12827 sed 's/^/| /' conftest.$ac_ext >&5
12829 cat >conftest.$ac_ext <<_ACEOF
12832 cat confdefs.h >>conftest.$ac_ext
12833 cat >>conftest.$ac_ext <<_ACEOF
12834 /* end confdefs.h. */
12835 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12845 rm -f conftest.$ac_objext conftest$ac_exeext
12846 if { (ac_try="$ac_link"
12847 case "(($ac_try" in
12848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12849 *) ac_try_echo=$ac_try;;
12851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12852 (eval "$ac_link") 2>conftest.er1
12854 grep -v '^ *+' conftest.er1 >conftest.err
12856 cat conftest.err >&5
12857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12858 (exit $ac_status); } && {
12859 test -z "$ac_c_werror_flag" ||
12860 test ! -s conftest.err
12861 } && test -s conftest$ac_exeext &&
12862 $as_test_x conftest$ac_exeext; then
12863 ac_cv_asm_func_def=".type @function"
12865 echo "$as_me: failed program was:" >&5
12866 sed 's/^/| /' conftest.$ac_ext >&5
12868 cat >conftest.$ac_ext <<_ACEOF
12871 cat confdefs.h >>conftest.$ac_ext
12872 cat >>conftest.$ac_ext <<_ACEOF
12873 /* end confdefs.h. */
12874 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12884 rm -f conftest.$ac_objext conftest$ac_exeext
12885 if { (ac_try="$ac_link"
12886 case "(($ac_try" in
12887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12888 *) ac_try_echo=$ac_try;;
12890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12891 (eval "$ac_link") 2>conftest.er1
12893 grep -v '^ *+' conftest.er1 >conftest.err
12895 cat conftest.err >&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); } && {
12898 test -z "$ac_c_werror_flag" ||
12899 test ! -s conftest.err
12900 } && test -s conftest$ac_exeext &&
12901 $as_test_x conftest$ac_exeext; then
12902 ac_cv_asm_func_def=".type 2"
12904 echo "$as_me: failed program was:" >&5
12905 sed 's/^/| /' conftest.$ac_ext >&5
12907 ac_cv_asm_func_def="unknown"
12910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12911 conftest$ac_exeext conftest.$ac_ext
12914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12915 conftest$ac_exeext conftest.$ac_ext
12918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12919 conftest$ac_exeext conftest.$ac_ext
12921 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12922 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
12926 case "$ac_cv_asm_func_def" in
12928 cat >>confdefs.h <<\_ACEOF
12929 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12933 cat >>confdefs.h <<\_ACEOF
12934 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12938 cat >>confdefs.h <<\_ACEOF
12939 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12943 cat >>confdefs.h <<\_ACEOF
12944 #define __ASM_FUNC(name) ""
12950 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12951 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
12952 if test "${ac_cv_c_extern_prefix+set}" = set; then
12953 echo $ECHO_N "(cached) $ECHO_C" >&6
12955 cat >conftest.$ac_ext <<_ACEOF
12958 cat confdefs.h >>conftest.$ac_ext
12959 cat >>conftest.$ac_ext <<_ACEOF
12960 /* end confdefs.h. */
12961 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12962 extern int ac_test;
12966 if (ac_test) return 1
12971 rm -f conftest.$ac_objext conftest$ac_exeext
12972 if { (ac_try="$ac_link"
12973 case "(($ac_try" in
12974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12975 *) ac_try_echo=$ac_try;;
12977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12978 (eval "$ac_link") 2>conftest.er1
12980 grep -v '^ *+' conftest.er1 >conftest.err
12982 cat conftest.err >&5
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); } && {
12985 test -z "$ac_c_werror_flag" ||
12986 test ! -s conftest.err
12987 } && test -s conftest$ac_exeext &&
12988 $as_test_x conftest$ac_exeext; then
12989 ac_cv_c_extern_prefix="yes"
12991 echo "$as_me: failed program was:" >&5
12992 sed 's/^/| /' conftest.$ac_ext >&5
12994 ac_cv_c_extern_prefix="no"
12997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12998 conftest$ac_exeext conftest.$ac_ext
13000 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13001 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
13005 if test "$ac_cv_c_extern_prefix" = "yes"
13007 cat >>confdefs.h <<\_ACEOF
13008 #define __ASM_NAME(name) "_" name
13012 cat >>confdefs.h <<\_ACEOF
13013 #define __ASM_NAME(name) name
13021 DLLFLAGS="-D_REENTRANT"
13036 if test -n "$ac_tool_prefix"; then
13037 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13038 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13039 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13041 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13042 echo $ECHO_N "(cached) $ECHO_C" >&6
13044 if test -n "$DLLTOOL"; then
13045 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13048 for as_dir in $PATH
13051 test -z "$as_dir" && as_dir=.
13052 for ac_exec_ext in '' $ac_executable_extensions; do
13053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13054 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13064 DLLTOOL=$ac_cv_prog_DLLTOOL
13065 if test -n "$DLLTOOL"; then
13066 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13067 echo "${ECHO_T}$DLLTOOL" >&6; }
13069 { echo "$as_me:$LINENO: result: no" >&5
13070 echo "${ECHO_T}no" >&6; }
13075 if test -z "$ac_cv_prog_DLLTOOL"; then
13076 ac_ct_DLLTOOL=$DLLTOOL
13077 # Extract the first word of "dlltool", so it can be a program name with args.
13078 set dummy dlltool; ac_word=$2
13079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13081 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13082 echo $ECHO_N "(cached) $ECHO_C" >&6
13084 if test -n "$ac_ct_DLLTOOL"; then
13085 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13088 for as_dir in $PATH
13091 test -z "$as_dir" && as_dir=.
13092 for ac_exec_ext in '' $ac_executable_extensions; do
13093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13094 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13104 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13105 if test -n "$ac_ct_DLLTOOL"; then
13106 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13107 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
13109 { echo "$as_me:$LINENO: result: no" >&5
13110 echo "${ECHO_T}no" >&6; }
13113 if test "x$ac_ct_DLLTOOL" = x; then
13116 case $cross_compiling:$ac_tool_warned in
13118 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13119 whose name does not start with the host triplet. If you think this
13120 configuration is useful to you, please write to autoconf@gnu.org." >&5
13121 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13122 whose name does not start with the host triplet. If you think this
13123 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13124 ac_tool_warned=yes ;;
13126 DLLTOOL=$ac_ct_DLLTOOL
13129 DLLTOOL="$ac_cv_prog_DLLTOOL"
13132 if test -n "$ac_tool_prefix"; then
13133 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13134 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13137 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13138 echo $ECHO_N "(cached) $ECHO_C" >&6
13140 if test -n "$DLLWRAP"; then
13141 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13144 for as_dir in $PATH
13147 test -z "$as_dir" && as_dir=.
13148 for ac_exec_ext in '' $ac_executable_extensions; do
13149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13150 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13160 DLLWRAP=$ac_cv_prog_DLLWRAP
13161 if test -n "$DLLWRAP"; then
13162 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13163 echo "${ECHO_T}$DLLWRAP" >&6; }
13165 { echo "$as_me:$LINENO: result: no" >&5
13166 echo "${ECHO_T}no" >&6; }
13171 if test -z "$ac_cv_prog_DLLWRAP"; then
13172 ac_ct_DLLWRAP=$DLLWRAP
13173 # Extract the first word of "dllwrap", so it can be a program name with args.
13174 set dummy dllwrap; ac_word=$2
13175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13177 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13178 echo $ECHO_N "(cached) $ECHO_C" >&6
13180 if test -n "$ac_ct_DLLWRAP"; then
13181 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13184 for as_dir in $PATH
13187 test -z "$as_dir" && as_dir=.
13188 for ac_exec_ext in '' $ac_executable_extensions; do
13189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13190 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13200 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13201 if test -n "$ac_ct_DLLWRAP"; then
13202 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13203 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13205 { echo "$as_me:$LINENO: result: no" >&5
13206 echo "${ECHO_T}no" >&6; }
13209 if test "x$ac_ct_DLLWRAP" = x; then
13212 case $cross_compiling:$ac_tool_warned in
13214 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13215 whose name does not start with the host triplet. If you think this
13216 configuration is useful to you, please write to autoconf@gnu.org." >&5
13217 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13218 whose name does not start with the host triplet. If you think this
13219 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13220 ac_tool_warned=yes ;;
13222 DLLWRAP=$ac_ct_DLLWRAP
13225 DLLWRAP="$ac_cv_prog_DLLWRAP"
13228 if test -n "$ac_tool_prefix"; then
13229 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13230 set dummy ${ac_tool_prefix}ar; ac_word=$2
13231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13233 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13234 echo $ECHO_N "(cached) $ECHO_C" >&6
13236 if test -n "$MINGWAR"; then
13237 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
13239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13240 for as_dir in $PATH
13243 test -z "$as_dir" && as_dir=.
13244 for ac_exec_ext in '' $ac_executable_extensions; do
13245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13246 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
13247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13256 MINGWAR=$ac_cv_prog_MINGWAR
13257 if test -n "$MINGWAR"; then
13258 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
13259 echo "${ECHO_T}$MINGWAR" >&6; }
13261 { echo "$as_me:$LINENO: result: no" >&5
13262 echo "${ECHO_T}no" >&6; }
13267 if test -z "$ac_cv_prog_MINGWAR"; then
13268 ac_ct_MINGWAR=$MINGWAR
13269 # Extract the first word of "ar", so it can be a program name with args.
13270 set dummy ar; ac_word=$2
13271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13273 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
13274 echo $ECHO_N "(cached) $ECHO_C" >&6
13276 if test -n "$ac_ct_MINGWAR"; then
13277 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
13279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13280 for as_dir in $PATH
13283 test -z "$as_dir" && as_dir=.
13284 for ac_exec_ext in '' $ac_executable_extensions; do
13285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13286 ac_cv_prog_ac_ct_MINGWAR="ar"
13287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13296 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
13297 if test -n "$ac_ct_MINGWAR"; then
13298 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
13299 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
13301 { echo "$as_me:$LINENO: result: no" >&5
13302 echo "${ECHO_T}no" >&6; }
13305 if test "x$ac_ct_MINGWAR" = x; then
13308 case $cross_compiling:$ac_tool_warned in
13310 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13311 whose name does not start with the host triplet. If you think this
13312 configuration is useful to you, please write to autoconf@gnu.org." >&5
13313 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13314 whose name does not start with the host triplet. If you think this
13315 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13316 ac_tool_warned=yes ;;
13318 MINGWAR=$ac_ct_MINGWAR
13321 MINGWAR="$ac_cv_prog_MINGWAR"
13324 if test "$DLLWRAP" = "false"; then
13336 DLLFLAGS="$DLLFLAGS -fPIC"
13337 LDDLLFLAGS="-bundle -multiply_defined suppress"
13338 LIBWINE_LDFLAGS="-multiply_defined suppress"
13339 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
13340 STRIP="$STRIP -u -r"
13341 COREFOUNDATIONLIB="-framework CoreFoundation"
13343 IOKITLIB="-framework IOKit -framework CoreFoundation"
13345 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13347 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13349 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
13352 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13354 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
13359 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
13361 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13363 CARBONLIB="-framework Carbon"
13365 QUARTZFILES='$(QUARTZFILES)'
13369 DLLFLAGS="$DLLFLAGS -fPIC"
13371 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13372 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13373 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13374 echo $ECHO_N "(cached) $ECHO_C" >&6
13376 ac_wine_try_cflags_saved=$CFLAGS
13377 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13378 cat >conftest.$ac_ext <<_ACEOF
13381 rm -f conftest.$ac_objext conftest$ac_exeext
13382 if { (ac_try="$ac_link"
13383 case "(($ac_try" in
13384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13385 *) ac_try_echo=$ac_try;;
13387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13388 (eval "$ac_link") 2>conftest.er1
13390 grep -v '^ *+' conftest.er1 >conftest.err
13392 cat conftest.err >&5
13393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13394 (exit $ac_status); } && {
13395 test -z "$ac_c_werror_flag" ||
13396 test ! -s conftest.err
13397 } && test -s conftest$ac_exeext &&
13398 $as_test_x conftest$ac_exeext; then
13399 ac_cv_c_dll_gnuelf="yes"
13401 echo "$as_me: failed program was:" >&5
13402 sed 's/^/| /' conftest.$ac_ext >&5
13404 ac_cv_c_dll_gnuelf="no"
13407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13408 conftest$ac_exeext conftest.$ac_ext
13409 CFLAGS=$ac_wine_try_cflags_saved
13411 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13412 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13413 if test "$ac_cv_c_dll_gnuelf" = "yes"
13415 LDSHARED="\$(CC) -shared"
13416 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13417 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13418 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13419 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13420 echo $ECHO_N "(cached) $ECHO_C" >&6
13422 ac_wine_try_cflags_saved=$CFLAGS
13423 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13424 cat >conftest.$ac_ext <<_ACEOF
13427 cat confdefs.h >>conftest.$ac_ext
13428 cat >>conftest.$ac_ext <<_ACEOF
13429 /* end confdefs.h. */
13439 rm -f conftest.$ac_objext conftest$ac_exeext
13440 if { (ac_try="$ac_link"
13441 case "(($ac_try" in
13442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13443 *) ac_try_echo=$ac_try;;
13445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13446 (eval "$ac_link") 2>conftest.er1
13448 grep -v '^ *+' conftest.er1 >conftest.err
13450 cat conftest.err >&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); } && {
13453 test -z "$ac_c_werror_flag" ||
13454 test ! -s conftest.err
13455 } && test -s conftest$ac_exeext &&
13456 $as_test_x conftest$ac_exeext; then
13457 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
13459 echo "$as_me: failed program was:" >&5
13460 sed 's/^/| /' conftest.$ac_ext >&5
13462 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
13465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13466 conftest$ac_exeext conftest.$ac_ext
13467 CFLAGS=$ac_wine_try_cflags_saved
13469 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13470 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13471 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13472 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13474 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13475 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13476 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13477 echo $ECHO_N "(cached) $ECHO_C" >&6
13479 ac_wine_try_cflags_saved=$CFLAGS
13480 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13481 cat >conftest.$ac_ext <<_ACEOF
13484 cat confdefs.h >>conftest.$ac_ext
13485 cat >>conftest.$ac_ext <<_ACEOF
13486 /* end confdefs.h. */
13496 rm -f conftest.$ac_objext conftest$ac_exeext
13497 if { (ac_try="$ac_link"
13498 case "(($ac_try" in
13499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13500 *) ac_try_echo=$ac_try;;
13502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13503 (eval "$ac_link") 2>conftest.er1
13505 grep -v '^ *+' conftest.er1 >conftest.err
13507 cat conftest.err >&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); } && {
13510 test -z "$ac_c_werror_flag" ||
13511 test ! -s conftest.err
13512 } && test -s conftest$ac_exeext &&
13513 $as_test_x conftest$ac_exeext; then
13514 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
13516 echo "$as_me: failed program was:" >&5
13517 sed 's/^/| /' conftest.$ac_ext >&5
13519 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
13522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13523 conftest$ac_exeext conftest.$ac_ext
13524 CFLAGS=$ac_wine_try_cflags_saved
13526 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13527 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13528 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13529 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13535 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13536 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13537 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13538 echo $ECHO_N "(cached) $ECHO_C" >&6
13540 ac_wine_try_cflags_saved=$CFLAGS
13541 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13542 cat >conftest.$ac_ext <<_ACEOF
13545 cat confdefs.h >>conftest.$ac_ext
13546 cat >>conftest.$ac_ext <<_ACEOF
13547 /* end confdefs.h. */
13557 rm -f conftest.$ac_objext conftest$ac_exeext
13558 if { (ac_try="$ac_link"
13559 case "(($ac_try" in
13560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13561 *) ac_try_echo=$ac_try;;
13563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13564 (eval "$ac_link") 2>conftest.er1
13566 grep -v '^ *+' conftest.er1 >conftest.err
13568 cat conftest.err >&5
13569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13570 (exit $ac_status); } && {
13571 test -z "$ac_c_werror_flag" ||
13572 test ! -s conftest.err
13573 } && test -s conftest$ac_exeext &&
13574 $as_test_x conftest$ac_exeext; then
13575 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
13577 echo "$as_me: failed program was:" >&5
13578 sed 's/^/| /' conftest.$ac_ext >&5
13580 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
13583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13584 conftest$ac_exeext conftest.$ac_ext
13585 CFLAGS=$ac_wine_try_cflags_saved
13587 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13588 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13589 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13590 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13594 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13595 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13596 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13597 echo $ECHO_N "(cached) $ECHO_C" >&6
13599 ac_wine_try_cflags_saved=$CFLAGS
13600 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13601 cat >conftest.$ac_ext <<_ACEOF
13604 cat confdefs.h >>conftest.$ac_ext
13605 cat >>conftest.$ac_ext <<_ACEOF
13606 /* end confdefs.h. */
13616 rm -f conftest.$ac_objext conftest$ac_exeext
13617 if { (ac_try="$ac_link"
13618 case "(($ac_try" in
13619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13620 *) ac_try_echo=$ac_try;;
13622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13623 (eval "$ac_link") 2>conftest.er1
13625 grep -v '^ *+' conftest.er1 >conftest.err
13627 cat conftest.err >&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); } && {
13630 test -z "$ac_c_werror_flag" ||
13631 test ! -s conftest.err
13632 } && test -s conftest$ac_exeext &&
13633 $as_test_x conftest$ac_exeext; then
13634 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
13636 echo "$as_me: failed program was:" >&5
13637 sed 's/^/| /' conftest.$ac_ext >&5
13639 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
13642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13643 conftest$ac_exeext conftest.$ac_ext
13644 CFLAGS=$ac_wine_try_cflags_saved
13646 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13647 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13648 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13649 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13653 echo '{ global: *; };' >conftest.map
13654 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13655 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13656 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13657 echo $ECHO_N "(cached) $ECHO_C" >&6
13659 ac_wine_try_cflags_saved=$CFLAGS
13660 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13661 cat >conftest.$ac_ext <<_ACEOF
13664 cat confdefs.h >>conftest.$ac_ext
13665 cat >>conftest.$ac_ext <<_ACEOF
13666 /* end confdefs.h. */
13676 rm -f conftest.$ac_objext conftest$ac_exeext
13677 if { (ac_try="$ac_link"
13678 case "(($ac_try" in
13679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13680 *) ac_try_echo=$ac_try;;
13682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13683 (eval "$ac_link") 2>conftest.er1
13685 grep -v '^ *+' conftest.er1 >conftest.err
13687 cat conftest.err >&5
13688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13689 (exit $ac_status); } && {
13690 test -z "$ac_c_werror_flag" ||
13691 test ! -s conftest.err
13692 } && test -s conftest$ac_exeext &&
13693 $as_test_x conftest$ac_exeext; then
13694 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
13696 echo "$as_me: failed program was:" >&5
13697 sed 's/^/| /' conftest.$ac_ext >&5
13699 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
13702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13703 conftest$ac_exeext conftest.$ac_ext
13704 CFLAGS=$ac_wine_try_cflags_saved
13706 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13707 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13708 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13709 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13714 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13715 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13716 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13717 echo $ECHO_N "(cached) $ECHO_C" >&6
13719 ac_wine_try_cflags_saved=$CFLAGS
13720 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13721 cat >conftest.$ac_ext <<_ACEOF
13724 cat confdefs.h >>conftest.$ac_ext
13725 cat >>conftest.$ac_ext <<_ACEOF
13726 /* end confdefs.h. */
13736 rm -f conftest.$ac_objext conftest$ac_exeext
13737 if { (ac_try="$ac_link"
13738 case "(($ac_try" in
13739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13740 *) ac_try_echo=$ac_try;;
13742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13743 (eval "$ac_link") 2>conftest.er1
13745 grep -v '^ *+' conftest.er1 >conftest.err
13747 cat conftest.err >&5
13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749 (exit $ac_status); } && {
13750 test -z "$ac_c_werror_flag" ||
13751 test ! -s conftest.err
13752 } && test -s conftest$ac_exeext &&
13753 $as_test_x conftest$ac_exeext; then
13754 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
13756 echo "$as_me: failed program was:" >&5
13757 sed 's/^/| /' conftest.$ac_ext >&5
13759 ac_cv_cflags__fPIC__Wl___export_dynamic=no
13762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13763 conftest$ac_exeext conftest.$ac_ext
13764 CFLAGS=$ac_wine_try_cflags_saved
13766 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13767 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13768 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13769 LDEXECFLAGS="-Wl,--export-dynamic"
13774 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
13775 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13776 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13777 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13778 echo $ECHO_N "(cached) $ECHO_C" >&6
13780 ac_wine_try_cflags_saved=$CFLAGS
13781 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13782 cat >conftest.$ac_ext <<_ACEOF
13785 cat confdefs.h >>conftest.$ac_ext
13786 cat >>conftest.$ac_ext <<_ACEOF
13787 /* end confdefs.h. */
13797 rm -f conftest.$ac_objext conftest$ac_exeext
13798 if { (ac_try="$ac_link"
13799 case "(($ac_try" in
13800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13801 *) ac_try_echo=$ac_try;;
13803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13804 (eval "$ac_link") 2>conftest.er1
13806 grep -v '^ *+' conftest.er1 >conftest.err
13808 cat conftest.err >&5
13809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810 (exit $ac_status); } && {
13811 test -z "$ac_c_werror_flag" ||
13812 test ! -s conftest.err
13813 } && test -s conftest$ac_exeext &&
13814 $as_test_x conftest$ac_exeext; then
13815 eval "$as_ac_var=yes"
13817 echo "$as_me: failed program was:" >&5
13818 sed 's/^/| /' conftest.$ac_ext >&5
13820 eval "$as_ac_var=no"
13823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13824 conftest$ac_exeext conftest.$ac_ext
13825 CFLAGS=$ac_wine_try_cflags_saved
13827 ac_res=`eval echo '${'$as_ac_var'}'`
13828 { echo "$as_me:$LINENO: result: $ac_res" >&5
13829 echo "${ECHO_T}$ac_res" >&6; }
13830 if test `eval echo '${'$as_ac_var'}'` = yes; then
13831 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13836 *i[3456789]86* | x86_64)
13837 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13838 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13839 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13840 echo $ECHO_N "(cached) $ECHO_C" >&6
13842 ac_wine_try_cflags_saved=$CFLAGS
13843 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13844 cat >conftest.$ac_ext <<_ACEOF
13847 cat confdefs.h >>conftest.$ac_ext
13848 cat >>conftest.$ac_ext <<_ACEOF
13849 /* end confdefs.h. */
13859 rm -f conftest.$ac_objext conftest$ac_exeext
13860 if { (ac_try="$ac_link"
13861 case "(($ac_try" in
13862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13863 *) ac_try_echo=$ac_try;;
13865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13866 (eval "$ac_link") 2>conftest.er1
13868 grep -v '^ *+' conftest.er1 >conftest.err
13870 cat conftest.err >&5
13871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13872 (exit $ac_status); } && {
13873 test -z "$ac_c_werror_flag" ||
13874 test ! -s conftest.err
13875 } && test -s conftest$ac_exeext &&
13876 $as_test_x conftest$ac_exeext; then
13877 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
13879 echo "$as_me: failed program was:" >&5
13880 sed 's/^/| /' conftest.$ac_ext >&5
13882 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
13885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13886 conftest$ac_exeext conftest.$ac_ext
13887 CFLAGS=$ac_wine_try_cflags_saved
13889 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
13890 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
13891 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
13892 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13899 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13900 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
13901 if test "${ac_cv_c_dll_unixware+set}" = set; then
13902 echo $ECHO_N "(cached) $ECHO_C" >&6
13904 ac_wine_try_cflags_saved=$CFLAGS
13905 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13906 cat >conftest.$ac_ext <<_ACEOF
13909 rm -f conftest.$ac_objext conftest$ac_exeext
13910 if { (ac_try="$ac_link"
13911 case "(($ac_try" in
13912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13913 *) ac_try_echo=$ac_try;;
13915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13916 (eval "$ac_link") 2>conftest.er1
13918 grep -v '^ *+' conftest.er1 >conftest.err
13920 cat conftest.err >&5
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); } && {
13923 test -z "$ac_c_werror_flag" ||
13924 test ! -s conftest.err
13925 } && test -s conftest$ac_exeext &&
13926 $as_test_x conftest$ac_exeext; then
13927 ac_cv_c_dll_unixware="yes"
13929 echo "$as_me: failed program was:" >&5
13930 sed 's/^/| /' conftest.$ac_ext >&5
13932 ac_cv_c_dll_unixware="no"
13935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13936 conftest$ac_exeext conftest.$ac_ext
13937 CFLAGS=$ac_wine_try_cflags_saved
13939 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13940 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
13941 if test "$ac_cv_c_dll_unixware" = "yes"
13943 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13944 LDDLLFLAGS="-Wl,-G,-B,symbolic"
13947 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
13948 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
13949 if test "${ac_cv_c_dll_hpux+set}" = set; then
13950 echo $ECHO_N "(cached) $ECHO_C" >&6
13952 ac_wine_try_cflags_saved=$CFLAGS
13953 CFLAGS="$CFLAGS -shared"
13954 cat >conftest.$ac_ext <<_ACEOF
13957 rm -f conftest.$ac_objext conftest$ac_exeext
13958 if { (ac_try="$ac_link"
13959 case "(($ac_try" in
13960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13961 *) ac_try_echo=$ac_try;;
13963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13964 (eval "$ac_link") 2>conftest.er1
13966 grep -v '^ *+' conftest.er1 >conftest.err
13968 cat conftest.err >&5
13969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 (exit $ac_status); } && {
13971 test -z "$ac_c_werror_flag" ||
13972 test ! -s conftest.err
13973 } && test -s conftest$ac_exeext &&
13974 $as_test_x conftest$ac_exeext; then
13975 ac_cv_c_dll_hpux="yes"
13977 echo "$as_me: failed program was:" >&5
13978 sed 's/^/| /' conftest.$ac_ext >&5
13980 ac_cv_c_dll_hpux="no"
13983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13984 conftest$ac_exeext conftest.$ac_ext
13985 CFLAGS=$ac_wine_try_cflags_saved
13987 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
13988 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
13989 if test "$ac_cv_c_dll_hpux" = "yes"
13993 LDDLLFLAGS="-shared -fPIC"
13994 LDSHARED="\$(CC) -shared"
14001 if test "$cross_compiling" = "no"
14003 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
14005 # Extract the first word of "$ac_prog", so it can be a program name with args.
14006 set dummy $ac_prog; ac_word=$2
14007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14009 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14010 echo $ECHO_N "(cached) $ECHO_C" >&6
14012 if test -n "$CROSSCC"; then
14013 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14016 for as_dir in $PATH
14019 test -z "$as_dir" && as_dir=.
14020 for ac_exec_ext in '' $ac_executable_extensions; do
14021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14022 ac_cv_prog_CROSSCC="$ac_prog"
14023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14032 CROSSCC=$ac_cv_prog_CROSSCC
14033 if test -n "$CROSSCC"; then
14034 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
14035 echo "${ECHO_T}$CROSSCC" >&6; }
14037 { echo "$as_me:$LINENO: result: no" >&5
14038 echo "${ECHO_T}no" >&6; }
14042 test -n "$CROSSCC" && break
14044 test -n "$CROSSCC" || CROSSCC="false"
14046 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
14048 # Extract the first word of "$ac_prog", so it can be a program name with args.
14049 set dummy $ac_prog; ac_word=$2
14050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14052 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14053 echo $ECHO_N "(cached) $ECHO_C" >&6
14055 if test -n "$DLLTOOL"; then
14056 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14059 for as_dir in $PATH
14062 test -z "$as_dir" && as_dir=.
14063 for ac_exec_ext in '' $ac_executable_extensions; do
14064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14065 ac_cv_prog_DLLTOOL="$ac_prog"
14066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14075 DLLTOOL=$ac_cv_prog_DLLTOOL
14076 if test -n "$DLLTOOL"; then
14077 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14078 echo "${ECHO_T}$DLLTOOL" >&6; }
14080 { echo "$as_me:$LINENO: result: no" >&5
14081 echo "${ECHO_T}no" >&6; }
14085 test -n "$DLLTOOL" && break
14087 test -n "$DLLTOOL" || DLLTOOL="false"
14089 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
14091 # Extract the first word of "$ac_prog", so it can be a program name with args.
14092 set dummy $ac_prog; ac_word=$2
14093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14095 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14096 echo $ECHO_N "(cached) $ECHO_C" >&6
14098 if test -n "$CROSSWINDRES"; then
14099 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14102 for as_dir in $PATH
14105 test -z "$as_dir" && as_dir=.
14106 for ac_exec_ext in '' $ac_executable_extensions; do
14107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14108 ac_cv_prog_CROSSWINDRES="$ac_prog"
14109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14118 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14119 if test -n "$CROSSWINDRES"; then
14120 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14121 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14123 { echo "$as_me:$LINENO: result: no" >&5
14124 echo "${ECHO_T}no" >&6; }
14128 test -n "$CROSSWINDRES" && break
14130 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14132 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
14134 # Extract the first word of "$ac_prog", so it can be a program name with args.
14135 set dummy $ac_prog; ac_word=$2
14136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14138 if test "${ac_cv_prog_MINGWAR+set}" = set; then
14139 echo $ECHO_N "(cached) $ECHO_C" >&6
14141 if test -n "$MINGWAR"; then
14142 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
14144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14145 for as_dir in $PATH
14148 test -z "$as_dir" && as_dir=.
14149 for ac_exec_ext in '' $ac_executable_extensions; do
14150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14151 ac_cv_prog_MINGWAR="$ac_prog"
14152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14161 MINGWAR=$ac_cv_prog_MINGWAR
14162 if test -n "$MINGWAR"; then
14163 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
14164 echo "${ECHO_T}$MINGWAR" >&6; }
14166 { echo "$as_me:$LINENO: result: no" >&5
14167 echo "${ECHO_T}no" >&6; }
14171 test -n "$MINGWAR" && break
14173 test -n "$MINGWAR" || MINGWAR="false"
14175 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14180 if test "$LIBEXT" = "a"; then
14181 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14182 It is currently not possible to build Wine without shared library
14183 (.so) support to allow transparent switch between .so and .dll files.
14184 If you are using Linux, you will need a newer binutils.
14186 echo "$as_me: error: could not find a way to build shared libraries.
14187 It is currently not possible to build Wine without shared library
14188 (.so) support to allow transparent switch between .so and .dll files.
14189 If you are using Linux, you will need a newer binutils.
14191 { (exit 1); exit 1; }; }
14196 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14199 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14202 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14210 SOCKETLIBS="-lws2_32"
14215 MAIN_BINARY="wine-pthread"
14219 linux* | k*bsd*-gnu)
14220 MAIN_BINARY="wine-glibc"
14222 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14229 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14231 # Extract the first word of "ldd", so it can be a program name with args.
14232 set dummy ldd; ac_word=$2
14233 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14235 if test "${ac_cv_path_LDD+set}" = set; then
14236 echo $ECHO_N "(cached) $ECHO_C" >&6
14240 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14244 as_dummy="/sbin:/usr/sbin:$PATH"
14245 for as_dir in $as_dummy
14248 test -z "$as_dir" && as_dir=.
14249 for ac_exec_ext in '' $ac_executable_extensions; do
14250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14251 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14259 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14263 LDD=$ac_cv_path_LDD
14264 if test -n "$LDD"; then
14265 { echo "$as_me:$LINENO: result: $LDD" >&5
14266 echo "${ECHO_T}$LDD" >&6; }
14268 { echo "$as_me:$LINENO: result: no" >&5
14269 echo "${ECHO_T}no" >&6; }
14273 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14274 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14275 if test "${ac_cv_lib_soname_X11+set}" = set; then
14276 echo $ECHO_N "(cached) $ECHO_C" >&6
14278 ac_get_soname_save_LIBS=$LIBS
14279 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14280 cat >conftest.$ac_ext <<_ACEOF
14283 cat confdefs.h >>conftest.$ac_ext
14284 cat >>conftest.$ac_ext <<_ACEOF
14285 /* end confdefs.h. */
14287 /* Override any GCC internal prototype to avoid an error.
14288 Use char because int might match the return type of a GCC
14289 builtin and then its argument prototype would still apply. */
14293 char XCreateWindow ();
14297 return XCreateWindow ();
14302 rm -f conftest.$ac_objext conftest$ac_exeext
14303 if { (ac_try="$ac_link"
14304 case "(($ac_try" in
14305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14306 *) ac_try_echo=$ac_try;;
14308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14309 (eval "$ac_link") 2>conftest.er1
14311 grep -v '^ *+' conftest.er1 >conftest.err
14313 cat conftest.err >&5
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); } && {
14316 test -z "$ac_c_werror_flag" ||
14317 test ! -s conftest.err
14318 } && test -s conftest$ac_exeext &&
14319 $as_test_x conftest$ac_exeext; then
14321 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'` ;;
14322 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14324 if test "x$ac_cv_lib_soname_X11" = "x"
14326 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14329 echo "$as_me: failed program was:" >&5
14330 sed 's/^/| /' conftest.$ac_ext >&5
14332 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14336 conftest$ac_exeext conftest.$ac_ext
14337 LIBS=$ac_get_soname_save_LIBS
14339 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14340 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14341 if test "${ac_cv_lib_soname_X11+set}" = set; then
14343 cat >>confdefs.h <<_ACEOF
14344 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14349 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14350 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14351 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14352 echo $ECHO_N "(cached) $ECHO_C" >&6
14354 ac_get_soname_save_LIBS=$LIBS
14355 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14356 cat >conftest.$ac_ext <<_ACEOF
14359 cat confdefs.h >>conftest.$ac_ext
14360 cat >>conftest.$ac_ext <<_ACEOF
14361 /* end confdefs.h. */
14363 /* Override any GCC internal prototype to avoid an error.
14364 Use char because int might match the return type of a GCC
14365 builtin and then its argument prototype would still apply. */
14369 char XextCreateExtension ();
14373 return XextCreateExtension ();
14378 rm -f conftest.$ac_objext conftest$ac_exeext
14379 if { (ac_try="$ac_link"
14380 case "(($ac_try" in
14381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14382 *) ac_try_echo=$ac_try;;
14384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14385 (eval "$ac_link") 2>conftest.er1
14387 grep -v '^ *+' conftest.er1 >conftest.err
14389 cat conftest.err >&5
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); } && {
14392 test -z "$ac_c_werror_flag" ||
14393 test ! -s conftest.err
14394 } && test -s conftest$ac_exeext &&
14395 $as_test_x conftest$ac_exeext; then
14397 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'` ;;
14398 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14400 if test "x$ac_cv_lib_soname_Xext" = "x"
14402 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14405 echo "$as_me: failed program was:" >&5
14406 sed 's/^/| /' conftest.$ac_ext >&5
14408 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14412 conftest$ac_exeext conftest.$ac_ext
14413 LIBS=$ac_get_soname_save_LIBS
14415 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14416 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14417 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14419 cat >>confdefs.h <<_ACEOF
14420 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14425 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14426 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14427 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14428 echo $ECHO_N "(cached) $ECHO_C" >&6
14430 ac_get_soname_save_LIBS=$LIBS
14431 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14432 cat >conftest.$ac_ext <<_ACEOF
14435 cat confdefs.h >>conftest.$ac_ext
14436 cat >>conftest.$ac_ext <<_ACEOF
14437 /* end confdefs.h. */
14439 /* Override any GCC internal prototype to avoid an error.
14440 Use char because int might match the return type of a GCC
14441 builtin and then its argument prototype would still apply. */
14445 char XOpenDevice ();
14449 return XOpenDevice ();
14454 rm -f conftest.$ac_objext conftest$ac_exeext
14455 if { (ac_try="$ac_link"
14456 case "(($ac_try" in
14457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14458 *) ac_try_echo=$ac_try;;
14460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14461 (eval "$ac_link") 2>conftest.er1
14463 grep -v '^ *+' conftest.er1 >conftest.err
14465 cat conftest.err >&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); } && {
14468 test -z "$ac_c_werror_flag" ||
14469 test ! -s conftest.err
14470 } && test -s conftest$ac_exeext &&
14471 $as_test_x conftest$ac_exeext; then
14473 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'` ;;
14474 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14476 if test "x$ac_cv_lib_soname_Xi" = "x"
14478 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14481 echo "$as_me: failed program was:" >&5
14482 sed 's/^/| /' conftest.$ac_ext >&5
14484 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14488 conftest$ac_exeext conftest.$ac_ext
14489 LIBS=$ac_get_soname_save_LIBS
14491 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14492 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14493 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14495 cat >>confdefs.h <<_ACEOF
14496 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14501 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14502 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14503 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14504 echo $ECHO_N "(cached) $ECHO_C" >&6
14506 ac_get_soname_save_LIBS=$LIBS
14507 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14508 cat >conftest.$ac_ext <<_ACEOF
14511 cat confdefs.h >>conftest.$ac_ext
14512 cat >>conftest.$ac_ext <<_ACEOF
14513 /* end confdefs.h. */
14515 /* Override any GCC internal prototype to avoid an error.
14516 Use char because int might match the return type of a GCC
14517 builtin and then its argument prototype would still apply. */
14521 char XineramaQueryScreens ();
14525 return XineramaQueryScreens ();
14530 rm -f conftest.$ac_objext conftest$ac_exeext
14531 if { (ac_try="$ac_link"
14532 case "(($ac_try" in
14533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14534 *) ac_try_echo=$ac_try;;
14536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14537 (eval "$ac_link") 2>conftest.er1
14539 grep -v '^ *+' conftest.er1 >conftest.err
14541 cat conftest.err >&5
14542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 (exit $ac_status); } && {
14544 test -z "$ac_c_werror_flag" ||
14545 test ! -s conftest.err
14546 } && test -s conftest$ac_exeext &&
14547 $as_test_x conftest$ac_exeext; then
14549 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'` ;;
14550 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14552 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14554 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14557 echo "$as_me: failed program was:" >&5
14558 sed 's/^/| /' conftest.$ac_ext >&5
14560 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14564 conftest$ac_exeext conftest.$ac_ext
14565 LIBS=$ac_get_soname_save_LIBS
14567 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14568 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14569 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14571 cat >>confdefs.h <<_ACEOF
14572 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14577 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14578 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14579 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14580 echo $ECHO_N "(cached) $ECHO_C" >&6
14582 ac_get_soname_save_LIBS=$LIBS
14583 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14584 cat >conftest.$ac_ext <<_ACEOF
14587 cat confdefs.h >>conftest.$ac_ext
14588 cat >>conftest.$ac_ext <<_ACEOF
14589 /* end confdefs.h. */
14591 /* Override any GCC internal prototype to avoid an error.
14592 Use char because int might match the return type of a GCC
14593 builtin and then its argument prototype would still apply. */
14597 char XRenderQueryExtension ();
14601 return XRenderQueryExtension ();
14606 rm -f conftest.$ac_objext conftest$ac_exeext
14607 if { (ac_try="$ac_link"
14608 case "(($ac_try" in
14609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14610 *) ac_try_echo=$ac_try;;
14612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14613 (eval "$ac_link") 2>conftest.er1
14615 grep -v '^ *+' conftest.er1 >conftest.err
14617 cat conftest.err >&5
14618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619 (exit $ac_status); } && {
14620 test -z "$ac_c_werror_flag" ||
14621 test ! -s conftest.err
14622 } && test -s conftest$ac_exeext &&
14623 $as_test_x conftest$ac_exeext; then
14625 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'` ;;
14626 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14628 if test "x$ac_cv_lib_soname_Xrender" = "x"
14630 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14633 echo "$as_me: failed program was:" >&5
14634 sed 's/^/| /' conftest.$ac_ext >&5
14636 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14640 conftest$ac_exeext conftest.$ac_ext
14641 LIBS=$ac_get_soname_save_LIBS
14643 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14644 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14645 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14647 cat >>confdefs.h <<_ACEOF
14648 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14653 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14654 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14655 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14656 echo $ECHO_N "(cached) $ECHO_C" >&6
14658 ac_get_soname_save_LIBS=$LIBS
14659 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14660 cat >conftest.$ac_ext <<_ACEOF
14663 cat confdefs.h >>conftest.$ac_ext
14664 cat >>conftest.$ac_ext <<_ACEOF
14665 /* end confdefs.h. */
14667 /* Override any GCC internal prototype to avoid an error.
14668 Use char because int might match the return type of a GCC
14669 builtin and then its argument prototype would still apply. */
14673 char XRRQueryExtension ();
14677 return XRRQueryExtension ();
14682 rm -f conftest.$ac_objext conftest$ac_exeext
14683 if { (ac_try="$ac_link"
14684 case "(($ac_try" in
14685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14686 *) ac_try_echo=$ac_try;;
14688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14689 (eval "$ac_link") 2>conftest.er1
14691 grep -v '^ *+' conftest.er1 >conftest.err
14693 cat conftest.err >&5
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); } && {
14696 test -z "$ac_c_werror_flag" ||
14697 test ! -s conftest.err
14698 } && test -s conftest$ac_exeext &&
14699 $as_test_x conftest$ac_exeext; then
14701 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'` ;;
14702 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14704 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14706 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14709 echo "$as_me: failed program was:" >&5
14710 sed 's/^/| /' conftest.$ac_ext >&5
14712 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14716 conftest$ac_exeext conftest.$ac_ext
14717 LIBS=$ac_get_soname_save_LIBS
14719 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14720 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14721 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14723 cat >>confdefs.h <<_ACEOF
14724 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14729 { echo "$as_me:$LINENO: checking for -lXcursor soname" >&5
14730 echo $ECHO_N "checking for -lXcursor soname... $ECHO_C" >&6; }
14731 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14732 echo $ECHO_N "(cached) $ECHO_C" >&6
14734 ac_get_soname_save_LIBS=$LIBS
14735 LIBS="-lXcursor $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14736 cat >conftest.$ac_ext <<_ACEOF
14739 cat confdefs.h >>conftest.$ac_ext
14740 cat >>conftest.$ac_ext <<_ACEOF
14741 /* end confdefs.h. */
14743 /* Override any GCC internal prototype to avoid an error.
14744 Use char because int might match the return type of a GCC
14745 builtin and then its argument prototype would still apply. */
14749 char XcursorImageLoadCursor ();
14753 return XcursorImageLoadCursor ();
14758 rm -f conftest.$ac_objext conftest$ac_exeext
14759 if { (ac_try="$ac_link"
14760 case "(($ac_try" in
14761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14762 *) ac_try_echo=$ac_try;;
14764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14765 (eval "$ac_link") 2>conftest.er1
14767 grep -v '^ *+' conftest.er1 >conftest.err
14769 cat conftest.err >&5
14770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14771 (exit $ac_status); } && {
14772 test -z "$ac_c_werror_flag" ||
14773 test ! -s conftest.err
14774 } && test -s conftest$ac_exeext &&
14775 $as_test_x conftest$ac_exeext; then
14777 dylib) ac_cv_lib_soname_Xcursor=`otool -L conftest$ac_exeext | grep libXcursor\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXcursor\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14778 so) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep libXcursor\\.so | sed -e "s/^.*\(libXcursor\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14780 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14782 ac_cv_lib_soname_Xcursor="libXcursor.$LIBEXT"
14785 echo "$as_me: failed program was:" >&5
14786 sed 's/^/| /' conftest.$ac_ext >&5
14788 ac_cv_lib_soname_Xcursor="libXcursor.$LIBEXT"
14791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14792 conftest$ac_exeext conftest.$ac_ext
14793 LIBS=$ac_get_soname_save_LIBS
14795 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
14796 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
14797 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14799 cat >>confdefs.h <<_ACEOF
14800 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
14805 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14806 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14807 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14808 echo $ECHO_N "(cached) $ECHO_C" >&6
14810 ac_get_soname_save_LIBS=$LIBS
14811 LIBS="-lfreetype $X_LIBS $LIBS"
14812 cat >conftest.$ac_ext <<_ACEOF
14815 cat confdefs.h >>conftest.$ac_ext
14816 cat >>conftest.$ac_ext <<_ACEOF
14817 /* end confdefs.h. */
14819 /* Override any GCC internal prototype to avoid an error.
14820 Use char because int might match the return type of a GCC
14821 builtin and then its argument prototype would still apply. */
14825 char FT_Init_FreeType ();
14829 return FT_Init_FreeType ();
14834 rm -f conftest.$ac_objext conftest$ac_exeext
14835 if { (ac_try="$ac_link"
14836 case "(($ac_try" in
14837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14838 *) ac_try_echo=$ac_try;;
14840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14841 (eval "$ac_link") 2>conftest.er1
14843 grep -v '^ *+' conftest.er1 >conftest.err
14845 cat conftest.err >&5
14846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14847 (exit $ac_status); } && {
14848 test -z "$ac_c_werror_flag" ||
14849 test ! -s conftest.err
14850 } && test -s conftest$ac_exeext &&
14851 $as_test_x conftest$ac_exeext; then
14853 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'` ;;
14854 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14856 if test "x$ac_cv_lib_soname_freetype" = "x"
14858 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14861 echo "$as_me: failed program was:" >&5
14862 sed 's/^/| /' conftest.$ac_ext >&5
14864 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14868 conftest$ac_exeext conftest.$ac_ext
14869 LIBS=$ac_get_soname_save_LIBS
14871 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14872 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14873 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14875 cat >>confdefs.h <<_ACEOF
14876 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14881 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14882 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14883 if test "${ac_cv_lib_soname_GL+set}" = set; then
14884 echo $ECHO_N "(cached) $ECHO_C" >&6
14886 ac_get_soname_save_LIBS=$LIBS
14887 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14888 cat >conftest.$ac_ext <<_ACEOF
14891 cat confdefs.h >>conftest.$ac_ext
14892 cat >>conftest.$ac_ext <<_ACEOF
14893 /* end confdefs.h. */
14895 /* Override any GCC internal prototype to avoid an error.
14896 Use char because int might match the return type of a GCC
14897 builtin and then its argument prototype would still apply. */
14901 char glXQueryExtension ();
14905 return glXQueryExtension ();
14910 rm -f conftest.$ac_objext conftest$ac_exeext
14911 if { (ac_try="$ac_link"
14912 case "(($ac_try" in
14913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14914 *) ac_try_echo=$ac_try;;
14916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14917 (eval "$ac_link") 2>conftest.er1
14919 grep -v '^ *+' conftest.er1 >conftest.err
14921 cat conftest.err >&5
14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 (exit $ac_status); } && {
14924 test -z "$ac_c_werror_flag" ||
14925 test ! -s conftest.err
14926 } && test -s conftest$ac_exeext &&
14927 $as_test_x conftest$ac_exeext; then
14929 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'` ;;
14930 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14932 if test "x$ac_cv_lib_soname_GL" = "x"
14934 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14937 echo "$as_me: failed program was:" >&5
14938 sed 's/^/| /' conftest.$ac_ext >&5
14940 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14944 conftest$ac_exeext conftest.$ac_ext
14945 LIBS=$ac_get_soname_save_LIBS
14947 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14948 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14949 if test "${ac_cv_lib_soname_GL+set}" = set; then
14951 cat >>confdefs.h <<_ACEOF
14952 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14957 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14958 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14959 if test "${ac_cv_lib_soname_hal+set}" = set; then
14960 echo $ECHO_N "(cached) $ECHO_C" >&6
14962 ac_get_soname_save_LIBS=$LIBS
14964 cat >conftest.$ac_ext <<_ACEOF
14967 cat confdefs.h >>conftest.$ac_ext
14968 cat >>conftest.$ac_ext <<_ACEOF
14969 /* end confdefs.h. */
14971 /* Override any GCC internal prototype to avoid an error.
14972 Use char because int might match the return type of a GCC
14973 builtin and then its argument prototype would still apply. */
14977 char libhal_ctx_new ();
14981 return libhal_ctx_new ();
14986 rm -f conftest.$ac_objext conftest$ac_exeext
14987 if { (ac_try="$ac_link"
14988 case "(($ac_try" in
14989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14990 *) ac_try_echo=$ac_try;;
14992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14993 (eval "$ac_link") 2>conftest.er1
14995 grep -v '^ *+' conftest.er1 >conftest.err
14997 cat conftest.err >&5
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); } && {
15000 test -z "$ac_c_werror_flag" ||
15001 test ! -s conftest.err
15002 } && test -s conftest$ac_exeext &&
15003 $as_test_x conftest$ac_exeext; then
15005 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'` ;;
15006 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15008 if test "x$ac_cv_lib_soname_hal" = "x"
15010 ac_cv_lib_soname_hal="libhal.$LIBEXT"
15013 echo "$as_me: failed program was:" >&5
15014 sed 's/^/| /' conftest.$ac_ext >&5
15016 ac_cv_lib_soname_hal="libhal.$LIBEXT"
15019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15020 conftest$ac_exeext conftest.$ac_ext
15021 LIBS=$ac_get_soname_save_LIBS
15023 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
15024 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
15025 if test "${ac_cv_lib_soname_hal+set}" = set; then
15027 cat >>confdefs.h <<_ACEOF
15028 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
15033 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
15034 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
15035 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15036 echo $ECHO_N "(cached) $ECHO_C" >&6
15038 ac_get_soname_save_LIBS=$LIBS
15039 LIBS="-ltxc_dxtn $LIBS"
15040 cat >conftest.$ac_ext <<_ACEOF
15043 cat confdefs.h >>conftest.$ac_ext
15044 cat >>conftest.$ac_ext <<_ACEOF
15045 /* end confdefs.h. */
15047 /* Override any GCC internal prototype to avoid an error.
15048 Use char because int might match the return type of a GCC
15049 builtin and then its argument prototype would still apply. */
15053 char fetch_2d_texel_rgba_dxt1 ();
15057 return fetch_2d_texel_rgba_dxt1 ();
15062 rm -f conftest.$ac_objext conftest$ac_exeext
15063 if { (ac_try="$ac_link"
15064 case "(($ac_try" in
15065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15066 *) ac_try_echo=$ac_try;;
15068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15069 (eval "$ac_link") 2>conftest.er1
15071 grep -v '^ *+' conftest.er1 >conftest.err
15073 cat conftest.err >&5
15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075 (exit $ac_status); } && {
15076 test -z "$ac_c_werror_flag" ||
15077 test ! -s conftest.err
15078 } && test -s conftest$ac_exeext &&
15079 $as_test_x conftest$ac_exeext; then
15081 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'` ;;
15082 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'` ;;
15084 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15086 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15089 echo "$as_me: failed program was:" >&5
15090 sed 's/^/| /' conftest.$ac_ext >&5
15092 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15096 conftest$ac_exeext conftest.$ac_ext
15097 LIBS=$ac_get_soname_save_LIBS
15099 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15100 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
15101 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15103 cat >>confdefs.h <<_ACEOF
15104 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15109 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
15110 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
15111 if test "${ac_cv_lib_soname_cups+set}" = set; then
15112 echo $ECHO_N "(cached) $ECHO_C" >&6
15114 ac_get_soname_save_LIBS=$LIBS
15115 LIBS="-lcups $LIBS"
15116 cat >conftest.$ac_ext <<_ACEOF
15119 cat confdefs.h >>conftest.$ac_ext
15120 cat >>conftest.$ac_ext <<_ACEOF
15121 /* end confdefs.h. */
15123 /* Override any GCC internal prototype to avoid an error.
15124 Use char because int might match the return type of a GCC
15125 builtin and then its argument prototype would still apply. */
15129 char cupsGetDefault ();
15133 return cupsGetDefault ();
15138 rm -f conftest.$ac_objext conftest$ac_exeext
15139 if { (ac_try="$ac_link"
15140 case "(($ac_try" in
15141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15142 *) ac_try_echo=$ac_try;;
15144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15145 (eval "$ac_link") 2>conftest.er1
15147 grep -v '^ *+' conftest.er1 >conftest.err
15149 cat conftest.err >&5
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); } && {
15152 test -z "$ac_c_werror_flag" ||
15153 test ! -s conftest.err
15154 } && test -s conftest$ac_exeext &&
15155 $as_test_x conftest$ac_exeext; then
15157 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'` ;;
15158 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15160 if test "x$ac_cv_lib_soname_cups" = "x"
15162 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15165 echo "$as_me: failed program was:" >&5
15166 sed 's/^/| /' conftest.$ac_ext >&5
15168 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15172 conftest$ac_exeext conftest.$ac_ext
15173 LIBS=$ac_get_soname_save_LIBS
15175 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15176 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15177 if test "${ac_cv_lib_soname_cups+set}" = set; then
15179 cat >>confdefs.h <<_ACEOF
15180 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15185 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15186 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15187 if test "${ac_cv_lib_soname_jack+set}" = set; then
15188 echo $ECHO_N "(cached) $ECHO_C" >&6
15190 ac_get_soname_save_LIBS=$LIBS
15191 LIBS="-ljack $LIBS"
15192 cat >conftest.$ac_ext <<_ACEOF
15195 cat confdefs.h >>conftest.$ac_ext
15196 cat >>conftest.$ac_ext <<_ACEOF
15197 /* end confdefs.h. */
15199 /* Override any GCC internal prototype to avoid an error.
15200 Use char because int might match the return type of a GCC
15201 builtin and then its argument prototype would still apply. */
15205 char jack_client_new ();
15209 return jack_client_new ();
15214 rm -f conftest.$ac_objext conftest$ac_exeext
15215 if { (ac_try="$ac_link"
15216 case "(($ac_try" in
15217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15218 *) ac_try_echo=$ac_try;;
15220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15221 (eval "$ac_link") 2>conftest.er1
15223 grep -v '^ *+' conftest.er1 >conftest.err
15225 cat conftest.err >&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); } && {
15228 test -z "$ac_c_werror_flag" ||
15229 test ! -s conftest.err
15230 } && test -s conftest$ac_exeext &&
15231 $as_test_x conftest$ac_exeext; then
15233 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'` ;;
15234 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15236 if test "x$ac_cv_lib_soname_jack" = "x"
15238 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15241 echo "$as_me: failed program was:" >&5
15242 sed 's/^/| /' conftest.$ac_ext >&5
15244 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15248 conftest$ac_exeext conftest.$ac_ext
15249 LIBS=$ac_get_soname_save_LIBS
15251 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15252 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15253 if test "${ac_cv_lib_soname_jack+set}" = set; then
15255 cat >>confdefs.h <<_ACEOF
15256 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15261 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15262 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15263 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15264 echo $ECHO_N "(cached) $ECHO_C" >&6
15266 ac_get_soname_save_LIBS=$LIBS
15267 LIBS="-lfontconfig $LIBS"
15268 cat >conftest.$ac_ext <<_ACEOF
15271 cat confdefs.h >>conftest.$ac_ext
15272 cat >>conftest.$ac_ext <<_ACEOF
15273 /* end confdefs.h. */
15275 /* Override any GCC internal prototype to avoid an error.
15276 Use char because int might match the return type of a GCC
15277 builtin and then its argument prototype would still apply. */
15290 rm -f conftest.$ac_objext conftest$ac_exeext
15291 if { (ac_try="$ac_link"
15292 case "(($ac_try" in
15293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15294 *) ac_try_echo=$ac_try;;
15296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15297 (eval "$ac_link") 2>conftest.er1
15299 grep -v '^ *+' conftest.er1 >conftest.err
15301 cat conftest.err >&5
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); } && {
15304 test -z "$ac_c_werror_flag" ||
15305 test ! -s conftest.err
15306 } && test -s conftest$ac_exeext &&
15307 $as_test_x conftest$ac_exeext; then
15309 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'` ;;
15310 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15312 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15314 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15317 echo "$as_me: failed program was:" >&5
15318 sed 's/^/| /' conftest.$ac_ext >&5
15320 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15324 conftest$ac_exeext conftest.$ac_ext
15325 LIBS=$ac_get_soname_save_LIBS
15327 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15328 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15329 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15331 cat >>confdefs.h <<_ACEOF
15332 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15337 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15338 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15339 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15340 echo $ECHO_N "(cached) $ECHO_C" >&6
15342 ac_get_soname_save_LIBS=$LIBS
15344 cat >conftest.$ac_ext <<_ACEOF
15347 cat confdefs.h >>conftest.$ac_ext
15348 cat >>conftest.$ac_ext <<_ACEOF
15349 /* end confdefs.h. */
15351 /* Override any GCC internal prototype to avoid an error.
15352 Use char because int might match the return type of a GCC
15353 builtin and then its argument prototype would still apply. */
15357 char SSL_library_init ();
15361 return SSL_library_init ();
15366 rm -f conftest.$ac_objext conftest$ac_exeext
15367 if { (ac_try="$ac_link"
15368 case "(($ac_try" in
15369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15370 *) ac_try_echo=$ac_try;;
15372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15373 (eval "$ac_link") 2>conftest.er1
15375 grep -v '^ *+' conftest.er1 >conftest.err
15377 cat conftest.err >&5
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); } && {
15380 test -z "$ac_c_werror_flag" ||
15381 test ! -s conftest.err
15382 } && test -s conftest$ac_exeext &&
15383 $as_test_x conftest$ac_exeext; then
15385 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'` ;;
15386 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15388 if test "x$ac_cv_lib_soname_ssl" = "x"
15390 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15393 echo "$as_me: failed program was:" >&5
15394 sed 's/^/| /' conftest.$ac_ext >&5
15396 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15400 conftest$ac_exeext conftest.$ac_ext
15401 LIBS=$ac_get_soname_save_LIBS
15403 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15404 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15405 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15407 cat >>confdefs.h <<_ACEOF
15408 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15413 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15414 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15415 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15416 echo $ECHO_N "(cached) $ECHO_C" >&6
15418 ac_get_soname_save_LIBS=$LIBS
15419 LIBS="-lcrypto $LIBS"
15420 cat >conftest.$ac_ext <<_ACEOF
15423 cat confdefs.h >>conftest.$ac_ext
15424 cat >>conftest.$ac_ext <<_ACEOF
15425 /* end confdefs.h. */
15427 /* Override any GCC internal prototype to avoid an error.
15428 Use char because int might match the return type of a GCC
15429 builtin and then its argument prototype would still apply. */
15433 char BIO_new_socket ();
15437 return BIO_new_socket ();
15442 rm -f conftest.$ac_objext conftest$ac_exeext
15443 if { (ac_try="$ac_link"
15444 case "(($ac_try" in
15445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15446 *) ac_try_echo=$ac_try;;
15448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15449 (eval "$ac_link") 2>conftest.er1
15451 grep -v '^ *+' conftest.er1 >conftest.err
15453 cat conftest.err >&5
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); } && {
15456 test -z "$ac_c_werror_flag" ||
15457 test ! -s conftest.err
15458 } && test -s conftest$ac_exeext &&
15459 $as_test_x conftest$ac_exeext; then
15461 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'` ;;
15462 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15464 if test "x$ac_cv_lib_soname_crypto" = "x"
15466 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15469 echo "$as_me: failed program was:" >&5
15470 sed 's/^/| /' conftest.$ac_ext >&5
15472 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15476 conftest$ac_exeext conftest.$ac_ext
15477 LIBS=$ac_get_soname_save_LIBS
15479 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15480 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15481 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15483 cat >>confdefs.h <<_ACEOF
15484 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15489 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15490 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15491 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15492 echo $ECHO_N "(cached) $ECHO_C" >&6
15494 ac_get_soname_save_LIBS=$LIBS
15495 LIBS="-lncurses $LIBS"
15496 cat >conftest.$ac_ext <<_ACEOF
15499 cat confdefs.h >>conftest.$ac_ext
15500 cat >>conftest.$ac_ext <<_ACEOF
15501 /* end confdefs.h. */
15503 /* Override any GCC internal prototype to avoid an error.
15504 Use char because int might match the return type of a GCC
15505 builtin and then its argument prototype would still apply. */
15518 rm -f conftest.$ac_objext conftest$ac_exeext
15519 if { (ac_try="$ac_link"
15520 case "(($ac_try" in
15521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15522 *) ac_try_echo=$ac_try;;
15524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15525 (eval "$ac_link") 2>conftest.er1
15527 grep -v '^ *+' conftest.er1 >conftest.err
15529 cat conftest.err >&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); } && {
15532 test -z "$ac_c_werror_flag" ||
15533 test ! -s conftest.err
15534 } && test -s conftest$ac_exeext &&
15535 $as_test_x conftest$ac_exeext; then
15537 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'` ;;
15538 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15540 if test "x$ac_cv_lib_soname_ncurses" = "x"
15542 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15545 echo "$as_me: failed program was:" >&5
15546 sed 's/^/| /' conftest.$ac_ext >&5
15548 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15552 conftest$ac_exeext conftest.$ac_ext
15553 LIBS=$ac_get_soname_save_LIBS
15555 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15556 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15557 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15559 cat >>confdefs.h <<_ACEOF
15560 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15565 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15566 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15567 if test "${ac_cv_lib_soname_curses+set}" = set; then
15568 echo $ECHO_N "(cached) $ECHO_C" >&6
15570 ac_get_soname_save_LIBS=$LIBS
15571 LIBS="-lcurses $LIBS"
15572 cat >conftest.$ac_ext <<_ACEOF
15575 cat confdefs.h >>conftest.$ac_ext
15576 cat >>conftest.$ac_ext <<_ACEOF
15577 /* end confdefs.h. */
15579 /* Override any GCC internal prototype to avoid an error.
15580 Use char because int might match the return type of a GCC
15581 builtin and then its argument prototype would still apply. */
15594 rm -f conftest.$ac_objext conftest$ac_exeext
15595 if { (ac_try="$ac_link"
15596 case "(($ac_try" in
15597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15598 *) ac_try_echo=$ac_try;;
15600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15601 (eval "$ac_link") 2>conftest.er1
15603 grep -v '^ *+' conftest.er1 >conftest.err
15605 cat conftest.err >&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); } && {
15608 test -z "$ac_c_werror_flag" ||
15609 test ! -s conftest.err
15610 } && test -s conftest$ac_exeext &&
15611 $as_test_x conftest$ac_exeext; then
15613 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'` ;;
15614 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15616 if test "x$ac_cv_lib_soname_curses" = "x"
15618 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15621 echo "$as_me: failed program was:" >&5
15622 sed 's/^/| /' conftest.$ac_ext >&5
15624 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15628 conftest$ac_exeext conftest.$ac_ext
15629 LIBS=$ac_get_soname_save_LIBS
15631 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15632 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15633 if test "${ac_cv_lib_soname_curses+set}" = set; then
15635 cat >>confdefs.h <<_ACEOF
15636 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15641 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15642 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15643 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15644 echo $ECHO_N "(cached) $ECHO_C" >&6
15646 ac_get_soname_save_LIBS=$LIBS
15647 LIBS="-ljpeg $LIBS"
15648 cat >conftest.$ac_ext <<_ACEOF
15651 cat confdefs.h >>conftest.$ac_ext
15652 cat >>conftest.$ac_ext <<_ACEOF
15653 /* end confdefs.h. */
15655 /* Override any GCC internal prototype to avoid an error.
15656 Use char because int might match the return type of a GCC
15657 builtin and then its argument prototype would still apply. */
15661 char jpeg_start_decompress ();
15665 return jpeg_start_decompress ();
15670 rm -f conftest.$ac_objext conftest$ac_exeext
15671 if { (ac_try="$ac_link"
15672 case "(($ac_try" in
15673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15674 *) ac_try_echo=$ac_try;;
15676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15677 (eval "$ac_link") 2>conftest.er1
15679 grep -v '^ *+' conftest.er1 >conftest.err
15681 cat conftest.err >&5
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); } && {
15684 test -z "$ac_c_werror_flag" ||
15685 test ! -s conftest.err
15686 } && test -s conftest$ac_exeext &&
15687 $as_test_x conftest$ac_exeext; then
15689 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'` ;;
15690 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15692 if test "x$ac_cv_lib_soname_jpeg" = "x"
15694 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15697 echo "$as_me: failed program was:" >&5
15698 sed 's/^/| /' conftest.$ac_ext >&5
15700 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15704 conftest$ac_exeext conftest.$ac_ext
15705 LIBS=$ac_get_soname_save_LIBS
15707 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15708 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15709 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15711 cat >>confdefs.h <<_ACEOF
15712 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15717 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15718 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15719 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15720 echo $ECHO_N "(cached) $ECHO_C" >&6
15722 ac_get_soname_save_LIBS=$LIBS
15723 LIBS="-lcapi20 $LIBS"
15724 cat >conftest.$ac_ext <<_ACEOF
15727 cat confdefs.h >>conftest.$ac_ext
15728 cat >>conftest.$ac_ext <<_ACEOF
15729 /* end confdefs.h. */
15731 /* Override any GCC internal prototype to avoid an error.
15732 Use char because int might match the return type of a GCC
15733 builtin and then its argument prototype would still apply. */
15737 char capi20_isinstalled ();
15741 return capi20_isinstalled ();
15746 rm -f conftest.$ac_objext conftest$ac_exeext
15747 if { (ac_try="$ac_link"
15748 case "(($ac_try" in
15749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15750 *) ac_try_echo=$ac_try;;
15752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15753 (eval "$ac_link") 2>conftest.er1
15755 grep -v '^ *+' conftest.er1 >conftest.err
15757 cat conftest.err >&5
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); } && {
15760 test -z "$ac_c_werror_flag" ||
15761 test ! -s conftest.err
15762 } && test -s conftest$ac_exeext &&
15763 $as_test_x conftest$ac_exeext; then
15765 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'` ;;
15766 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15768 if test "x$ac_cv_lib_soname_capi20" = "x"
15770 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15773 echo "$as_me: failed program was:" >&5
15774 sed 's/^/| /' conftest.$ac_ext >&5
15776 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15780 conftest$ac_exeext conftest.$ac_ext
15781 LIBS=$ac_get_soname_save_LIBS
15783 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15784 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15785 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15787 cat >>confdefs.h <<_ACEOF
15788 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15793 { echo "$as_me:$LINENO: checking for -lsane soname" >&5
15794 echo $ECHO_N "checking for -lsane soname... $ECHO_C" >&6; }
15795 if test "${ac_cv_lib_soname_sane+set}" = set; then
15796 echo $ECHO_N "(cached) $ECHO_C" >&6
15798 ac_get_soname_save_LIBS=$LIBS
15799 LIBS="-lsane $LIBS"
15800 cat >conftest.$ac_ext <<_ACEOF
15803 cat confdefs.h >>conftest.$ac_ext
15804 cat >>conftest.$ac_ext <<_ACEOF
15805 /* end confdefs.h. */
15807 /* Override any GCC internal prototype to avoid an error.
15808 Use char because int might match the return type of a GCC
15809 builtin and then its argument prototype would still apply. */
15817 return sane_init ();
15822 rm -f conftest.$ac_objext conftest$ac_exeext
15823 if { (ac_try="$ac_link"
15824 case "(($ac_try" in
15825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15826 *) ac_try_echo=$ac_try;;
15828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15829 (eval "$ac_link") 2>conftest.er1
15831 grep -v '^ *+' conftest.er1 >conftest.err
15833 cat conftest.err >&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); } && {
15836 test -z "$ac_c_werror_flag" ||
15837 test ! -s conftest.err
15838 } && test -s conftest$ac_exeext &&
15839 $as_test_x conftest$ac_exeext; then
15841 dylib) ac_cv_lib_soname_sane=`otool -L conftest$ac_exeext | grep libsane\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15842 so) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep libsane\\.so | sed -e "s/^.*\(libsane\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15844 if test "x$ac_cv_lib_soname_sane" = "x"
15846 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15849 echo "$as_me: failed program was:" >&5
15850 sed 's/^/| /' conftest.$ac_ext >&5
15852 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15856 conftest$ac_exeext conftest.$ac_ext
15857 LIBS=$ac_get_soname_save_LIBS
15859 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
15860 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
15861 if test "${ac_cv_lib_soname_sane+set}" = set; then
15863 cat >>confdefs.h <<_ACEOF
15864 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
16018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16019 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16021 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16022 echo $ECHO_N "(cached) $ECHO_C" >&6
16024 cat >conftest.$ac_ext <<_ACEOF
16027 cat confdefs.h >>conftest.$ac_ext
16028 cat >>conftest.$ac_ext <<_ACEOF
16029 /* end confdefs.h. */
16030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16032 #define $ac_func innocuous_$ac_func
16034 /* System header to define __stub macros and hopefully few prototypes,
16035 which can conflict with char $ac_func (); below.
16036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16037 <limits.h> exists even on freestanding compilers. */
16040 # include <limits.h>
16042 # include <assert.h>
16047 /* Override any GCC internal prototype to avoid an error.
16048 Use char because int might match the return type of a GCC
16049 builtin and then its argument prototype would still apply. */
16054 /* The GNU C library defines this for functions which it implements
16055 to always fail with ENOSYS. Some functions are actually named
16056 something starting with __ and the normal name is an alias. */
16057 #if defined __stub_$ac_func || defined __stub___$ac_func
16064 return $ac_func ();
16069 rm -f conftest.$ac_objext conftest$ac_exeext
16070 if { (ac_try="$ac_link"
16071 case "(($ac_try" in
16072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16073 *) ac_try_echo=$ac_try;;
16075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16076 (eval "$ac_link") 2>conftest.er1
16078 grep -v '^ *+' conftest.er1 >conftest.err
16080 cat conftest.err >&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); } && {
16083 test -z "$ac_c_werror_flag" ||
16084 test ! -s conftest.err
16085 } && test -s conftest$ac_exeext &&
16086 $as_test_x conftest$ac_exeext; then
16087 eval "$as_ac_var=yes"
16089 echo "$as_me: failed program was:" >&5
16090 sed 's/^/| /' conftest.$ac_ext >&5
16092 eval "$as_ac_var=no"
16095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16096 conftest$ac_exeext conftest.$ac_ext
16098 ac_res=`eval echo '${'$as_ac_var'}'`
16099 { echo "$as_me:$LINENO: result: $ac_res" >&5
16100 echo "${ECHO_T}$ac_res" >&6; }
16101 if test `eval echo '${'$as_ac_var'}'` = yes; then
16102 cat >>confdefs.h <<_ACEOF
16103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16110 if test "$ac_cv_func_dlopen" = no
16112 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16113 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16114 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16115 echo $ECHO_N "(cached) $ECHO_C" >&6
16117 ac_check_lib_save_LIBS=$LIBS
16119 cat >conftest.$ac_ext <<_ACEOF
16122 cat confdefs.h >>conftest.$ac_ext
16123 cat >>conftest.$ac_ext <<_ACEOF
16124 /* end confdefs.h. */
16126 /* Override any GCC internal prototype to avoid an error.
16127 Use char because int might match the return type of a GCC
16128 builtin and then its argument prototype would still apply. */
16141 rm -f conftest.$ac_objext conftest$ac_exeext
16142 if { (ac_try="$ac_link"
16143 case "(($ac_try" in
16144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16145 *) ac_try_echo=$ac_try;;
16147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16148 (eval "$ac_link") 2>conftest.er1
16150 grep -v '^ *+' conftest.er1 >conftest.err
16152 cat conftest.err >&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); } && {
16155 test -z "$ac_c_werror_flag" ||
16156 test ! -s conftest.err
16157 } && test -s conftest$ac_exeext &&
16158 $as_test_x conftest$ac_exeext; then
16159 ac_cv_lib_dl_dlopen=yes
16161 echo "$as_me: failed program was:" >&5
16162 sed 's/^/| /' conftest.$ac_ext >&5
16164 ac_cv_lib_dl_dlopen=no
16167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16168 conftest$ac_exeext conftest.$ac_ext
16169 LIBS=$ac_check_lib_save_LIBS
16171 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16172 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16173 if test $ac_cv_lib_dl_dlopen = yes; then
16174 cat >>confdefs.h <<\_ACEOF
16175 #define HAVE_DLOPEN 1
16182 ac_wine_check_funcs_save_LIBS="$LIBS"
16183 LIBS="$LIBS $LIBDL"
16185 for ac_func in dladdr
16187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16188 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16190 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16193 cat >conftest.$ac_ext <<_ACEOF
16196 cat confdefs.h >>conftest.$ac_ext
16197 cat >>conftest.$ac_ext <<_ACEOF
16198 /* end confdefs.h. */
16199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16201 #define $ac_func innocuous_$ac_func
16203 /* System header to define __stub macros and hopefully few prototypes,
16204 which can conflict with char $ac_func (); below.
16205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16206 <limits.h> exists even on freestanding compilers. */
16209 # include <limits.h>
16211 # include <assert.h>
16216 /* Override any GCC internal prototype to avoid an error.
16217 Use char because int might match the return type of a GCC
16218 builtin and then its argument prototype would still apply. */
16223 /* The GNU C library defines this for functions which it implements
16224 to always fail with ENOSYS. Some functions are actually named
16225 something starting with __ and the normal name is an alias. */
16226 #if defined __stub_$ac_func || defined __stub___$ac_func
16233 return $ac_func ();
16238 rm -f conftest.$ac_objext conftest$ac_exeext
16239 if { (ac_try="$ac_link"
16240 case "(($ac_try" in
16241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16242 *) ac_try_echo=$ac_try;;
16244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16245 (eval "$ac_link") 2>conftest.er1
16247 grep -v '^ *+' conftest.er1 >conftest.err
16249 cat conftest.err >&5
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); } && {
16252 test -z "$ac_c_werror_flag" ||
16253 test ! -s conftest.err
16254 } && test -s conftest$ac_exeext &&
16255 $as_test_x conftest$ac_exeext; then
16256 eval "$as_ac_var=yes"
16258 echo "$as_me: failed program was:" >&5
16259 sed 's/^/| /' conftest.$ac_ext >&5
16261 eval "$as_ac_var=no"
16264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16265 conftest$ac_exeext conftest.$ac_ext
16267 ac_res=`eval echo '${'$as_ac_var'}'`
16268 { echo "$as_me:$LINENO: result: $ac_res" >&5
16269 echo "${ECHO_T}$ac_res" >&6; }
16270 if test `eval echo '${'$as_ac_var'}'` = yes; then
16271 cat >>confdefs.h <<_ACEOF
16272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16278 LIBS="$ac_wine_check_funcs_save_LIBS"
16280 if test "$ac_cv_func_poll" = no
16282 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16283 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16284 if test "${ac_cv_lib_poll_poll+set}" = set; then
16285 echo $ECHO_N "(cached) $ECHO_C" >&6
16287 ac_check_lib_save_LIBS=$LIBS
16288 LIBS="-lpoll $LIBS"
16289 cat >conftest.$ac_ext <<_ACEOF
16292 cat confdefs.h >>conftest.$ac_ext
16293 cat >>conftest.$ac_ext <<_ACEOF
16294 /* end confdefs.h. */
16296 /* Override any GCC internal prototype to avoid an error.
16297 Use char because int might match the return type of a GCC
16298 builtin and then its argument prototype would still apply. */
16311 rm -f conftest.$ac_objext conftest$ac_exeext
16312 if { (ac_try="$ac_link"
16313 case "(($ac_try" in
16314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16315 *) ac_try_echo=$ac_try;;
16317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16318 (eval "$ac_link") 2>conftest.er1
16320 grep -v '^ *+' conftest.er1 >conftest.err
16322 cat conftest.err >&5
16323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16324 (exit $ac_status); } && {
16325 test -z "$ac_c_werror_flag" ||
16326 test ! -s conftest.err
16327 } && test -s conftest$ac_exeext &&
16328 $as_test_x conftest$ac_exeext; then
16329 ac_cv_lib_poll_poll=yes
16331 echo "$as_me: failed program was:" >&5
16332 sed 's/^/| /' conftest.$ac_ext >&5
16334 ac_cv_lib_poll_poll=no
16337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16338 conftest$ac_exeext conftest.$ac_ext
16339 LIBS=$ac_check_lib_save_LIBS
16341 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16342 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16343 if test $ac_cv_lib_poll_poll = yes; then
16344 cat >>confdefs.h <<\_ACEOF
16345 #define HAVE_POLL 1
16353 if test "$ac_cv_func_gethostbyname" = no
16356 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
16357 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
16358 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
16359 echo $ECHO_N "(cached) $ECHO_C" >&6
16361 ac_check_lib_save_LIBS=$LIBS
16363 cat >conftest.$ac_ext <<_ACEOF
16366 cat confdefs.h >>conftest.$ac_ext
16367 cat >>conftest.$ac_ext <<_ACEOF
16368 /* end confdefs.h. */
16370 /* Override any GCC internal prototype to avoid an error.
16371 Use char because int might match the return type of a GCC
16372 builtin and then its argument prototype would still apply. */
16376 char gethostbyname ();
16380 return gethostbyname ();
16385 rm -f conftest.$ac_objext conftest$ac_exeext
16386 if { (ac_try="$ac_link"
16387 case "(($ac_try" in
16388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16389 *) ac_try_echo=$ac_try;;
16391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16392 (eval "$ac_link") 2>conftest.er1
16394 grep -v '^ *+' conftest.er1 >conftest.err
16396 cat conftest.err >&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); } && {
16399 test -z "$ac_c_werror_flag" ||
16400 test ! -s conftest.err
16401 } && test -s conftest$ac_exeext &&
16402 $as_test_x conftest$ac_exeext; then
16403 ac_cv_lib_nsl_gethostbyname=yes
16405 echo "$as_me: failed program was:" >&5
16406 sed 's/^/| /' conftest.$ac_ext >&5
16408 ac_cv_lib_nsl_gethostbyname=no
16411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16412 conftest$ac_exeext conftest.$ac_ext
16413 LIBS=$ac_check_lib_save_LIBS
16415 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
16416 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
16417 if test $ac_cv_lib_nsl_gethostbyname = yes; then
16418 cat >>confdefs.h <<_ACEOF
16419 #define HAVE_LIBNSL 1
16428 if test "$ac_cv_func_connect" = no
16431 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
16432 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
16433 if test "${ac_cv_lib_socket_connect+set}" = set; then
16434 echo $ECHO_N "(cached) $ECHO_C" >&6
16436 ac_check_lib_save_LIBS=$LIBS
16437 LIBS="-lsocket $LIBS"
16438 cat >conftest.$ac_ext <<_ACEOF
16441 cat confdefs.h >>conftest.$ac_ext
16442 cat >>conftest.$ac_ext <<_ACEOF
16443 /* end confdefs.h. */
16445 /* Override any GCC internal prototype to avoid an error.
16446 Use char because int might match the return type of a GCC
16447 builtin and then its argument prototype would still apply. */
16460 rm -f conftest.$ac_objext conftest$ac_exeext
16461 if { (ac_try="$ac_link"
16462 case "(($ac_try" in
16463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16464 *) ac_try_echo=$ac_try;;
16466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16467 (eval "$ac_link") 2>conftest.er1
16469 grep -v '^ *+' conftest.er1 >conftest.err
16471 cat conftest.err >&5
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); } && {
16474 test -z "$ac_c_werror_flag" ||
16475 test ! -s conftest.err
16476 } && test -s conftest$ac_exeext &&
16477 $as_test_x conftest$ac_exeext; then
16478 ac_cv_lib_socket_connect=yes
16480 echo "$as_me: failed program was:" >&5
16481 sed 's/^/| /' conftest.$ac_ext >&5
16483 ac_cv_lib_socket_connect=no
16486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16487 conftest$ac_exeext conftest.$ac_ext
16488 LIBS=$ac_check_lib_save_LIBS
16490 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
16491 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
16492 if test $ac_cv_lib_socket_connect = yes; then
16493 cat >>confdefs.h <<_ACEOF
16494 #define HAVE_LIBSOCKET 1
16497 LIBS="-lsocket $LIBS"
16503 if test "$ac_cv_func_inet_aton" = no
16506 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
16507 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
16508 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16511 ac_check_lib_save_LIBS=$LIBS
16512 LIBS="-lresolv $LIBS"
16513 cat >conftest.$ac_ext <<_ACEOF
16516 cat confdefs.h >>conftest.$ac_ext
16517 cat >>conftest.$ac_ext <<_ACEOF
16518 /* end confdefs.h. */
16520 /* Override any GCC internal prototype to avoid an error.
16521 Use char because int might match the return type of a GCC
16522 builtin and then its argument prototype would still apply. */
16530 return inet_aton ();
16535 rm -f conftest.$ac_objext conftest$ac_exeext
16536 if { (ac_try="$ac_link"
16537 case "(($ac_try" in
16538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16539 *) ac_try_echo=$ac_try;;
16541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16542 (eval "$ac_link") 2>conftest.er1
16544 grep -v '^ *+' conftest.er1 >conftest.err
16546 cat conftest.err >&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); } && {
16549 test -z "$ac_c_werror_flag" ||
16550 test ! -s conftest.err
16551 } && test -s conftest$ac_exeext &&
16552 $as_test_x conftest$ac_exeext; then
16553 ac_cv_lib_resolv_inet_aton=yes
16555 echo "$as_me: failed program was:" >&5
16556 sed 's/^/| /' conftest.$ac_ext >&5
16558 ac_cv_lib_resolv_inet_aton=no
16561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16562 conftest$ac_exeext conftest.$ac_ext
16563 LIBS=$ac_check_lib_save_LIBS
16565 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
16566 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
16567 if test $ac_cv_lib_resolv_inet_aton = yes; then
16568 cat >>confdefs.h <<_ACEOF
16569 #define HAVE_LIBRESOLV 1
16572 LIBS="-lresolv $LIBS"
16579 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16580 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16581 if test "${ac_cv_c_const+set}" = set; then
16582 echo $ECHO_N "(cached) $ECHO_C" >&6
16584 cat >conftest.$ac_ext <<_ACEOF
16587 cat confdefs.h >>conftest.$ac_ext
16588 cat >>conftest.$ac_ext <<_ACEOF
16589 /* end confdefs.h. */
16594 /* FIXME: Include the comments suggested by Paul. */
16595 #ifndef __cplusplus
16596 /* Ultrix mips cc rejects this. */
16597 typedef int charset[2];
16599 /* SunOS 4.1.1 cc rejects this. */
16600 char const *const *pcpcc;
16602 /* NEC SVR4.0.2 mips cc rejects this. */
16603 struct point {int x, y;};
16604 static struct point const zero = {0,0};
16605 /* AIX XL C 1.02.0.0 rejects this.
16606 It does not let you subtract one const X* pointer from another in
16607 an arm of an if-expression whose if-part is not a constant
16609 const char *g = "string";
16610 pcpcc = &g + (g ? g-g : 0);
16611 /* HPUX 7.0 cc rejects these. */
16613 ppc = (char**) pcpcc;
16614 pcpcc = (char const *const *) ppc;
16615 { /* SCO 3.2v4 cc rejects this. */
16617 char const *s = 0 ? (char *) 0 : (char const *) 0;
16622 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16623 int x[] = {25, 17};
16624 const int *foo = &x[0];
16627 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16628 typedef const int *iptr;
16632 { /* AIX XL C 1.02.0.0 rejects this saying
16633 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16634 struct s { int j; const int *ap[3]; };
16635 struct s *b; b->j = 5;
16637 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16638 const int foo = 10;
16639 if (!foo) return 0;
16641 return !cs[0] && !zero.x;
16648 rm -f conftest.$ac_objext
16649 if { (ac_try="$ac_compile"
16650 case "(($ac_try" in
16651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16652 *) ac_try_echo=$ac_try;;
16654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16655 (eval "$ac_compile") 2>conftest.er1
16657 grep -v '^ *+' conftest.er1 >conftest.err
16659 cat conftest.err >&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); } && {
16662 test -z "$ac_c_werror_flag" ||
16663 test ! -s conftest.err
16664 } && test -s conftest.$ac_objext; then
16667 echo "$as_me: failed program was:" >&5
16668 sed 's/^/| /' conftest.$ac_ext >&5
16673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16675 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16676 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16677 if test $ac_cv_c_const = no; then
16679 cat >>confdefs.h <<\_ACEOF
16685 { echo "$as_me:$LINENO: checking for inline" >&5
16686 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16687 if test "${ac_cv_c_inline+set}" = set; then
16688 echo $ECHO_N "(cached) $ECHO_C" >&6
16691 for ac_kw in inline __inline__ __inline; do
16692 cat >conftest.$ac_ext <<_ACEOF
16695 cat confdefs.h >>conftest.$ac_ext
16696 cat >>conftest.$ac_ext <<_ACEOF
16697 /* end confdefs.h. */
16698 #ifndef __cplusplus
16700 static $ac_kw foo_t static_foo () {return 0; }
16701 $ac_kw foo_t foo () {return 0; }
16705 rm -f conftest.$ac_objext
16706 if { (ac_try="$ac_compile"
16707 case "(($ac_try" in
16708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16709 *) ac_try_echo=$ac_try;;
16711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16712 (eval "$ac_compile") 2>conftest.er1
16714 grep -v '^ *+' conftest.er1 >conftest.err
16716 cat conftest.err >&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); } && {
16719 test -z "$ac_c_werror_flag" ||
16720 test ! -s conftest.err
16721 } && test -s conftest.$ac_objext; then
16722 ac_cv_c_inline=$ac_kw
16724 echo "$as_me: failed program was:" >&5
16725 sed 's/^/| /' conftest.$ac_ext >&5
16730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16731 test "$ac_cv_c_inline" != no && break
16735 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16736 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16739 case $ac_cv_c_inline in
16742 case $ac_cv_c_inline in
16744 *) ac_val=$ac_cv_c_inline;;
16746 cat >>confdefs.h <<_ACEOF
16747 #ifndef __cplusplus
16748 #define inline $ac_val
16754 { echo "$as_me:$LINENO: checking for mode_t" >&5
16755 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16756 if test "${ac_cv_type_mode_t+set}" = set; then
16757 echo $ECHO_N "(cached) $ECHO_C" >&6
16759 cat >conftest.$ac_ext <<_ACEOF
16762 cat confdefs.h >>conftest.$ac_ext
16763 cat >>conftest.$ac_ext <<_ACEOF
16764 /* end confdefs.h. */
16765 $ac_includes_default
16766 typedef mode_t ac__type_new_;
16770 if ((ac__type_new_ *) 0)
16772 if (sizeof (ac__type_new_))
16778 rm -f conftest.$ac_objext
16779 if { (ac_try="$ac_compile"
16780 case "(($ac_try" in
16781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16782 *) ac_try_echo=$ac_try;;
16784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16785 (eval "$ac_compile") 2>conftest.er1
16787 grep -v '^ *+' conftest.er1 >conftest.err
16789 cat conftest.err >&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); } && {
16792 test -z "$ac_c_werror_flag" ||
16793 test ! -s conftest.err
16794 } && test -s conftest.$ac_objext; then
16795 ac_cv_type_mode_t=yes
16797 echo "$as_me: failed program was:" >&5
16798 sed 's/^/| /' conftest.$ac_ext >&5
16800 ac_cv_type_mode_t=no
16803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16805 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16806 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16807 if test $ac_cv_type_mode_t = yes; then
16809 cat >>confdefs.h <<_ACEOF
16810 #define HAVE_MODE_T 1
16815 { echo "$as_me:$LINENO: checking for off_t" >&5
16816 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16817 if test "${ac_cv_type_off_t+set}" = set; then
16818 echo $ECHO_N "(cached) $ECHO_C" >&6
16820 cat >conftest.$ac_ext <<_ACEOF
16823 cat confdefs.h >>conftest.$ac_ext
16824 cat >>conftest.$ac_ext <<_ACEOF
16825 /* end confdefs.h. */
16826 $ac_includes_default
16827 typedef off_t ac__type_new_;
16831 if ((ac__type_new_ *) 0)
16833 if (sizeof (ac__type_new_))
16839 rm -f conftest.$ac_objext
16840 if { (ac_try="$ac_compile"
16841 case "(($ac_try" in
16842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16843 *) ac_try_echo=$ac_try;;
16845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16846 (eval "$ac_compile") 2>conftest.er1
16848 grep -v '^ *+' conftest.er1 >conftest.err
16850 cat conftest.err >&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); } && {
16853 test -z "$ac_c_werror_flag" ||
16854 test ! -s conftest.err
16855 } && test -s conftest.$ac_objext; then
16856 ac_cv_type_off_t=yes
16858 echo "$as_me: failed program was:" >&5
16859 sed 's/^/| /' conftest.$ac_ext >&5
16861 ac_cv_type_off_t=no
16864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16866 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16867 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16868 if test $ac_cv_type_off_t = yes; then
16870 cat >>confdefs.h <<_ACEOF
16871 #define HAVE_OFF_T 1
16876 { echo "$as_me:$LINENO: checking for pid_t" >&5
16877 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16878 if test "${ac_cv_type_pid_t+set}" = set; then
16879 echo $ECHO_N "(cached) $ECHO_C" >&6
16881 cat >conftest.$ac_ext <<_ACEOF
16884 cat confdefs.h >>conftest.$ac_ext
16885 cat >>conftest.$ac_ext <<_ACEOF
16886 /* end confdefs.h. */
16887 $ac_includes_default
16888 typedef pid_t ac__type_new_;
16892 if ((ac__type_new_ *) 0)
16894 if (sizeof (ac__type_new_))
16900 rm -f conftest.$ac_objext
16901 if { (ac_try="$ac_compile"
16902 case "(($ac_try" in
16903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16904 *) ac_try_echo=$ac_try;;
16906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16907 (eval "$ac_compile") 2>conftest.er1
16909 grep -v '^ *+' conftest.er1 >conftest.err
16911 cat conftest.err >&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); } && {
16914 test -z "$ac_c_werror_flag" ||
16915 test ! -s conftest.err
16916 } && test -s conftest.$ac_objext; then
16917 ac_cv_type_pid_t=yes
16919 echo "$as_me: failed program was:" >&5
16920 sed 's/^/| /' conftest.$ac_ext >&5
16922 ac_cv_type_pid_t=no
16925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16927 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16928 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16929 if test $ac_cv_type_pid_t = yes; then
16931 cat >>confdefs.h <<_ACEOF
16932 #define HAVE_PID_T 1
16937 { echo "$as_me:$LINENO: checking for size_t" >&5
16938 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16939 if test "${ac_cv_type_size_t+set}" = set; then
16940 echo $ECHO_N "(cached) $ECHO_C" >&6
16942 cat >conftest.$ac_ext <<_ACEOF
16945 cat confdefs.h >>conftest.$ac_ext
16946 cat >>conftest.$ac_ext <<_ACEOF
16947 /* end confdefs.h. */
16948 $ac_includes_default
16949 typedef size_t ac__type_new_;
16953 if ((ac__type_new_ *) 0)
16955 if (sizeof (ac__type_new_))
16961 rm -f conftest.$ac_objext
16962 if { (ac_try="$ac_compile"
16963 case "(($ac_try" in
16964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16965 *) ac_try_echo=$ac_try;;
16967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16968 (eval "$ac_compile") 2>conftest.er1
16970 grep -v '^ *+' conftest.er1 >conftest.err
16972 cat conftest.err >&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); } && {
16975 test -z "$ac_c_werror_flag" ||
16976 test ! -s conftest.err
16977 } && test -s conftest.$ac_objext; then
16978 ac_cv_type_size_t=yes
16980 echo "$as_me: failed program was:" >&5
16981 sed 's/^/| /' conftest.$ac_ext >&5
16983 ac_cv_type_size_t=no
16986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16988 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16989 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16990 if test $ac_cv_type_size_t = yes; then
16992 cat >>confdefs.h <<_ACEOF
16993 #define HAVE_SIZE_T 1
16998 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16999 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17000 if test "${ac_cv_type_ssize_t+set}" = set; then
17001 echo $ECHO_N "(cached) $ECHO_C" >&6
17003 cat >conftest.$ac_ext <<_ACEOF
17006 cat confdefs.h >>conftest.$ac_ext
17007 cat >>conftest.$ac_ext <<_ACEOF
17008 /* end confdefs.h. */
17009 $ac_includes_default
17010 typedef ssize_t ac__type_new_;
17014 if ((ac__type_new_ *) 0)
17016 if (sizeof (ac__type_new_))
17022 rm -f conftest.$ac_objext
17023 if { (ac_try="$ac_compile"
17024 case "(($ac_try" in
17025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17026 *) ac_try_echo=$ac_try;;
17028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17029 (eval "$ac_compile") 2>conftest.er1
17031 grep -v '^ *+' conftest.er1 >conftest.err
17033 cat conftest.err >&5
17034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 (exit $ac_status); } && {
17036 test -z "$ac_c_werror_flag" ||
17037 test ! -s conftest.err
17038 } && test -s conftest.$ac_objext; then
17039 ac_cv_type_ssize_t=yes
17041 echo "$as_me: failed program was:" >&5
17042 sed 's/^/| /' conftest.$ac_ext >&5
17044 ac_cv_type_ssize_t=no
17047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17049 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17050 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17051 if test $ac_cv_type_ssize_t = yes; then
17053 cat >>confdefs.h <<_ACEOF
17054 #define HAVE_SSIZE_T 1
17059 { echo "$as_me:$LINENO: checking for long long" >&5
17060 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17061 if test "${ac_cv_type_long_long+set}" = set; then
17062 echo $ECHO_N "(cached) $ECHO_C" >&6
17064 cat >conftest.$ac_ext <<_ACEOF
17067 cat confdefs.h >>conftest.$ac_ext
17068 cat >>conftest.$ac_ext <<_ACEOF
17069 /* end confdefs.h. */
17070 $ac_includes_default
17071 typedef long long ac__type_new_;
17075 if ((ac__type_new_ *) 0)
17077 if (sizeof (ac__type_new_))
17083 rm -f conftest.$ac_objext
17084 if { (ac_try="$ac_compile"
17085 case "(($ac_try" in
17086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17087 *) ac_try_echo=$ac_try;;
17089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17090 (eval "$ac_compile") 2>conftest.er1
17092 grep -v '^ *+' conftest.er1 >conftest.err
17094 cat conftest.err >&5
17095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17096 (exit $ac_status); } && {
17097 test -z "$ac_c_werror_flag" ||
17098 test ! -s conftest.err
17099 } && test -s conftest.$ac_objext; then
17100 ac_cv_type_long_long=yes
17102 echo "$as_me: failed program was:" >&5
17103 sed 's/^/| /' conftest.$ac_ext >&5
17105 ac_cv_type_long_long=no
17108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17110 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17111 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17112 if test $ac_cv_type_long_long = yes; then
17114 cat >>confdefs.h <<_ACEOF
17115 #define HAVE_LONG_LONG 1
17120 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17121 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17122 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17123 echo $ECHO_N "(cached) $ECHO_C" >&6
17125 cat >conftest.$ac_ext <<_ACEOF
17128 cat confdefs.h >>conftest.$ac_ext
17129 cat >>conftest.$ac_ext <<_ACEOF
17130 /* end confdefs.h. */
17131 $ac_includes_default
17132 typedef fsblkcnt_t ac__type_new_;
17136 if ((ac__type_new_ *) 0)
17138 if (sizeof (ac__type_new_))
17144 rm -f conftest.$ac_objext
17145 if { (ac_try="$ac_compile"
17146 case "(($ac_try" in
17147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17148 *) ac_try_echo=$ac_try;;
17150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17151 (eval "$ac_compile") 2>conftest.er1
17153 grep -v '^ *+' conftest.er1 >conftest.err
17155 cat conftest.err >&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); } && {
17158 test -z "$ac_c_werror_flag" ||
17159 test ! -s conftest.err
17160 } && test -s conftest.$ac_objext; then
17161 ac_cv_type_fsblkcnt_t=yes
17163 echo "$as_me: failed program was:" >&5
17164 sed 's/^/| /' conftest.$ac_ext >&5
17166 ac_cv_type_fsblkcnt_t=no
17169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17171 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17172 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17173 if test $ac_cv_type_fsblkcnt_t = yes; then
17175 cat >>confdefs.h <<_ACEOF
17176 #define HAVE_FSBLKCNT_T 1
17181 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17182 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17183 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17184 echo $ECHO_N "(cached) $ECHO_C" >&6
17186 cat >conftest.$ac_ext <<_ACEOF
17189 cat confdefs.h >>conftest.$ac_ext
17190 cat >>conftest.$ac_ext <<_ACEOF
17191 /* end confdefs.h. */
17192 $ac_includes_default
17193 typedef fsfilcnt_t ac__type_new_;
17197 if ((ac__type_new_ *) 0)
17199 if (sizeof (ac__type_new_))
17205 rm -f conftest.$ac_objext
17206 if { (ac_try="$ac_compile"
17207 case "(($ac_try" in
17208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17209 *) ac_try_echo=$ac_try;;
17211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17212 (eval "$ac_compile") 2>conftest.er1
17214 grep -v '^ *+' conftest.er1 >conftest.err
17216 cat conftest.err >&5
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); } && {
17219 test -z "$ac_c_werror_flag" ||
17220 test ! -s conftest.err
17221 } && test -s conftest.$ac_objext; then
17222 ac_cv_type_fsfilcnt_t=yes
17224 echo "$as_me: failed program was:" >&5
17225 sed 's/^/| /' conftest.$ac_ext >&5
17227 ac_cv_type_fsfilcnt_t=no
17230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17232 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17233 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17234 if test $ac_cv_type_fsfilcnt_t = yes; then
17236 cat >>confdefs.h <<_ACEOF
17237 #define HAVE_FSFILCNT_T 1
17243 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17244 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17245 if test "${ac_cv_type_sigset_t+set}" = set; then
17246 echo $ECHO_N "(cached) $ECHO_C" >&6
17248 cat >conftest.$ac_ext <<_ACEOF
17251 cat confdefs.h >>conftest.$ac_ext
17252 cat >>conftest.$ac_ext <<_ACEOF
17253 /* end confdefs.h. */
17254 #include <signal.h>
17256 typedef sigset_t ac__type_new_;
17260 if ((ac__type_new_ *) 0)
17262 if (sizeof (ac__type_new_))
17268 rm -f conftest.$ac_objext
17269 if { (ac_try="$ac_compile"
17270 case "(($ac_try" in
17271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17272 *) ac_try_echo=$ac_try;;
17274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17275 (eval "$ac_compile") 2>conftest.er1
17277 grep -v '^ *+' conftest.er1 >conftest.err
17279 cat conftest.err >&5
17280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281 (exit $ac_status); } && {
17282 test -z "$ac_c_werror_flag" ||
17283 test ! -s conftest.err
17284 } && test -s conftest.$ac_objext; then
17285 ac_cv_type_sigset_t=yes
17287 echo "$as_me: failed program was:" >&5
17288 sed 's/^/| /' conftest.$ac_ext >&5
17290 ac_cv_type_sigset_t=no
17293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17295 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17296 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17297 if test $ac_cv_type_sigset_t = yes; then
17299 cat >>confdefs.h <<_ACEOF
17300 #define HAVE_SIGSET_T 1
17306 { echo "$as_me:$LINENO: checking for request_sense" >&5
17307 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17308 if test "${ac_cv_type_request_sense+set}" = set; then
17309 echo $ECHO_N "(cached) $ECHO_C" >&6
17311 cat >conftest.$ac_ext <<_ACEOF
17314 cat confdefs.h >>conftest.$ac_ext
17315 cat >>conftest.$ac_ext <<_ACEOF
17316 /* end confdefs.h. */
17317 #include <linux/cdrom.h>
17319 typedef request_sense ac__type_new_;
17323 if ((ac__type_new_ *) 0)
17325 if (sizeof (ac__type_new_))
17331 rm -f conftest.$ac_objext
17332 if { (ac_try="$ac_compile"
17333 case "(($ac_try" in
17334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17335 *) ac_try_echo=$ac_try;;
17337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17338 (eval "$ac_compile") 2>conftest.er1
17340 grep -v '^ *+' conftest.er1 >conftest.err
17342 cat conftest.err >&5
17343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); } && {
17345 test -z "$ac_c_werror_flag" ||
17346 test ! -s conftest.err
17347 } && test -s conftest.$ac_objext; then
17348 ac_cv_type_request_sense=yes
17350 echo "$as_me: failed program was:" >&5
17351 sed 's/^/| /' conftest.$ac_ext >&5
17353 ac_cv_type_request_sense=no
17356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17358 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17359 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17360 if test $ac_cv_type_request_sense = yes; then
17362 cat >>confdefs.h <<_ACEOF
17363 #define HAVE_REQUEST_SENSE 1
17370 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17371 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17372 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17373 echo $ECHO_N "(cached) $ECHO_C" >&6
17375 cat >conftest.$ac_ext <<_ACEOF
17378 cat confdefs.h >>conftest.$ac_ext
17379 cat >>conftest.$ac_ext <<_ACEOF
17380 /* end confdefs.h. */
17381 #ifdef HAVE_LINUX_INPUT_H
17382 #include <linux/input.h>
17388 static struct ff_effect ac_aggr;
17389 if (ac_aggr.direction)
17395 rm -f conftest.$ac_objext
17396 if { (ac_try="$ac_compile"
17397 case "(($ac_try" in
17398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17399 *) ac_try_echo=$ac_try;;
17401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17402 (eval "$ac_compile") 2>conftest.er1
17404 grep -v '^ *+' conftest.er1 >conftest.err
17406 cat conftest.err >&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); } && {
17409 test -z "$ac_c_werror_flag" ||
17410 test ! -s conftest.err
17411 } && test -s conftest.$ac_objext; then
17412 ac_cv_member_struct_ff_effect_direction=yes
17414 echo "$as_me: failed program was:" >&5
17415 sed 's/^/| /' conftest.$ac_ext >&5
17417 cat >conftest.$ac_ext <<_ACEOF
17420 cat confdefs.h >>conftest.$ac_ext
17421 cat >>conftest.$ac_ext <<_ACEOF
17422 /* end confdefs.h. */
17423 #ifdef HAVE_LINUX_INPUT_H
17424 #include <linux/input.h>
17430 static struct ff_effect ac_aggr;
17431 if (sizeof ac_aggr.direction)
17437 rm -f conftest.$ac_objext
17438 if { (ac_try="$ac_compile"
17439 case "(($ac_try" in
17440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17441 *) ac_try_echo=$ac_try;;
17443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17444 (eval "$ac_compile") 2>conftest.er1
17446 grep -v '^ *+' conftest.er1 >conftest.err
17448 cat conftest.err >&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); } && {
17451 test -z "$ac_c_werror_flag" ||
17452 test ! -s conftest.err
17453 } && test -s conftest.$ac_objext; then
17454 ac_cv_member_struct_ff_effect_direction=yes
17456 echo "$as_me: failed program was:" >&5
17457 sed 's/^/| /' conftest.$ac_ext >&5
17459 ac_cv_member_struct_ff_effect_direction=no
17462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17467 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17468 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17469 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17471 cat >>confdefs.h <<_ACEOF
17472 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17479 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17480 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17481 if test "${wine_cv_have_sigaddset+set}" = set; then
17482 echo $ECHO_N "(cached) $ECHO_C" >&6
17484 cat >conftest.$ac_ext <<_ACEOF
17487 cat confdefs.h >>conftest.$ac_ext
17488 cat >>conftest.$ac_ext <<_ACEOF
17489 /* end confdefs.h. */
17490 #include <signal.h>
17494 sigset_t set; sigaddset(&set,SIGTERM);
17499 rm -f conftest.$ac_objext conftest$ac_exeext
17500 if { (ac_try="$ac_link"
17501 case "(($ac_try" in
17502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17503 *) ac_try_echo=$ac_try;;
17505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17506 (eval "$ac_link") 2>conftest.er1
17508 grep -v '^ *+' conftest.er1 >conftest.err
17510 cat conftest.err >&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); } && {
17513 test -z "$ac_c_werror_flag" ||
17514 test ! -s conftest.err
17515 } && test -s conftest$ac_exeext &&
17516 $as_test_x conftest$ac_exeext; then
17517 wine_cv_have_sigaddset=yes
17519 echo "$as_me: failed program was:" >&5
17520 sed 's/^/| /' conftest.$ac_ext >&5
17522 wine_cv_have_sigaddset=no
17525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17526 conftest$ac_exeext conftest.$ac_ext
17528 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17529 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17530 if test "$wine_cv_have_sigaddset" = "yes"
17533 cat >>confdefs.h <<\_ACEOF
17534 #define HAVE_SIGADDSET 1
17540 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17541 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17542 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17543 echo $ECHO_N "(cached) $ECHO_C" >&6
17545 cat >conftest.$ac_ext <<_ACEOF
17548 cat confdefs.h >>conftest.$ac_ext
17549 cat >>conftest.$ac_ext <<_ACEOF
17550 /* end confdefs.h. */
17560 struct hostent *result;
17567 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17568 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17574 rm -f conftest.$ac_objext conftest$ac_exeext
17575 if { (ac_try="$ac_link"
17576 case "(($ac_try" in
17577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17578 *) ac_try_echo=$ac_try;;
17580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17581 (eval "$ac_link") 2>conftest.er1
17583 grep -v '^ *+' conftest.er1 >conftest.err
17585 cat conftest.err >&5
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); } && {
17588 test -z "$ac_c_werror_flag" ||
17589 test ! -s conftest.err
17590 } && test -s conftest$ac_exeext &&
17591 $as_test_x conftest$ac_exeext; then
17592 wine_cv_linux_gethostbyname_r_6=yes
17594 echo "$as_me: failed program was:" >&5
17595 sed 's/^/| /' conftest.$ac_ext >&5
17597 wine_cv_linux_gethostbyname_r_6=no
17601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17602 conftest$ac_exeext conftest.$ac_ext
17605 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17606 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17607 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17610 cat >>confdefs.h <<\_ACEOF
17611 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17616 if test "$ac_cv_header_linux_joystick_h" = "yes"
17618 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17619 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17620 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17621 echo $ECHO_N "(cached) $ECHO_C" >&6
17623 cat >conftest.$ac_ext <<_ACEOF
17626 cat confdefs.h >>conftest.$ac_ext
17627 cat >>conftest.$ac_ext <<_ACEOF
17628 /* end confdefs.h. */
17630 #include <sys/ioctl.h>
17631 #include <linux/joystick.h>
17633 struct js_event blub;
17634 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17635 #error "no 2.2 header"
17646 rm -f conftest.$ac_objext
17647 if { (ac_try="$ac_compile"
17648 case "(($ac_try" in
17649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17650 *) ac_try_echo=$ac_try;;
17652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17653 (eval "$ac_compile") 2>conftest.er1
17655 grep -v '^ *+' conftest.er1 >conftest.err
17657 cat conftest.err >&5
17658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659 (exit $ac_status); } && {
17660 test -z "$ac_c_werror_flag" ||
17661 test ! -s conftest.err
17662 } && test -s conftest.$ac_objext; then
17663 wine_cv_linux_joystick_22_api=yes
17665 echo "$as_me: failed program was:" >&5
17666 sed 's/^/| /' conftest.$ac_ext >&5
17668 wine_cv_linux_joystick_22_api=no
17671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17674 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17675 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17676 if test "$wine_cv_linux_joystick_22_api" = "yes"
17679 cat >>confdefs.h <<\_ACEOF
17680 #define HAVE_LINUX_22_JOYSTICK_API 1
17687 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17688 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17689 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17690 echo $ECHO_N "(cached) $ECHO_C" >&6
17692 cat >conftest.$ac_ext <<_ACEOF
17695 cat confdefs.h >>conftest.$ac_ext
17696 cat >>conftest.$ac_ext <<_ACEOF
17697 /* end confdefs.h. */
17698 #include <sys/types.h>
17699 #ifdef HAVE_SYS_PARAM_H
17700 # include <sys/param.h>
17702 #ifdef HAVE_SYS_MOUNT_H
17703 # include <sys/mount.h>
17705 #ifdef HAVE_SYS_VFS_H
17706 # include <sys/vfs.h>
17708 #ifdef HAVE_SYS_STATFS_H
17709 # include <sys/statfs.h>
17715 static struct statfs ac_aggr;
17716 if (ac_aggr.f_bfree)
17722 rm -f conftest.$ac_objext
17723 if { (ac_try="$ac_compile"
17724 case "(($ac_try" in
17725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17726 *) ac_try_echo=$ac_try;;
17728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17729 (eval "$ac_compile") 2>conftest.er1
17731 grep -v '^ *+' conftest.er1 >conftest.err
17733 cat conftest.err >&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); } && {
17736 test -z "$ac_c_werror_flag" ||
17737 test ! -s conftest.err
17738 } && test -s conftest.$ac_objext; then
17739 ac_cv_member_struct_statfs_f_bfree=yes
17741 echo "$as_me: failed program was:" >&5
17742 sed 's/^/| /' conftest.$ac_ext >&5
17744 cat >conftest.$ac_ext <<_ACEOF
17747 cat confdefs.h >>conftest.$ac_ext
17748 cat >>conftest.$ac_ext <<_ACEOF
17749 /* end confdefs.h. */
17750 #include <sys/types.h>
17751 #ifdef HAVE_SYS_PARAM_H
17752 # include <sys/param.h>
17754 #ifdef HAVE_SYS_MOUNT_H
17755 # include <sys/mount.h>
17757 #ifdef HAVE_SYS_VFS_H
17758 # include <sys/vfs.h>
17760 #ifdef HAVE_SYS_STATFS_H
17761 # include <sys/statfs.h>
17767 static struct statfs ac_aggr;
17768 if (sizeof ac_aggr.f_bfree)
17774 rm -f conftest.$ac_objext
17775 if { (ac_try="$ac_compile"
17776 case "(($ac_try" in
17777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17778 *) ac_try_echo=$ac_try;;
17780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17781 (eval "$ac_compile") 2>conftest.er1
17783 grep -v '^ *+' conftest.er1 >conftest.err
17785 cat conftest.err >&5
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); } && {
17788 test -z "$ac_c_werror_flag" ||
17789 test ! -s conftest.err
17790 } && test -s conftest.$ac_objext; then
17791 ac_cv_member_struct_statfs_f_bfree=yes
17793 echo "$as_me: failed program was:" >&5
17794 sed 's/^/| /' conftest.$ac_ext >&5
17796 ac_cv_member_struct_statfs_f_bfree=no
17799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17804 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17805 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17806 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17808 cat >>confdefs.h <<_ACEOF
17809 #define HAVE_STRUCT_STATFS_F_BFREE 1
17814 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17815 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17816 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17817 echo $ECHO_N "(cached) $ECHO_C" >&6
17819 cat >conftest.$ac_ext <<_ACEOF
17822 cat confdefs.h >>conftest.$ac_ext
17823 cat >>conftest.$ac_ext <<_ACEOF
17824 /* end confdefs.h. */
17825 #include <sys/types.h>
17826 #ifdef HAVE_SYS_PARAM_H
17827 # include <sys/param.h>
17829 #ifdef HAVE_SYS_MOUNT_H
17830 # include <sys/mount.h>
17832 #ifdef HAVE_SYS_VFS_H
17833 # include <sys/vfs.h>
17835 #ifdef HAVE_SYS_STATFS_H
17836 # include <sys/statfs.h>
17842 static struct statfs ac_aggr;
17843 if (ac_aggr.f_bavail)
17849 rm -f conftest.$ac_objext
17850 if { (ac_try="$ac_compile"
17851 case "(($ac_try" in
17852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17853 *) ac_try_echo=$ac_try;;
17855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17856 (eval "$ac_compile") 2>conftest.er1
17858 grep -v '^ *+' conftest.er1 >conftest.err
17860 cat conftest.err >&5
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); } && {
17863 test -z "$ac_c_werror_flag" ||
17864 test ! -s conftest.err
17865 } && test -s conftest.$ac_objext; then
17866 ac_cv_member_struct_statfs_f_bavail=yes
17868 echo "$as_me: failed program was:" >&5
17869 sed 's/^/| /' conftest.$ac_ext >&5
17871 cat >conftest.$ac_ext <<_ACEOF
17874 cat confdefs.h >>conftest.$ac_ext
17875 cat >>conftest.$ac_ext <<_ACEOF
17876 /* end confdefs.h. */
17877 #include <sys/types.h>
17878 #ifdef HAVE_SYS_PARAM_H
17879 # include <sys/param.h>
17881 #ifdef HAVE_SYS_MOUNT_H
17882 # include <sys/mount.h>
17884 #ifdef HAVE_SYS_VFS_H
17885 # include <sys/vfs.h>
17887 #ifdef HAVE_SYS_STATFS_H
17888 # include <sys/statfs.h>
17894 static struct statfs ac_aggr;
17895 if (sizeof ac_aggr.f_bavail)
17901 rm -f conftest.$ac_objext
17902 if { (ac_try="$ac_compile"
17903 case "(($ac_try" in
17904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17905 *) ac_try_echo=$ac_try;;
17907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17908 (eval "$ac_compile") 2>conftest.er1
17910 grep -v '^ *+' conftest.er1 >conftest.err
17912 cat conftest.err >&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); } && {
17915 test -z "$ac_c_werror_flag" ||
17916 test ! -s conftest.err
17917 } && test -s conftest.$ac_objext; then
17918 ac_cv_member_struct_statfs_f_bavail=yes
17920 echo "$as_me: failed program was:" >&5
17921 sed 's/^/| /' conftest.$ac_ext >&5
17923 ac_cv_member_struct_statfs_f_bavail=no
17926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17931 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17932 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17933 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17935 cat >>confdefs.h <<_ACEOF
17936 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17941 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17942 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17943 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17944 echo $ECHO_N "(cached) $ECHO_C" >&6
17946 cat >conftest.$ac_ext <<_ACEOF
17949 cat confdefs.h >>conftest.$ac_ext
17950 cat >>conftest.$ac_ext <<_ACEOF
17951 /* end confdefs.h. */
17952 #include <sys/types.h>
17953 #ifdef HAVE_SYS_PARAM_H
17954 # include <sys/param.h>
17956 #ifdef HAVE_SYS_MOUNT_H
17957 # include <sys/mount.h>
17959 #ifdef HAVE_SYS_VFS_H
17960 # include <sys/vfs.h>
17962 #ifdef HAVE_SYS_STATFS_H
17963 # include <sys/statfs.h>
17969 static struct statfs ac_aggr;
17970 if (ac_aggr.f_frsize)
17976 rm -f conftest.$ac_objext
17977 if { (ac_try="$ac_compile"
17978 case "(($ac_try" in
17979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17980 *) ac_try_echo=$ac_try;;
17982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17983 (eval "$ac_compile") 2>conftest.er1
17985 grep -v '^ *+' conftest.er1 >conftest.err
17987 cat conftest.err >&5
17988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17989 (exit $ac_status); } && {
17990 test -z "$ac_c_werror_flag" ||
17991 test ! -s conftest.err
17992 } && test -s conftest.$ac_objext; then
17993 ac_cv_member_struct_statfs_f_frsize=yes
17995 echo "$as_me: failed program was:" >&5
17996 sed 's/^/| /' conftest.$ac_ext >&5
17998 cat >conftest.$ac_ext <<_ACEOF
18001 cat confdefs.h >>conftest.$ac_ext
18002 cat >>conftest.$ac_ext <<_ACEOF
18003 /* end confdefs.h. */
18004 #include <sys/types.h>
18005 #ifdef HAVE_SYS_PARAM_H
18006 # include <sys/param.h>
18008 #ifdef HAVE_SYS_MOUNT_H
18009 # include <sys/mount.h>
18011 #ifdef HAVE_SYS_VFS_H
18012 # include <sys/vfs.h>
18014 #ifdef HAVE_SYS_STATFS_H
18015 # include <sys/statfs.h>
18021 static struct statfs ac_aggr;
18022 if (sizeof ac_aggr.f_frsize)
18028 rm -f conftest.$ac_objext
18029 if { (ac_try="$ac_compile"
18030 case "(($ac_try" in
18031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18032 *) ac_try_echo=$ac_try;;
18034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18035 (eval "$ac_compile") 2>conftest.er1
18037 grep -v '^ *+' conftest.er1 >conftest.err
18039 cat conftest.err >&5
18040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 (exit $ac_status); } && {
18042 test -z "$ac_c_werror_flag" ||
18043 test ! -s conftest.err
18044 } && test -s conftest.$ac_objext; then
18045 ac_cv_member_struct_statfs_f_frsize=yes
18047 echo "$as_me: failed program was:" >&5
18048 sed 's/^/| /' conftest.$ac_ext >&5
18050 ac_cv_member_struct_statfs_f_frsize=no
18053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18058 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18059 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18060 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18062 cat >>confdefs.h <<_ACEOF
18063 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18068 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18069 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18070 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18071 echo $ECHO_N "(cached) $ECHO_C" >&6
18073 cat >conftest.$ac_ext <<_ACEOF
18076 cat confdefs.h >>conftest.$ac_ext
18077 cat >>conftest.$ac_ext <<_ACEOF
18078 /* end confdefs.h. */
18079 #include <sys/types.h>
18080 #ifdef HAVE_SYS_PARAM_H
18081 # include <sys/param.h>
18083 #ifdef HAVE_SYS_MOUNT_H
18084 # include <sys/mount.h>
18086 #ifdef HAVE_SYS_VFS_H
18087 # include <sys/vfs.h>
18089 #ifdef HAVE_SYS_STATFS_H
18090 # include <sys/statfs.h>
18096 static struct statfs ac_aggr;
18097 if (ac_aggr.f_ffree)
18103 rm -f conftest.$ac_objext
18104 if { (ac_try="$ac_compile"
18105 case "(($ac_try" in
18106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18107 *) ac_try_echo=$ac_try;;
18109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18110 (eval "$ac_compile") 2>conftest.er1
18112 grep -v '^ *+' conftest.er1 >conftest.err
18114 cat conftest.err >&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); } && {
18117 test -z "$ac_c_werror_flag" ||
18118 test ! -s conftest.err
18119 } && test -s conftest.$ac_objext; then
18120 ac_cv_member_struct_statfs_f_ffree=yes
18122 echo "$as_me: failed program was:" >&5
18123 sed 's/^/| /' conftest.$ac_ext >&5
18125 cat >conftest.$ac_ext <<_ACEOF
18128 cat confdefs.h >>conftest.$ac_ext
18129 cat >>conftest.$ac_ext <<_ACEOF
18130 /* end confdefs.h. */
18131 #include <sys/types.h>
18132 #ifdef HAVE_SYS_PARAM_H
18133 # include <sys/param.h>
18135 #ifdef HAVE_SYS_MOUNT_H
18136 # include <sys/mount.h>
18138 #ifdef HAVE_SYS_VFS_H
18139 # include <sys/vfs.h>
18141 #ifdef HAVE_SYS_STATFS_H
18142 # include <sys/statfs.h>
18148 static struct statfs ac_aggr;
18149 if (sizeof ac_aggr.f_ffree)
18155 rm -f conftest.$ac_objext
18156 if { (ac_try="$ac_compile"
18157 case "(($ac_try" in
18158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18159 *) ac_try_echo=$ac_try;;
18161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18162 (eval "$ac_compile") 2>conftest.er1
18164 grep -v '^ *+' conftest.er1 >conftest.err
18166 cat conftest.err >&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); } && {
18169 test -z "$ac_c_werror_flag" ||
18170 test ! -s conftest.err
18171 } && test -s conftest.$ac_objext; then
18172 ac_cv_member_struct_statfs_f_ffree=yes
18174 echo "$as_me: failed program was:" >&5
18175 sed 's/^/| /' conftest.$ac_ext >&5
18177 ac_cv_member_struct_statfs_f_ffree=no
18180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18185 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18186 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18187 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18189 cat >>confdefs.h <<_ACEOF
18190 #define HAVE_STRUCT_STATFS_F_FFREE 1
18195 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18196 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18197 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18198 echo $ECHO_N "(cached) $ECHO_C" >&6
18200 cat >conftest.$ac_ext <<_ACEOF
18203 cat confdefs.h >>conftest.$ac_ext
18204 cat >>conftest.$ac_ext <<_ACEOF
18205 /* end confdefs.h. */
18206 #include <sys/types.h>
18207 #ifdef HAVE_SYS_PARAM_H
18208 # include <sys/param.h>
18210 #ifdef HAVE_SYS_MOUNT_H
18211 # include <sys/mount.h>
18213 #ifdef HAVE_SYS_VFS_H
18214 # include <sys/vfs.h>
18216 #ifdef HAVE_SYS_STATFS_H
18217 # include <sys/statfs.h>
18223 static struct statfs ac_aggr;
18224 if (ac_aggr.f_favail)
18230 rm -f conftest.$ac_objext
18231 if { (ac_try="$ac_compile"
18232 case "(($ac_try" in
18233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18234 *) ac_try_echo=$ac_try;;
18236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18237 (eval "$ac_compile") 2>conftest.er1
18239 grep -v '^ *+' conftest.er1 >conftest.err
18241 cat conftest.err >&5
18242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18243 (exit $ac_status); } && {
18244 test -z "$ac_c_werror_flag" ||
18245 test ! -s conftest.err
18246 } && test -s conftest.$ac_objext; then
18247 ac_cv_member_struct_statfs_f_favail=yes
18249 echo "$as_me: failed program was:" >&5
18250 sed 's/^/| /' conftest.$ac_ext >&5
18252 cat >conftest.$ac_ext <<_ACEOF
18255 cat confdefs.h >>conftest.$ac_ext
18256 cat >>conftest.$ac_ext <<_ACEOF
18257 /* end confdefs.h. */
18258 #include <sys/types.h>
18259 #ifdef HAVE_SYS_PARAM_H
18260 # include <sys/param.h>
18262 #ifdef HAVE_SYS_MOUNT_H
18263 # include <sys/mount.h>
18265 #ifdef HAVE_SYS_VFS_H
18266 # include <sys/vfs.h>
18268 #ifdef HAVE_SYS_STATFS_H
18269 # include <sys/statfs.h>
18275 static struct statfs ac_aggr;
18276 if (sizeof ac_aggr.f_favail)
18282 rm -f conftest.$ac_objext
18283 if { (ac_try="$ac_compile"
18284 case "(($ac_try" in
18285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18286 *) ac_try_echo=$ac_try;;
18288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18289 (eval "$ac_compile") 2>conftest.er1
18291 grep -v '^ *+' conftest.er1 >conftest.err
18293 cat conftest.err >&5
18294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295 (exit $ac_status); } && {
18296 test -z "$ac_c_werror_flag" ||
18297 test ! -s conftest.err
18298 } && test -s conftest.$ac_objext; then
18299 ac_cv_member_struct_statfs_f_favail=yes
18301 echo "$as_me: failed program was:" >&5
18302 sed 's/^/| /' conftest.$ac_ext >&5
18304 ac_cv_member_struct_statfs_f_favail=no
18307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18312 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18313 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18314 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18316 cat >>confdefs.h <<_ACEOF
18317 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18322 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18323 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18324 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18325 echo $ECHO_N "(cached) $ECHO_C" >&6
18327 cat >conftest.$ac_ext <<_ACEOF
18330 cat confdefs.h >>conftest.$ac_ext
18331 cat >>conftest.$ac_ext <<_ACEOF
18332 /* end confdefs.h. */
18333 #include <sys/types.h>
18334 #ifdef HAVE_SYS_PARAM_H
18335 # include <sys/param.h>
18337 #ifdef HAVE_SYS_MOUNT_H
18338 # include <sys/mount.h>
18340 #ifdef HAVE_SYS_VFS_H
18341 # include <sys/vfs.h>
18343 #ifdef HAVE_SYS_STATFS_H
18344 # include <sys/statfs.h>
18350 static struct statfs ac_aggr;
18351 if (ac_aggr.f_namelen)
18357 rm -f conftest.$ac_objext
18358 if { (ac_try="$ac_compile"
18359 case "(($ac_try" in
18360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18361 *) ac_try_echo=$ac_try;;
18363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18364 (eval "$ac_compile") 2>conftest.er1
18366 grep -v '^ *+' conftest.er1 >conftest.err
18368 cat conftest.err >&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); } && {
18371 test -z "$ac_c_werror_flag" ||
18372 test ! -s conftest.err
18373 } && test -s conftest.$ac_objext; then
18374 ac_cv_member_struct_statfs_f_namelen=yes
18376 echo "$as_me: failed program was:" >&5
18377 sed 's/^/| /' conftest.$ac_ext >&5
18379 cat >conftest.$ac_ext <<_ACEOF
18382 cat confdefs.h >>conftest.$ac_ext
18383 cat >>conftest.$ac_ext <<_ACEOF
18384 /* end confdefs.h. */
18385 #include <sys/types.h>
18386 #ifdef HAVE_SYS_PARAM_H
18387 # include <sys/param.h>
18389 #ifdef HAVE_SYS_MOUNT_H
18390 # include <sys/mount.h>
18392 #ifdef HAVE_SYS_VFS_H
18393 # include <sys/vfs.h>
18395 #ifdef HAVE_SYS_STATFS_H
18396 # include <sys/statfs.h>
18402 static struct statfs ac_aggr;
18403 if (sizeof ac_aggr.f_namelen)
18409 rm -f conftest.$ac_objext
18410 if { (ac_try="$ac_compile"
18411 case "(($ac_try" in
18412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18413 *) ac_try_echo=$ac_try;;
18415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18416 (eval "$ac_compile") 2>conftest.er1
18418 grep -v '^ *+' conftest.er1 >conftest.err
18420 cat conftest.err >&5
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); } && {
18423 test -z "$ac_c_werror_flag" ||
18424 test ! -s conftest.err
18425 } && test -s conftest.$ac_objext; then
18426 ac_cv_member_struct_statfs_f_namelen=yes
18428 echo "$as_me: failed program was:" >&5
18429 sed 's/^/| /' conftest.$ac_ext >&5
18431 ac_cv_member_struct_statfs_f_namelen=no
18434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18439 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18440 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18441 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18443 cat >>confdefs.h <<_ACEOF
18444 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18451 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18452 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18453 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18454 echo $ECHO_N "(cached) $ECHO_C" >&6
18456 cat >conftest.$ac_ext <<_ACEOF
18459 cat confdefs.h >>conftest.$ac_ext
18460 cat >>conftest.$ac_ext <<_ACEOF
18461 /* end confdefs.h. */
18462 #ifdef HAVE_SYS_STATVFS_H
18463 #include <sys/statvfs.h>
18469 static struct statvfs ac_aggr;
18470 if (ac_aggr.f_blocks)
18476 rm -f conftest.$ac_objext
18477 if { (ac_try="$ac_compile"
18478 case "(($ac_try" in
18479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18480 *) ac_try_echo=$ac_try;;
18482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18483 (eval "$ac_compile") 2>conftest.er1
18485 grep -v '^ *+' conftest.er1 >conftest.err
18487 cat conftest.err >&5
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); } && {
18490 test -z "$ac_c_werror_flag" ||
18491 test ! -s conftest.err
18492 } && test -s conftest.$ac_objext; then
18493 ac_cv_member_struct_statvfs_f_blocks=yes
18495 echo "$as_me: failed program was:" >&5
18496 sed 's/^/| /' conftest.$ac_ext >&5
18498 cat >conftest.$ac_ext <<_ACEOF
18501 cat confdefs.h >>conftest.$ac_ext
18502 cat >>conftest.$ac_ext <<_ACEOF
18503 /* end confdefs.h. */
18504 #ifdef HAVE_SYS_STATVFS_H
18505 #include <sys/statvfs.h>
18511 static struct statvfs ac_aggr;
18512 if (sizeof ac_aggr.f_blocks)
18518 rm -f conftest.$ac_objext
18519 if { (ac_try="$ac_compile"
18520 case "(($ac_try" in
18521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18522 *) ac_try_echo=$ac_try;;
18524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18525 (eval "$ac_compile") 2>conftest.er1
18527 grep -v '^ *+' conftest.er1 >conftest.err
18529 cat conftest.err >&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); } && {
18532 test -z "$ac_c_werror_flag" ||
18533 test ! -s conftest.err
18534 } && test -s conftest.$ac_objext; then
18535 ac_cv_member_struct_statvfs_f_blocks=yes
18537 echo "$as_me: failed program was:" >&5
18538 sed 's/^/| /' conftest.$ac_ext >&5
18540 ac_cv_member_struct_statvfs_f_blocks=no
18543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18548 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18549 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18550 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18552 cat >>confdefs.h <<_ACEOF
18553 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18560 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18561 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18562 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18563 echo $ECHO_N "(cached) $ECHO_C" >&6
18565 cat >conftest.$ac_ext <<_ACEOF
18568 cat confdefs.h >>conftest.$ac_ext
18569 cat >>conftest.$ac_ext <<_ACEOF
18570 /* end confdefs.h. */
18571 #include <sys/types.h>
18572 #ifdef HAVE_SYS_SOCKET_H
18573 # include <sys/socket.h>
18575 #ifdef HAVE_SYS_UN_H
18576 # include <sys/un.h>
18582 static struct msghdr ac_aggr;
18583 if (ac_aggr.msg_accrights)
18589 rm -f conftest.$ac_objext
18590 if { (ac_try="$ac_compile"
18591 case "(($ac_try" in
18592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18593 *) ac_try_echo=$ac_try;;
18595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18596 (eval "$ac_compile") 2>conftest.er1
18598 grep -v '^ *+' conftest.er1 >conftest.err
18600 cat conftest.err >&5
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); } && {
18603 test -z "$ac_c_werror_flag" ||
18604 test ! -s conftest.err
18605 } && test -s conftest.$ac_objext; then
18606 ac_cv_member_struct_msghdr_msg_accrights=yes
18608 echo "$as_me: failed program was:" >&5
18609 sed 's/^/| /' conftest.$ac_ext >&5
18611 cat >conftest.$ac_ext <<_ACEOF
18614 cat confdefs.h >>conftest.$ac_ext
18615 cat >>conftest.$ac_ext <<_ACEOF
18616 /* end confdefs.h. */
18617 #include <sys/types.h>
18618 #ifdef HAVE_SYS_SOCKET_H
18619 # include <sys/socket.h>
18621 #ifdef HAVE_SYS_UN_H
18622 # include <sys/un.h>
18628 static struct msghdr ac_aggr;
18629 if (sizeof ac_aggr.msg_accrights)
18635 rm -f conftest.$ac_objext
18636 if { (ac_try="$ac_compile"
18637 case "(($ac_try" in
18638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18639 *) ac_try_echo=$ac_try;;
18641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18642 (eval "$ac_compile") 2>conftest.er1
18644 grep -v '^ *+' conftest.er1 >conftest.err
18646 cat conftest.err >&5
18647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18648 (exit $ac_status); } && {
18649 test -z "$ac_c_werror_flag" ||
18650 test ! -s conftest.err
18651 } && test -s conftest.$ac_objext; then
18652 ac_cv_member_struct_msghdr_msg_accrights=yes
18654 echo "$as_me: failed program was:" >&5
18655 sed 's/^/| /' conftest.$ac_ext >&5
18657 ac_cv_member_struct_msghdr_msg_accrights=no
18660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18665 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18666 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18667 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18669 cat >>confdefs.h <<_ACEOF
18670 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18675 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18676 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18677 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18678 echo $ECHO_N "(cached) $ECHO_C" >&6
18680 cat >conftest.$ac_ext <<_ACEOF
18683 cat confdefs.h >>conftest.$ac_ext
18684 cat >>conftest.$ac_ext <<_ACEOF
18685 /* end confdefs.h. */
18686 #include <sys/types.h>
18687 #ifdef HAVE_SYS_SOCKET_H
18688 # include <sys/socket.h>
18690 #ifdef HAVE_SYS_UN_H
18691 # include <sys/un.h>
18697 static struct sockaddr ac_aggr;
18698 if (ac_aggr.sa_len)
18704 rm -f conftest.$ac_objext
18705 if { (ac_try="$ac_compile"
18706 case "(($ac_try" in
18707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18708 *) ac_try_echo=$ac_try;;
18710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18711 (eval "$ac_compile") 2>conftest.er1
18713 grep -v '^ *+' conftest.er1 >conftest.err
18715 cat conftest.err >&5
18716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717 (exit $ac_status); } && {
18718 test -z "$ac_c_werror_flag" ||
18719 test ! -s conftest.err
18720 } && test -s conftest.$ac_objext; then
18721 ac_cv_member_struct_sockaddr_sa_len=yes
18723 echo "$as_me: failed program was:" >&5
18724 sed 's/^/| /' conftest.$ac_ext >&5
18726 cat >conftest.$ac_ext <<_ACEOF
18729 cat confdefs.h >>conftest.$ac_ext
18730 cat >>conftest.$ac_ext <<_ACEOF
18731 /* end confdefs.h. */
18732 #include <sys/types.h>
18733 #ifdef HAVE_SYS_SOCKET_H
18734 # include <sys/socket.h>
18736 #ifdef HAVE_SYS_UN_H
18737 # include <sys/un.h>
18743 static struct sockaddr ac_aggr;
18744 if (sizeof ac_aggr.sa_len)
18750 rm -f conftest.$ac_objext
18751 if { (ac_try="$ac_compile"
18752 case "(($ac_try" in
18753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18754 *) ac_try_echo=$ac_try;;
18756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18757 (eval "$ac_compile") 2>conftest.er1
18759 grep -v '^ *+' conftest.er1 >conftest.err
18761 cat conftest.err >&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } && {
18764 test -z "$ac_c_werror_flag" ||
18765 test ! -s conftest.err
18766 } && test -s conftest.$ac_objext; then
18767 ac_cv_member_struct_sockaddr_sa_len=yes
18769 echo "$as_me: failed program was:" >&5
18770 sed 's/^/| /' conftest.$ac_ext >&5
18772 ac_cv_member_struct_sockaddr_sa_len=no
18775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18780 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18781 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18782 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18784 cat >>confdefs.h <<_ACEOF
18785 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18790 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18791 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18792 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18793 echo $ECHO_N "(cached) $ECHO_C" >&6
18795 cat >conftest.$ac_ext <<_ACEOF
18798 cat confdefs.h >>conftest.$ac_ext
18799 cat >>conftest.$ac_ext <<_ACEOF
18800 /* end confdefs.h. */
18801 #include <sys/types.h>
18802 #ifdef HAVE_SYS_SOCKET_H
18803 # include <sys/socket.h>
18805 #ifdef HAVE_SYS_UN_H
18806 # include <sys/un.h>
18812 static struct sockaddr_un ac_aggr;
18813 if (ac_aggr.sun_len)
18819 rm -f conftest.$ac_objext
18820 if { (ac_try="$ac_compile"
18821 case "(($ac_try" in
18822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18823 *) ac_try_echo=$ac_try;;
18825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18826 (eval "$ac_compile") 2>conftest.er1
18828 grep -v '^ *+' conftest.er1 >conftest.err
18830 cat conftest.err >&5
18831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18832 (exit $ac_status); } && {
18833 test -z "$ac_c_werror_flag" ||
18834 test ! -s conftest.err
18835 } && test -s conftest.$ac_objext; then
18836 ac_cv_member_struct_sockaddr_un_sun_len=yes
18838 echo "$as_me: failed program was:" >&5
18839 sed 's/^/| /' conftest.$ac_ext >&5
18841 cat >conftest.$ac_ext <<_ACEOF
18844 cat confdefs.h >>conftest.$ac_ext
18845 cat >>conftest.$ac_ext <<_ACEOF
18846 /* end confdefs.h. */
18847 #include <sys/types.h>
18848 #ifdef HAVE_SYS_SOCKET_H
18849 # include <sys/socket.h>
18851 #ifdef HAVE_SYS_UN_H
18852 # include <sys/un.h>
18858 static struct sockaddr_un ac_aggr;
18859 if (sizeof ac_aggr.sun_len)
18865 rm -f conftest.$ac_objext
18866 if { (ac_try="$ac_compile"
18867 case "(($ac_try" in
18868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18869 *) ac_try_echo=$ac_try;;
18871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18872 (eval "$ac_compile") 2>conftest.er1
18874 grep -v '^ *+' conftest.er1 >conftest.err
18876 cat conftest.err >&5
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); } && {
18879 test -z "$ac_c_werror_flag" ||
18880 test ! -s conftest.err
18881 } && test -s conftest.$ac_objext; then
18882 ac_cv_member_struct_sockaddr_un_sun_len=yes
18884 echo "$as_me: failed program was:" >&5
18885 sed 's/^/| /' conftest.$ac_ext >&5
18887 ac_cv_member_struct_sockaddr_un_sun_len=no
18890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18895 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18896 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18897 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18899 cat >>confdefs.h <<_ACEOF
18900 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18907 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18908 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18909 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18910 echo $ECHO_N "(cached) $ECHO_C" >&6
18912 cat >conftest.$ac_ext <<_ACEOF
18915 cat confdefs.h >>conftest.$ac_ext
18916 cat >>conftest.$ac_ext <<_ACEOF
18917 /* end confdefs.h. */
18918 #include <sys/types.h>
18919 #ifdef HAVE_SCSI_SG_H
18920 #include <scsi/sg.h>
18926 static scsireq_t ac_aggr;
18933 rm -f conftest.$ac_objext
18934 if { (ac_try="$ac_compile"
18935 case "(($ac_try" in
18936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18937 *) ac_try_echo=$ac_try;;
18939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18940 (eval "$ac_compile") 2>conftest.er1
18942 grep -v '^ *+' conftest.er1 >conftest.err
18944 cat conftest.err >&5
18945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946 (exit $ac_status); } && {
18947 test -z "$ac_c_werror_flag" ||
18948 test ! -s conftest.err
18949 } && test -s conftest.$ac_objext; then
18950 ac_cv_member_scsireq_t_cmd=yes
18952 echo "$as_me: failed program was:" >&5
18953 sed 's/^/| /' conftest.$ac_ext >&5
18955 cat >conftest.$ac_ext <<_ACEOF
18958 cat confdefs.h >>conftest.$ac_ext
18959 cat >>conftest.$ac_ext <<_ACEOF
18960 /* end confdefs.h. */
18961 #include <sys/types.h>
18962 #ifdef HAVE_SCSI_SG_H
18963 #include <scsi/sg.h>
18969 static scsireq_t ac_aggr;
18970 if (sizeof ac_aggr.cmd)
18976 rm -f conftest.$ac_objext
18977 if { (ac_try="$ac_compile"
18978 case "(($ac_try" in
18979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18980 *) ac_try_echo=$ac_try;;
18982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18983 (eval "$ac_compile") 2>conftest.er1
18985 grep -v '^ *+' conftest.er1 >conftest.err
18987 cat conftest.err >&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } && {
18990 test -z "$ac_c_werror_flag" ||
18991 test ! -s conftest.err
18992 } && test -s conftest.$ac_objext; then
18993 ac_cv_member_scsireq_t_cmd=yes
18995 echo "$as_me: failed program was:" >&5
18996 sed 's/^/| /' conftest.$ac_ext >&5
18998 ac_cv_member_scsireq_t_cmd=no
19001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19006 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19007 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19008 if test $ac_cv_member_scsireq_t_cmd = yes; then
19010 cat >>confdefs.h <<_ACEOF
19011 #define HAVE_SCSIREQ_T_CMD 1
19016 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19017 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19018 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19019 echo $ECHO_N "(cached) $ECHO_C" >&6
19021 cat >conftest.$ac_ext <<_ACEOF
19024 cat confdefs.h >>conftest.$ac_ext
19025 cat >>conftest.$ac_ext <<_ACEOF
19026 /* end confdefs.h. */
19027 #include <sys/types.h>
19028 #ifdef HAVE_SCSI_SG_H
19029 #include <scsi/sg.h>
19035 static sg_io_hdr_t ac_aggr;
19036 if (ac_aggr.interface_id)
19042 rm -f conftest.$ac_objext
19043 if { (ac_try="$ac_compile"
19044 case "(($ac_try" in
19045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19046 *) ac_try_echo=$ac_try;;
19048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19049 (eval "$ac_compile") 2>conftest.er1
19051 grep -v '^ *+' conftest.er1 >conftest.err
19053 cat conftest.err >&5
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); } && {
19056 test -z "$ac_c_werror_flag" ||
19057 test ! -s conftest.err
19058 } && test -s conftest.$ac_objext; then
19059 ac_cv_member_sg_io_hdr_t_interface_id=yes
19061 echo "$as_me: failed program was:" >&5
19062 sed 's/^/| /' conftest.$ac_ext >&5
19064 cat >conftest.$ac_ext <<_ACEOF
19067 cat confdefs.h >>conftest.$ac_ext
19068 cat >>conftest.$ac_ext <<_ACEOF
19069 /* end confdefs.h. */
19070 #include <sys/types.h>
19071 #ifdef HAVE_SCSI_SG_H
19072 #include <scsi/sg.h>
19078 static sg_io_hdr_t ac_aggr;
19079 if (sizeof ac_aggr.interface_id)
19085 rm -f conftest.$ac_objext
19086 if { (ac_try="$ac_compile"
19087 case "(($ac_try" in
19088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19089 *) ac_try_echo=$ac_try;;
19091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19092 (eval "$ac_compile") 2>conftest.er1
19094 grep -v '^ *+' conftest.er1 >conftest.err
19096 cat conftest.err >&5
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); } && {
19099 test -z "$ac_c_werror_flag" ||
19100 test ! -s conftest.err
19101 } && test -s conftest.$ac_objext; then
19102 ac_cv_member_sg_io_hdr_t_interface_id=yes
19104 echo "$as_me: failed program was:" >&5
19105 sed 's/^/| /' conftest.$ac_ext >&5
19107 ac_cv_member_sg_io_hdr_t_interface_id=no
19110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19115 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19116 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19117 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19119 cat >>confdefs.h <<_ACEOF
19120 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19127 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19128 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19129 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19130 echo $ECHO_N "(cached) $ECHO_C" >&6
19132 cat >conftest.$ac_ext <<_ACEOF
19135 cat confdefs.h >>conftest.$ac_ext
19136 cat >>conftest.$ac_ext <<_ACEOF
19137 /* end confdefs.h. */
19138 #include <signal.h>
19143 static siginfo_t ac_aggr;
19150 rm -f conftest.$ac_objext
19151 if { (ac_try="$ac_compile"
19152 case "(($ac_try" in
19153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19154 *) ac_try_echo=$ac_try;;
19156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19157 (eval "$ac_compile") 2>conftest.er1
19159 grep -v '^ *+' conftest.er1 >conftest.err
19161 cat conftest.err >&5
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); } && {
19164 test -z "$ac_c_werror_flag" ||
19165 test ! -s conftest.err
19166 } && test -s conftest.$ac_objext; then
19167 ac_cv_member_siginfo_t_si_fd=yes
19169 echo "$as_me: failed program was:" >&5
19170 sed 's/^/| /' conftest.$ac_ext >&5
19172 cat >conftest.$ac_ext <<_ACEOF
19175 cat confdefs.h >>conftest.$ac_ext
19176 cat >>conftest.$ac_ext <<_ACEOF
19177 /* end confdefs.h. */
19178 #include <signal.h>
19183 static siginfo_t ac_aggr;
19184 if (sizeof ac_aggr.si_fd)
19190 rm -f conftest.$ac_objext
19191 if { (ac_try="$ac_compile"
19192 case "(($ac_try" in
19193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19194 *) ac_try_echo=$ac_try;;
19196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19197 (eval "$ac_compile") 2>conftest.er1
19199 grep -v '^ *+' conftest.er1 >conftest.err
19201 cat conftest.err >&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); } && {
19204 test -z "$ac_c_werror_flag" ||
19205 test ! -s conftest.err
19206 } && test -s conftest.$ac_objext; then
19207 ac_cv_member_siginfo_t_si_fd=yes
19209 echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.$ac_ext >&5
19212 ac_cv_member_siginfo_t_si_fd=no
19215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19220 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19221 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19222 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19224 cat >>confdefs.h <<_ACEOF
19225 #define HAVE_SIGINFO_T_SI_FD 1
19232 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19233 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19234 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19235 echo $ECHO_N "(cached) $ECHO_C" >&6
19237 cat >conftest.$ac_ext <<_ACEOF
19240 cat confdefs.h >>conftest.$ac_ext
19241 cat >>conftest.$ac_ext <<_ACEOF
19242 /* end confdefs.h. */
19243 #include <sys/types.h>
19244 #ifdef HAVE_SYS_MTIO_H
19245 #include <sys/mtio.h>
19251 static struct mtget ac_aggr;
19252 if (ac_aggr.mt_blksiz)
19258 rm -f conftest.$ac_objext
19259 if { (ac_try="$ac_compile"
19260 case "(($ac_try" in
19261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19262 *) ac_try_echo=$ac_try;;
19264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19265 (eval "$ac_compile") 2>conftest.er1
19267 grep -v '^ *+' conftest.er1 >conftest.err
19269 cat conftest.err >&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); } && {
19272 test -z "$ac_c_werror_flag" ||
19273 test ! -s conftest.err
19274 } && test -s conftest.$ac_objext; then
19275 ac_cv_member_struct_mtget_mt_blksiz=yes
19277 echo "$as_me: failed program was:" >&5
19278 sed 's/^/| /' conftest.$ac_ext >&5
19280 cat >conftest.$ac_ext <<_ACEOF
19283 cat confdefs.h >>conftest.$ac_ext
19284 cat >>conftest.$ac_ext <<_ACEOF
19285 /* end confdefs.h. */
19286 #include <sys/types.h>
19287 #ifdef HAVE_SYS_MTIO_H
19288 #include <sys/mtio.h>
19294 static struct mtget ac_aggr;
19295 if (sizeof ac_aggr.mt_blksiz)
19301 rm -f conftest.$ac_objext
19302 if { (ac_try="$ac_compile"
19303 case "(($ac_try" in
19304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19305 *) ac_try_echo=$ac_try;;
19307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19308 (eval "$ac_compile") 2>conftest.er1
19310 grep -v '^ *+' conftest.er1 >conftest.err
19312 cat conftest.err >&5
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); } && {
19315 test -z "$ac_c_werror_flag" ||
19316 test ! -s conftest.err
19317 } && test -s conftest.$ac_objext; then
19318 ac_cv_member_struct_mtget_mt_blksiz=yes
19320 echo "$as_me: failed program was:" >&5
19321 sed 's/^/| /' conftest.$ac_ext >&5
19323 ac_cv_member_struct_mtget_mt_blksiz=no
19326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19331 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19332 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19333 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19335 cat >>confdefs.h <<_ACEOF
19336 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19341 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19342 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19343 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19344 echo $ECHO_N "(cached) $ECHO_C" >&6
19346 cat >conftest.$ac_ext <<_ACEOF
19349 cat confdefs.h >>conftest.$ac_ext
19350 cat >>conftest.$ac_ext <<_ACEOF
19351 /* end confdefs.h. */
19352 #include <sys/types.h>
19353 #ifdef HAVE_SYS_MTIO_H
19354 #include <sys/mtio.h>
19360 static struct mtget ac_aggr;
19361 if (ac_aggr.mt_gstat)
19367 rm -f conftest.$ac_objext
19368 if { (ac_try="$ac_compile"
19369 case "(($ac_try" in
19370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19371 *) ac_try_echo=$ac_try;;
19373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19374 (eval "$ac_compile") 2>conftest.er1
19376 grep -v '^ *+' conftest.er1 >conftest.err
19378 cat conftest.err >&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); } && {
19381 test -z "$ac_c_werror_flag" ||
19382 test ! -s conftest.err
19383 } && test -s conftest.$ac_objext; then
19384 ac_cv_member_struct_mtget_mt_gstat=yes
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.$ac_ext >&5
19389 cat >conftest.$ac_ext <<_ACEOF
19392 cat confdefs.h >>conftest.$ac_ext
19393 cat >>conftest.$ac_ext <<_ACEOF
19394 /* end confdefs.h. */
19395 #include <sys/types.h>
19396 #ifdef HAVE_SYS_MTIO_H
19397 #include <sys/mtio.h>
19403 static struct mtget ac_aggr;
19404 if (sizeof ac_aggr.mt_gstat)
19410 rm -f conftest.$ac_objext
19411 if { (ac_try="$ac_compile"
19412 case "(($ac_try" in
19413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19414 *) ac_try_echo=$ac_try;;
19416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19417 (eval "$ac_compile") 2>conftest.er1
19419 grep -v '^ *+' conftest.er1 >conftest.err
19421 cat conftest.err >&5
19422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19423 (exit $ac_status); } && {
19424 test -z "$ac_c_werror_flag" ||
19425 test ! -s conftest.err
19426 } && test -s conftest.$ac_objext; then
19427 ac_cv_member_struct_mtget_mt_gstat=yes
19429 echo "$as_me: failed program was:" >&5
19430 sed 's/^/| /' conftest.$ac_ext >&5
19432 ac_cv_member_struct_mtget_mt_gstat=no
19435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19440 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19441 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19442 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19444 cat >>confdefs.h <<_ACEOF
19445 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19450 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19451 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19452 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19453 echo $ECHO_N "(cached) $ECHO_C" >&6
19455 cat >conftest.$ac_ext <<_ACEOF
19458 cat confdefs.h >>conftest.$ac_ext
19459 cat >>conftest.$ac_ext <<_ACEOF
19460 /* end confdefs.h. */
19461 #include <sys/types.h>
19462 #ifdef HAVE_SYS_MTIO_H
19463 #include <sys/mtio.h>
19469 static struct mtget ac_aggr;
19470 if (ac_aggr.mt_blkno)
19476 rm -f conftest.$ac_objext
19477 if { (ac_try="$ac_compile"
19478 case "(($ac_try" in
19479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19480 *) ac_try_echo=$ac_try;;
19482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19483 (eval "$ac_compile") 2>conftest.er1
19485 grep -v '^ *+' conftest.er1 >conftest.err
19487 cat conftest.err >&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); } && {
19490 test -z "$ac_c_werror_flag" ||
19491 test ! -s conftest.err
19492 } && test -s conftest.$ac_objext; then
19493 ac_cv_member_struct_mtget_mt_blkno=yes
19495 echo "$as_me: failed program was:" >&5
19496 sed 's/^/| /' conftest.$ac_ext >&5
19498 cat >conftest.$ac_ext <<_ACEOF
19501 cat confdefs.h >>conftest.$ac_ext
19502 cat >>conftest.$ac_ext <<_ACEOF
19503 /* end confdefs.h. */
19504 #include <sys/types.h>
19505 #ifdef HAVE_SYS_MTIO_H
19506 #include <sys/mtio.h>
19512 static struct mtget ac_aggr;
19513 if (sizeof ac_aggr.mt_blkno)
19519 rm -f conftest.$ac_objext
19520 if { (ac_try="$ac_compile"
19521 case "(($ac_try" in
19522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19523 *) ac_try_echo=$ac_try;;
19525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19526 (eval "$ac_compile") 2>conftest.er1
19528 grep -v '^ *+' conftest.er1 >conftest.err
19530 cat conftest.err >&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); } && {
19533 test -z "$ac_c_werror_flag" ||
19534 test ! -s conftest.err
19535 } && test -s conftest.$ac_objext; then
19536 ac_cv_member_struct_mtget_mt_blkno=yes
19538 echo "$as_me: failed program was:" >&5
19539 sed 's/^/| /' conftest.$ac_ext >&5
19541 ac_cv_member_struct_mtget_mt_blkno=no
19544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19549 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19550 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19551 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19553 cat >>confdefs.h <<_ACEOF
19554 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19561 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19562 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19563 if test "${ac_cv_member_struct_option_name+set}" = set; then
19564 echo $ECHO_N "(cached) $ECHO_C" >&6
19566 cat >conftest.$ac_ext <<_ACEOF
19569 cat confdefs.h >>conftest.$ac_ext
19570 cat >>conftest.$ac_ext <<_ACEOF
19571 /* end confdefs.h. */
19572 #ifdef HAVE_GETOPT_H
19573 #include <getopt.h>
19579 static struct option ac_aggr;
19586 rm -f conftest.$ac_objext
19587 if { (ac_try="$ac_compile"
19588 case "(($ac_try" in
19589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19590 *) ac_try_echo=$ac_try;;
19592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19593 (eval "$ac_compile") 2>conftest.er1
19595 grep -v '^ *+' conftest.er1 >conftest.err
19597 cat conftest.err >&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); } && {
19600 test -z "$ac_c_werror_flag" ||
19601 test ! -s conftest.err
19602 } && test -s conftest.$ac_objext; then
19603 ac_cv_member_struct_option_name=yes
19605 echo "$as_me: failed program was:" >&5
19606 sed 's/^/| /' conftest.$ac_ext >&5
19608 cat >conftest.$ac_ext <<_ACEOF
19611 cat confdefs.h >>conftest.$ac_ext
19612 cat >>conftest.$ac_ext <<_ACEOF
19613 /* end confdefs.h. */
19614 #ifdef HAVE_GETOPT_H
19615 #include <getopt.h>
19621 static struct option ac_aggr;
19622 if (sizeof ac_aggr.name)
19628 rm -f conftest.$ac_objext
19629 if { (ac_try="$ac_compile"
19630 case "(($ac_try" in
19631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19632 *) ac_try_echo=$ac_try;;
19634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19635 (eval "$ac_compile") 2>conftest.er1
19637 grep -v '^ *+' conftest.er1 >conftest.err
19639 cat conftest.err >&5
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); } && {
19642 test -z "$ac_c_werror_flag" ||
19643 test ! -s conftest.err
19644 } && test -s conftest.$ac_objext; then
19645 ac_cv_member_struct_option_name=yes
19647 echo "$as_me: failed program was:" >&5
19648 sed 's/^/| /' conftest.$ac_ext >&5
19650 ac_cv_member_struct_option_name=no
19653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19658 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19659 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19660 if test $ac_cv_member_struct_option_name = yes; then
19662 cat >>confdefs.h <<_ACEOF
19663 #define HAVE_STRUCT_OPTION_NAME 1
19670 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19671 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19672 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19673 echo $ECHO_N "(cached) $ECHO_C" >&6
19675 cat >conftest.$ac_ext <<_ACEOF
19678 cat confdefs.h >>conftest.$ac_ext
19679 cat >>conftest.$ac_ext <<_ACEOF
19680 /* end confdefs.h. */
19681 $ac_includes_default
19685 static struct stat ac_aggr;
19686 if (ac_aggr.st_blocks)
19692 rm -f conftest.$ac_objext
19693 if { (ac_try="$ac_compile"
19694 case "(($ac_try" in
19695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19696 *) ac_try_echo=$ac_try;;
19698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19699 (eval "$ac_compile") 2>conftest.er1
19701 grep -v '^ *+' conftest.er1 >conftest.err
19703 cat conftest.err >&5
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); } && {
19706 test -z "$ac_c_werror_flag" ||
19707 test ! -s conftest.err
19708 } && test -s conftest.$ac_objext; then
19709 ac_cv_member_struct_stat_st_blocks=yes
19711 echo "$as_me: failed program was:" >&5
19712 sed 's/^/| /' conftest.$ac_ext >&5
19714 cat >conftest.$ac_ext <<_ACEOF
19717 cat confdefs.h >>conftest.$ac_ext
19718 cat >>conftest.$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19720 $ac_includes_default
19724 static struct stat ac_aggr;
19725 if (sizeof ac_aggr.st_blocks)
19731 rm -f conftest.$ac_objext
19732 if { (ac_try="$ac_compile"
19733 case "(($ac_try" in
19734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19735 *) ac_try_echo=$ac_try;;
19737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19738 (eval "$ac_compile") 2>conftest.er1
19740 grep -v '^ *+' conftest.er1 >conftest.err
19742 cat conftest.err >&5
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); } && {
19745 test -z "$ac_c_werror_flag" ||
19746 test ! -s conftest.err
19747 } && test -s conftest.$ac_objext; then
19748 ac_cv_member_struct_stat_st_blocks=yes
19750 echo "$as_me: failed program was:" >&5
19751 sed 's/^/| /' conftest.$ac_ext >&5
19753 ac_cv_member_struct_stat_st_blocks=no
19756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19761 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19762 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19763 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19765 cat >>confdefs.h <<_ACEOF
19766 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19773 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19774 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19775 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19776 echo $ECHO_N "(cached) $ECHO_C" >&6
19778 cat >conftest.$ac_ext <<_ACEOF
19781 cat confdefs.h >>conftest.$ac_ext
19782 cat >>conftest.$ac_ext <<_ACEOF
19783 /* end confdefs.h. */
19784 #ifdef HAVE_SYS_TYPES_H
19785 #include <sys/types.h>
19787 #ifdef HAVE_NETINET_IN_H
19788 #include <netinet/in.h>
19794 static struct sockaddr_in6 ac_aggr;
19795 if (ac_aggr.sin6_scope_id)
19801 rm -f conftest.$ac_objext
19802 if { (ac_try="$ac_compile"
19803 case "(($ac_try" in
19804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19805 *) ac_try_echo=$ac_try;;
19807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19808 (eval "$ac_compile") 2>conftest.er1
19810 grep -v '^ *+' conftest.er1 >conftest.err
19812 cat conftest.err >&5
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); } && {
19815 test -z "$ac_c_werror_flag" ||
19816 test ! -s conftest.err
19817 } && test -s conftest.$ac_objext; then
19818 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19820 echo "$as_me: failed program was:" >&5
19821 sed 's/^/| /' conftest.$ac_ext >&5
19823 cat >conftest.$ac_ext <<_ACEOF
19826 cat confdefs.h >>conftest.$ac_ext
19827 cat >>conftest.$ac_ext <<_ACEOF
19828 /* end confdefs.h. */
19829 #ifdef HAVE_SYS_TYPES_H
19830 #include <sys/types.h>
19832 #ifdef HAVE_NETINET_IN_H
19833 #include <netinet/in.h>
19839 static struct sockaddr_in6 ac_aggr;
19840 if (sizeof ac_aggr.sin6_scope_id)
19846 rm -f conftest.$ac_objext
19847 if { (ac_try="$ac_compile"
19848 case "(($ac_try" in
19849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19850 *) ac_try_echo=$ac_try;;
19852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19853 (eval "$ac_compile") 2>conftest.er1
19855 grep -v '^ *+' conftest.er1 >conftest.err
19857 cat conftest.err >&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } && {
19860 test -z "$ac_c_werror_flag" ||
19861 test ! -s conftest.err
19862 } && test -s conftest.$ac_objext; then
19863 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19865 echo "$as_me: failed program was:" >&5
19866 sed 's/^/| /' conftest.$ac_ext >&5
19868 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19876 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19877 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19878 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19880 cat >>confdefs.h <<_ACEOF
19881 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19888 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19889 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19890 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19891 echo $ECHO_N "(cached) $ECHO_C" >&6
19893 cat >conftest.$ac_ext <<_ACEOF
19896 cat confdefs.h >>conftest.$ac_ext
19897 cat >>conftest.$ac_ext <<_ACEOF
19898 /* end confdefs.h. */
19899 #ifdef HAVE_SYS_TYPES_H
19900 #include <sys/types.h>
19902 #ifdef HAVE_NETINET_IN_H
19903 # include <netinet/in.h>
19905 #ifdef HAVE_ARPA_NAMESER_H
19906 # include <arpa/nameser.h>
19912 static ns_msg ac_aggr;
19913 if (ac_aggr._msg_ptr)
19919 rm -f conftest.$ac_objext
19920 if { (ac_try="$ac_compile"
19921 case "(($ac_try" in
19922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19923 *) ac_try_echo=$ac_try;;
19925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19926 (eval "$ac_compile") 2>conftest.er1
19928 grep -v '^ *+' conftest.er1 >conftest.err
19930 cat conftest.err >&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); } && {
19933 test -z "$ac_c_werror_flag" ||
19934 test ! -s conftest.err
19935 } && test -s conftest.$ac_objext; then
19936 ac_cv_member_ns_msg__msg_ptr=yes
19938 echo "$as_me: failed program was:" >&5
19939 sed 's/^/| /' conftest.$ac_ext >&5
19941 cat >conftest.$ac_ext <<_ACEOF
19944 cat confdefs.h >>conftest.$ac_ext
19945 cat >>conftest.$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19947 #ifdef HAVE_SYS_TYPES_H
19948 #include <sys/types.h>
19950 #ifdef HAVE_NETINET_IN_H
19951 # include <netinet/in.h>
19953 #ifdef HAVE_ARPA_NAMESER_H
19954 # include <arpa/nameser.h>
19960 static ns_msg ac_aggr;
19961 if (sizeof ac_aggr._msg_ptr)
19967 rm -f conftest.$ac_objext
19968 if { (ac_try="$ac_compile"
19969 case "(($ac_try" in
19970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19971 *) ac_try_echo=$ac_try;;
19973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19974 (eval "$ac_compile") 2>conftest.er1
19976 grep -v '^ *+' conftest.er1 >conftest.err
19978 cat conftest.err >&5
19979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19980 (exit $ac_status); } && {
19981 test -z "$ac_c_werror_flag" ||
19982 test ! -s conftest.err
19983 } && test -s conftest.$ac_objext; then
19984 ac_cv_member_ns_msg__msg_ptr=yes
19986 echo "$as_me: failed program was:" >&5
19987 sed 's/^/| /' conftest.$ac_ext >&5
19989 ac_cv_member_ns_msg__msg_ptr=no
19992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19997 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19998 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19999 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20001 cat >>confdefs.h <<_ACEOF
20002 #define HAVE_NS_MSG__MSG_PTR 1
20009 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20010 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20011 if test "${ac_cv_have_timezone+set}" = set; then
20012 echo $ECHO_N "(cached) $ECHO_C" >&6
20014 cat >conftest.$ac_ext <<_ACEOF
20017 cat confdefs.h >>conftest.$ac_ext
20018 cat >>conftest.$ac_ext <<_ACEOF
20019 /* end confdefs.h. */
20029 rm -f conftest.$ac_objext conftest$ac_exeext
20030 if { (ac_try="$ac_link"
20031 case "(($ac_try" in
20032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20033 *) ac_try_echo=$ac_try;;
20035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20036 (eval "$ac_link") 2>conftest.er1
20038 grep -v '^ *+' conftest.er1 >conftest.err
20040 cat conftest.err >&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); } && {
20043 test -z "$ac_c_werror_flag" ||
20044 test ! -s conftest.err
20045 } && test -s conftest$ac_exeext &&
20046 $as_test_x conftest$ac_exeext; then
20047 ac_cv_have_timezone="yes"
20049 echo "$as_me: failed program was:" >&5
20050 sed 's/^/| /' conftest.$ac_ext >&5
20052 ac_cv_have_timezone="no"
20055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20056 conftest$ac_exeext conftest.$ac_ext
20058 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20059 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20060 if test "$ac_cv_have_timezone" = "yes"
20063 cat >>confdefs.h <<\_ACEOF
20064 #define HAVE_TIMEZONE 1
20068 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20069 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20070 if test "${ac_cv_have_daylight+set}" = set; then
20071 echo $ECHO_N "(cached) $ECHO_C" >&6
20073 cat >conftest.$ac_ext <<_ACEOF
20076 cat confdefs.h >>conftest.$ac_ext
20077 cat >>conftest.$ac_ext <<_ACEOF
20078 /* end confdefs.h. */
20088 rm -f conftest.$ac_objext conftest$ac_exeext
20089 if { (ac_try="$ac_link"
20090 case "(($ac_try" in
20091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20092 *) ac_try_echo=$ac_try;;
20094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20095 (eval "$ac_link") 2>conftest.er1
20097 grep -v '^ *+' conftest.er1 >conftest.err
20099 cat conftest.err >&5
20100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20101 (exit $ac_status); } && {
20102 test -z "$ac_c_werror_flag" ||
20103 test ! -s conftest.err
20104 } && test -s conftest$ac_exeext &&
20105 $as_test_x conftest$ac_exeext; then
20106 ac_cv_have_daylight="yes"
20108 echo "$as_me: failed program was:" >&5
20109 sed 's/^/| /' conftest.$ac_ext >&5
20111 ac_cv_have_daylight="no"
20114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20115 conftest$ac_exeext conftest.$ac_ext
20117 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20118 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20119 if test "$ac_cv_have_daylight" = "yes"
20122 cat >>confdefs.h <<\_ACEOF
20123 #define HAVE_DAYLIGHT 1
20130 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20131 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20132 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20133 echo $ECHO_N "(cached) $ECHO_C" >&6
20135 cat >conftest.$ac_ext <<_ACEOF
20138 cat confdefs.h >>conftest.$ac_ext
20139 cat >>conftest.$ac_ext <<_ACEOF
20140 /* end confdefs.h. */
20145 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20146 $EGREP "yes" >/dev/null 2>&1; then
20147 ac_cv_cpp_def___i386__=yes
20149 ac_cv_cpp_def___i386__=no
20154 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20155 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20156 if test $ac_cv_cpp_def___i386__ = yes; then
20157 CFLAGS="$CFLAGS -D__i386__"
20158 LINTFLAGS="$LINTFLAGS -D__i386__"
20161 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20162 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20163 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20164 echo $ECHO_N "(cached) $ECHO_C" >&6
20166 cat >conftest.$ac_ext <<_ACEOF
20169 cat confdefs.h >>conftest.$ac_ext
20170 cat >>conftest.$ac_ext <<_ACEOF
20171 /* end confdefs.h. */
20176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20177 $EGREP "yes" >/dev/null 2>&1; then
20178 ac_cv_cpp_def___x86_64__=yes
20180 ac_cv_cpp_def___x86_64__=no
20185 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20186 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20187 if test $ac_cv_cpp_def___x86_64__ = yes; then
20188 CFLAGS="$CFLAGS -D__x86_64__"
20189 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20192 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20193 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20194 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20195 echo $ECHO_N "(cached) $ECHO_C" >&6
20197 cat >conftest.$ac_ext <<_ACEOF
20200 cat confdefs.h >>conftest.$ac_ext
20201 cat >>conftest.$ac_ext <<_ACEOF
20202 /* end confdefs.h. */
20207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20208 $EGREP "yes" >/dev/null 2>&1; then
20209 ac_cv_cpp_def___ALPHA__=yes
20211 ac_cv_cpp_def___ALPHA__=no
20216 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20217 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20218 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20219 CFLAGS="$CFLAGS -D__ALPHA__"
20220 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20223 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20224 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20225 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20226 echo $ECHO_N "(cached) $ECHO_C" >&6
20228 cat >conftest.$ac_ext <<_ACEOF
20231 cat confdefs.h >>conftest.$ac_ext
20232 cat >>conftest.$ac_ext <<_ACEOF
20233 /* end confdefs.h. */
20238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20239 $EGREP "yes" >/dev/null 2>&1; then
20240 ac_cv_cpp_def___sparc__=yes
20242 ac_cv_cpp_def___sparc__=no
20247 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20248 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20249 if test $ac_cv_cpp_def___sparc__ = yes; then
20250 CFLAGS="$CFLAGS -D__sparc__"
20251 LINTFLAGS="$LINTFLAGS -D__sparc__"
20254 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20255 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20256 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20257 echo $ECHO_N "(cached) $ECHO_C" >&6
20259 cat >conftest.$ac_ext <<_ACEOF
20262 cat confdefs.h >>conftest.$ac_ext
20263 cat >>conftest.$ac_ext <<_ACEOF
20264 /* end confdefs.h. */
20265 #ifndef __powerpc__
20269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20270 $EGREP "yes" >/dev/null 2>&1; then
20271 ac_cv_cpp_def___powerpc__=yes
20273 ac_cv_cpp_def___powerpc__=no
20278 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20279 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20280 if test $ac_cv_cpp_def___powerpc__ = yes; then
20281 CFLAGS="$CFLAGS -D__powerpc__"
20282 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20287 case $host_vendor in
20288 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20289 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20290 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20291 echo $ECHO_N "(cached) $ECHO_C" >&6
20293 cat >conftest.$ac_ext <<_ACEOF
20296 cat confdefs.h >>conftest.$ac_ext
20297 cat >>conftest.$ac_ext <<_ACEOF
20298 /* end confdefs.h. */
20303 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20304 $EGREP "yes" >/dev/null 2>&1; then
20305 ac_cv_cpp_def___sun__=yes
20307 ac_cv_cpp_def___sun__=no
20312 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20313 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20314 if test $ac_cv_cpp_def___sun__ = yes; then
20315 CFLAGS="$CFLAGS -D__sun__"
20316 LINTFLAGS="$LINTFLAGS -D__sun__"
20322 DEPENDENCIES="### Dependencies:
20327 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20329 \$(OBJS): \$(IDL_GEN_HEADERS)
20330 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20331 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20332 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20338 ac_config_commands="$ac_config_commands include/stamp-h"
20341 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20343 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20345 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20347 ac_config_commands="$ac_config_commands dlls/user32/resources"
20349 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20351 ac_config_commands="$ac_config_commands include/wine"
20354 MAKE_RULES=Make.rules
20357 MAKE_DLL_RULES=dlls/Makedll.rules
20360 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20363 MAKE_TEST_RULES=dlls/Maketest.rules
20366 MAKE_PROG_RULES=programs/Makeprog.rules
20369 ac_config_files="$ac_config_files Make.rules"
20371 ac_config_files="$ac_config_files dlls/Makedll.rules"
20373 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20375 ac_config_files="$ac_config_files dlls/Maketest.rules"
20377 ac_config_files="$ac_config_files programs/Makeprog.rules"
20379 ac_config_files="$ac_config_files Makefile"
20381 ac_config_files="$ac_config_files dlls/Makefile"
20383 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20385 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20387 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20389 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20391 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20393 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20395 ac_config_files="$ac_config_files dlls/atl/Makefile"
20397 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20399 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20401 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20403 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20405 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20407 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20409 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20411 ac_config_files="$ac_config_files dlls/cards/Makefile"
20413 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20415 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20417 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20419 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20421 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20423 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20425 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20427 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20429 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20431 ac_config_files="$ac_config_files dlls/credui/Makefile"
20433 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20435 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20437 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20439 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20441 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20443 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20445 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20447 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20449 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20451 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20453 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20455 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20457 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20459 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20461 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20463 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20465 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20467 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20469 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20471 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20473 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20475 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20477 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20479 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20481 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20483 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20485 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20487 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20489 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20491 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20493 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20495 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20497 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20499 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20501 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20503 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20505 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20507 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20509 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20511 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20513 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20515 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20517 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20519 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20521 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20523 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20525 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20527 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20529 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20531 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20533 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20535 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20537 ac_config_files="$ac_config_files dlls/hid/Makefile"
20539 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20541 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20543 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20545 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20547 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20549 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20551 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20553 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20555 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20557 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20559 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20561 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20563 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20565 ac_config_files="$ac_config_files dlls/itss/Makefile"
20567 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20569 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20571 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20573 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20575 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20577 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20579 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20581 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20583 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20585 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20587 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20589 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20591 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20593 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20595 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20597 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20599 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20601 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20603 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20605 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20607 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20609 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20611 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20613 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20615 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20617 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20619 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20621 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20623 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20625 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20627 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20629 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20631 ac_config_files="$ac_config_files dlls/msi/Makefile"
20633 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20635 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20637 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20639 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20641 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20643 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20645 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20647 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20649 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20651 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20653 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20655 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20657 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20659 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20661 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20663 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20665 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20667 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20669 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20671 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20673 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20675 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20677 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20679 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20681 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20683 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20685 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20687 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20689 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20691 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20693 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20695 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20697 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20699 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20701 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20703 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20705 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20707 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20709 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20711 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20713 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20715 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20717 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20719 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20721 ac_config_files="$ac_config_files dlls/query/Makefile"
20723 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20725 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20727 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20729 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20731 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20733 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20735 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20737 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20739 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20741 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20743 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20745 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20747 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20749 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20751 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20753 ac_config_files="$ac_config_files dlls/security/Makefile"
20755 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20757 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20759 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20761 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20763 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20765 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20767 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20769 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20771 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20773 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20775 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20777 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20779 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20781 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20783 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20785 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20787 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20789 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20791 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20793 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20795 ac_config_files="$ac_config_files dlls/sti/Makefile"
20797 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20799 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20801 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20803 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20805 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20807 ac_config_files="$ac_config_files dlls/url/Makefile"
20809 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20811 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20813 ac_config_files="$ac_config_files dlls/user32/Makefile"
20815 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20817 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20819 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20821 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20823 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20825 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20827 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20829 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20831 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20833 ac_config_files="$ac_config_files dlls/version/Makefile"
20835 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20837 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20839 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20841 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20843 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20845 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20847 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20849 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20851 ac_config_files="$ac_config_files dlls/winearts.drv/Makefile"
20853 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20855 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20857 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20859 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20861 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20863 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20865 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20867 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20869 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20871 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20873 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20875 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20877 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20879 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20881 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20883 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20885 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20887 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20889 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20891 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20893 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20895 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20897 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20899 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20901 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20903 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20905 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20907 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20909 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20911 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20913 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20915 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20917 ac_config_files="$ac_config_files documentation/Makefile"
20919 ac_config_files="$ac_config_files fonts/Makefile"
20921 ac_config_files="$ac_config_files include/Makefile"
20923 ac_config_files="$ac_config_files libs/Makefile"
20925 ac_config_files="$ac_config_files libs/port/Makefile"
20927 ac_config_files="$ac_config_files libs/wine/Makefile"
20929 ac_config_files="$ac_config_files libs/wpp/Makefile"
20931 ac_config_files="$ac_config_files loader/Makefile"
20933 ac_config_files="$ac_config_files programs/Makefile"
20935 ac_config_files="$ac_config_files programs/clock/Makefile"
20937 ac_config_files="$ac_config_files programs/cmd/Makefile"
20939 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20941 ac_config_files="$ac_config_files programs/control/Makefile"
20943 ac_config_files="$ac_config_files programs/eject/Makefile"
20945 ac_config_files="$ac_config_files programs/expand/Makefile"
20947 ac_config_files="$ac_config_files programs/explorer/Makefile"
20949 ac_config_files="$ac_config_files programs/hh/Makefile"
20951 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20953 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20955 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20957 ac_config_files="$ac_config_files programs/notepad/Makefile"
20959 ac_config_files="$ac_config_files programs/oleview/Makefile"
20961 ac_config_files="$ac_config_files programs/progman/Makefile"
20963 ac_config_files="$ac_config_files programs/regedit/Makefile"
20965 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20967 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20969 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20971 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20973 ac_config_files="$ac_config_files programs/start/Makefile"
20975 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20977 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20979 ac_config_files="$ac_config_files programs/view/Makefile"
20981 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20983 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20985 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20987 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20989 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20991 ac_config_files="$ac_config_files programs/winefile/Makefile"
20993 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20995 ac_config_files="$ac_config_files programs/winemine/Makefile"
20997 ac_config_files="$ac_config_files programs/winepath/Makefile"
20999 ac_config_files="$ac_config_files programs/winetest/Makefile"
21001 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21003 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21005 ac_config_files="$ac_config_files programs/winver/Makefile"
21007 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21009 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21011 ac_config_files="$ac_config_files server/Makefile"
21013 ac_config_files="$ac_config_files tools/Makefile"
21015 ac_config_files="$ac_config_files tools/widl/Makefile"
21017 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21019 ac_config_files="$ac_config_files tools/winedump/Makefile"
21021 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21023 ac_config_files="$ac_config_files tools/wmc/Makefile"
21025 ac_config_files="$ac_config_files tools/wrc/Makefile"
21028 cat >confcache <<\_ACEOF
21029 # This file is a shell script that caches the results of configure
21030 # tests run on this system so they can be shared between configure
21031 # scripts and configure runs, see configure's option --config-cache.
21032 # It is not useful on other systems. If it contains results you don't
21033 # want to keep, you may remove or edit it.
21035 # config.status only pays attention to the cache file if you give it
21036 # the --recheck option to rerun configure.
21038 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21039 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21040 # following values.
21044 # The following way of writing the cache mishandles newlines in values,
21045 # but we know of no workaround that is simple, portable, and efficient.
21046 # So, we kill variables containing newlines.
21047 # Ultrix sh set writes to stderr and can't be redirected directly,
21048 # and sets the high bit in the cache file unless we assign to the vars.
21050 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21051 eval ac_val=\$$ac_var
21055 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21056 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21059 _ | IFS | as_nl) ;; #(
21060 *) $as_unset $ac_var ;;
21066 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21067 *${as_nl}ac_space=\ *)
21068 # `set' does not quote correctly, so add quotes (double-quote
21069 # substitution turns \\\\ into \\, and sed turns \\ into \).
21072 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21075 # `set' quotes correctly as required by POSIX, so do not add quotes.
21076 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21085 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21087 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21089 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21090 if test -w "$cache_file"; then
21091 test "x$cache_file" != "x/dev/null" &&
21092 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21093 echo "$as_me: updating cache $cache_file" >&6;}
21094 cat confcache >$cache_file
21096 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21097 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21102 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21103 # Let make expand exec_prefix.
21104 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21106 DEFS=-DHAVE_CONFIG_H
21110 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21111 # 1. Remove the extension, and $U if already installed.
21112 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21113 ac_i=`echo "$ac_i" | sed "$ac_script"`
21114 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21115 # will be set to the directory where LIBOBJS objects are built.
21116 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21117 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21119 LIBOBJS=$ac_libobjs
21121 LTLIBOBJS=$ac_ltlibobjs
21125 : ${CONFIG_STATUS=./config.status}
21126 ac_clean_files_save=$ac_clean_files
21127 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21128 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21129 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21130 cat >$CONFIG_STATUS <<_ACEOF
21132 # Generated by $as_me.
21133 # Run this file to recreate the current configuration.
21134 # Compiler output produced by configure, useful for debugging
21135 # configure, is in config.log if it exists.
21138 ac_cs_recheck=false
21140 SHELL=\${CONFIG_SHELL-$SHELL}
21143 cat >>$CONFIG_STATUS <<\_ACEOF
21144 ## --------------------- ##
21145 ## M4sh Initialization. ##
21146 ## --------------------- ##
21148 # Be more Bourne compatible
21149 DUALCASE=1; export DUALCASE # for MKS sh
21150 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21153 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21154 # is contrary to our usage. Disable this feature.
21155 alias -g '${1+"$@"}'='"$@"'
21156 setopt NO_GLOB_SUBST
21158 case `(set -o) 2>/dev/null` in
21159 *posix*) set -o posix ;;
21168 # Avoid depending upon Character Ranges.
21169 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21170 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21171 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21172 as_cr_digits='0123456789'
21173 as_cr_alnum=$as_cr_Letters$as_cr_digits
21175 # The user is always right.
21176 if test "${PATH_SEPARATOR+set}" != set; then
21177 echo "#! /bin/sh" >conf$$.sh
21178 echo "exit 0" >>conf$$.sh
21180 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21188 # Support unset when possible.
21189 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21197 # We need space, tab and new line, in precisely that order. Quoting is
21198 # there to prevent editors from complaining about space-tab.
21199 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21200 # splitting by setting IFS to empty value.)
21205 # Find who we are. Look in the path if we contain no directory separator.
21207 *[\\/]* ) as_myself=$0 ;;
21208 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21209 for as_dir in $PATH
21212 test -z "$as_dir" && as_dir=.
21213 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21219 # We did not find ourselves, most probably we were run as `sh COMMAND'
21220 # in which case we are not to be found in the path.
21221 if test "x$as_myself" = x; then
21224 if test ! -f "$as_myself"; then
21225 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21226 { (exit 1); exit 1; }
21229 # Work around bugs in pre-3.0 UWIN ksh.
21230 for as_var in ENV MAIL MAILPATH
21231 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21239 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21240 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21241 LC_TELEPHONE LC_TIME
21243 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21244 eval $as_var=C; export $as_var
21246 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21250 # Required to use basename.
21251 if expr a : '\(a\)' >/dev/null 2>&1 &&
21252 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21258 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21259 as_basename=basename
21265 # Name of the executable.
21266 as_me=`$as_basename -- "$0" ||
21267 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21268 X"$0" : 'X\(//\)$' \| \
21269 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21271 sed '/^.*\/\([^/][^/]*\)\/*$/{
21290 as_lineno_1=$LINENO
21291 as_lineno_2=$LINENO
21292 test "x$as_lineno_1" != "x$as_lineno_2" &&
21293 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21295 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21296 # uniformly replaced by the line number. The first 'sed' inserts a
21297 # line-number line after each line using $LINENO; the second 'sed'
21298 # does the real work. The second script uses 'N' to pair each
21299 # line-number line with the line containing $LINENO, and appends
21300 # trailing '-' during substitution so that $LINENO is not a special
21301 # case at line end.
21302 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21303 # scripts with optimization help from Paolo Bonzini. Blame Lee
21304 # E. McMahon (1931-1989) for sed's syntax. :-)
21316 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21319 ' >$as_me.lineno &&
21320 chmod +x "$as_me.lineno" ||
21321 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21322 { (exit 1); exit 1; }; }
21324 # Don't try to exec as it changes $[0], causing all sort of problems
21325 # (the dirname of $[0] is not the place where we might find the
21326 # original and so on. Autoconf is especially sensitive to this).
21327 . "./$as_me.lineno"
21328 # Exit status is that of the last command.
21333 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21339 ECHO_C= ECHO_N= ECHO_T=
21340 case `echo -n x` in
21342 case `echo 'x\c'` in
21343 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21350 if expr a : '\(a\)' >/dev/null 2>&1 &&
21351 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21357 rm -f conf$$ conf$$.exe conf$$.file
21358 if test -d conf$$.dir; then
21359 rm -f conf$$.dir/conf$$.file
21365 if ln -s conf$$.file conf$$ 2>/dev/null; then
21367 # ... but there are two gotchas:
21368 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21369 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21370 # In both cases, we have to default to `cp -p'.
21371 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21373 elif ln conf$$.file conf$$ 2>/dev/null; then
21378 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21379 rmdir conf$$.dir 2>/dev/null
21381 if mkdir -p . 2>/dev/null; then
21384 test -d ./-p && rmdir ./-p
21388 if test -x / >/dev/null 2>&1; then
21389 as_test_x='test -x'
21391 if ls -dL / >/dev/null 2>&1; then
21398 if test -d "$1"; then
21404 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21405 ???[sx]*):;;*)false;;esac;fi
21409 as_executable_p=$as_test_x
21411 # Sed expression to map a string onto a valid CPP name.
21412 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21414 # Sed expression to map a string onto a valid variable name.
21415 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21420 # Save the log message, to keep $[0] and so on meaningful, and to
21421 # report actual input values of CONFIG_FILES etc. instead of their
21422 # values after options handling.
21424 This file was extended by Wine $as_me 0.9.33, which was
21425 generated by GNU Autoconf 2.61. Invocation command line was
21427 CONFIG_FILES = $CONFIG_FILES
21428 CONFIG_HEADERS = $CONFIG_HEADERS
21429 CONFIG_LINKS = $CONFIG_LINKS
21430 CONFIG_COMMANDS = $CONFIG_COMMANDS
21433 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21438 cat >>$CONFIG_STATUS <<_ACEOF
21439 # Files that config.status was made for.
21440 config_files="$ac_config_files"
21441 config_headers="$ac_config_headers"
21442 config_commands="$ac_config_commands"
21446 cat >>$CONFIG_STATUS <<\_ACEOF
21448 \`$as_me' instantiates files from templates according to the
21449 current configuration.
21451 Usage: $0 [OPTIONS] [FILE]...
21453 -h, --help print this help, then exit
21454 -V, --version print version number and configuration settings, then exit
21455 -q, --quiet do not print progress messages
21456 -d, --debug don't remove temporary files
21457 --recheck update $as_me by reconfiguring in the same conditions
21458 --file=FILE[:TEMPLATE]
21459 instantiate the configuration file FILE
21460 --header=FILE[:TEMPLATE]
21461 instantiate the configuration header FILE
21463 Configuration files:
21466 Configuration headers:
21469 Configuration commands:
21472 Report bugs to <bug-autoconf@gnu.org>."
21475 cat >>$CONFIG_STATUS <<_ACEOF
21477 Wine config.status 0.9.33
21478 configured by $0, generated by GNU Autoconf 2.61,
21479 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21481 Copyright (C) 2006 Free Software Foundation, Inc.
21482 This config.status script is free software; the Free Software Foundation
21483 gives unlimited permission to copy, distribute and modify it."
21490 cat >>$CONFIG_STATUS <<\_ACEOF
21491 # If no file are specified by the user, then we need to provide default
21492 # value. By we need to know if files were specified by the user.
21498 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21499 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21510 # Handling of the options.
21511 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21513 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21514 echo "$ac_cs_version"; exit ;;
21515 --debug | --debu | --deb | --de | --d | -d )
21517 --file | --fil | --fi | --f )
21519 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21520 ac_need_defaults=false;;
21521 --header | --heade | --head | --hea )
21523 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21524 ac_need_defaults=false;;
21526 # Conflict between --help and --header
21527 { echo "$as_me: error: ambiguous option: $1
21528 Try \`$0 --help' for more information." >&2
21529 { (exit 1); exit 1; }; };;
21530 --help | --hel | -h )
21531 echo "$ac_cs_usage"; exit ;;
21532 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21533 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21536 # This is an error.
21537 -*) { echo "$as_me: error: unrecognized option: $1
21538 Try \`$0 --help' for more information." >&2
21539 { (exit 1); exit 1; }; } ;;
21541 *) ac_config_targets="$ac_config_targets $1"
21542 ac_need_defaults=false ;;
21548 ac_configure_extra_args=
21550 if $ac_cs_silent; then
21552 ac_configure_extra_args="$ac_configure_extra_args --silent"
21556 cat >>$CONFIG_STATUS <<_ACEOF
21557 if \$ac_cs_recheck; then
21558 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21559 CONFIG_SHELL=$SHELL
21560 export CONFIG_SHELL
21561 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21565 cat >>$CONFIG_STATUS <<\_ACEOF
21569 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21570 ## Running $as_me. ##
21576 cat >>$CONFIG_STATUS <<_ACEOF
21579 cat >>$CONFIG_STATUS <<\_ACEOF
21581 # Handling of arguments.
21582 for ac_config_target in $ac_config_targets
21584 case $ac_config_target in
21585 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21586 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21587 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21588 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21589 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21590 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21591 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21592 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21593 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21594 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21595 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21596 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21597 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21598 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21599 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21600 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21601 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21602 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21603 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21604 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21605 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21606 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21607 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21608 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21609 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21610 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21611 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21612 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21613 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21614 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21615 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21616 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21617 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21618 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21619 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21620 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21621 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21622 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21623 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21624 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21625 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21626 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21627 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21628 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21629 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21630 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21631 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21632 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21633 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21634 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21635 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21636 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21637 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21638 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21639 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21640 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21641 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21642 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21643 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21644 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21645 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21646 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21647 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21648 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21649 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21650 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21651 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21652 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21653 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21654 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21655 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21656 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21657 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21658 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21659 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21660 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21661 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21662 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21663 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21664 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21665 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21666 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21667 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21668 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21669 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21670 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21671 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21672 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21673 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21674 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21675 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21676 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21677 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21678 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21679 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21680 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21681 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21682 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21683 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21684 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21685 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21686 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21687 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21688 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21689 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21690 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21691 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21692 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21693 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21694 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21695 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21696 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21697 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21698 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21699 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21700 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21701 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21702 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21703 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21704 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21705 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21706 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21707 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21708 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21709 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21710 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21711 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21712 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21713 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21714 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21715 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21716 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21717 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21718 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21719 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21720 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21721 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21722 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21723 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21724 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21725 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21726 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21727 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21728 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21729 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21730 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21731 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21732 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21733 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21734 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21735 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21736 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21737 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21738 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21739 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21740 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21741 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21742 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21743 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21744 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21745 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21746 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21747 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21748 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21749 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21750 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21751 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21752 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21753 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21754 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21755 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21756 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21757 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21758 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21759 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21760 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21761 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21762 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21763 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21764 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21765 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21766 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21767 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21768 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21769 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21770 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21771 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21772 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21773 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21774 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21775 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21776 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21777 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21778 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21779 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21780 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21781 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21782 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21783 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21784 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21785 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21786 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21787 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21788 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21789 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21790 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21791 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21792 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21793 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21794 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21795 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21796 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21797 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21798 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21799 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21800 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21801 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21802 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21803 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21804 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21805 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21806 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21807 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21808 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21809 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21810 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21811 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21812 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21813 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21814 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21815 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21816 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21817 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21818 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21819 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21820 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21821 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21822 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21823 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21824 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21825 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21826 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21827 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21828 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21829 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21830 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21831 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21832 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21833 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21834 "dlls/winearts.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winearts.drv/Makefile" ;;
21835 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21836 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21837 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21838 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21839 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21840 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21841 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21842 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21843 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21844 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21845 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21846 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21847 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21848 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21849 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21850 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21851 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21852 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21853 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21854 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21855 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21856 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21857 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21858 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21859 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21860 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21861 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21862 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21863 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21864 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21865 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21866 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21867 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21868 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21869 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21870 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21871 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21872 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21873 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21874 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21875 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21876 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21877 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21878 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21879 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21880 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21881 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21882 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21883 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21884 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21885 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21886 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21887 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21888 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21889 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21890 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21891 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21892 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21893 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21894 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21895 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21896 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21897 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21898 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21899 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21900 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21901 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21902 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21903 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21904 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21905 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21906 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21907 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21908 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21909 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21910 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21911 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21912 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21913 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21914 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21915 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21916 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21917 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21918 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21919 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21920 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21921 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21923 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21924 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21925 { (exit 1); exit 1; }; };;
21930 # If the user did not use the arguments to specify the items to instantiate,
21931 # then the envvar interface is used. Set only those that are not.
21932 # We use the long form for the default assignment because of an extremely
21933 # bizarre bug on SunOS 4.1.3.
21934 if $ac_need_defaults; then
21935 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21936 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21937 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21940 # Have a temporary directory for convenience. Make it in the build tree
21941 # simply because there is no reason against having it here, and in addition,
21942 # creating and moving files from /tmp can sometimes cause problems.
21943 # Hook for its removal unless debugging.
21944 # Note that there is a small window in which the directory will not be cleaned:
21945 # after its creation but before its name has been assigned to `$tmp'.
21949 trap 'exit_status=$?
21950 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21952 trap '{ (exit 1); exit 1; }' 1 2 13 15
21954 # Create a (secure) tmp directory for tmp files.
21957 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21958 test -n "$tmp" && test -d "$tmp"
21961 tmp=./conf$$-$RANDOM
21962 (umask 077 && mkdir "$tmp")
21965 echo "$me: cannot create a temporary directory in ." >&2
21966 { (exit 1); exit 1; }
21970 # Set up the sed scripts for CONFIG_FILES section.
21973 # No need to generate the scripts if there are no CONFIG_FILES.
21974 # This happens for instance when ./config.status config.h
21975 if test -n "$CONFIG_FILES"; then
21979 # Create sed commands to just substitute file output variables.
21981 # Remaining file output variables are in a fragment that also has non-file
21987 for ac_last_try in false false false false false :; do
21988 cat >conf$$subs.sed <<_ACEOF
21989 SHELL!$SHELL$ac_delim
21990 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21991 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21992 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21993 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21994 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21995 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21996 exec_prefix!$exec_prefix$ac_delim
21997 prefix!$prefix$ac_delim
21998 program_transform_name!$program_transform_name$ac_delim
21999 bindir!$bindir$ac_delim
22000 sbindir!$sbindir$ac_delim
22001 libexecdir!$libexecdir$ac_delim
22002 datarootdir!$datarootdir$ac_delim
22003 datadir!$datadir$ac_delim
22004 sysconfdir!$sysconfdir$ac_delim
22005 sharedstatedir!$sharedstatedir$ac_delim
22006 localstatedir!$localstatedir$ac_delim
22007 includedir!$includedir$ac_delim
22008 oldincludedir!$oldincludedir$ac_delim
22009 docdir!$docdir$ac_delim
22010 infodir!$infodir$ac_delim
22011 htmldir!$htmldir$ac_delim
22012 dvidir!$dvidir$ac_delim
22013 pdfdir!$pdfdir$ac_delim
22014 psdir!$psdir$ac_delim
22015 libdir!$libdir$ac_delim
22016 localedir!$localedir$ac_delim
22017 mandir!$mandir$ac_delim
22018 DEFS!$DEFS$ac_delim
22019 ECHO_C!$ECHO_C$ac_delim
22020 ECHO_N!$ECHO_N$ac_delim
22021 ECHO_T!$ECHO_T$ac_delim
22022 LIBS!$LIBS$ac_delim
22023 build_alias!$build_alias$ac_delim
22024 host_alias!$host_alias$ac_delim
22025 target_alias!$target_alias$ac_delim
22026 build!$build$ac_delim
22027 build_cpu!$build_cpu$ac_delim
22028 build_vendor!$build_vendor$ac_delim
22029 build_os!$build_os$ac_delim
22030 host!$host$ac_delim
22031 host_cpu!$host_cpu$ac_delim
22032 host_vendor!$host_vendor$ac_delim
22033 host_os!$host_os$ac_delim
22034 WIN16_FILES!$WIN16_FILES$ac_delim
22035 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22036 SET_MAKE!$SET_MAKE$ac_delim
22038 CFLAGS!$CFLAGS$ac_delim
22039 LDFLAGS!$LDFLAGS$ac_delim
22040 CPPFLAGS!$CPPFLAGS$ac_delim
22041 ac_ct_CC!$ac_ct_CC$ac_delim
22042 EXEEXT!$EXEEXT$ac_delim
22043 OBJEXT!$OBJEXT$ac_delim
22045 CXXFLAGS!$CXXFLAGS$ac_delim
22046 ac_ct_CXX!$ac_ct_CXX$ac_delim
22047 CPPBIN!$CPPBIN$ac_delim
22048 TOOLSDIR!$TOOLSDIR$ac_delim
22049 XMKMF!$XMKMF$ac_delim
22051 X_CFLAGS!$X_CFLAGS$ac_delim
22052 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22053 X_LIBS!$X_LIBS$ac_delim
22054 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22055 FLEX!$FLEX$ac_delim
22056 BISON!$BISON$ac_delim
22058 ac_ct_AS!$ac_ct_AS$ac_delim
22061 RANLIB!$RANLIB$ac_delim
22062 STRIP!$STRIP$ac_delim
22063 WINDRES!$WINDRES$ac_delim
22064 LN_S!$LN_S$ac_delim
22066 GREP!$GREP$ac_delim
22067 EGREP!$EGREP$ac_delim
22068 LDCONFIG!$LDCONFIG$ac_delim
22069 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22070 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22073 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22075 elif $ac_last_try; then
22076 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22077 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22078 { (exit 1); exit 1; }; }
22080 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22084 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22085 if test -n "$ac_eof"; then
22086 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22087 ac_eof=`expr $ac_eof + 1`
22090 cat >>$CONFIG_STATUS <<_ACEOF
22091 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22092 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22093 /^[ ]*@MAKE_RULES@[ ]*$/{
22097 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22101 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22102 r $MAKE_IMPLIB_RULES
22105 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22109 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22115 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22116 s/^/s,@/; s/!/@,|#_!!_#|/
22119 s/'"$ac_delim"'$/,g/; t
22121 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22122 ' >>$CONFIG_STATUS <conf$$subs.sed
22123 rm -f conf$$subs.sed
22124 cat >>$CONFIG_STATUS <<_ACEOF
22130 for ac_last_try in false false false false false :; do
22131 cat >conf$$subs.sed <<_ACEOF
22132 INSTALL_DATA!$INSTALL_DATA$ac_delim
22133 LINT!$LINT$ac_delim
22134 LINTFLAGS!$LINTFLAGS$ac_delim
22135 FONTFORGE!$FONTFORGE$ac_delim
22136 PKG_CONFIG!$PKG_CONFIG$ac_delim
22137 PRELINK!$PRELINK$ac_delim
22138 LIBPTHREAD!$LIBPTHREAD$ac_delim
22139 XLIB!$XLIB$ac_delim
22140 XFILES!$XFILES$ac_delim
22141 OPENGLFILES!$OPENGLFILES$ac_delim
22142 GLU32FILES!$GLU32FILES$ac_delim
22143 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22144 QUARTZFILES!$QUARTZFILES$ac_delim
22145 NASLIBS!$NASLIBS$ac_delim
22146 XML2LIBS!$XML2LIBS$ac_delim
22147 XML2INCL!$XML2INCL$ac_delim
22148 XSLTLIBS!$XSLTLIBS$ac_delim
22149 XSLTINCL!$XSLTINCL$ac_delim
22150 HALINCL!$HALINCL$ac_delim
22151 sane_devel!$sane_devel$ac_delim
22152 SANEINCL!$SANEINCL$ac_delim
22153 gphoto2_devel!$gphoto2_devel$ac_delim
22154 gphoto2port_devel!$gphoto2port_devel$ac_delim
22155 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22156 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22157 ICULIBS!$ICULIBS$ac_delim
22158 RESOLVLIBS!$RESOLVLIBS$ac_delim
22159 LCMSLIBS!$LCMSLIBS$ac_delim
22160 LDAPLIBS!$LDAPLIBS$ac_delim
22161 FREETYPELIBS!$FREETYPELIBS$ac_delim
22162 FREETYPEINCL!$FREETYPEINCL$ac_delim
22163 ft_devel!$ft_devel$ac_delim
22164 ft_devel2!$ft_devel2$ac_delim
22165 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22166 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
22167 ARTSLIBS!$ARTSLIBS$ac_delim
22168 ARTSINCL!$ARTSINCL$ac_delim
22169 ESDCONFIG!$ESDCONFIG$ac_delim
22170 ESDLIBS!$ESDLIBS$ac_delim
22171 ESDINCL!$ESDINCL$ac_delim
22172 ALSALIBS!$ALSALIBS$ac_delim
22173 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22174 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22175 BUILTINFLAG!$BUILTINFLAG$ac_delim
22176 DLLEXT!$DLLEXT$ac_delim
22177 DLLFLAGS!$DLLFLAGS$ac_delim
22178 LDSHARED!$LDSHARED$ac_delim
22179 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22180 LIBEXT!$LIBEXT$ac_delim
22181 IMPLIBEXT!$IMPLIBEXT$ac_delim
22182 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
22183 DLLTOOL!$DLLTOOL$ac_delim
22184 DLLWRAP!$DLLWRAP$ac_delim
22185 MINGWAR!$MINGWAR$ac_delim
22186 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22187 IOKITLIB!$IOKITLIB$ac_delim
22188 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22189 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22190 COREAUDIO!$COREAUDIO$ac_delim
22191 CARBONLIB!$CARBONLIB$ac_delim
22192 CROSSTEST!$CROSSTEST$ac_delim
22193 CROSSCC!$CROSSCC$ac_delim
22194 CROSSWINDRES!$CROSSWINDRES$ac_delim
22195 LDPATH!$LDPATH$ac_delim
22196 CRTLIBS!$CRTLIBS$ac_delim
22197 SOCKETLIBS!$SOCKETLIBS$ac_delim
22198 MAIN_BINARY!$MAIN_BINARY$ac_delim
22199 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22201 LIBDL!$LIBDL$ac_delim
22202 LIBPOLL!$LIBPOLL$ac_delim
22203 DEPENDENCIES!$DEPENDENCIES$ac_delim
22204 LIBOBJS!$LIBOBJS$ac_delim
22205 LTLIBOBJS!$LTLIBOBJS$ac_delim
22208 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
22210 elif $ac_last_try; then
22211 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22212 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22213 { (exit 1); exit 1; }; }
22215 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22219 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22220 if test -n "$ac_eof"; then
22221 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22222 ac_eof=`expr $ac_eof + 1`
22225 cat >>$CONFIG_STATUS <<_ACEOF
22226 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22227 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22230 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22231 s/^/s,@/; s/!/@,|#_!!_#|/
22234 s/'"$ac_delim"'$/,g/; t
22236 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22237 ' >>$CONFIG_STATUS <conf$$subs.sed
22238 rm -f conf$$subs.sed
22239 cat >>$CONFIG_STATUS <<_ACEOF
22246 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22247 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22248 # trailing colons and then remove the whole line if VPATH becomes empty
22249 # (actually we leave an empty line to preserve line numbers).
22250 if test "x$srcdir" = x.; then
22251 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22252 s/:*\$(srcdir):*/:/
22253 s/:*\${srcdir}:*/:/
22255 s/^\([^=]*=[ ]*\):*/\1/
22261 cat >>$CONFIG_STATUS <<\_ACEOF
22262 fi # test -n "$CONFIG_FILES"
22265 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22268 :[FHLC]) ac_mode=$ac_tag; continue;;
22270 case $ac_mode$ac_tag in
22272 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22273 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22274 { (exit 1); exit 1; }; };;
22275 :[FH]-) ac_tag=-:-;;
22276 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22293 -) ac_f="$tmp/stdin";;
22294 *) # Look for the file first in the build tree, then in the source tree
22295 # (if the path is not absolute). The absolute path cannot be DOS-style,
22296 # because $ac_f cannot contain `:'.
22300 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22302 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22303 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22304 { (exit 1); exit 1; }; };;
22306 ac_file_inputs="$ac_file_inputs $ac_f"
22309 # Let's still pretend it is `configure' which instantiates (i.e., don't
22310 # use $as_me), people would be surprised to read:
22311 # /* config.h. Generated by config.status. */
22312 configure_input="Generated from "`IFS=:
22313 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22314 if test x"$ac_file" != x-; then
22315 configure_input="$ac_file. $configure_input"
22316 { echo "$as_me:$LINENO: creating $ac_file" >&5
22317 echo "$as_me: creating $ac_file" >&6;}
22321 *:-:* | *:-) cat >"$tmp/stdin";;
22326 ac_dir=`$as_dirname -- "$ac_file" ||
22327 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22328 X"$ac_file" : 'X\(//\)[^/]' \| \
22329 X"$ac_file" : 'X\(//\)$' \| \
22330 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22336 /^X\(\/\/\)[^/].*/{
22351 -*) as_dir=./$as_dir;;
22353 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22357 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22358 *) as_qdir=$as_dir;;
22360 as_dirs="'$as_qdir' $as_dirs"
22361 as_dir=`$as_dirname -- "$as_dir" ||
22362 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22363 X"$as_dir" : 'X\(//\)[^/]' \| \
22364 X"$as_dir" : 'X\(//\)$' \| \
22365 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22371 /^X\(\/\/\)[^/].*/{
22384 test -d "$as_dir" && break
22386 test -z "$as_dirs" || eval "mkdir $as_dirs"
22387 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22388 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22389 { (exit 1); exit 1; }; }; }
22393 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22395 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22396 # A ".." for each directory in $ac_dir_suffix.
22397 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22398 case $ac_top_builddir_sub in
22399 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22400 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22403 ac_abs_top_builddir=$ac_pwd
22404 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22405 # for backward compatibility:
22406 ac_top_builddir=$ac_top_build_prefix
22409 .) # We are building in place.
22411 ac_top_srcdir=$ac_top_builddir_sub
22412 ac_abs_top_srcdir=$ac_pwd ;;
22413 [\\/]* | ?:[\\/]* ) # Absolute name.
22414 ac_srcdir=$srcdir$ac_dir_suffix;
22415 ac_top_srcdir=$srcdir
22416 ac_abs_top_srcdir=$srcdir ;;
22417 *) # Relative name.
22418 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22419 ac_top_srcdir=$ac_top_build_prefix$srcdir
22420 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22422 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22432 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22433 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22437 cat >>$CONFIG_STATUS <<\_ACEOF
22438 # If the template does not know about datarootdir, expand it.
22439 # FIXME: This hack should be removed a few years after 2.60.
22440 ac_datarootdir_hack=; ac_datarootdir_seen=
22442 case `sed -n '/datarootdir/ {
22451 ' $ac_file_inputs` in
22452 *datarootdir*) ac_datarootdir_seen=yes;;
22453 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22454 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22455 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22457 cat >>$CONFIG_STATUS <<_ACEOF
22458 ac_datarootdir_hack='
22459 s&@datadir@&$datadir&g
22460 s&@docdir@&$docdir&g
22461 s&@infodir@&$infodir&g
22462 s&@localedir@&$localedir&g
22463 s&@mandir@&$mandir&g
22464 s&\\\${datarootdir}&$datarootdir&g' ;;
22468 # Neutralize VPATH when `$srcdir' = `.'.
22469 # Shell code in configure.ac might set extrasub.
22470 # FIXME: do we really want to maintain this feature?
22471 cat >>$CONFIG_STATUS <<_ACEOF
22475 cat >>$CONFIG_STATUS <<\_ACEOF
22477 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22478 s&@configure_input@&$configure_input&;t t
22479 s&@top_builddir@&$ac_top_builddir_sub&;t t
22480 s&@srcdir@&$ac_srcdir&;t t
22481 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22482 s&@top_srcdir@&$ac_top_srcdir&;t t
22483 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22484 s&@builddir@&$ac_builddir&;t t
22485 s&@abs_builddir@&$ac_abs_builddir&;t t
22486 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22487 s&@INSTALL@&$ac_INSTALL&;t t
22488 $ac_datarootdir_hack
22489 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22491 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22492 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22493 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22494 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22495 which seems to be undefined. Please make sure it is defined." >&5
22496 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22497 which seems to be undefined. Please make sure it is defined." >&2;}
22501 -) cat "$tmp/out"; rm -f "$tmp/out";;
22502 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22511 # Transform confdefs.h into a sed script `conftest.defines', that
22512 # substitutes the proper values into config.h.in to produce config.h.
22513 rm -f conftest.defines conftest.tail
22514 # First, append a space to every undef/define line, to ease matching.
22515 echo 's/$/ /' >conftest.defines
22516 # Then, protect against being on the right side of a sed subst, or in
22517 # an unquoted here document, in config.status. If some macros were
22518 # called several times there might be several #defines for the same
22519 # symbol, which is useless. But do not sort them, since the last
22520 # AC_DEFINE must be honored.
22521 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22522 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22523 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22524 # PARAMS is the parameter list in the macro definition--in most cases, it's
22525 # just an empty string.
22526 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22527 ac_dB='\\)[ (].*,\\1define\\2'
22535 s/^[ ]*#[ ]*define[ ][ ]*//
22540 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22541 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22542 ' >>conftest.defines
22544 # Remove the space that was appended to ease matching.
22545 # Then replace #undef with comments. This is necessary, for
22546 # example, in the case of _POSIX_SOURCE, which is predefined and required
22547 # on some systems where configure will not decide to define it.
22548 # (The regexp can be short, since the line contains either #define or #undef.)
22550 s,^[ #]*u.*,/* & */,' >>conftest.defines
22552 # Break up conftest.defines:
22553 ac_max_sed_lines=50
22555 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22556 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22557 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22559 ac_in='$ac_file_inputs'
22560 ac_out='"$tmp/out1"'
22561 ac_nxt='"$tmp/out2"'
22565 # Write a here document:
22566 cat >>$CONFIG_STATUS <<_ACEOF
22567 # First, check the format of the line:
22568 cat >"\$tmp/defines.sed" <<\\CEOF
22569 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22570 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22574 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22576 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22577 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22578 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22579 grep . conftest.tail >/dev/null || break
22580 rm -f conftest.defines
22581 mv conftest.tail conftest.defines
22583 rm -f conftest.defines conftest.tail
22585 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22586 cat >>$CONFIG_STATUS <<\_ACEOF
22587 if test x"$ac_file" != x-; then
22588 echo "/* $configure_input */" >"$tmp/config.h"
22589 cat "$ac_result" >>"$tmp/config.h"
22590 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22591 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22592 echo "$as_me: $ac_file is unchanged" >&6;}
22595 mv "$tmp/config.h" $ac_file
22598 echo "/* $configure_input */"
22604 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22605 echo "$as_me: executing $ac_file commands" >&6;}
22610 case $ac_file$ac_mode in
22611 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22612 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22613 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22614 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22615 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22616 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22617 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22618 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22619 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22620 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22621 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22622 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22623 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22629 { (exit 0); exit 0; }
22631 chmod +x $CONFIG_STATUS
22632 ac_clean_files=$ac_clean_files_save
22635 # configure is writing to config.log, and then calls config.status.
22636 # config.status does its own redirection, appending to config.log.
22637 # Unfortunately, on DOS this fails, as config.log is still kept open
22638 # by configure, so config.status won't be able to write to it; its
22639 # output is simply discarded. So we exec the FD to /dev/null,
22640 # effectively closing config.log, so it can be properly (re)opened and
22641 # appended to by config.status. When coming back to configure, we
22642 # need to make the FD available again.
22643 if test "$no_create" != yes; then
22645 ac_config_status_args=
22646 test "$silent" = yes &&
22647 ac_config_status_args="$ac_config_status_args --quiet"
22649 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22651 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22652 # would make configure fail if this is the last instruction.
22653 $ac_cs_success || { (exit 1); exit 1; }
22658 if test "$no_create" = "yes"
22663 if test "$verbose" = "yes"
22665 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22668 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22669 echo "$as_me: libcapi20 development files not found." >&6;}
22670 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22671 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22674 if test "$ac_cv_header_cups_cups_h" != "yes"
22677 { echo "$as_me:$LINENO: libcups development files not found." >&5
22678 echo "$as_me: libcups development files not found." >&6;}
22679 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22680 echo "$as_me: Wine will be built without CUPS support." >&6;}
22684 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22687 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22688 echo "$as_me: libgphoto2 development files not found." >&6;}
22689 if test "$ac_cv_header_sane_sane_h" = "yes"
22691 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22692 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22694 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22695 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22699 if test "$ac_cv_header_hal_libhal_h" != "yes"
22702 { echo "$as_me:$LINENO: libhal development files not found." >&5
22703 echo "$as_me: libhal development files not found." >&6;}
22704 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22705 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22708 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22711 { echo "$as_me:$LINENO: libicu development files not found." >&5
22712 echo "$as_me: libicu development files not found." >&6;}
22713 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22714 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22717 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22720 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22721 echo "$as_me: liblcms development files not found." >&6;}
22722 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22723 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22726 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22729 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22730 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22731 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22732 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22735 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22738 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22739 echo "$as_me: lib(n)curses development files not found." >&6;}
22740 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22741 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22744 if test "$ac_cv_header_sane_sane_h" != "yes"
22747 { echo "$as_me:$LINENO: libsane development files not found." >&5
22748 echo "$as_me: libsane development files not found." >&6;}
22749 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22750 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22753 if test "$have_x" = "yes"
22755 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22758 { echo "$as_me:$LINENO: libxext development files not found." >&5
22759 echo "$as_me: libxext development files not found." >&6;}
22760 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22761 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22764 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22767 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22768 echo "$as_me: libXrandr development files not found." >&6;}
22769 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22770 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22773 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22776 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22777 echo "$as_me: libXrender development files not found." >&6;}
22778 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22779 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22782 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22785 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22786 echo "$as_me: libXxf86vm development files not found." >&6;}
22787 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22788 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22792 if test "$ac_cv_header_libxml_parser_h" != "yes"
22795 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22796 echo "$as_me: libxml2 development files not found." >&6;}
22797 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22798 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22801 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22804 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22805 echo "$as_me: libxslt development files not found." >&6;}
22806 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22807 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22812 if test "$have_x" = "no"
22815 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22816 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22817 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22818 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22819 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22820 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22821 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22822 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22825 if test -z "$OPENGLFILES"
22828 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22829 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22830 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22831 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22832 if test "$wine_cv_opengl_headers_found" = "no"
22834 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22835 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22837 if test "$wine_cv_opengl_header_version_OK" = "no"
22839 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22840 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22841 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22843 if test -f /usr/X11R6/lib/libGL.a
22845 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22846 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22847 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22848 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22850 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22851 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22856 if test "$wine_cv_msg_freetype" = "yes"
22859 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22860 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22861 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22862 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22863 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22864 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22865 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22866 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22869 if test -z "$FONTSSUBDIRS"
22872 if test "$FONTFORGE" = "false"
22874 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22875 echo "$as_me: WARNING: FontForge is missing." >&2;}
22877 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22878 echo "$as_me: WARNING: FreeType is missing." >&2;}
22880 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22881 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22884 if test -z "$ALSALIBS" -a \
22885 -z "$ARTSC_LIBS" -a \
22886 -z "$AUDIOIOLIBS" -a \
22888 -z "$ESD_LIBS" -a \
22889 -z "$ac_cv_lib_soname_jack" -a \
22890 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22891 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22892 "$ac_cv_header_soundcard_h" != "yes"
22895 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22896 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22897 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22898 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22899 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
22900 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22904 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."