2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.42.
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.42'
578 PACKAGE_STRING='Wine 0.9.42'
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
771 ac_subst_files='MAKE_RULES
776 ac_precious_vars='build_alias
791 # Initialize some variables set by options.
793 ac_init_version=false
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
803 program_transform_name=s,x,x,
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir='${exec_prefix}/bin'
818 sbindir='${exec_prefix}/sbin'
819 libexecdir='${exec_prefix}/libexec'
820 datarootdir='${prefix}/share'
821 datadir='${datarootdir}'
822 sysconfdir='${prefix}/etc'
823 sharedstatedir='${prefix}/com'
824 localstatedir='${prefix}/var'
825 includedir='${prefix}/include'
826 oldincludedir='/usr/include'
827 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir='${datarootdir}/info'
833 libdir='${exec_prefix}/lib'
834 localedir='${datarootdir}/locale'
835 mandir='${datarootdir}/man'
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\$ac_option
849 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853 # Accept the important Cygnus configure options, so we can diagnose typos.
855 case $ac_dashdash$ac_option in
859 -bindir | --bindir | --bindi | --bind | --bin | --bi)
861 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
864 -build | --build | --buil | --bui | --bu)
865 ac_prev=build_alias ;;
866 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
867 build_alias=$ac_optarg ;;
869 -cache-file | --cache-file | --cache-fil | --cache-fi \
870 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
871 ac_prev=cache_file ;;
872 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
873 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
874 cache_file=$ac_optarg ;;
877 cache_file=config.cache ;;
879 -datadir | --datadir | --datadi | --datad)
881 -datadir=* | --datadir=* | --datadi=* | --datad=*)
882 datadir=$ac_optarg ;;
884 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
885 | --dataroo | --dataro | --datar)
886 ac_prev=datarootdir ;;
887 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
888 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
889 datarootdir=$ac_optarg ;;
891 -disable-* | --disable-*)
892 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
895 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
896 { (exit 1); exit 1; }; }
897 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
898 eval enable_$ac_feature=no ;;
900 -docdir | --docdir | --docdi | --doc | --do)
902 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
905 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
907 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
910 -enable-* | --enable-*)
911 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
914 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
915 { (exit 1); exit 1; }; }
916 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
917 eval enable_$ac_feature=\$ac_optarg ;;
919 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
920 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
921 | --exec | --exe | --ex)
922 ac_prev=exec_prefix ;;
923 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
924 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
925 | --exec=* | --exe=* | --ex=*)
926 exec_prefix=$ac_optarg ;;
928 -gas | --gas | --ga | --g)
929 # Obsolete; use --with-gas.
932 -help | --help | --hel | --he | -h)
934 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
935 ac_init_help=recursive ;;
936 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
937 ac_init_help=short ;;
939 -host | --host | --hos | --ho)
940 ac_prev=host_alias ;;
941 -host=* | --host=* | --hos=* | --ho=*)
942 host_alias=$ac_optarg ;;
944 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
946 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
948 htmldir=$ac_optarg ;;
950 -includedir | --includedir | --includedi | --included | --include \
951 | --includ | --inclu | --incl | --inc)
952 ac_prev=includedir ;;
953 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
954 | --includ=* | --inclu=* | --incl=* | --inc=*)
955 includedir=$ac_optarg ;;
957 -infodir | --infodir | --infodi | --infod | --info | --inf)
959 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
960 infodir=$ac_optarg ;;
962 -libdir | --libdir | --libdi | --libd)
964 -libdir=* | --libdir=* | --libdi=* | --libd=*)
967 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
968 | --libexe | --libex | --libe)
969 ac_prev=libexecdir ;;
970 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
971 | --libexe=* | --libex=* | --libe=*)
972 libexecdir=$ac_optarg ;;
974 -localedir | --localedir | --localedi | --localed | --locale)
976 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
977 localedir=$ac_optarg ;;
979 -localstatedir | --localstatedir | --localstatedi | --localstated \
980 | --localstate | --localstat | --localsta | --localst | --locals)
981 ac_prev=localstatedir ;;
982 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
983 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
984 localstatedir=$ac_optarg ;;
986 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
988 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
992 # Obsolete; use --without-fp.
995 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
996 | --no-cr | --no-c | -n)
999 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1000 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1003 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1004 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1005 | --oldin | --oldi | --old | --ol | --o)
1006 ac_prev=oldincludedir ;;
1007 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1008 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1009 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1010 oldincludedir=$ac_optarg ;;
1012 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1014 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1015 prefix=$ac_optarg ;;
1017 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1018 | --program-pre | --program-pr | --program-p)
1019 ac_prev=program_prefix ;;
1020 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1021 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1022 program_prefix=$ac_optarg ;;
1024 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1025 | --program-suf | --program-su | --program-s)
1026 ac_prev=program_suffix ;;
1027 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1028 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1029 program_suffix=$ac_optarg ;;
1031 -program-transform-name | --program-transform-name \
1032 | --program-transform-nam | --program-transform-na \
1033 | --program-transform-n | --program-transform- \
1034 | --program-transform | --program-transfor \
1035 | --program-transfo | --program-transf \
1036 | --program-trans | --program-tran \
1037 | --progr-tra | --program-tr | --program-t)
1038 ac_prev=program_transform_name ;;
1039 -program-transform-name=* | --program-transform-name=* \
1040 | --program-transform-nam=* | --program-transform-na=* \
1041 | --program-transform-n=* | --program-transform-=* \
1042 | --program-transform=* | --program-transfor=* \
1043 | --program-transfo=* | --program-transf=* \
1044 | --program-trans=* | --program-tran=* \
1045 | --progr-tra=* | --program-tr=* | --program-t=*)
1046 program_transform_name=$ac_optarg ;;
1048 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1050 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1051 pdfdir=$ac_optarg ;;
1053 -psdir | --psdir | --psdi | --psd | --ps)
1055 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059 | -silent | --silent | --silen | --sile | --sil)
1062 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1064 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1066 sbindir=$ac_optarg ;;
1068 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1069 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1070 | --sharedst | --shareds | --shared | --share | --shar \
1072 ac_prev=sharedstatedir ;;
1073 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1074 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1075 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1077 sharedstatedir=$ac_optarg ;;
1079 -site | --site | --sit)
1081 -site=* | --site=* | --sit=*)
1084 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1086 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1087 srcdir=$ac_optarg ;;
1089 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1090 | --syscon | --sysco | --sysc | --sys | --sy)
1091 ac_prev=sysconfdir ;;
1092 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1093 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1094 sysconfdir=$ac_optarg ;;
1096 -target | --target | --targe | --targ | --tar | --ta | --t)
1097 ac_prev=target_alias ;;
1098 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1099 target_alias=$ac_optarg ;;
1101 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1104 -version | --version | --versio | --versi | --vers | -V)
1105 ac_init_version=: ;;
1108 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1111 { echo "$as_me: error: invalid package name: $ac_package" >&2
1112 { (exit 1); exit 1; }; }
1113 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1114 eval with_$ac_package=\$ac_optarg ;;
1116 -without-* | --without-*)
1117 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1120 { echo "$as_me: error: invalid package name: $ac_package" >&2
1121 { (exit 1); exit 1; }; }
1122 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1123 eval with_$ac_package=no ;;
1126 # Obsolete; use --with-x.
1129 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1130 | --x-incl | --x-inc | --x-in | --x-i)
1131 ac_prev=x_includes ;;
1132 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1133 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1134 x_includes=$ac_optarg ;;
1136 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1137 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1138 ac_prev=x_libraries ;;
1139 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1140 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1141 x_libraries=$ac_optarg ;;
1143 -*) { echo "$as_me: error: unrecognized option: $ac_option
1144 Try \`$0 --help' for more information." >&2
1145 { (exit 1); exit 1; }; }
1149 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1150 # Reject names that are not valid shell variable names.
1151 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1152 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1153 { (exit 1); exit 1; }; }
1154 eval $ac_envvar=\$ac_optarg
1155 export $ac_envvar ;;
1158 # FIXME: should be removed in autoconf 3.0.
1159 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1160 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1161 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1162 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1168 if test -n "$ac_prev"; then
1169 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1170 { echo "$as_me: error: missing argument to $ac_option" >&2
1171 { (exit 1); exit 1; }; }
1174 # Be sure to have absolute directory names.
1175 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1176 datadir sysconfdir sharedstatedir localstatedir includedir \
1177 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1178 libdir localedir mandir
1180 eval ac_val=\$$ac_var
1182 [\\/$]* | ?:[\\/]* ) continue;;
1183 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1185 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1186 { (exit 1); exit 1; }; }
1189 # There might be people who depend on the old broken behavior: `$host'
1190 # used to hold the argument of --host etc.
1191 # FIXME: To remove some day.
1194 target=$target_alias
1196 # FIXME: To remove some day.
1197 if test "x$host_alias" != x; then
1198 if test "x$build_alias" = x; then
1199 cross_compiling=maybe
1200 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1201 If a cross compiler is detected then cross compile mode will be used." >&2
1202 elif test "x$build_alias" != "x$host_alias"; then
1208 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1210 test "$silent" = yes && exec 6>/dev/null
1213 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1214 ac_ls_di=`ls -di .` &&
1215 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1216 { echo "$as_me: error: Working directory cannot be determined" >&2
1217 { (exit 1); exit 1; }; }
1218 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1219 { echo "$as_me: error: pwd does not report name of working directory" >&2
1220 { (exit 1); exit 1; }; }
1223 # Find the source files, if location was not specified.
1224 if test -z "$srcdir"; then
1225 ac_srcdir_defaulted=yes
1226 # Try the directory containing this script, then the parent directory.
1227 ac_confdir=`$as_dirname -- "$0" ||
1228 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1229 X"$0" : 'X\(//\)[^/]' \| \
1230 X"$0" : 'X\(//\)$' \| \
1231 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1251 if test ! -r "$srcdir/$ac_unique_file"; then
1255 ac_srcdir_defaulted=no
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1258 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1259 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1260 { (exit 1); exit 1; }; }
1262 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1264 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1265 { (exit 1); exit 1; }; }
1267 # When building in place, set srcdir=.
1268 if test "$ac_abs_confdir" = "$ac_pwd"; then
1271 # Remove unnecessary trailing slashes from srcdir.
1272 # Double slashes in file names in object file debugging info
1273 # mess up M-x gdb in Emacs.
1275 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1277 for ac_var in $ac_precious_vars; do
1278 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1279 eval ac_env_${ac_var}_value=\$${ac_var}
1280 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1281 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1285 # Report the --help message.
1287 if test "$ac_init_help" = "long"; then
1288 # Omit some internal or obsolete options to make the list less imposing.
1289 # This message is too long to be a string in the A/UX 3.1 sh.
1291 \`configure' configures Wine 0.9.42 to adapt to many kinds of systems.
1293 Usage: $0 [OPTION]... [VAR=VALUE]...
1295 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1296 VAR=VALUE. See below for descriptions of some of the useful variables.
1298 Defaults for the options are specified in brackets.
1301 -h, --help display this help and exit
1302 --help=short display options specific to this package
1303 --help=recursive display the short help of all the included packages
1304 -V, --version display version information and exit
1305 -q, --quiet, --silent do not print \`checking...' messages
1306 --cache-file=FILE cache test results in FILE [disabled]
1307 -C, --config-cache alias for \`--cache-file=config.cache'
1308 -n, --no-create do not create output files
1309 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1311 Installation directories:
1312 --prefix=PREFIX install architecture-independent files in PREFIX
1313 [$ac_default_prefix]
1314 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1317 By default, \`make install' will install all the files in
1318 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1319 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1320 for instance \`--prefix=\$HOME'.
1322 For better control, use the options below.
1324 Fine tuning of the installation directories:
1325 --bindir=DIR user executables [EPREFIX/bin]
1326 --sbindir=DIR system admin executables [EPREFIX/sbin]
1327 --libexecdir=DIR program executables [EPREFIX/libexec]
1328 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1329 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1330 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1331 --libdir=DIR object code libraries [EPREFIX/lib]
1332 --includedir=DIR C header files [PREFIX/include]
1333 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1334 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1335 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1336 --infodir=DIR info documentation [DATAROOTDIR/info]
1337 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1338 --mandir=DIR man documentation [DATAROOTDIR/man]
1339 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1340 --htmldir=DIR html documentation [DOCDIR]
1341 --dvidir=DIR dvi documentation [DOCDIR]
1342 --pdfdir=DIR pdf documentation [DOCDIR]
1343 --psdir=DIR ps documentation [DOCDIR]
1349 --x-includes=DIR X include files are in DIR
1350 --x-libraries=DIR X library files are in DIR
1353 --build=BUILD configure for building on BUILD [guessed]
1354 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1358 if test -n "$ac_init_help"; then
1359 case $ac_init_help in
1360 short | recursive ) echo "Configuration of Wine 0.9.42:";;
1365 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1366 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1367 --disable-win16 do not include Win16 support
1368 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1372 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1373 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1374 --without-opengl do not use OpenGL
1375 --with-wine-tools=<dir> use Wine tools from directory <dir>
1376 --with-x use the X Window System
1378 Some influential environment variables:
1379 CC C compiler command
1380 CFLAGS C compiler flags
1381 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1382 nonstandard directory <lib dir>
1383 LIBS libraries to pass to the linker, e.g. -l<library>
1384 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1385 you have headers in a nonstandard directory <include dir>
1386 CXX C++ compiler command
1387 CXXFLAGS C++ compiler flags
1388 XMKMF Path to xmkmf, Makefile generator for X Window System
1391 Use these variables to override the choices made by `configure' or to help
1392 it to find libraries and programs with nonstandard names/locations.
1394 Report bugs to <wine-devel@winehq.org>.
1399 if test "$ac_init_help" = "recursive"; then
1400 # If there are subdirs, report their specific --help.
1401 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1402 test -d "$ac_dir" || continue
1406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1409 # A ".." for each directory in $ac_dir_suffix.
1410 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1411 case $ac_top_builddir_sub in
1412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1416 ac_abs_top_builddir=$ac_pwd
1417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1418 # for backward compatibility:
1419 ac_top_builddir=$ac_top_build_prefix
1422 .) # We are building in place.
1424 ac_top_srcdir=$ac_top_builddir_sub
1425 ac_abs_top_srcdir=$ac_pwd ;;
1426 [\\/]* | ?:[\\/]* ) # Absolute name.
1427 ac_srcdir=$srcdir$ac_dir_suffix;
1428 ac_top_srcdir=$srcdir
1429 ac_abs_top_srcdir=$srcdir ;;
1431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1432 ac_top_srcdir=$ac_top_build_prefix$srcdir
1433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1437 cd "$ac_dir" || { ac_status=$?; continue; }
1438 # Check for guested configure.
1439 if test -f "$ac_srcdir/configure.gnu"; then
1441 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1442 elif test -f "$ac_srcdir/configure"; then
1444 $SHELL "$ac_srcdir/configure" --help=recursive
1446 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1448 cd "$ac_pwd" || { ac_status=$?; break; }
1452 test -n "$ac_init_help" && exit $ac_status
1453 if $ac_init_version; then
1455 Wine configure 0.9.42
1456 generated by GNU Autoconf 2.61
1458 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1459 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1460 This configure script is free software; the Free Software Foundation
1461 gives unlimited permission to copy, distribute and modify it.
1465 cat >config.log <<_ACEOF
1466 This file contains any messages produced by compilers while
1467 running configure, to aid debugging if configure makes a mistake.
1469 It was created by Wine $as_me 0.9.42, which was
1470 generated by GNU Autoconf 2.61. Invocation command line was
1482 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1483 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1484 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1485 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1486 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1488 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1489 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1491 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1492 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1493 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1494 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1495 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1496 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1497 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505 test -z "$as_dir" && as_dir=.
1506 echo "PATH: $as_dir"
1522 # Keep a trace of the command line.
1523 # Strip out --no-create and --no-recursion so they do not pile up.
1524 # Strip out --silent because we don't want to record it for future runs.
1525 # Also quote any args containing shell meta-characters.
1526 # Make two passes to allow for proper duplicate-argument suppression.
1530 ac_must_keep_next=false
1536 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1538 | -silent | --silent | --silen | --sile | --sil)
1541 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1544 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1546 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1547 if test $ac_must_keep_next = true; then
1548 ac_must_keep_next=false # Got value, back to normal.
1551 *=* | --config-cache | -C | -disable-* | --disable-* \
1552 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1553 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1554 | -with-* | --with-* | -without-* | --without-* | --x)
1555 case "$ac_configure_args0 " in
1556 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1559 -* ) ac_must_keep_next=true ;;
1562 ac_configure_args="$ac_configure_args '$ac_arg'"
1567 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1568 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1570 # When interrupted or exit'd, cleanup temporary files, and complete
1571 # config.log. We remove comments because anyway the quotes in there
1572 # would cause problems or look ugly.
1573 # WARNING: Use '\'' to represent an apostrophe within the trap.
1574 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1575 trap 'exit_status=$?
1576 # Save into config.log some information that might help in debugging.
1581 ## ---------------- ##
1582 ## Cache variables. ##
1583 ## ---------------- ##
1586 # The following way of writing the cache mishandles newlines in values,
1588 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1589 eval ac_val=\$$ac_var
1593 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1594 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1597 _ | IFS | as_nl) ;; #(
1598 *) $as_unset $ac_var ;;
1603 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1604 *${as_nl}ac_space=\ *)
1606 "s/'\''/'\''\\\\'\'''\''/g;
1607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1610 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1618 ## ----------------- ##
1619 ## Output variables. ##
1620 ## ----------------- ##
1623 for ac_var in $ac_subst_vars
1625 eval ac_val=\$$ac_var
1627 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1629 echo "$ac_var='\''$ac_val'\''"
1633 if test -n "$ac_subst_files"; then
1635 ## ------------------- ##
1636 ## File substitutions. ##
1637 ## ------------------- ##
1640 for ac_var in $ac_subst_files
1642 eval ac_val=\$$ac_var
1644 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1646 echo "$ac_var='\''$ac_val'\''"
1651 if test -s confdefs.h; then
1661 test "$ac_signal" != 0 &&
1662 echo "$as_me: caught signal $ac_signal"
1663 echo "$as_me: exit $exit_status"
1665 rm -f core *.core core.conftest.* &&
1666 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1669 for ac_signal in 1 2 13 15; do
1670 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1674 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1675 rm -f -r conftest* confdefs.h
1677 # Predefined preprocessor variables.
1679 cat >>confdefs.h <<_ACEOF
1680 #define PACKAGE_NAME "$PACKAGE_NAME"
1684 cat >>confdefs.h <<_ACEOF
1685 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1694 cat >>confdefs.h <<_ACEOF
1695 #define PACKAGE_STRING "$PACKAGE_STRING"
1699 cat >>confdefs.h <<_ACEOF
1700 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1704 # Let the site file select an alternate cache file if it wants to.
1705 # Prefer explicitly selected file to automatically selected ones.
1706 if test -n "$CONFIG_SITE"; then
1707 set x "$CONFIG_SITE"
1708 elif test "x$prefix" != xNONE; then
1709 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1711 set x "$ac_default_prefix/share/config.site" \
1712 "$ac_default_prefix/etc/config.site"
1717 if test -r "$ac_site_file"; then
1718 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1719 echo "$as_me: loading site script $ac_site_file" >&6;}
1720 sed 's/^/| /' "$ac_site_file" >&5
1725 if test -r "$cache_file"; then
1726 # Some versions of bash will fail to source /dev/null (special
1727 # files actually), so we avoid doing that.
1728 if test -f "$cache_file"; then
1729 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1730 echo "$as_me: loading cache $cache_file" >&6;}
1732 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1733 *) . "./$cache_file";;
1737 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1738 echo "$as_me: creating cache $cache_file" >&6;}
1742 # Check that the precious variables saved in the cache have kept the same
1744 ac_cache_corrupted=false
1745 for ac_var in $ac_precious_vars; do
1746 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1747 eval ac_new_set=\$ac_env_${ac_var}_set
1748 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1749 eval ac_new_val=\$ac_env_${ac_var}_value
1750 case $ac_old_set,$ac_new_set in
1752 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1753 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1754 ac_cache_corrupted=: ;;
1756 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1757 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1758 ac_cache_corrupted=: ;;
1761 if test "x$ac_old_val" != "x$ac_new_val"; then
1762 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1763 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1764 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1765 echo "$as_me: former value: $ac_old_val" >&2;}
1766 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1767 echo "$as_me: current value: $ac_new_val" >&2;}
1768 ac_cache_corrupted=:
1771 # Pass precious variables to config.status.
1772 if test "$ac_new_set" = set; then
1774 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1775 *) ac_arg=$ac_var=$ac_new_val ;;
1777 case " $ac_configure_args " in
1778 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1779 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1783 if $ac_cache_corrupted; then
1784 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1785 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1786 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1787 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1788 { (exit 1); exit 1; }; }
1816 ac_cpp='$CPP $CPPFLAGS'
1817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1823 ac_config_headers="$ac_config_headers include/config.h"
1826 for ac_dir in tools "$srcdir"/tools; do
1827 if test -f "$ac_dir/install-sh"; then
1829 ac_install_sh="$ac_aux_dir/install-sh -c"
1831 elif test -f "$ac_dir/install.sh"; then
1833 ac_install_sh="$ac_aux_dir/install.sh -c"
1835 elif test -f "$ac_dir/shtool"; then
1837 ac_install_sh="$ac_aux_dir/shtool install -c"
1841 if test -z "$ac_aux_dir"; then
1842 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1843 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1844 { (exit 1); exit 1; }; }
1847 # These three variables are undocumented and unsupported,
1848 # and are intended to be withdrawn in a future Autoconf release.
1849 # They can cause serious problems if a builder's source tree is in a directory
1850 # whose full name contains unusual characters.
1851 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1852 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1853 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1858 # Check whether --enable-win16 was given.
1859 if test "${enable_win16+set}" = set; then
1860 enableval=$enable_win16;
1863 # Check whether --enable-win64 was given.
1864 if test "${enable_win64+set}" = set; then
1865 enableval=$enable_win64;
1870 # Check whether --with-opengl was given.
1871 if test "${with_opengl+set}" = set; then
1872 withval=$with_opengl;
1876 # Check whether --with-wine-tools was given.
1877 if test "${with_wine_tools+set}" = set; then
1878 withval=$with_wine_tools;
1882 # Make sure we can run config.sub.
1883 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1884 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1885 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1886 { (exit 1); exit 1; }; }
1888 { echo "$as_me:$LINENO: checking build system type" >&5
1889 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1890 if test "${ac_cv_build+set}" = set; then
1891 echo $ECHO_N "(cached) $ECHO_C" >&6
1893 ac_build_alias=$build_alias
1894 test "x$ac_build_alias" = x &&
1895 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1896 test "x$ac_build_alias" = x &&
1897 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1898 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1899 { (exit 1); exit 1; }; }
1900 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1901 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1902 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1903 { (exit 1); exit 1; }; }
1906 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1907 echo "${ECHO_T}$ac_cv_build" >&6; }
1908 case $ac_cv_build in
1910 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1911 echo "$as_me: error: invalid value of canonical build" >&2;}
1912 { (exit 1); exit 1; }; };;
1915 ac_save_IFS=$IFS; IFS='-'
1921 # Remember, the first character of IFS is used to create $*,
1922 # except with old shells:
1925 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1928 { echo "$as_me:$LINENO: checking host system type" >&5
1929 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1930 if test "${ac_cv_host+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 if test "x$host_alias" = x; then
1934 ac_cv_host=$ac_cv_build
1936 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1937 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1938 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1939 { (exit 1); exit 1; }; }
1943 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1944 echo "${ECHO_T}$ac_cv_host" >&6; }
1947 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1948 echo "$as_me: error: invalid value of canonical host" >&2;}
1949 { (exit 1); exit 1; }; };;
1952 ac_save_IFS=$IFS; IFS='-'
1958 # Remember, the first character of IFS is used to create $*,
1959 # except with old shells:
1962 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1967 if test "x$enable_win64" != "xyes"
1969 test -n "$CC" || CC="gcc -m32"
1970 test -n "$CXX"|| CXX="g++ -m32"
1971 test -n "$LD" || LD="ld -m elf_i386"
1972 test -n "$AS" || AS="as --32"
1980 if test "x$enable_win16" != "xno"
1987 WIN16_FILES="\$(WIN16_FILES)"
1989 WIN16_INSTALL="\$(WIN16_INSTALL)"
1991 if test "x$enable_win16" != "xyes"
1999 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2000 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2001 You need to run 'make distclean' in the source tree first." >&5
2002 echo "$as_me: 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." >&2;}
2004 { (exit 1); exit 1; }; }
2009 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2010 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2011 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2012 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 cat >conftest.make <<\_ACEOF
2018 @echo '@@@%%%=$(MAKE)=@@@%%%'
2020 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2021 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2023 eval ac_cv_prog_make_${ac_make}_set=yes;;
2025 eval ac_cv_prog_make_${ac_make}_set=no;;
2029 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2030 { echo "$as_me:$LINENO: result: yes" >&5
2031 echo "${ECHO_T}yes" >&6; }
2034 { echo "$as_me:$LINENO: result: no" >&5
2035 echo "${ECHO_T}no" >&6; }
2036 SET_MAKE="MAKE=${MAKE-make}"
2040 ac_cpp='$CPP $CPPFLAGS'
2041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2044 if test -n "$ac_tool_prefix"; then
2045 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2046 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2049 if test "${ac_cv_prog_CC+set}" = set; then
2050 echo $ECHO_N "(cached) $ECHO_C" >&6
2052 if test -n "$CC"; then
2053 ac_cv_prog_CC="$CC" # Let the user override the test.
2055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2059 test -z "$as_dir" && as_dir=.
2060 for ac_exec_ext in '' $ac_executable_extensions; do
2061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2062 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2073 if test -n "$CC"; then
2074 { echo "$as_me:$LINENO: result: $CC" >&5
2075 echo "${ECHO_T}$CC" >&6; }
2077 { echo "$as_me:$LINENO: result: no" >&5
2078 echo "${ECHO_T}no" >&6; }
2083 if test -z "$ac_cv_prog_CC"; then
2085 # Extract the first word of "gcc", so it can be a program name with args.
2086 set dummy gcc; ac_word=$2
2087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2089 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2090 echo $ECHO_N "(cached) $ECHO_C" >&6
2092 if test -n "$ac_ct_CC"; then
2093 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2099 test -z "$as_dir" && as_dir=.
2100 for ac_exec_ext in '' $ac_executable_extensions; do
2101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2102 ac_cv_prog_ac_ct_CC="gcc"
2103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2112 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2113 if test -n "$ac_ct_CC"; then
2114 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2115 echo "${ECHO_T}$ac_ct_CC" >&6; }
2117 { echo "$as_me:$LINENO: result: no" >&5
2118 echo "${ECHO_T}no" >&6; }
2121 if test "x$ac_ct_CC" = x; then
2124 case $cross_compiling:$ac_tool_warned in
2126 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2127 whose name does not start with the host triplet. If you think this
2128 configuration is useful to you, please write to autoconf@gnu.org." >&5
2129 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2130 whose name does not start with the host triplet. If you think this
2131 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2132 ac_tool_warned=yes ;;
2140 if test -z "$CC"; then
2141 if test -n "$ac_tool_prefix"; then
2142 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2143 set dummy ${ac_tool_prefix}cc; ac_word=$2
2144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2146 if test "${ac_cv_prog_CC+set}" = set; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2149 if test -n "$CC"; then
2150 ac_cv_prog_CC="$CC" # Let the user override the test.
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2156 test -z "$as_dir" && as_dir=.
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2159 ac_cv_prog_CC="${ac_tool_prefix}cc"
2160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2170 if test -n "$CC"; then
2171 { echo "$as_me:$LINENO: result: $CC" >&5
2172 echo "${ECHO_T}$CC" >&6; }
2174 { echo "$as_me:$LINENO: result: no" >&5
2175 echo "${ECHO_T}no" >&6; }
2181 if test -z "$CC"; then
2182 # Extract the first word of "cc", so it can be a program name with args.
2183 set dummy cc; ac_word=$2
2184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2186 if test "${ac_cv_prog_CC+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 if test -n "$CC"; then
2190 ac_cv_prog_CC="$CC" # Let the user override the test.
2193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2197 test -z "$as_dir" && as_dir=.
2198 for ac_exec_ext in '' $ac_executable_extensions; do
2199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2200 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2201 ac_prog_rejected=yes
2205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2212 if test $ac_prog_rejected = yes; then
2213 # We found a bogon in the path, so make sure we never use it.
2214 set dummy $ac_cv_prog_CC
2216 if test $# != 0; then
2217 # We chose a different compiler from the bogus one.
2218 # However, it has the same basename, so the bogon will be chosen
2219 # first if we set CC to just the basename; use the full file name.
2221 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2227 if test -n "$CC"; then
2228 { echo "$as_me:$LINENO: result: $CC" >&5
2229 echo "${ECHO_T}$CC" >&6; }
2231 { echo "$as_me:$LINENO: result: no" >&5
2232 echo "${ECHO_T}no" >&6; }
2237 if test -z "$CC"; then
2238 if test -n "$ac_tool_prefix"; then
2239 for ac_prog in cl.exe
2241 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2242 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2245 if test "${ac_cv_prog_CC+set}" = set; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2248 if test -n "$CC"; then
2249 ac_cv_prog_CC="$CC" # Let the user override the test.
2251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2255 test -z "$as_dir" && as_dir=.
2256 for ac_exec_ext in '' $ac_executable_extensions; do
2257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2258 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2269 if test -n "$CC"; then
2270 { echo "$as_me:$LINENO: result: $CC" >&5
2271 echo "${ECHO_T}$CC" >&6; }
2273 { echo "$as_me:$LINENO: result: no" >&5
2274 echo "${ECHO_T}no" >&6; }
2278 test -n "$CC" && break
2281 if test -z "$CC"; then
2283 for ac_prog in cl.exe
2285 # Extract the first word of "$ac_prog", so it can be a program name with args.
2286 set dummy $ac_prog; ac_word=$2
2287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2289 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2292 if test -n "$ac_ct_CC"; then
2293 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2299 test -z "$as_dir" && as_dir=.
2300 for ac_exec_ext in '' $ac_executable_extensions; do
2301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2302 ac_cv_prog_ac_ct_CC="$ac_prog"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2312 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2313 if test -n "$ac_ct_CC"; then
2314 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2315 echo "${ECHO_T}$ac_ct_CC" >&6; }
2317 { echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6; }
2322 test -n "$ac_ct_CC" && break
2325 if test "x$ac_ct_CC" = x; then
2328 case $cross_compiling:$ac_tool_warned in
2330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2331 whose name does not start with the host triplet. If you think this
2332 configuration is useful to you, please write to autoconf@gnu.org." >&5
2333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2334 whose name does not start with the host triplet. If you think this
2335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2336 ac_tool_warned=yes ;;
2345 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2346 See \`config.log' for more details." >&5
2347 echo "$as_me: error: no acceptable C compiler found in \$PATH
2348 See \`config.log' for more details." >&2;}
2349 { (exit 1); exit 1; }; }
2351 # Provide some information about the compiler.
2352 echo "$as_me:$LINENO: checking for C compiler version" >&5
2353 ac_compiler=`set X $ac_compile; echo $2`
2354 { (ac_try="$ac_compiler --version >&5"
2356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2357 *) ac_try_echo=$ac_try;;
2359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2360 (eval "$ac_compiler --version >&5") 2>&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }
2364 { (ac_try="$ac_compiler -v >&5"
2366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2367 *) ac_try_echo=$ac_try;;
2369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2370 (eval "$ac_compiler -v >&5") 2>&5
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); }
2374 { (ac_try="$ac_compiler -V >&5"
2376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2380 (eval "$ac_compiler -V >&5") 2>&5
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2385 cat >conftest.$ac_ext <<_ACEOF
2388 cat confdefs.h >>conftest.$ac_ext
2389 cat >>conftest.$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2400 ac_clean_files_save=$ac_clean_files
2401 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2402 # Try to create an executable without -o first, disregard a.out.
2403 # It will help us diagnose broken compilers, and finding out an intuition
2405 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2406 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2407 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2409 # List of possible output files, starting from the most likely.
2410 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2411 # only as a last resort. b.out is created by i960 compilers.
2412 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2414 # The IRIX 6 linker writes into existing files which may not be
2415 # executable, retaining their permissions. Remove them first so a
2416 # subsequent execution test works.
2418 for ac_file in $ac_files
2421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2422 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2427 if { (ac_try="$ac_link_default"
2429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430 *) ac_try_echo=$ac_try;;
2432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2433 (eval "$ac_link_default") 2>&5
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }; then
2437 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2438 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2439 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2440 # so that the user can short-circuit this test for compilers unknown to
2442 for ac_file in $ac_files ''
2444 test -f "$ac_file" || continue
2446 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2449 # We found the default executable, but exeext='' is most
2453 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2455 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2457 # We set ac_cv_exeext here because the later test for it is not
2458 # safe: cross compilers may not add the suffix if given an `-o'
2459 # argument, so we may need to know it at that point already.
2460 # Even if this section looks crufty: it has the advantage of
2467 test "$ac_cv_exeext" = no && ac_cv_exeext=
2473 { echo "$as_me:$LINENO: result: $ac_file" >&5
2474 echo "${ECHO_T}$ac_file" >&6; }
2475 if test -z "$ac_file"; then
2476 echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.$ac_ext >&5
2479 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2480 See \`config.log' for more details." >&5
2481 echo "$as_me: error: C compiler cannot create executables
2482 See \`config.log' for more details." >&2;}
2483 { (exit 77); exit 77; }; }
2486 ac_exeext=$ac_cv_exeext
2488 # Check that the compiler produces executables we can run. If not, either
2489 # the compiler is broken, or we cross compile.
2490 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2491 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2492 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2493 # If not cross compiling, check that we can run a simple program.
2494 if test "$cross_compiling" != yes; then
2495 if { ac_try='./$ac_file'
2496 { (case "(($ac_try" in
2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2501 (eval "$ac_try") 2>&5
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); }; }; then
2507 if test "$cross_compiling" = maybe; then
2510 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2511 If you meant to cross compile, use \`--host'.
2512 See \`config.log' for more details." >&5
2513 echo "$as_me: error: cannot run C compiled programs.
2514 If you meant to cross compile, use \`--host'.
2515 See \`config.log' for more details." >&2;}
2516 { (exit 1); exit 1; }; }
2520 { echo "$as_me:$LINENO: result: yes" >&5
2521 echo "${ECHO_T}yes" >&6; }
2523 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2524 ac_clean_files=$ac_clean_files_save
2525 # Check that the compiler produces executables we can run. If not, either
2526 # the compiler is broken, or we cross compile.
2527 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2528 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2529 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2530 echo "${ECHO_T}$cross_compiling" >&6; }
2532 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2533 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2534 if { (ac_try="$ac_link"
2536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2540 (eval "$ac_link") 2>&5
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); }; then
2544 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2545 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2546 # work properly (i.e., refer to `conftest.exe'), while it won't with
2548 for ac_file in conftest.exe conftest conftest.*; do
2549 test -f "$ac_file" || continue
2551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2552 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2558 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2559 See \`config.log' for more details." >&5
2560 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&2;}
2562 { (exit 1); exit 1; }; }
2565 rm -f conftest$ac_cv_exeext
2566 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2567 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2569 rm -f conftest.$ac_ext
2570 EXEEXT=$ac_cv_exeext
2572 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2573 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2574 if test "${ac_cv_objext+set}" = set; then
2575 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 cat >conftest.$ac_ext <<_ACEOF
2580 cat confdefs.h >>conftest.$ac_ext
2581 cat >>conftest.$ac_ext <<_ACEOF
2582 /* end confdefs.h. */
2592 rm -f conftest.o conftest.obj
2593 if { (ac_try="$ac_compile"
2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596 *) ac_try_echo=$ac_try;;
2598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2599 (eval "$ac_compile") 2>&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; then
2603 for ac_file in conftest.o conftest.obj conftest.*; do
2604 test -f "$ac_file" || continue;
2606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2607 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2612 echo "$as_me: failed program was:" >&5
2613 sed 's/^/| /' conftest.$ac_ext >&5
2615 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2616 See \`config.log' for more details." >&5
2617 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2618 See \`config.log' for more details." >&2;}
2619 { (exit 1); exit 1; }; }
2622 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2624 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2625 echo "${ECHO_T}$ac_cv_objext" >&6; }
2626 OBJEXT=$ac_cv_objext
2628 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2629 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2630 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2631 echo $ECHO_N "(cached) $ECHO_C" >&6
2633 cat >conftest.$ac_ext <<_ACEOF
2636 cat confdefs.h >>conftest.$ac_ext
2637 cat >>conftest.$ac_ext <<_ACEOF
2638 /* end confdefs.h. */
2651 rm -f conftest.$ac_objext
2652 if { (ac_try="$ac_compile"
2654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2655 *) ac_try_echo=$ac_try;;
2657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2658 (eval "$ac_compile") 2>conftest.er1
2660 grep -v '^ *+' conftest.er1 >conftest.err
2662 cat conftest.err >&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); } && {
2665 test -z "$ac_c_werror_flag" ||
2666 test ! -s conftest.err
2667 } && test -s conftest.$ac_objext; then
2670 echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2677 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2680 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2681 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2682 GCC=`test $ac_compiler_gnu = yes && echo yes`
2683 ac_test_CFLAGS=${CFLAGS+set}
2684 ac_save_CFLAGS=$CFLAGS
2685 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2686 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2687 if test "${ac_cv_prog_cc_g+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2690 ac_save_c_werror_flag=$ac_c_werror_flag
2691 ac_c_werror_flag=yes
2694 cat >conftest.$ac_ext <<_ACEOF
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2699 /* end confdefs.h. */
2709 rm -f conftest.$ac_objext
2710 if { (ac_try="$ac_compile"
2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2716 (eval "$ac_compile") 2>conftest.er1
2718 grep -v '^ *+' conftest.er1 >conftest.err
2720 cat conftest.err >&5
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); } && {
2723 test -z "$ac_c_werror_flag" ||
2724 test ! -s conftest.err
2725 } && test -s conftest.$ac_objext; then
2728 echo "$as_me: failed program was:" >&5
2729 sed 's/^/| /' conftest.$ac_ext >&5
2732 cat >conftest.$ac_ext <<_ACEOF
2735 cat confdefs.h >>conftest.$ac_ext
2736 cat >>conftest.$ac_ext <<_ACEOF
2737 /* end confdefs.h. */
2747 rm -f conftest.$ac_objext
2748 if { (ac_try="$ac_compile"
2750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2751 *) ac_try_echo=$ac_try;;
2753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2754 (eval "$ac_compile") 2>conftest.er1
2756 grep -v '^ *+' conftest.er1 >conftest.err
2758 cat conftest.err >&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); } && {
2761 test -z "$ac_c_werror_flag" ||
2762 test ! -s conftest.err
2763 } && test -s conftest.$ac_objext; then
2766 echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.$ac_ext >&5
2769 ac_c_werror_flag=$ac_save_c_werror_flag
2771 cat >conftest.$ac_ext <<_ACEOF
2774 cat confdefs.h >>conftest.$ac_ext
2775 cat >>conftest.$ac_ext <<_ACEOF
2776 /* end confdefs.h. */
2786 rm -f conftest.$ac_objext
2787 if { (ac_try="$ac_compile"
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2793 (eval "$ac_compile") 2>conftest.er1
2795 grep -v '^ *+' conftest.er1 >conftest.err
2797 cat conftest.err >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); } && {
2800 test -z "$ac_c_werror_flag" ||
2801 test ! -s conftest.err
2802 } && test -s conftest.$ac_objext; then
2805 echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.$ac_ext >&5
2811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 ac_c_werror_flag=$ac_save_c_werror_flag
2820 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2821 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2822 if test "$ac_test_CFLAGS" = set; then
2823 CFLAGS=$ac_save_CFLAGS
2824 elif test $ac_cv_prog_cc_g = yes; then
2825 if test "$GCC" = yes; then
2831 if test "$GCC" = yes; then
2837 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2838 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2839 if test "${ac_cv_prog_cc_c89+set}" = set; then
2840 echo $ECHO_N "(cached) $ECHO_C" >&6
2842 ac_cv_prog_cc_c89=no
2844 cat >conftest.$ac_ext <<_ACEOF
2847 cat confdefs.h >>conftest.$ac_ext
2848 cat >>conftest.$ac_ext <<_ACEOF
2849 /* end confdefs.h. */
2852 #include <sys/types.h>
2853 #include <sys/stat.h>
2854 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2855 struct buf { int x; };
2856 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2857 static char *e (p, i)
2863 static char *f (char * (*g) (char **, int), char **p, ...)
2868 s = g (p, va_arg (v,int));
2873 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2874 function prototypes and stuff, but not '\xHH' hex character constants.
2875 These don't provoke an error unfortunately, instead are silently treated
2876 as 'x'. The following induces an error, until -std is added to get
2877 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2878 array size at least. It's necessary to write '\x00'==0 to get something
2879 that's true only with -std. */
2880 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2882 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2883 inside strings and character constants. */
2885 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2887 int test (int i, double x);
2888 struct s1 {int (*f) (int a);};
2889 struct s2 {int (*f) (double a);};
2890 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2896 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2901 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2902 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2904 CC="$ac_save_CC $ac_arg"
2905 rm -f conftest.$ac_objext
2906 if { (ac_try="$ac_compile"
2908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;;
2911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2912 (eval "$ac_compile") 2>conftest.er1
2914 grep -v '^ *+' conftest.er1 >conftest.err
2916 cat conftest.err >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); } && {
2919 test -z "$ac_c_werror_flag" ||
2920 test ! -s conftest.err
2921 } && test -s conftest.$ac_objext; then
2922 ac_cv_prog_cc_c89=$ac_arg
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2930 rm -f core conftest.err conftest.$ac_objext
2931 test "x$ac_cv_prog_cc_c89" != "xno" && break
2933 rm -f conftest.$ac_ext
2938 case "x$ac_cv_prog_cc_c89" in
2940 { echo "$as_me:$LINENO: result: none needed" >&5
2941 echo "${ECHO_T}none needed" >&6; } ;;
2943 { echo "$as_me:$LINENO: result: unsupported" >&5
2944 echo "${ECHO_T}unsupported" >&6; } ;;
2946 CC="$CC $ac_cv_prog_cc_c89"
2947 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2948 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2953 ac_cpp='$CPP $CPPFLAGS'
2954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2959 ac_cpp='$CXXCPP $CPPFLAGS'
2960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2963 if test -z "$CXX"; then
2964 if test -n "$CCC"; then
2967 if test -n "$ac_tool_prefix"; then
2968 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2970 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2971 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2974 if test "${ac_cv_prog_CXX+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2977 if test -n "$CXX"; then
2978 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2984 test -z "$as_dir" && as_dir=.
2985 for ac_exec_ext in '' $ac_executable_extensions; do
2986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2987 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2998 if test -n "$CXX"; then
2999 { echo "$as_me:$LINENO: result: $CXX" >&5
3000 echo "${ECHO_T}$CXX" >&6; }
3002 { echo "$as_me:$LINENO: result: no" >&5
3003 echo "${ECHO_T}no" >&6; }
3007 test -n "$CXX" && break
3010 if test -z "$CXX"; then
3012 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3014 # Extract the first word of "$ac_prog", so it can be a program name with args.
3015 set dummy $ac_prog; ac_word=$2
3016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3018 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3021 if test -n "$ac_ct_CXX"; then
3022 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3028 test -z "$as_dir" && as_dir=.
3029 for ac_exec_ext in '' $ac_executable_extensions; do
3030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3031 ac_cv_prog_ac_ct_CXX="$ac_prog"
3032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3041 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3042 if test -n "$ac_ct_CXX"; then
3043 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3044 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3046 { echo "$as_me:$LINENO: result: no" >&5
3047 echo "${ECHO_T}no" >&6; }
3051 test -n "$ac_ct_CXX" && break
3054 if test "x$ac_ct_CXX" = x; then
3057 case $cross_compiling:$ac_tool_warned in
3059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3060 whose name does not start with the host triplet. If you think this
3061 configuration is useful to you, please write to autoconf@gnu.org." >&5
3062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3063 whose name does not start with the host triplet. If you think this
3064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3065 ac_tool_warned=yes ;;
3073 # Provide some information about the compiler.
3074 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3075 ac_compiler=`set X $ac_compile; echo $2`
3076 { (ac_try="$ac_compiler --version >&5"
3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079 *) ac_try_echo=$ac_try;;
3081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3082 (eval "$ac_compiler --version >&5") 2>&5
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); }
3086 { (ac_try="$ac_compiler -v >&5"
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3092 (eval "$ac_compiler -v >&5") 2>&5
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); }
3096 { (ac_try="$ac_compiler -V >&5"
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3102 (eval "$ac_compiler -V >&5") 2>&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }
3107 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3108 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3109 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6
3112 cat >conftest.$ac_ext <<_ACEOF
3115 cat confdefs.h >>conftest.$ac_ext
3116 cat >>conftest.$ac_ext <<_ACEOF
3117 /* end confdefs.h. */
3130 rm -f conftest.$ac_objext
3131 if { (ac_try="$ac_compile"
3133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3134 *) ac_try_echo=$ac_try;;
3136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3137 (eval "$ac_compile") 2>conftest.er1
3139 grep -v '^ *+' conftest.er1 >conftest.err
3141 cat conftest.err >&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); } && {
3144 test -z "$ac_cxx_werror_flag" ||
3145 test ! -s conftest.err
3146 } && test -s conftest.$ac_objext; then
3149 echo "$as_me: failed program was:" >&5
3150 sed 's/^/| /' conftest.$ac_ext >&5
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3159 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3160 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3161 GXX=`test $ac_compiler_gnu = yes && echo yes`
3162 ac_test_CXXFLAGS=${CXXFLAGS+set}
3163 ac_save_CXXFLAGS=$CXXFLAGS
3164 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3165 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3166 if test "${ac_cv_prog_cxx_g+set}" = set; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3169 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3170 ac_cxx_werror_flag=yes
3173 cat >conftest.$ac_ext <<_ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3188 rm -f conftest.$ac_objext
3189 if { (ac_try="$ac_compile"
3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192 *) ac_try_echo=$ac_try;;
3194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3195 (eval "$ac_compile") 2>conftest.er1
3197 grep -v '^ *+' conftest.er1 >conftest.err
3199 cat conftest.err >&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); } && {
3202 test -z "$ac_cxx_werror_flag" ||
3203 test ! -s conftest.err
3204 } && test -s conftest.$ac_objext; then
3205 ac_cv_prog_cxx_g=yes
3207 echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3211 cat >conftest.$ac_ext <<_ACEOF
3214 cat confdefs.h >>conftest.$ac_ext
3215 cat >>conftest.$ac_ext <<_ACEOF
3216 /* end confdefs.h. */
3226 rm -f conftest.$ac_objext
3227 if { (ac_try="$ac_compile"
3229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3233 (eval "$ac_compile") 2>conftest.er1
3235 grep -v '^ *+' conftest.er1 >conftest.err
3237 cat conftest.err >&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); } && {
3240 test -z "$ac_cxx_werror_flag" ||
3241 test ! -s conftest.err
3242 } && test -s conftest.$ac_objext; then
3245 echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.$ac_ext >&5
3248 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3250 cat >conftest.$ac_ext <<_ACEOF
3253 cat confdefs.h >>conftest.$ac_ext
3254 cat >>conftest.$ac_ext <<_ACEOF
3255 /* end confdefs.h. */
3265 rm -f conftest.$ac_objext
3266 if { (ac_try="$ac_compile"
3268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269 *) ac_try_echo=$ac_try;;
3271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3272 (eval "$ac_compile") 2>conftest.er1
3274 grep -v '^ *+' conftest.er1 >conftest.err
3276 cat conftest.err >&5
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); } && {
3279 test -z "$ac_cxx_werror_flag" ||
3280 test ! -s conftest.err
3281 } && test -s conftest.$ac_objext; then
3282 ac_cv_prog_cxx_g=yes
3284 echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.$ac_ext >&5
3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3299 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3300 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3301 if test "$ac_test_CXXFLAGS" = set; then
3302 CXXFLAGS=$ac_save_CXXFLAGS
3303 elif test $ac_cv_prog_cxx_g = yes; then
3304 if test "$GXX" = yes; then
3310 if test "$GXX" = yes; then
3317 ac_cpp='$CPP $CPPFLAGS'
3318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3322 if test -n "$ac_tool_prefix"; then
3323 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3324 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3327 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3328 echo $ECHO_N "(cached) $ECHO_C" >&6
3330 if test -n "$CPPBIN"; then
3331 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3337 test -z "$as_dir" && as_dir=.
3338 for ac_exec_ext in '' $ac_executable_extensions; do
3339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3340 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3350 CPPBIN=$ac_cv_prog_CPPBIN
3351 if test -n "$CPPBIN"; then
3352 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3353 echo "${ECHO_T}$CPPBIN" >&6; }
3355 { echo "$as_me:$LINENO: result: no" >&5
3356 echo "${ECHO_T}no" >&6; }
3361 if test -z "$ac_cv_prog_CPPBIN"; then
3362 ac_ct_CPPBIN=$CPPBIN
3363 # Extract the first word of "cpp", so it can be a program name with args.
3364 set dummy cpp; ac_word=$2
3365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3367 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3368 echo $ECHO_N "(cached) $ECHO_C" >&6
3370 if test -n "$ac_ct_CPPBIN"; then
3371 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3377 test -z "$as_dir" && as_dir=.
3378 for ac_exec_ext in '' $ac_executable_extensions; do
3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380 ac_cv_prog_ac_ct_CPPBIN="cpp"
3381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3390 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3391 if test -n "$ac_ct_CPPBIN"; then
3392 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3393 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3395 { echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6; }
3399 if test "x$ac_ct_CPPBIN" = x; then
3402 case $cross_compiling:$ac_tool_warned in
3404 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3405 whose name does not start with the host triplet. If you think this
3406 configuration is useful to you, please write to autoconf@gnu.org." >&5
3407 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3408 whose name does not start with the host triplet. If you think this
3409 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3410 ac_tool_warned=yes ;;
3412 CPPBIN=$ac_ct_CPPBIN
3415 CPPBIN="$ac_cv_prog_CPPBIN"
3419 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3420 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3421 if test "${wine_cv_toolsdir+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3424 if test -z "$with_wine_tools"; then
3425 if test "$cross_compiling" = "yes"; then
3426 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3427 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3428 { (exit 1); exit 1; }; }
3430 wine_cv_toolsdir="\$(TOPOBJDIR)"
3432 elif test -d "$with_wine_tools/tools/winebuild"; then
3433 case $with_wine_tools in
3434 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3435 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3438 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3439 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3440 { (exit 1); exit 1; }; }
3443 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3444 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3445 TOOLSDIR=$wine_cv_toolsdir
3450 ac_cpp='$CPP $CPPFLAGS'
3451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3455 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3456 # On Suns, sometimes $CPP names a directory.
3457 if test -n "$CPP" && test -d "$CPP"; then
3460 if test -z "$CPP"; then
3461 if test "${ac_cv_prog_CPP+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3464 # Double quotes because CPP needs to be expanded
3465 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3468 for ac_c_preproc_warn_flag in '' yes
3470 # Use a header file that comes with gcc, so configuring glibc
3471 # with a fresh cross-compiler works.
3472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3473 # <limits.h> exists even on freestanding compilers.
3474 # On the NeXT, cc -E runs the code through the compiler's parser,
3475 # not just through cpp. "Syntax error" is here to catch this case.
3476 cat >conftest.$ac_ext <<_ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3483 # include <limits.h>
3485 # include <assert.h>
3489 if { (ac_try="$ac_cpp conftest.$ac_ext"
3491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3495 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3497 grep -v '^ *+' conftest.er1 >conftest.err
3499 cat conftest.err >&5
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); } >/dev/null && {
3502 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3503 test ! -s conftest.err
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3510 # Broken: fails on valid input.
3514 rm -f conftest.err conftest.$ac_ext
3516 # OK, works on sane cases. Now check whether nonexistent headers
3517 # can be detected and how.
3518 cat >conftest.$ac_ext <<_ACEOF
3521 cat confdefs.h >>conftest.$ac_ext
3522 cat >>conftest.$ac_ext <<_ACEOF
3523 /* end confdefs.h. */
3524 #include <ac_nonexistent.h>
3526 if { (ac_try="$ac_cpp conftest.$ac_ext"
3528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529 *) ac_try_echo=$ac_try;;
3531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3532 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3534 grep -v '^ *+' conftest.er1 >conftest.err
3536 cat conftest.err >&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); } >/dev/null && {
3539 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3540 test ! -s conftest.err
3542 # Broken: success on invalid input.
3545 echo "$as_me: failed program was:" >&5
3546 sed 's/^/| /' conftest.$ac_ext >&5
3548 # Passes both tests.
3553 rm -f conftest.err conftest.$ac_ext
3556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3557 rm -f conftest.err conftest.$ac_ext
3558 if $ac_preproc_ok; then
3570 { echo "$as_me:$LINENO: result: $CPP" >&5
3571 echo "${ECHO_T}$CPP" >&6; }
3573 for ac_c_preproc_warn_flag in '' yes
3575 # Use a header file that comes with gcc, so configuring glibc
3576 # with a fresh cross-compiler works.
3577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3578 # <limits.h> exists even on freestanding compilers.
3579 # On the NeXT, cc -E runs the code through the compiler's parser,
3580 # not just through cpp. "Syntax error" is here to catch this case.
3581 cat >conftest.$ac_ext <<_ACEOF
3584 cat confdefs.h >>conftest.$ac_ext
3585 cat >>conftest.$ac_ext <<_ACEOF
3586 /* end confdefs.h. */
3588 # include <limits.h>
3590 # include <assert.h>
3594 if { (ac_try="$ac_cpp conftest.$ac_ext"
3596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3597 *) ac_try_echo=$ac_try;;
3599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3600 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3602 grep -v '^ *+' conftest.er1 >conftest.err
3604 cat conftest.err >&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } >/dev/null && {
3607 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3608 test ! -s conftest.err
3612 echo "$as_me: failed program was:" >&5
3613 sed 's/^/| /' conftest.$ac_ext >&5
3615 # Broken: fails on valid input.
3619 rm -f conftest.err conftest.$ac_ext
3621 # OK, works on sane cases. Now check whether nonexistent headers
3622 # can be detected and how.
3623 cat >conftest.$ac_ext <<_ACEOF
3626 cat confdefs.h >>conftest.$ac_ext
3627 cat >>conftest.$ac_ext <<_ACEOF
3628 /* end confdefs.h. */
3629 #include <ac_nonexistent.h>
3631 if { (ac_try="$ac_cpp conftest.$ac_ext"
3633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3634 *) ac_try_echo=$ac_try;;
3636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3637 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3639 grep -v '^ *+' conftest.er1 >conftest.err
3641 cat conftest.err >&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); } >/dev/null && {
3644 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3645 test ! -s conftest.err
3647 # Broken: success on invalid input.
3650 echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3653 # Passes both tests.
3658 rm -f conftest.err conftest.$ac_ext
3661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3662 rm -f conftest.err conftest.$ac_ext
3663 if $ac_preproc_ok; then
3666 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3667 See \`config.log' for more details." >&5
3668 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3669 See \`config.log' for more details." >&2;}
3670 { (exit 1); exit 1; }; }
3674 ac_cpp='$CPP $CPPFLAGS'
3675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3680 { echo "$as_me:$LINENO: checking for X" >&5
3681 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3684 # Check whether --with-x was given.
3685 if test "${with_x+set}" = set; then
3689 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3690 if test "x$with_x" = xno; then
3691 # The user explicitly disabled X.
3694 case $x_includes,$x_libraries in #(
3695 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3696 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3697 { (exit 1); exit 1; }; };; #(
3698 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3701 # One or both of the vars are not set, and there is no cached value.
3702 ac_x_includes=no ac_x_libraries=no
3703 rm -f -r conftest.dir
3704 if mkdir conftest.dir; then
3706 cat >Imakefile <<'_ACEOF'
3708 @echo incroot='${INCROOT}'
3710 @echo usrlibdir='${USRLIBDIR}'
3712 @echo libdir='${LIBDIR}'
3714 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3715 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3716 for ac_var in incroot usrlibdir libdir; do
3717 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3719 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3720 for ac_extension in a so sl; do
3721 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3722 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3723 ac_im_usrlibdir=$ac_im_libdir; break
3726 # Screen out bogus values from the imake configuration. They are
3727 # bogus both because they are the default anyway, and because
3728 # using them would break gcc on systems where it needs fixed includes.
3729 case $ac_im_incroot in
3730 /usr/include) ac_x_includes= ;;
3731 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3733 case $ac_im_usrlibdir in
3735 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3739 rm -f -r conftest.dir
3742 # Standard set of common directories for X headers.
3743 # Check X11 before X11Rn because it is often a symlink to the current release.
3755 /usr/local/X11/include
3756 /usr/local/X11R6/include
3757 /usr/local/X11R5/include
3758 /usr/local/X11R4/include
3760 /usr/local/include/X11
3761 /usr/local/include/X11R6
3762 /usr/local/include/X11R5
3763 /usr/local/include/X11R4
3767 /usr/XFree86/include/X11
3771 /usr/unsupported/include
3773 /usr/local/x11r5/include
3774 /usr/lpp/Xamples/include
3776 /usr/openwin/include
3777 /usr/openwin/share/include'
3779 if test "$ac_x_includes" = no; then
3780 # Guess where to find include files, by looking for Xlib.h.
3781 # First, try using that file with no special directory specified.
3782 cat >conftest.$ac_ext <<_ACEOF
3785 cat confdefs.h >>conftest.$ac_ext
3786 cat >>conftest.$ac_ext <<_ACEOF
3787 /* end confdefs.h. */
3788 #include <X11/Xlib.h>
3790 if { (ac_try="$ac_cpp conftest.$ac_ext"
3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3793 *) ac_try_echo=$ac_try;;
3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3798 grep -v '^ *+' conftest.er1 >conftest.err
3800 cat conftest.err >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } >/dev/null && {
3803 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3804 test ! -s conftest.err
3806 # We can compile using X headers with no special include directory.
3809 echo "$as_me: failed program was:" >&5
3810 sed 's/^/| /' conftest.$ac_ext >&5
3812 for ac_dir in $ac_x_header_dirs; do
3813 if test -r "$ac_dir/X11/Xlib.h"; then
3814 ac_x_includes=$ac_dir
3820 rm -f conftest.err conftest.$ac_ext
3821 fi # $ac_x_includes = no
3823 if test "$ac_x_libraries" = no; then
3824 # Check for the libraries.
3825 # See if we find them without any special options.
3826 # Don't add to $LIBS permanently.
3829 cat >conftest.$ac_ext <<_ACEOF
3832 cat confdefs.h >>conftest.$ac_ext
3833 cat >>conftest.$ac_ext <<_ACEOF
3834 /* end confdefs.h. */
3835 #include <X11/Xlib.h>
3844 rm -f conftest.$ac_objext conftest$ac_exeext
3845 if { (ac_try="$ac_link"
3847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3851 (eval "$ac_link") 2>conftest.er1
3853 grep -v '^ *+' conftest.er1 >conftest.err
3855 cat conftest.err >&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); } && {
3858 test -z "$ac_c_werror_flag" ||
3859 test ! -s conftest.err
3860 } && test -s conftest$ac_exeext &&
3861 $as_test_x conftest$ac_exeext; then
3863 # We can link X programs with no special library path.
3866 echo "$as_me: failed program was:" >&5
3867 sed 's/^/| /' conftest.$ac_ext >&5
3870 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3872 # Don't even attempt the hair of trying to link an X program!
3873 for ac_extension in a so sl; do
3874 if test -r "$ac_dir/libX11.$ac_extension"; then
3875 ac_x_libraries=$ac_dir
3882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3883 conftest$ac_exeext conftest.$ac_ext
3884 fi # $ac_x_libraries = no
3886 case $ac_x_includes,$ac_x_libraries in #(
3888 # Didn't find X, or a directory has "'" in its name.
3889 ac_cv_have_x="have_x=no";; #(
3891 # Record where we found X for the cache.
3892 ac_cv_have_x="have_x=yes\
3893 ac_x_includes='$ac_x_includes'\
3894 ac_x_libraries='$ac_x_libraries'"
3900 eval "$ac_cv_have_x"
3903 if test "$have_x" != yes; then
3904 { echo "$as_me:$LINENO: result: $have_x" >&5
3905 echo "${ECHO_T}$have_x" >&6; }
3908 # If each of the values was on the command line, it overrides each guess.
3909 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3910 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3911 # Update the cache value to reflect the command line values.
3912 ac_cv_have_x="have_x=yes\
3913 ac_x_includes='$x_includes'\
3914 ac_x_libraries='$x_libraries'"
3915 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3916 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3919 if test "$no_x" = yes; then
3920 # Not all programs may use this symbol, but it does not hurt to define it.
3922 cat >>confdefs.h <<\_ACEOF
3923 #define X_DISPLAY_MISSING 1
3926 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3928 if test -n "$x_includes"; then
3929 X_CFLAGS="$X_CFLAGS -I$x_includes"
3932 # It would also be nice to do this for all -L options, not just this one.
3933 if test -n "$x_libraries"; then
3934 X_LIBS="$X_LIBS -L$x_libraries"
3935 # For Solaris; some versions of Sun CC require a space after -R and
3936 # others require no space. Words are not sufficient . . . .
3937 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3938 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3939 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3940 ac_xsave_c_werror_flag=$ac_c_werror_flag
3941 ac_c_werror_flag=yes
3942 cat >conftest.$ac_ext <<_ACEOF
3945 cat confdefs.h >>conftest.$ac_ext
3946 cat >>conftest.$ac_ext <<_ACEOF
3947 /* end confdefs.h. */
3957 rm -f conftest.$ac_objext conftest$ac_exeext
3958 if { (ac_try="$ac_link"
3960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3961 *) ac_try_echo=$ac_try;;
3963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3964 (eval "$ac_link") 2>conftest.er1
3966 grep -v '^ *+' conftest.er1 >conftest.err
3968 cat conftest.err >&5
3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); } && {
3971 test -z "$ac_c_werror_flag" ||
3972 test ! -s conftest.err
3973 } && test -s conftest$ac_exeext &&
3974 $as_test_x conftest$ac_exeext; then
3975 { echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6; }
3977 X_LIBS="$X_LIBS -R$x_libraries"
3979 echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.$ac_ext >&5
3982 LIBS="$ac_xsave_LIBS -R $x_libraries"
3983 cat >conftest.$ac_ext <<_ACEOF
3986 cat confdefs.h >>conftest.$ac_ext
3987 cat >>conftest.$ac_ext <<_ACEOF
3988 /* end confdefs.h. */
3998 rm -f conftest.$ac_objext conftest$ac_exeext
3999 if { (ac_try="$ac_link"
4001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002 *) ac_try_echo=$ac_try;;
4004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4005 (eval "$ac_link") 2>conftest.er1
4007 grep -v '^ *+' conftest.er1 >conftest.err
4009 cat conftest.err >&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); } && {
4012 test -z "$ac_c_werror_flag" ||
4013 test ! -s conftest.err
4014 } && test -s conftest$ac_exeext &&
4015 $as_test_x conftest$ac_exeext; then
4016 { echo "$as_me:$LINENO: result: yes" >&5
4017 echo "${ECHO_T}yes" >&6; }
4018 X_LIBS="$X_LIBS -R $x_libraries"
4020 echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.$ac_ext >&5
4023 { echo "$as_me:$LINENO: result: neither works" >&5
4024 echo "${ECHO_T}neither works" >&6; }
4027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4028 conftest$ac_exeext conftest.$ac_ext
4031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4032 conftest$ac_exeext conftest.$ac_ext
4033 ac_c_werror_flag=$ac_xsave_c_werror_flag
4037 # Check for system-dependent libraries X programs must link with.
4038 # Do this before checking for the system-independent R6 libraries
4039 # (-lICE), since we may need -lsocket or whatever for X linking.
4041 if test "$ISC" = yes; then
4042 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4044 # Martyn Johnson says this is needed for Ultrix, if the X
4045 # libraries were built with DECnet support. And Karl Berry says
4046 # the Alpha needs dnet_stub (dnet does not exist).
4047 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4048 cat >conftest.$ac_ext <<_ACEOF
4051 cat confdefs.h >>conftest.$ac_ext
4052 cat >>conftest.$ac_ext <<_ACEOF
4053 /* end confdefs.h. */
4055 /* Override any GCC internal prototype to avoid an error.
4056 Use char because int might match the return type of a GCC
4057 builtin and then its argument prototype would still apply. */
4061 char XOpenDisplay ();
4065 return XOpenDisplay ();
4070 rm -f conftest.$ac_objext conftest$ac_exeext
4071 if { (ac_try="$ac_link"
4073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074 *) ac_try_echo=$ac_try;;
4076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4077 (eval "$ac_link") 2>conftest.er1
4079 grep -v '^ *+' conftest.er1 >conftest.err
4081 cat conftest.err >&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); } && {
4084 test -z "$ac_c_werror_flag" ||
4085 test ! -s conftest.err
4086 } && test -s conftest$ac_exeext &&
4087 $as_test_x conftest$ac_exeext; then
4090 echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.$ac_ext >&5
4093 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4094 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4095 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4098 ac_check_lib_save_LIBS=$LIBS
4100 cat >conftest.$ac_ext <<_ACEOF
4103 cat confdefs.h >>conftest.$ac_ext
4104 cat >>conftest.$ac_ext <<_ACEOF
4105 /* end confdefs.h. */
4107 /* Override any GCC internal prototype to avoid an error.
4108 Use char because int might match the return type of a GCC
4109 builtin and then its argument prototype would still apply. */
4117 return dnet_ntoa ();
4122 rm -f conftest.$ac_objext conftest$ac_exeext
4123 if { (ac_try="$ac_link"
4125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4126 *) ac_try_echo=$ac_try;;
4128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4129 (eval "$ac_link") 2>conftest.er1
4131 grep -v '^ *+' conftest.er1 >conftest.err
4133 cat conftest.err >&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); } && {
4136 test -z "$ac_c_werror_flag" ||
4137 test ! -s conftest.err
4138 } && test -s conftest$ac_exeext &&
4139 $as_test_x conftest$ac_exeext; then
4140 ac_cv_lib_dnet_dnet_ntoa=yes
4142 echo "$as_me: failed program was:" >&5
4143 sed 's/^/| /' conftest.$ac_ext >&5
4145 ac_cv_lib_dnet_dnet_ntoa=no
4148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4149 conftest$ac_exeext conftest.$ac_ext
4150 LIBS=$ac_check_lib_save_LIBS
4152 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4153 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4154 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4155 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4158 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4159 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4160 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4161 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4162 echo $ECHO_N "(cached) $ECHO_C" >&6
4164 ac_check_lib_save_LIBS=$LIBS
4165 LIBS="-ldnet_stub $LIBS"
4166 cat >conftest.$ac_ext <<_ACEOF
4169 cat confdefs.h >>conftest.$ac_ext
4170 cat >>conftest.$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4173 /* Override any GCC internal prototype to avoid an error.
4174 Use char because int might match the return type of a GCC
4175 builtin and then its argument prototype would still apply. */
4183 return dnet_ntoa ();
4188 rm -f conftest.$ac_objext conftest$ac_exeext
4189 if { (ac_try="$ac_link"
4191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4192 *) ac_try_echo=$ac_try;;
4194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4195 (eval "$ac_link") 2>conftest.er1
4197 grep -v '^ *+' conftest.er1 >conftest.err
4199 cat conftest.err >&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); } && {
4202 test -z "$ac_c_werror_flag" ||
4203 test ! -s conftest.err
4204 } && test -s conftest$ac_exeext &&
4205 $as_test_x conftest$ac_exeext; then
4206 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4208 echo "$as_me: failed program was:" >&5
4209 sed 's/^/| /' conftest.$ac_ext >&5
4211 ac_cv_lib_dnet_stub_dnet_ntoa=no
4214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4215 conftest$ac_exeext conftest.$ac_ext
4216 LIBS=$ac_check_lib_save_LIBS
4218 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4219 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4220 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4221 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4228 conftest$ac_exeext conftest.$ac_ext
4229 LIBS="$ac_xsave_LIBS"
4231 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4232 # to get the SysV transport functions.
4233 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4235 # The nsl library prevents programs from opening the X display
4236 # on Irix 5.2, according to T.E. Dickey.
4237 # The functions gethostbyname, getservbyname, and inet_addr are
4238 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4239 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4240 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4241 if test "${ac_cv_func_gethostbyname+set}" = set; then
4242 echo $ECHO_N "(cached) $ECHO_C" >&6
4244 cat >conftest.$ac_ext <<_ACEOF
4247 cat confdefs.h >>conftest.$ac_ext
4248 cat >>conftest.$ac_ext <<_ACEOF
4249 /* end confdefs.h. */
4250 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4252 #define gethostbyname innocuous_gethostbyname
4254 /* System header to define __stub macros and hopefully few prototypes,
4255 which can conflict with char gethostbyname (); below.
4256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4257 <limits.h> exists even on freestanding compilers. */
4260 # include <limits.h>
4262 # include <assert.h>
4265 #undef gethostbyname
4267 /* Override any GCC internal prototype to avoid an error.
4268 Use char because int might match the return type of a GCC
4269 builtin and then its argument prototype would still apply. */
4273 char gethostbyname ();
4274 /* The GNU C library defines this for functions which it implements
4275 to always fail with ENOSYS. Some functions are actually named
4276 something starting with __ and the normal name is an alias. */
4277 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4284 return gethostbyname ();
4289 rm -f conftest.$ac_objext conftest$ac_exeext
4290 if { (ac_try="$ac_link"
4292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4293 *) ac_try_echo=$ac_try;;
4295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4296 (eval "$ac_link") 2>conftest.er1
4298 grep -v '^ *+' conftest.er1 >conftest.err
4300 cat conftest.err >&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); } && {
4303 test -z "$ac_c_werror_flag" ||
4304 test ! -s conftest.err
4305 } && test -s conftest$ac_exeext &&
4306 $as_test_x conftest$ac_exeext; then
4307 ac_cv_func_gethostbyname=yes
4309 echo "$as_me: failed program was:" >&5
4310 sed 's/^/| /' conftest.$ac_ext >&5
4312 ac_cv_func_gethostbyname=no
4315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4316 conftest$ac_exeext conftest.$ac_ext
4318 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4319 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4321 if test $ac_cv_func_gethostbyname = no; then
4322 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4323 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4324 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4327 ac_check_lib_save_LIBS=$LIBS
4329 cat >conftest.$ac_ext <<_ACEOF
4332 cat confdefs.h >>conftest.$ac_ext
4333 cat >>conftest.$ac_ext <<_ACEOF
4334 /* end confdefs.h. */
4336 /* Override any GCC internal prototype to avoid an error.
4337 Use char because int might match the return type of a GCC
4338 builtin and then its argument prototype would still apply. */
4342 char gethostbyname ();
4346 return gethostbyname ();
4351 rm -f conftest.$ac_objext conftest$ac_exeext
4352 if { (ac_try="$ac_link"
4354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4355 *) ac_try_echo=$ac_try;;
4357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4358 (eval "$ac_link") 2>conftest.er1
4360 grep -v '^ *+' conftest.er1 >conftest.err
4362 cat conftest.err >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } && {
4365 test -z "$ac_c_werror_flag" ||
4366 test ! -s conftest.err
4367 } && test -s conftest$ac_exeext &&
4368 $as_test_x conftest$ac_exeext; then
4369 ac_cv_lib_nsl_gethostbyname=yes
4371 echo "$as_me: failed program was:" >&5
4372 sed 's/^/| /' conftest.$ac_ext >&5
4374 ac_cv_lib_nsl_gethostbyname=no
4377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4378 conftest$ac_exeext conftest.$ac_ext
4379 LIBS=$ac_check_lib_save_LIBS
4381 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4382 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4383 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4384 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4387 if test $ac_cv_lib_nsl_gethostbyname = no; then
4388 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4389 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4390 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4391 echo $ECHO_N "(cached) $ECHO_C" >&6
4393 ac_check_lib_save_LIBS=$LIBS
4395 cat >conftest.$ac_ext <<_ACEOF
4398 cat confdefs.h >>conftest.$ac_ext
4399 cat >>conftest.$ac_ext <<_ACEOF
4400 /* end confdefs.h. */
4402 /* Override any GCC internal prototype to avoid an error.
4403 Use char because int might match the return type of a GCC
4404 builtin and then its argument prototype would still apply. */
4408 char gethostbyname ();
4412 return gethostbyname ();
4417 rm -f conftest.$ac_objext conftest$ac_exeext
4418 if { (ac_try="$ac_link"
4420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4421 *) ac_try_echo=$ac_try;;
4423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4424 (eval "$ac_link") 2>conftest.er1
4426 grep -v '^ *+' conftest.er1 >conftest.err
4428 cat conftest.err >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); } && {
4431 test -z "$ac_c_werror_flag" ||
4432 test ! -s conftest.err
4433 } && test -s conftest$ac_exeext &&
4434 $as_test_x conftest$ac_exeext; then
4435 ac_cv_lib_bsd_gethostbyname=yes
4437 echo "$as_me: failed program was:" >&5
4438 sed 's/^/| /' conftest.$ac_ext >&5
4440 ac_cv_lib_bsd_gethostbyname=no
4443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4444 conftest$ac_exeext conftest.$ac_ext
4445 LIBS=$ac_check_lib_save_LIBS
4447 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4448 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4449 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4450 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4456 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4457 # socket/setsockopt and other routines are undefined under SCO ODT
4458 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4459 # on later versions), says Simon Leinen: it contains gethostby*
4460 # variants that don't use the name server (or something). -lsocket
4461 # must be given before -lnsl if both are needed. We assume that
4462 # if connect needs -lnsl, so does gethostbyname.
4463 { echo "$as_me:$LINENO: checking for connect" >&5
4464 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4465 if test "${ac_cv_func_connect+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4468 cat >conftest.$ac_ext <<_ACEOF
4471 cat confdefs.h >>conftest.$ac_ext
4472 cat >>conftest.$ac_ext <<_ACEOF
4473 /* end confdefs.h. */
4474 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4476 #define connect innocuous_connect
4478 /* System header to define __stub macros and hopefully few prototypes,
4479 which can conflict with char connect (); below.
4480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4481 <limits.h> exists even on freestanding compilers. */
4484 # include <limits.h>
4486 # include <assert.h>
4491 /* Override any GCC internal prototype to avoid an error.
4492 Use char because int might match the return type of a GCC
4493 builtin and then its argument prototype would still apply. */
4498 /* The GNU C library defines this for functions which it implements
4499 to always fail with ENOSYS. Some functions are actually named
4500 something starting with __ and the normal name is an alias. */
4501 #if defined __stub_connect || defined __stub___connect
4513 rm -f conftest.$ac_objext conftest$ac_exeext
4514 if { (ac_try="$ac_link"
4516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4520 (eval "$ac_link") 2>conftest.er1
4522 grep -v '^ *+' conftest.er1 >conftest.err
4524 cat conftest.err >&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); } && {
4527 test -z "$ac_c_werror_flag" ||
4528 test ! -s conftest.err
4529 } && test -s conftest$ac_exeext &&
4530 $as_test_x conftest$ac_exeext; then
4531 ac_cv_func_connect=yes
4533 echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.$ac_ext >&5
4536 ac_cv_func_connect=no
4539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4540 conftest$ac_exeext conftest.$ac_ext
4542 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4543 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4545 if test $ac_cv_func_connect = no; then
4546 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4547 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4548 if test "${ac_cv_lib_socket_connect+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4551 ac_check_lib_save_LIBS=$LIBS
4552 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4553 cat >conftest.$ac_ext <<_ACEOF
4556 cat confdefs.h >>conftest.$ac_ext
4557 cat >>conftest.$ac_ext <<_ACEOF
4558 /* end confdefs.h. */
4560 /* Override any GCC internal prototype to avoid an error.
4561 Use char because int might match the return type of a GCC
4562 builtin and then its argument prototype would still apply. */
4575 rm -f conftest.$ac_objext conftest$ac_exeext
4576 if { (ac_try="$ac_link"
4578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4579 *) ac_try_echo=$ac_try;;
4581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4582 (eval "$ac_link") 2>conftest.er1
4584 grep -v '^ *+' conftest.er1 >conftest.err
4586 cat conftest.err >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } && {
4589 test -z "$ac_c_werror_flag" ||
4590 test ! -s conftest.err
4591 } && test -s conftest$ac_exeext &&
4592 $as_test_x conftest$ac_exeext; then
4593 ac_cv_lib_socket_connect=yes
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.$ac_ext >&5
4598 ac_cv_lib_socket_connect=no
4601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4602 conftest$ac_exeext conftest.$ac_ext
4603 LIBS=$ac_check_lib_save_LIBS
4605 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4606 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4607 if test $ac_cv_lib_socket_connect = yes; then
4608 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4613 # Guillermo Gomez says -lposix is necessary on A/UX.
4614 { echo "$as_me:$LINENO: checking for remove" >&5
4615 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4616 if test "${ac_cv_func_remove+set}" = set; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4619 cat >conftest.$ac_ext <<_ACEOF
4622 cat confdefs.h >>conftest.$ac_ext
4623 cat >>conftest.$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4625 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4627 #define remove innocuous_remove
4629 /* System header to define __stub macros and hopefully few prototypes,
4630 which can conflict with char remove (); below.
4631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4632 <limits.h> exists even on freestanding compilers. */
4635 # include <limits.h>
4637 # include <assert.h>
4642 /* Override any GCC internal prototype to avoid an error.
4643 Use char because int might match the return type of a GCC
4644 builtin and then its argument prototype would still apply. */
4649 /* The GNU C library defines this for functions which it implements
4650 to always fail with ENOSYS. Some functions are actually named
4651 something starting with __ and the normal name is an alias. */
4652 #if defined __stub_remove || defined __stub___remove
4664 rm -f conftest.$ac_objext conftest$ac_exeext
4665 if { (ac_try="$ac_link"
4667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4668 *) ac_try_echo=$ac_try;;
4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4671 (eval "$ac_link") 2>conftest.er1
4673 grep -v '^ *+' conftest.er1 >conftest.err
4675 cat conftest.err >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); } && {
4678 test -z "$ac_c_werror_flag" ||
4679 test ! -s conftest.err
4680 } && test -s conftest$ac_exeext &&
4681 $as_test_x conftest$ac_exeext; then
4682 ac_cv_func_remove=yes
4684 echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.$ac_ext >&5
4687 ac_cv_func_remove=no
4690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4691 conftest$ac_exeext conftest.$ac_ext
4693 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4694 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4696 if test $ac_cv_func_remove = no; then
4697 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4698 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4699 if test "${ac_cv_lib_posix_remove+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4702 ac_check_lib_save_LIBS=$LIBS
4703 LIBS="-lposix $LIBS"
4704 cat >conftest.$ac_ext <<_ACEOF
4707 cat confdefs.h >>conftest.$ac_ext
4708 cat >>conftest.$ac_ext <<_ACEOF
4709 /* end confdefs.h. */
4711 /* Override any GCC internal prototype to avoid an error.
4712 Use char because int might match the return type of a GCC
4713 builtin and then its argument prototype would still apply. */
4726 rm -f conftest.$ac_objext conftest$ac_exeext
4727 if { (ac_try="$ac_link"
4729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4730 *) ac_try_echo=$ac_try;;
4732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4733 (eval "$ac_link") 2>conftest.er1
4735 grep -v '^ *+' conftest.er1 >conftest.err
4737 cat conftest.err >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); } && {
4740 test -z "$ac_c_werror_flag" ||
4741 test ! -s conftest.err
4742 } && test -s conftest$ac_exeext &&
4743 $as_test_x conftest$ac_exeext; then
4744 ac_cv_lib_posix_remove=yes
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.$ac_ext >&5
4749 ac_cv_lib_posix_remove=no
4752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4753 conftest$ac_exeext conftest.$ac_ext
4754 LIBS=$ac_check_lib_save_LIBS
4756 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4757 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4758 if test $ac_cv_lib_posix_remove = yes; then
4759 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4764 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4765 { echo "$as_me:$LINENO: checking for shmat" >&5
4766 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4767 if test "${ac_cv_func_shmat+set}" = set; then
4768 echo $ECHO_N "(cached) $ECHO_C" >&6
4770 cat >conftest.$ac_ext <<_ACEOF
4773 cat confdefs.h >>conftest.$ac_ext
4774 cat >>conftest.$ac_ext <<_ACEOF
4775 /* end confdefs.h. */
4776 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4778 #define shmat innocuous_shmat
4780 /* System header to define __stub macros and hopefully few prototypes,
4781 which can conflict with char shmat (); below.
4782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4783 <limits.h> exists even on freestanding compilers. */
4786 # include <limits.h>
4788 # include <assert.h>
4793 /* Override any GCC internal prototype to avoid an error.
4794 Use char because int might match the return type of a GCC
4795 builtin and then its argument prototype would still apply. */
4800 /* The GNU C library defines this for functions which it implements
4801 to always fail with ENOSYS. Some functions are actually named
4802 something starting with __ and the normal name is an alias. */
4803 #if defined __stub_shmat || defined __stub___shmat
4815 rm -f conftest.$ac_objext conftest$ac_exeext
4816 if { (ac_try="$ac_link"
4818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4819 *) ac_try_echo=$ac_try;;
4821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4822 (eval "$ac_link") 2>conftest.er1
4824 grep -v '^ *+' conftest.er1 >conftest.err
4826 cat conftest.err >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } && {
4829 test -z "$ac_c_werror_flag" ||
4830 test ! -s conftest.err
4831 } && test -s conftest$ac_exeext &&
4832 $as_test_x conftest$ac_exeext; then
4833 ac_cv_func_shmat=yes
4835 echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4842 conftest$ac_exeext conftest.$ac_ext
4844 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4845 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4847 if test $ac_cv_func_shmat = no; then
4848 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4849 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4850 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 ac_check_lib_save_LIBS=$LIBS
4855 cat >conftest.$ac_ext <<_ACEOF
4858 cat confdefs.h >>conftest.$ac_ext
4859 cat >>conftest.$ac_ext <<_ACEOF
4860 /* end confdefs.h. */
4862 /* Override any GCC internal prototype to avoid an error.
4863 Use char because int might match the return type of a GCC
4864 builtin and then its argument prototype would still apply. */
4877 rm -f conftest.$ac_objext conftest$ac_exeext
4878 if { (ac_try="$ac_link"
4880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4881 *) ac_try_echo=$ac_try;;
4883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4884 (eval "$ac_link") 2>conftest.er1
4886 grep -v '^ *+' conftest.er1 >conftest.err
4888 cat conftest.err >&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); } && {
4891 test -z "$ac_c_werror_flag" ||
4892 test ! -s conftest.err
4893 } && test -s conftest$ac_exeext &&
4894 $as_test_x conftest$ac_exeext; then
4895 ac_cv_lib_ipc_shmat=yes
4897 echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.$ac_ext >&5
4900 ac_cv_lib_ipc_shmat=no
4903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4904 conftest$ac_exeext conftest.$ac_ext
4905 LIBS=$ac_check_lib_save_LIBS
4907 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4908 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4909 if test $ac_cv_lib_ipc_shmat = yes; then
4910 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4916 # Check for libraries that X11R6 Xt/Xaw programs need.
4917 ac_save_LDFLAGS=$LDFLAGS
4918 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4919 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4920 # check for ICE first), but we must link in the order -lSM -lICE or
4921 # we get undefined symbols. So assume we have SM if we have ICE.
4922 # These have to be linked with before -lX11, unlike the other
4923 # libraries we check for below, so use a different variable.
4924 # John Interrante, Karl Berry
4925 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4926 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4927 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4928 echo $ECHO_N "(cached) $ECHO_C" >&6
4930 ac_check_lib_save_LIBS=$LIBS
4931 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4932 cat >conftest.$ac_ext <<_ACEOF
4935 cat confdefs.h >>conftest.$ac_ext
4936 cat >>conftest.$ac_ext <<_ACEOF
4937 /* end confdefs.h. */
4939 /* Override any GCC internal prototype to avoid an error.
4940 Use char because int might match the return type of a GCC
4941 builtin and then its argument prototype would still apply. */
4945 char IceConnectionNumber ();
4949 return IceConnectionNumber ();
4954 rm -f conftest.$ac_objext conftest$ac_exeext
4955 if { (ac_try="$ac_link"
4957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4958 *) ac_try_echo=$ac_try;;
4960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4961 (eval "$ac_link") 2>conftest.er1
4963 grep -v '^ *+' conftest.er1 >conftest.err
4965 cat conftest.err >&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); } && {
4968 test -z "$ac_c_werror_flag" ||
4969 test ! -s conftest.err
4970 } && test -s conftest$ac_exeext &&
4971 $as_test_x conftest$ac_exeext; then
4972 ac_cv_lib_ICE_IceConnectionNumber=yes
4974 echo "$as_me: failed program was:" >&5
4975 sed 's/^/| /' conftest.$ac_ext >&5
4977 ac_cv_lib_ICE_IceConnectionNumber=no
4980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4981 conftest$ac_exeext conftest.$ac_ext
4982 LIBS=$ac_check_lib_save_LIBS
4984 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4985 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4986 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4987 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4990 LDFLAGS=$ac_save_LDFLAGS
4997 # Extract the first word of "$ac_prog", so it can be a program name with args.
4998 set dummy $ac_prog; ac_word=$2
4999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5001 if test "${ac_cv_prog_FLEX+set}" = set; then
5002 echo $ECHO_N "(cached) $ECHO_C" >&6
5004 if test -n "$FLEX"; then
5005 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5011 test -z "$as_dir" && as_dir=.
5012 for ac_exec_ext in '' $ac_executable_extensions; do
5013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5014 ac_cv_prog_FLEX="$ac_prog"
5015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5024 FLEX=$ac_cv_prog_FLEX
5025 if test -n "$FLEX"; then
5026 { echo "$as_me:$LINENO: result: $FLEX" >&5
5027 echo "${ECHO_T}$FLEX" >&6; }
5029 { echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6; }
5034 test -n "$FLEX" && break
5036 test -n "$FLEX" || FLEX="none"
5038 if test "$FLEX" = "none"
5040 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5041 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5042 { (exit 1); exit 1; }; }
5045 for ac_prog in bison
5047 # Extract the first word of "$ac_prog", so it can be a program name with args.
5048 set dummy $ac_prog; ac_word=$2
5049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5051 if test "${ac_cv_prog_BISON+set}" = set; then
5052 echo $ECHO_N "(cached) $ECHO_C" >&6
5054 if test -n "$BISON"; then
5055 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5061 test -z "$as_dir" && as_dir=.
5062 for ac_exec_ext in '' $ac_executable_extensions; do
5063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5064 ac_cv_prog_BISON="$ac_prog"
5065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5074 BISON=$ac_cv_prog_BISON
5075 if test -n "$BISON"; then
5076 { echo "$as_me:$LINENO: result: $BISON" >&5
5077 echo "${ECHO_T}$BISON" >&6; }
5079 { echo "$as_me:$LINENO: result: no" >&5
5080 echo "${ECHO_T}no" >&6; }
5084 test -n "$BISON" && break
5086 test -n "$BISON" || BISON="none"
5088 if test "$BISON" = "none"
5090 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5091 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5092 { (exit 1); exit 1; }; }
5095 if test -n "$ac_tool_prefix"; then
5096 for ac_prog in gas as
5098 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5099 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5102 if test "${ac_cv_prog_AS+set}" = set; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 if test -n "$AS"; then
5106 ac_cv_prog_AS="$AS" # Let the user override the test.
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5112 test -z "$as_dir" && as_dir=.
5113 for ac_exec_ext in '' $ac_executable_extensions; do
5114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5115 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5126 if test -n "$AS"; then
5127 { echo "$as_me:$LINENO: result: $AS" >&5
5128 echo "${ECHO_T}$AS" >&6; }
5130 { echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6; }
5135 test -n "$AS" && break
5138 if test -z "$AS"; then
5140 for ac_prog in gas as
5142 # Extract the first word of "$ac_prog", so it can be a program name with args.
5143 set dummy $ac_prog; ac_word=$2
5144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5146 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5147 echo $ECHO_N "(cached) $ECHO_C" >&6
5149 if test -n "$ac_ct_AS"; then
5150 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 test -z "$as_dir" && as_dir=.
5157 for ac_exec_ext in '' $ac_executable_extensions; do
5158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5159 ac_cv_prog_ac_ct_AS="$ac_prog"
5160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5169 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5170 if test -n "$ac_ct_AS"; then
5171 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5172 echo "${ECHO_T}$ac_ct_AS" >&6; }
5174 { echo "$as_me:$LINENO: result: no" >&5
5175 echo "${ECHO_T}no" >&6; }
5179 test -n "$ac_ct_AS" && break
5182 if test "x$ac_ct_AS" = x; then
5185 case $cross_compiling:$ac_tool_warned in
5187 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5188 whose name does not start with the host triplet. If you think this
5189 configuration is useful to you, please write to autoconf@gnu.org." >&5
5190 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5191 whose name does not start with the host triplet. If you think this
5192 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5193 ac_tool_warned=yes ;;
5199 if test -n "$ac_tool_prefix"; then
5200 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5201 set dummy ${ac_tool_prefix}ld; ac_word=$2
5202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5204 if test "${ac_cv_prog_LD+set}" = set; then
5205 echo $ECHO_N "(cached) $ECHO_C" >&6
5207 if test -n "$LD"; then
5208 ac_cv_prog_LD="$LD" # Let the user override the test.
5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5214 test -z "$as_dir" && as_dir=.
5215 for ac_exec_ext in '' $ac_executable_extensions; do
5216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5217 ac_cv_prog_LD="${ac_tool_prefix}ld"
5218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 if test -n "$LD"; then
5229 { echo "$as_me:$LINENO: result: $LD" >&5
5230 echo "${ECHO_T}$LD" >&6; }
5232 { echo "$as_me:$LINENO: result: no" >&5
5233 echo "${ECHO_T}no" >&6; }
5238 if test -z "$ac_cv_prog_LD"; then
5240 # Extract the first word of "ld", so it can be a program name with args.
5241 set dummy ld; ac_word=$2
5242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5244 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5247 if test -n "$ac_ct_LD"; then
5248 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5254 test -z "$as_dir" && as_dir=.
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5257 ac_cv_prog_ac_ct_LD="ld"
5258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5268 if test -n "$ac_ct_LD"; then
5269 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5270 echo "${ECHO_T}$ac_ct_LD" >&6; }
5272 { echo "$as_me:$LINENO: result: no" >&5
5273 echo "${ECHO_T}no" >&6; }
5276 if test "x$ac_ct_LD" = x; then
5279 case $cross_compiling:$ac_tool_warned in
5281 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5282 whose name does not start with the host triplet. If you think this
5283 configuration is useful to you, please write to autoconf@gnu.org." >&5
5284 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5285 whose name does not start with the host triplet. If you think this
5286 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5287 ac_tool_warned=yes ;;
5295 if test -n "$ac_tool_prefix"; then
5296 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5297 set dummy ${ac_tool_prefix}ar; ac_word=$2
5298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5300 if test "${ac_cv_prog_AR+set}" = set; then
5301 echo $ECHO_N "(cached) $ECHO_C" >&6
5303 if test -n "$AR"; then
5304 ac_cv_prog_AR="$AR" # Let the user override the test.
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5310 test -z "$as_dir" && as_dir=.
5311 for ac_exec_ext in '' $ac_executable_extensions; do
5312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5313 ac_cv_prog_AR="${ac_tool_prefix}ar"
5314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5324 if test -n "$AR"; then
5325 { echo "$as_me:$LINENO: result: $AR" >&5
5326 echo "${ECHO_T}$AR" >&6; }
5328 { echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6; }
5334 if test -z "$ac_cv_prog_AR"; then
5336 # Extract the first word of "ar", so it can be a program name with args.
5337 set dummy ar; ac_word=$2
5338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5340 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5343 if test -n "$ac_ct_AR"; then
5344 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350 test -z "$as_dir" && as_dir=.
5351 for ac_exec_ext in '' $ac_executable_extensions; do
5352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5353 ac_cv_prog_ac_ct_AR="ar"
5354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5363 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5364 if test -n "$ac_ct_AR"; then
5365 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5366 echo "${ECHO_T}$ac_ct_AR" >&6; }
5368 { echo "$as_me:$LINENO: result: no" >&5
5369 echo "${ECHO_T}no" >&6; }
5372 if test "x$ac_ct_AR" = x; then
5375 case $cross_compiling:$ac_tool_warned in
5377 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5378 whose name does not start with the host triplet. If you think this
5379 configuration is useful to you, please write to autoconf@gnu.org." >&5
5380 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5381 whose name does not start with the host triplet. If you think this
5382 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5383 ac_tool_warned=yes ;;
5391 if test -n "$ac_tool_prefix"; then
5392 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5393 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5396 if test "${ac_cv_prog_RANLIB+set}" = set; then
5397 echo $ECHO_N "(cached) $ECHO_C" >&6
5399 if test -n "$RANLIB"; then
5400 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5409 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 RANLIB=$ac_cv_prog_RANLIB
5420 if test -n "$RANLIB"; then
5421 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5422 echo "${ECHO_T}$RANLIB" >&6; }
5424 { echo "$as_me:$LINENO: result: no" >&5
5425 echo "${ECHO_T}no" >&6; }
5430 if test -z "$ac_cv_prog_RANLIB"; then
5431 ac_ct_RANLIB=$RANLIB
5432 # Extract the first word of "ranlib", so it can be a program name with args.
5433 set dummy ranlib; ac_word=$2
5434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5436 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5437 echo $ECHO_N "(cached) $ECHO_C" >&6
5439 if test -n "$ac_ct_RANLIB"; then
5440 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5446 test -z "$as_dir" && as_dir=.
5447 for ac_exec_ext in '' $ac_executable_extensions; do
5448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5449 ac_cv_prog_ac_ct_RANLIB="ranlib"
5450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5459 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5460 if test -n "$ac_ct_RANLIB"; then
5461 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5462 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5464 { echo "$as_me:$LINENO: result: no" >&5
5465 echo "${ECHO_T}no" >&6; }
5468 if test "x$ac_ct_RANLIB" = x; then
5471 case $cross_compiling:$ac_tool_warned in
5473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5474 whose name does not start with the host triplet. If you think this
5475 configuration is useful to you, please write to autoconf@gnu.org." >&5
5476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5477 whose name does not start with the host triplet. If you think this
5478 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5479 ac_tool_warned=yes ;;
5481 RANLIB=$ac_ct_RANLIB
5484 RANLIB="$ac_cv_prog_RANLIB"
5487 if test -n "$ac_tool_prefix"; then
5488 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5489 set dummy ${ac_tool_prefix}strip; ac_word=$2
5490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5492 if test "${ac_cv_prog_STRIP+set}" = set; then
5493 echo $ECHO_N "(cached) $ECHO_C" >&6
5495 if test -n "$STRIP"; then
5496 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5505 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5515 STRIP=$ac_cv_prog_STRIP
5516 if test -n "$STRIP"; then
5517 { echo "$as_me:$LINENO: result: $STRIP" >&5
5518 echo "${ECHO_T}$STRIP" >&6; }
5520 { echo "$as_me:$LINENO: result: no" >&5
5521 echo "${ECHO_T}no" >&6; }
5526 if test -z "$ac_cv_prog_STRIP"; then
5528 # Extract the first word of "strip", so it can be a program name with args.
5529 set dummy strip; ac_word=$2
5530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5532 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5533 echo $ECHO_N "(cached) $ECHO_C" >&6
5535 if test -n "$ac_ct_STRIP"; then
5536 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5542 test -z "$as_dir" && as_dir=.
5543 for ac_exec_ext in '' $ac_executable_extensions; do
5544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5545 ac_cv_prog_ac_ct_STRIP="strip"
5546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5555 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5556 if test -n "$ac_ct_STRIP"; then
5557 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5558 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5560 { echo "$as_me:$LINENO: result: no" >&5
5561 echo "${ECHO_T}no" >&6; }
5564 if test "x$ac_ct_STRIP" = x; then
5567 case $cross_compiling:$ac_tool_warned in
5569 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5570 whose name does not start with the host triplet. If you think this
5571 configuration is useful to you, please write to autoconf@gnu.org." >&5
5572 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5573 whose name does not start with the host triplet. If you think this
5574 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5575 ac_tool_warned=yes ;;
5580 STRIP="$ac_cv_prog_STRIP"
5583 if test -n "$ac_tool_prefix"; then
5584 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5585 set dummy ${ac_tool_prefix}windres; ac_word=$2
5586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5588 if test "${ac_cv_prog_WINDRES+set}" = set; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5591 if test -n "$WINDRES"; then
5592 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5598 test -z "$as_dir" && as_dir=.
5599 for ac_exec_ext in '' $ac_executable_extensions; do
5600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5601 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5611 WINDRES=$ac_cv_prog_WINDRES
5612 if test -n "$WINDRES"; then
5613 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5614 echo "${ECHO_T}$WINDRES" >&6; }
5616 { echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6; }
5622 if test -z "$ac_cv_prog_WINDRES"; then
5623 ac_ct_WINDRES=$WINDRES
5624 # Extract the first word of "windres", so it can be a program name with args.
5625 set dummy windres; ac_word=$2
5626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5628 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5629 echo $ECHO_N "(cached) $ECHO_C" >&6
5631 if test -n "$ac_ct_WINDRES"; then
5632 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5638 test -z "$as_dir" && as_dir=.
5639 for ac_exec_ext in '' $ac_executable_extensions; do
5640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5641 ac_cv_prog_ac_ct_WINDRES="windres"
5642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5651 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5652 if test -n "$ac_ct_WINDRES"; then
5653 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5654 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5656 { echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6; }
5660 if test "x$ac_ct_WINDRES" = x; then
5663 case $cross_compiling:$ac_tool_warned in
5665 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5666 whose name does not start with the host triplet. If you think this
5667 configuration is useful to you, please write to autoconf@gnu.org." >&5
5668 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5669 whose name does not start with the host triplet. If you think this
5670 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5671 ac_tool_warned=yes ;;
5673 WINDRES=$ac_ct_WINDRES
5676 WINDRES="$ac_cv_prog_WINDRES"
5679 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5680 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5682 if test "$LN_S" = "ln -s"; then
5683 { echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6; }
5686 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5687 echo "${ECHO_T}no, using $LN_S" >&6; }
5690 { echo "$as_me:$LINENO: checking whether ln works" >&5
5691 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5692 rm -f conf$$ conf$$.file
5694 if ln conf$$.file conf$$ 2>/dev/null; then
5697 { echo "$as_me:$LINENO: result: yes" >&5
5698 echo "${ECHO_T}yes" >&6; }
5702 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5703 echo "${ECHO_T}no, using $LN" >&6; }
5705 rm -f conf$$ conf$$.file
5706 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5707 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5708 if test "${ac_cv_path_GREP+set}" = set; then
5709 echo $ECHO_N "(cached) $ECHO_C" >&6
5711 # Extract the first word of "grep ggrep" to use in msg output
5712 if test -z "$GREP"; then
5713 set dummy grep ggrep; ac_prog_name=$2
5714 if test "${ac_cv_path_GREP+set}" = set; then
5715 echo $ECHO_N "(cached) $ECHO_C" >&6
5717 ac_path_GREP_found=false
5718 # Loop through the user's path and test for each of PROGNAME-LIST
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5723 test -z "$as_dir" && as_dir=.
5724 for ac_prog in grep ggrep; do
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5727 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5728 # Check for GNU ac_path_GREP and select it if it is found.
5729 # Check for GNU $ac_path_GREP
5730 case `"$ac_path_GREP" --version 2>&1` in
5732 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5735 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5738 cat "conftest.in" "conftest.in" >"conftest.tmp"
5739 mv "conftest.tmp" "conftest.in"
5740 cp "conftest.in" "conftest.nl"
5741 echo 'GREP' >> "conftest.nl"
5742 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5743 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5744 ac_count=`expr $ac_count + 1`
5745 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5746 # Best one so far, save it but keep looking for a better one
5747 ac_cv_path_GREP="$ac_path_GREP"
5748 ac_path_GREP_max=$ac_count
5750 # 10*(2^10) chars as input seems more than enough
5751 test $ac_count -gt 10 && break
5753 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5757 $ac_path_GREP_found && break 3
5767 GREP="$ac_cv_path_GREP"
5768 if test -z "$GREP"; then
5769 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5770 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5771 { (exit 1); exit 1; }; }
5775 ac_cv_path_GREP=$GREP
5780 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5781 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5782 GREP="$ac_cv_path_GREP"
5785 { echo "$as_me:$LINENO: checking for egrep" >&5
5786 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5787 if test "${ac_cv_path_EGREP+set}" = set; then
5788 echo $ECHO_N "(cached) $ECHO_C" >&6
5790 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5791 then ac_cv_path_EGREP="$GREP -E"
5793 # Extract the first word of "egrep" to use in msg output
5794 if test -z "$EGREP"; then
5795 set dummy egrep; ac_prog_name=$2
5796 if test "${ac_cv_path_EGREP+set}" = set; then
5797 echo $ECHO_N "(cached) $ECHO_C" >&6
5799 ac_path_EGREP_found=false
5800 # Loop through the user's path and test for each of PROGNAME-LIST
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5802 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5805 test -z "$as_dir" && as_dir=.
5806 for ac_prog in egrep; do
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5809 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5810 # Check for GNU ac_path_EGREP and select it if it is found.
5811 # Check for GNU $ac_path_EGREP
5812 case `"$ac_path_EGREP" --version 2>&1` in
5814 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5817 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5820 cat "conftest.in" "conftest.in" >"conftest.tmp"
5821 mv "conftest.tmp" "conftest.in"
5822 cp "conftest.in" "conftest.nl"
5823 echo 'EGREP' >> "conftest.nl"
5824 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5825 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5826 ac_count=`expr $ac_count + 1`
5827 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5828 # Best one so far, save it but keep looking for a better one
5829 ac_cv_path_EGREP="$ac_path_EGREP"
5830 ac_path_EGREP_max=$ac_count
5832 # 10*(2^10) chars as input seems more than enough
5833 test $ac_count -gt 10 && break
5835 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5839 $ac_path_EGREP_found && break 3
5849 EGREP="$ac_cv_path_EGREP"
5850 if test -z "$EGREP"; then
5851 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5852 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5853 { (exit 1); exit 1; }; }
5857 ac_cv_path_EGREP=$EGREP
5863 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5864 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5865 EGREP="$ac_cv_path_EGREP"
5868 # Extract the first word of "ldconfig", so it can be a program name with args.
5869 set dummy ldconfig; ac_word=$2
5870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5872 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5873 echo $ECHO_N "(cached) $ECHO_C" >&6
5877 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 for as_dir in /sbin /usr/sbin $PATH
5884 test -z "$as_dir" && as_dir=.
5885 for ac_exec_ext in '' $ac_executable_extensions; do
5886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5887 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5895 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5899 LDCONFIG=$ac_cv_path_LDCONFIG
5900 if test -n "$LDCONFIG"; then
5901 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5902 echo "${ECHO_T}$LDCONFIG" >&6; }
5904 { echo "$as_me:$LINENO: result: no" >&5
5905 echo "${ECHO_T}no" >&6; }
5909 # Find a good install program. We prefer a C program (faster),
5910 # so one script is as good as another. But avoid the broken or
5911 # incompatible versions:
5912 # SysV /etc/install, /usr/sbin/install
5913 # SunOS /usr/etc/install
5914 # IRIX /sbin/install
5916 # AmigaOS /C/install, which installs bootblocks on floppy discs
5917 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5918 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5919 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5920 # OS/2's system install, which has a completely different semantic
5921 # ./install, which can be erroneously created by make from ./install.sh.
5922 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5923 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5924 if test -z "$INSTALL"; then
5925 if test "${ac_cv_path_install+set}" = set; then
5926 echo $ECHO_N "(cached) $ECHO_C" >&6
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5932 test -z "$as_dir" && as_dir=.
5933 # Account for people who put trailing slashes in PATH elements.
5935 ./ | .// | /cC/* | \
5936 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5937 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5940 # OSF1 and SCO ODT 3.0 have their own names for install.
5941 # Don't use installbsd from OSF since it installs stuff as root
5943 for ac_prog in ginstall scoinst install; do
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5946 if test $ac_prog = install &&
5947 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5948 # AIX install. It has an incompatible calling convention.
5950 elif test $ac_prog = install &&
5951 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5952 # program-specific install script used by HP pwplus--don't use.
5955 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5968 if test "${ac_cv_path_install+set}" = set; then
5969 INSTALL=$ac_cv_path_install
5971 # As a last resort, use the slow shell script. Don't cache a
5972 # value for INSTALL within a source directory, because that will
5973 # break other packages using the cache if that directory is
5974 # removed, or if the value is a relative name.
5975 INSTALL=$ac_install_sh
5978 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5979 echo "${ECHO_T}$INSTALL" >&6; }
5981 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5982 # It thinks the first close brace ends the variable substitution.
5983 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5985 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5987 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5990 [\\/$]* | ?:[\\/]* ) ;;
5991 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5994 for ac_prog in lclint lint
5996 # Extract the first word of "$ac_prog", so it can be a program name with args.
5997 set dummy $ac_prog; ac_word=$2
5998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6000 if test "${ac_cv_prog_LINT+set}" = set; then
6001 echo $ECHO_N "(cached) $ECHO_C" >&6
6003 if test -n "$LINT"; then
6004 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6010 test -z "$as_dir" && as_dir=.
6011 for ac_exec_ext in '' $ac_executable_extensions; do
6012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6013 ac_cv_prog_LINT="$ac_prog"
6014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6023 LINT=$ac_cv_prog_LINT
6024 if test -n "$LINT"; then
6025 { echo "$as_me:$LINENO: result: $LINT" >&5
6026 echo "${ECHO_T}$LINT" >&6; }
6028 { echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6; }
6033 test -n "$LINT" && break
6036 if test "$LINT" = "lint"
6038 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6043 for ac_prog in fontforge
6045 # Extract the first word of "$ac_prog", so it can be a program name with args.
6046 set dummy $ac_prog; ac_word=$2
6047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6049 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6052 if test -n "$FONTFORGE"; then
6053 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6059 test -z "$as_dir" && as_dir=.
6060 for ac_exec_ext in '' $ac_executable_extensions; do
6061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6062 ac_cv_prog_FONTFORGE="$ac_prog"
6063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6072 FONTFORGE=$ac_cv_prog_FONTFORGE
6073 if test -n "$FONTFORGE"; then
6074 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6075 echo "${ECHO_T}$FONTFORGE" >&6; }
6077 { echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6; }
6082 test -n "$FONTFORGE" && break
6084 test -n "$FONTFORGE" || FONTFORGE="false"
6086 for ac_prog in pkg-config
6088 # Extract the first word of "$ac_prog", so it can be a program name with args.
6089 set dummy $ac_prog; ac_word=$2
6090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6092 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6095 if test -n "$PKG_CONFIG"; then
6096 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6102 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6105 ac_cv_prog_PKG_CONFIG="$ac_prog"
6106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6115 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6116 if test -n "$PKG_CONFIG"; then
6117 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6118 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6120 { echo "$as_me:$LINENO: result: no" >&5
6121 echo "${ECHO_T}no" >&6; }
6125 test -n "$PKG_CONFIG" && break
6127 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6132 # Extract the first word of "prelink", so it can be a program name with args.
6133 set dummy prelink; ac_word=$2
6134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6136 if test "${ac_cv_path_PRELINK+set}" = set; then
6137 echo $ECHO_N "(cached) $ECHO_C" >&6
6141 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 for as_dir in /sbin /usr/sbin $PATH
6148 test -z "$as_dir" && as_dir=.
6149 for ac_exec_ext in '' $ac_executable_extensions; do
6150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6151 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6163 PRELINK=$ac_cv_path_PRELINK
6164 if test -n "$PRELINK"; then
6165 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6166 echo "${ECHO_T}$PRELINK" >&6; }
6168 { echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6; }
6178 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6179 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6180 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
6183 ac_check_lib_save_LIBS=$LIBS
6185 cat >conftest.$ac_ext <<_ACEOF
6188 cat confdefs.h >>conftest.$ac_ext
6189 cat >>conftest.$ac_ext <<_ACEOF
6190 /* end confdefs.h. */
6192 /* Override any GCC internal prototype to avoid an error.
6193 Use char because int might match the return type of a GCC
6194 builtin and then its argument prototype would still apply. */
6198 char i386_set_ldt ();
6202 return i386_set_ldt ();
6207 rm -f conftest.$ac_objext conftest$ac_exeext
6208 if { (ac_try="$ac_link"
6210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6211 *) ac_try_echo=$ac_try;;
6213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6214 (eval "$ac_link") 2>conftest.er1
6216 grep -v '^ *+' conftest.er1 >conftest.err
6218 cat conftest.err >&5
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); } && {
6221 test -z "$ac_c_werror_flag" ||
6222 test ! -s conftest.err
6223 } && test -s conftest$ac_exeext &&
6224 $as_test_x conftest$ac_exeext; then
6225 ac_cv_lib_i386_i386_set_ldt=yes
6227 echo "$as_me: failed program was:" >&5
6228 sed 's/^/| /' conftest.$ac_ext >&5
6230 ac_cv_lib_i386_i386_set_ldt=no
6233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6234 conftest$ac_exeext conftest.$ac_ext
6235 LIBS=$ac_check_lib_save_LIBS
6237 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6238 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6239 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6240 cat >>confdefs.h <<_ACEOF
6241 #define HAVE_LIBI386 1
6249 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6250 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6251 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6252 echo $ECHO_N "(cached) $ECHO_C" >&6
6254 ac_check_lib_save_LIBS=$LIBS
6255 LIBS="-lossaudio $LIBS"
6256 cat >conftest.$ac_ext <<_ACEOF
6259 cat confdefs.h >>conftest.$ac_ext
6260 cat >>conftest.$ac_ext <<_ACEOF
6261 /* end confdefs.h. */
6263 /* Override any GCC internal prototype to avoid an error.
6264 Use char because int might match the return type of a GCC
6265 builtin and then its argument prototype would still apply. */
6273 return _oss_ioctl ();
6278 rm -f conftest.$ac_objext conftest$ac_exeext
6279 if { (ac_try="$ac_link"
6281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6282 *) ac_try_echo=$ac_try;;
6284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6285 (eval "$ac_link") 2>conftest.er1
6287 grep -v '^ *+' conftest.er1 >conftest.err
6289 cat conftest.err >&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); } && {
6292 test -z "$ac_c_werror_flag" ||
6293 test ! -s conftest.err
6294 } && test -s conftest$ac_exeext &&
6295 $as_test_x conftest$ac_exeext; then
6296 ac_cv_lib_ossaudio__oss_ioctl=yes
6298 echo "$as_me: failed program was:" >&5
6299 sed 's/^/| /' conftest.$ac_ext >&5
6301 ac_cv_lib_ossaudio__oss_ioctl=no
6304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6305 conftest$ac_exeext conftest.$ac_ext
6306 LIBS=$ac_check_lib_save_LIBS
6308 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6309 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6310 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6311 cat >>confdefs.h <<_ACEOF
6312 #define HAVE_LIBOSSAUDIO 1
6315 LIBS="-lossaudio $LIBS"
6320 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6321 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6322 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6323 echo $ECHO_N "(cached) $ECHO_C" >&6
6325 ac_check_lib_save_LIBS=$LIBS
6327 cat >conftest.$ac_ext <<_ACEOF
6330 cat confdefs.h >>conftest.$ac_ext
6331 cat >>conftest.$ac_ext <<_ACEOF
6332 /* end confdefs.h. */
6334 /* Override any GCC internal prototype to avoid an error.
6335 Use char because int might match the return type of a GCC
6336 builtin and then its argument prototype would still apply. */
6340 char _xpg4_setrunelocale ();
6344 return _xpg4_setrunelocale ();
6349 rm -f conftest.$ac_objext conftest$ac_exeext
6350 if { (ac_try="$ac_link"
6352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6353 *) ac_try_echo=$ac_try;;
6355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6356 (eval "$ac_link") 2>conftest.er1
6358 grep -v '^ *+' conftest.er1 >conftest.err
6360 cat conftest.err >&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); } && {
6363 test -z "$ac_c_werror_flag" ||
6364 test ! -s conftest.err
6365 } && test -s conftest$ac_exeext &&
6366 $as_test_x conftest$ac_exeext; then
6367 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6369 echo "$as_me: failed program was:" >&5
6370 sed 's/^/| /' conftest.$ac_ext >&5
6372 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6376 conftest$ac_exeext conftest.$ac_ext
6377 LIBS=$ac_check_lib_save_LIBS
6379 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6380 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6381 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6382 cat >>confdefs.h <<_ACEOF
6383 #define HAVE_LIBXPG4 1
6390 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6391 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6392 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6393 echo $ECHO_N "(cached) $ECHO_C" >&6
6395 ac_check_lib_save_LIBS=$LIBS
6396 LIBS="-lpthread $LIBS"
6397 cat >conftest.$ac_ext <<_ACEOF
6400 cat confdefs.h >>conftest.$ac_ext
6401 cat >>conftest.$ac_ext <<_ACEOF
6402 /* end confdefs.h. */
6404 /* Override any GCC internal prototype to avoid an error.
6405 Use char because int might match the return type of a GCC
6406 builtin and then its argument prototype would still apply. */
6410 char pthread_create ();
6414 return pthread_create ();
6419 rm -f conftest.$ac_objext conftest$ac_exeext
6420 if { (ac_try="$ac_link"
6422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6423 *) ac_try_echo=$ac_try;;
6425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6426 (eval "$ac_link") 2>conftest.er1
6428 grep -v '^ *+' conftest.er1 >conftest.err
6430 cat conftest.err >&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } && {
6433 test -z "$ac_c_werror_flag" ||
6434 test ! -s conftest.err
6435 } && test -s conftest$ac_exeext &&
6436 $as_test_x conftest$ac_exeext; then
6437 ac_cv_lib_pthread_pthread_create=yes
6439 echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.$ac_ext >&5
6442 ac_cv_lib_pthread_pthread_create=no
6445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6446 conftest$ac_exeext conftest.$ac_ext
6447 LIBS=$ac_check_lib_save_LIBS
6449 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6450 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6451 if test $ac_cv_lib_pthread_pthread_create = yes; then
6452 LIBPTHREAD="-lpthread"
6471 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6472 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6473 if test "${ac_cv_header_stdc+set}" = set; then
6474 echo $ECHO_N "(cached) $ECHO_C" >&6
6476 cat >conftest.$ac_ext <<_ACEOF
6479 cat confdefs.h >>conftest.$ac_ext
6480 cat >>conftest.$ac_ext <<_ACEOF
6481 /* end confdefs.h. */
6495 rm -f conftest.$ac_objext
6496 if { (ac_try="$ac_compile"
6498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6499 *) ac_try_echo=$ac_try;;
6501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6502 (eval "$ac_compile") 2>conftest.er1
6504 grep -v '^ *+' conftest.er1 >conftest.err
6506 cat conftest.err >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); } && {
6509 test -z "$ac_c_werror_flag" ||
6510 test ! -s conftest.err
6511 } && test -s conftest.$ac_objext; then
6512 ac_cv_header_stdc=yes
6514 echo "$as_me: failed program was:" >&5
6515 sed 's/^/| /' conftest.$ac_ext >&5
6517 ac_cv_header_stdc=no
6520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6522 if test $ac_cv_header_stdc = yes; then
6523 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6524 cat >conftest.$ac_ext <<_ACEOF
6527 cat confdefs.h >>conftest.$ac_ext
6528 cat >>conftest.$ac_ext <<_ACEOF
6529 /* end confdefs.h. */
6533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6534 $EGREP "memchr" >/dev/null 2>&1; then
6537 ac_cv_header_stdc=no
6543 if test $ac_cv_header_stdc = yes; then
6544 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6545 cat >conftest.$ac_ext <<_ACEOF
6548 cat confdefs.h >>conftest.$ac_ext
6549 cat >>conftest.$ac_ext <<_ACEOF
6550 /* end confdefs.h. */
6554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6555 $EGREP "free" >/dev/null 2>&1; then
6558 ac_cv_header_stdc=no
6564 if test $ac_cv_header_stdc = yes; then
6565 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6566 if test "$cross_compiling" = yes; then
6569 cat >conftest.$ac_ext <<_ACEOF
6572 cat confdefs.h >>conftest.$ac_ext
6573 cat >>conftest.$ac_ext <<_ACEOF
6574 /* end confdefs.h. */
6577 #if ((' ' & 0x0FF) == 0x020)
6578 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6579 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6581 # define ISLOWER(c) \
6582 (('a' <= (c) && (c) <= 'i') \
6583 || ('j' <= (c) && (c) <= 'r') \
6584 || ('s' <= (c) && (c) <= 'z'))
6585 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6588 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6593 for (i = 0; i < 256; i++)
6594 if (XOR (islower (i), ISLOWER (i))
6595 || toupper (i) != TOUPPER (i))
6600 rm -f conftest$ac_exeext
6601 if { (ac_try="$ac_link"
6603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6604 *) ac_try_echo=$ac_try;;
6606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6607 (eval "$ac_link") 2>&5
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6611 { (case "(($ac_try" in
6612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6613 *) ac_try_echo=$ac_try;;
6615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6616 (eval "$ac_try") 2>&5
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; }; then
6622 echo "$as_me: program exited with status $ac_status" >&5
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.$ac_ext >&5
6627 ac_cv_header_stdc=no
6629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6635 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6636 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6637 if test $ac_cv_header_stdc = yes; then
6639 cat >>confdefs.h <<\_ACEOF
6640 #define STDC_HEADERS 1
6645 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6655 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6656 inttypes.h stdint.h unistd.h
6658 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6662 echo $ECHO_N "(cached) $ECHO_C" >&6
6664 cat >conftest.$ac_ext <<_ACEOF
6667 cat confdefs.h >>conftest.$ac_ext
6668 cat >>conftest.$ac_ext <<_ACEOF
6669 /* end confdefs.h. */
6670 $ac_includes_default
6672 #include <$ac_header>
6674 rm -f conftest.$ac_objext
6675 if { (ac_try="$ac_compile"
6677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6678 *) ac_try_echo=$ac_try;;
6680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6681 (eval "$ac_compile") 2>conftest.er1
6683 grep -v '^ *+' conftest.er1 >conftest.err
6685 cat conftest.err >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); } && {
6688 test -z "$ac_c_werror_flag" ||
6689 test ! -s conftest.err
6690 } && test -s conftest.$ac_objext; then
6691 eval "$as_ac_Header=yes"
6693 echo "$as_me: failed program was:" >&5
6694 sed 's/^/| /' conftest.$ac_ext >&5
6696 eval "$as_ac_Header=no"
6699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6701 ac_res=`eval echo '${'$as_ac_Header'}'`
6702 { echo "$as_me:$LINENO: result: $ac_res" >&5
6703 echo "${ECHO_T}$ac_res" >&6; }
6704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6705 cat >>confdefs.h <<_ACEOF
6706 #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 \
6939 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6940 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6941 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6943 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6944 echo $ECHO_N "(cached) $ECHO_C" >&6
6946 ac_res=`eval echo '${'$as_ac_Header'}'`
6947 { echo "$as_me:$LINENO: result: $ac_res" >&5
6948 echo "${ECHO_T}$ac_res" >&6; }
6950 # Is the header compilable?
6951 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6952 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6953 cat >conftest.$ac_ext <<_ACEOF
6956 cat confdefs.h >>conftest.$ac_ext
6957 cat >>conftest.$ac_ext <<_ACEOF
6958 /* end confdefs.h. */
6959 $ac_includes_default
6960 #include <$ac_header>
6962 rm -f conftest.$ac_objext
6963 if { (ac_try="$ac_compile"
6965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6966 *) ac_try_echo=$ac_try;;
6968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6969 (eval "$ac_compile") 2>conftest.er1
6971 grep -v '^ *+' conftest.er1 >conftest.err
6973 cat conftest.err >&5
6974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975 (exit $ac_status); } && {
6976 test -z "$ac_c_werror_flag" ||
6977 test ! -s conftest.err
6978 } && test -s conftest.$ac_objext; then
6979 ac_header_compiler=yes
6981 echo "$as_me: failed program was:" >&5
6982 sed 's/^/| /' conftest.$ac_ext >&5
6984 ac_header_compiler=no
6987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6988 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6989 echo "${ECHO_T}$ac_header_compiler" >&6; }
6991 # Is the header present?
6992 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6993 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6994 cat >conftest.$ac_ext <<_ACEOF
6997 cat confdefs.h >>conftest.$ac_ext
6998 cat >>conftest.$ac_ext <<_ACEOF
6999 /* end confdefs.h. */
7000 #include <$ac_header>
7002 if { (ac_try="$ac_cpp conftest.$ac_ext"
7004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7005 *) ac_try_echo=$ac_try;;
7007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7008 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7010 grep -v '^ *+' conftest.er1 >conftest.err
7012 cat conftest.err >&5
7013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7014 (exit $ac_status); } >/dev/null && {
7015 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7016 test ! -s conftest.err
7018 ac_header_preproc=yes
7020 echo "$as_me: failed program was:" >&5
7021 sed 's/^/| /' conftest.$ac_ext >&5
7023 ac_header_preproc=no
7026 rm -f conftest.err conftest.$ac_ext
7027 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7028 echo "${ECHO_T}$ac_header_preproc" >&6; }
7030 # So? What about this header?
7031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7033 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7034 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7036 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7037 ac_header_preproc=yes
7040 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7041 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7042 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7043 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7044 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7045 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7046 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7047 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7049 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7050 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7051 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7053 ## ------------------------------------ ##
7054 ## Report this to wine-devel@winehq.org ##
7055 ## ------------------------------------ ##
7057 ) | sed "s/^/$as_me: WARNING: /" >&2
7060 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7062 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7063 echo $ECHO_N "(cached) $ECHO_C" >&6
7065 eval "$as_ac_Header=\$ac_header_preproc"
7067 ac_res=`eval echo '${'$as_ac_Header'}'`
7068 { echo "$as_me:$LINENO: result: $ac_res" >&5
7069 echo "${ECHO_T}$ac_res" >&6; }
7072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7073 cat >>confdefs.h <<_ACEOF
7074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7081 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7082 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7083 if test "${ac_cv_header_stat_broken+set}" = set; then
7084 echo $ECHO_N "(cached) $ECHO_C" >&6
7086 cat >conftest.$ac_ext <<_ACEOF
7089 cat confdefs.h >>conftest.$ac_ext
7090 cat >>conftest.$ac_ext <<_ACEOF
7091 /* end confdefs.h. */
7092 #include <sys/types.h>
7093 #include <sys/stat.h>
7095 #if defined S_ISBLK && defined S_IFDIR
7096 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7099 #if defined S_ISBLK && defined S_IFCHR
7100 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7103 #if defined S_ISLNK && defined S_IFREG
7104 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7107 #if defined S_ISSOCK && defined S_IFREG
7108 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7112 rm -f conftest.$ac_objext
7113 if { (ac_try="$ac_compile"
7115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7116 *) ac_try_echo=$ac_try;;
7118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7119 (eval "$ac_compile") 2>conftest.er1
7121 grep -v '^ *+' conftest.er1 >conftest.err
7123 cat conftest.err >&5
7124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7125 (exit $ac_status); } && {
7126 test -z "$ac_c_werror_flag" ||
7127 test ! -s conftest.err
7128 } && test -s conftest.$ac_objext; then
7129 ac_cv_header_stat_broken=no
7131 echo "$as_me: failed program was:" >&5
7132 sed 's/^/| /' conftest.$ac_ext >&5
7134 ac_cv_header_stat_broken=yes
7137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7139 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7140 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7141 if test $ac_cv_header_stat_broken = yes; then
7143 cat >>confdefs.h <<\_ACEOF
7144 #define STAT_MACROS_BROKEN 1
7155 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7158 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7160 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7161 echo $ECHO_N "(cached) $ECHO_C" >&6
7163 cat >conftest.$ac_ext <<_ACEOF
7166 cat confdefs.h >>conftest.$ac_ext
7167 cat >>conftest.$ac_ext <<_ACEOF
7168 /* end confdefs.h. */
7169 #include <sys/types.h>
7170 #if HAVE_SYS_PARAM_H
7171 # include <sys/param.h>
7174 #include <$ac_header>
7176 rm -f conftest.$ac_objext
7177 if { (ac_try="$ac_compile"
7179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7180 *) ac_try_echo=$ac_try;;
7182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7183 (eval "$ac_compile") 2>conftest.er1
7185 grep -v '^ *+' conftest.er1 >conftest.err
7187 cat conftest.err >&5
7188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189 (exit $ac_status); } && {
7190 test -z "$ac_c_werror_flag" ||
7191 test ! -s conftest.err
7192 } && test -s conftest.$ac_objext; then
7193 eval "$as_ac_Header=yes"
7195 echo "$as_me: failed program was:" >&5
7196 sed 's/^/| /' conftest.$ac_ext >&5
7198 eval "$as_ac_Header=no"
7201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7203 ac_res=`eval echo '${'$as_ac_Header'}'`
7204 { echo "$as_me:$LINENO: result: $ac_res" >&5
7205 echo "${ECHO_T}$ac_res" >&6; }
7206 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7207 cat >>confdefs.h <<_ACEOF
7208 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7224 for ac_header in netinet/in_pcb.h netinet/ip_var.h net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7226 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7227 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7229 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7230 echo $ECHO_N "(cached) $ECHO_C" >&6
7232 cat >conftest.$ac_ext <<_ACEOF
7235 cat confdefs.h >>conftest.$ac_ext
7236 cat >>conftest.$ac_ext <<_ACEOF
7237 /* end confdefs.h. */
7238 #include <sys/types.h>
7239 #if HAVE_SYS_SOCKET_H
7240 # include <sys/socket.h>
7243 #include <$ac_header>
7245 rm -f conftest.$ac_objext
7246 if { (ac_try="$ac_compile"
7248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7249 *) ac_try_echo=$ac_try;;
7251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7252 (eval "$ac_compile") 2>conftest.er1
7254 grep -v '^ *+' conftest.er1 >conftest.err
7256 cat conftest.err >&5
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); } && {
7259 test -z "$ac_c_werror_flag" ||
7260 test ! -s conftest.err
7261 } && test -s conftest.$ac_objext; then
7262 eval "$as_ac_Header=yes"
7264 echo "$as_me: failed program was:" >&5
7265 sed 's/^/| /' conftest.$ac_ext >&5
7267 eval "$as_ac_Header=no"
7270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7272 ac_res=`eval echo '${'$as_ac_Header'}'`
7273 { echo "$as_me:$LINENO: result: $ac_res" >&5
7274 echo "${ECHO_T}$ac_res" >&6; }
7275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7276 cat >>confdefs.h <<_ACEOF
7277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7284 #if HAVE_SYS_SOCKETVAR_H
7285 # include <sys/socketvar.h>
7289 for ac_header in netinet/tcp_var.h
7291 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7292 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7294 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7295 echo $ECHO_N "(cached) $ECHO_C" >&6
7297 cat >conftest.$ac_ext <<_ACEOF
7300 cat confdefs.h >>conftest.$ac_ext
7301 cat >>conftest.$ac_ext <<_ACEOF
7302 /* end confdefs.h. */
7303 #include <sys/types.h>
7304 #if HAVE_SYS_SOCKET_H
7305 # include <sys/socket.h>
7307 #if HAVE_SYS_SOCKETVAR_H
7308 # include <sys/socketvar.h>
7310 #if HAVE_NETINET_IN_H
7311 # include <netinet/in.h>
7313 #ifdef HAVE_NETINET_TCP_H
7314 # include <netinet/tcp.h>
7317 #include <$ac_header>
7319 rm -f conftest.$ac_objext
7320 if { (ac_try="$ac_compile"
7322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7323 *) ac_try_echo=$ac_try;;
7325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7326 (eval "$ac_compile") 2>conftest.er1
7328 grep -v '^ *+' conftest.er1 >conftest.err
7330 cat conftest.err >&5
7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); } && {
7333 test -z "$ac_c_werror_flag" ||
7334 test ! -s conftest.err
7335 } && test -s conftest.$ac_objext; then
7336 eval "$as_ac_Header=yes"
7338 echo "$as_me: failed program was:" >&5
7339 sed 's/^/| /' conftest.$ac_ext >&5
7341 eval "$as_ac_Header=no"
7344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7346 ac_res=`eval echo '${'$as_ac_Header'}'`
7347 { echo "$as_me:$LINENO: result: $ac_res" >&5
7348 echo "${ECHO_T}$ac_res" >&6; }
7349 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7350 cat >>confdefs.h <<_ACEOF
7351 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7360 for ac_header in linux/ipx.h
7362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7363 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7365 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7366 echo $ECHO_N "(cached) $ECHO_C" >&6
7368 cat >conftest.$ac_ext <<_ACEOF
7371 cat confdefs.h >>conftest.$ac_ext
7372 cat >>conftest.$ac_ext <<_ACEOF
7373 /* end confdefs.h. */
7374 #include <sys/types.h>
7375 #ifdef HAVE_ASM_TYPES_H
7376 # include <asm/types.h>
7378 #if HAVE_SYS_SOCKET_H
7379 # include <sys/socket.h>
7382 #include <$ac_header>
7384 rm -f conftest.$ac_objext
7385 if { (ac_try="$ac_compile"
7387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7388 *) ac_try_echo=$ac_try;;
7390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7391 (eval "$ac_compile") 2>conftest.er1
7393 grep -v '^ *+' conftest.er1 >conftest.err
7395 cat conftest.err >&5
7396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7397 (exit $ac_status); } && {
7398 test -z "$ac_c_werror_flag" ||
7399 test ! -s conftest.err
7400 } && test -s conftest.$ac_objext; then
7401 eval "$as_ac_Header=yes"
7403 echo "$as_me: failed program was:" >&5
7404 sed 's/^/| /' conftest.$ac_ext >&5
7406 eval "$as_ac_Header=no"
7409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7411 ac_res=`eval echo '${'$as_ac_Header'}'`
7412 { echo "$as_me:$LINENO: result: $ac_res" >&5
7413 echo "${ECHO_T}$ac_res" >&6; }
7414 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7415 cat >>confdefs.h <<_ACEOF
7416 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7425 for ac_header in resolv.h
7427 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7428 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7430 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7431 echo $ECHO_N "(cached) $ECHO_C" >&6
7433 cat >conftest.$ac_ext <<_ACEOF
7436 cat confdefs.h >>conftest.$ac_ext
7437 cat >>conftest.$ac_ext <<_ACEOF
7438 /* end confdefs.h. */
7439 #include <sys/types.h>
7440 #if HAVE_SYS_SOCKET_H
7441 # include <sys/socket.h>
7443 #if HAVE_NETINET_IN_H
7444 # include <netinet/in.h>
7446 #if HAVE_ARPA_NAMESER_H
7447 # include <arpa/nameser.h>
7450 #include <$ac_header>
7452 rm -f conftest.$ac_objext
7453 if { (ac_try="$ac_compile"
7455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7456 *) ac_try_echo=$ac_try;;
7458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7459 (eval "$ac_compile") 2>conftest.er1
7461 grep -v '^ *+' conftest.er1 >conftest.err
7463 cat conftest.err >&5
7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); } && {
7466 test -z "$ac_c_werror_flag" ||
7467 test ! -s conftest.err
7468 } && test -s conftest.$ac_objext; then
7469 eval "$as_ac_Header=yes"
7471 echo "$as_me: failed program was:" >&5
7472 sed 's/^/| /' conftest.$ac_ext >&5
7474 eval "$as_ac_Header=no"
7477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7479 ac_res=`eval echo '${'$as_ac_Header'}'`
7480 { echo "$as_me:$LINENO: result: $ac_res" >&5
7481 echo "${ECHO_T}$ac_res" >&6; }
7482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7483 cat >>confdefs.h <<_ACEOF
7484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7493 for ac_header in ucontext.h
7495 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7496 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7498 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7499 echo $ECHO_N "(cached) $ECHO_C" >&6
7501 cat >conftest.$ac_ext <<_ACEOF
7504 cat confdefs.h >>conftest.$ac_ext
7505 cat >>conftest.$ac_ext <<_ACEOF
7506 /* end confdefs.h. */
7509 #include <$ac_header>
7511 rm -f conftest.$ac_objext
7512 if { (ac_try="$ac_compile"
7514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7515 *) ac_try_echo=$ac_try;;
7517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7518 (eval "$ac_compile") 2>conftest.er1
7520 grep -v '^ *+' conftest.er1 >conftest.err
7522 cat conftest.err >&5
7523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7524 (exit $ac_status); } && {
7525 test -z "$ac_c_werror_flag" ||
7526 test ! -s conftest.err
7527 } && test -s conftest.$ac_objext; then
7528 eval "$as_ac_Header=yes"
7530 echo "$as_me: failed program was:" >&5
7531 sed 's/^/| /' conftest.$ac_ext >&5
7533 eval "$as_ac_Header=no"
7536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7538 ac_res=`eval echo '${'$as_ac_Header'}'`
7539 { echo "$as_me:$LINENO: result: $ac_res" >&5
7540 echo "${ECHO_T}$ac_res" >&6; }
7541 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7542 cat >>confdefs.h <<_ACEOF
7543 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7552 for ac_header in pthread_np.h
7554 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7555 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7557 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7558 echo $ECHO_N "(cached) $ECHO_C" >&6
7560 cat >conftest.$ac_ext <<_ACEOF
7563 cat confdefs.h >>conftest.$ac_ext
7564 cat >>conftest.$ac_ext <<_ACEOF
7565 /* end confdefs.h. */
7566 #ifdef HAVE_PTHREAD_H
7567 #include <pthread.h>
7570 #include <$ac_header>
7572 rm -f conftest.$ac_objext
7573 if { (ac_try="$ac_compile"
7575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7576 *) ac_try_echo=$ac_try;;
7578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7579 (eval "$ac_compile") 2>conftest.er1
7581 grep -v '^ *+' conftest.er1 >conftest.err
7583 cat conftest.err >&5
7584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585 (exit $ac_status); } && {
7586 test -z "$ac_c_werror_flag" ||
7587 test ! -s conftest.err
7588 } && test -s conftest.$ac_objext; then
7589 eval "$as_ac_Header=yes"
7591 echo "$as_me: failed program was:" >&5
7592 sed 's/^/| /' conftest.$ac_ext >&5
7594 eval "$as_ac_Header=no"
7597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7599 ac_res=`eval echo '${'$as_ac_Header'}'`
7600 { echo "$as_me:$LINENO: result: $ac_res" >&5
7601 echo "${ECHO_T}$ac_res" >&6; }
7602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7603 cat >>confdefs.h <<_ACEOF
7604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7613 for ac_header in linux/videodev.h
7615 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7616 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7618 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7619 echo $ECHO_N "(cached) $ECHO_C" >&6
7621 cat >conftest.$ac_ext <<_ACEOF
7624 cat confdefs.h >>conftest.$ac_ext
7625 cat >>conftest.$ac_ext <<_ACEOF
7626 /* end confdefs.h. */
7627 #ifdef HAVE_SYS_TIME_H
7628 #include <sys/time.h>
7630 #include <sys/types.h>
7631 #ifdef HAVE_ASM_TYPES_H
7632 #include <asm/types.h>
7635 #include <$ac_header>
7637 rm -f conftest.$ac_objext
7638 if { (ac_try="$ac_compile"
7640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7641 *) ac_try_echo=$ac_try;;
7643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7644 (eval "$ac_compile") 2>conftest.er1
7646 grep -v '^ *+' conftest.er1 >conftest.err
7648 cat conftest.err >&5
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); } && {
7651 test -z "$ac_c_werror_flag" ||
7652 test ! -s conftest.err
7653 } && test -s conftest.$ac_objext; then
7654 eval "$as_ac_Header=yes"
7656 echo "$as_me: failed program was:" >&5
7657 sed 's/^/| /' conftest.$ac_ext >&5
7659 eval "$as_ac_Header=no"
7662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7664 ac_res=`eval echo '${'$as_ac_Header'}'`
7665 { echo "$as_me:$LINENO: result: $ac_res" >&5
7666 echo "${ECHO_T}$ac_res" >&6; }
7667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7668 cat >>confdefs.h <<_ACEOF
7669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7678 for ac_header in linux/capi.h
7680 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7681 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7683 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7684 echo $ECHO_N "(cached) $ECHO_C" >&6
7686 cat >conftest.$ac_ext <<_ACEOF
7689 cat confdefs.h >>conftest.$ac_ext
7690 cat >>conftest.$ac_ext <<_ACEOF
7691 /* end confdefs.h. */
7694 #include <$ac_header>
7696 rm -f conftest.$ac_objext
7697 if { (ac_try="$ac_compile"
7699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7700 *) ac_try_echo=$ac_try;;
7702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7703 (eval "$ac_compile") 2>conftest.er1
7705 grep -v '^ *+' conftest.er1 >conftest.err
7707 cat conftest.err >&5
7708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7709 (exit $ac_status); } && {
7710 test -z "$ac_c_werror_flag" ||
7711 test ! -s conftest.err
7712 } && test -s conftest.$ac_objext; then
7713 eval "$as_ac_Header=yes"
7715 echo "$as_me: failed program was:" >&5
7716 sed 's/^/| /' conftest.$ac_ext >&5
7718 eval "$as_ac_Header=no"
7721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7723 ac_res=`eval echo '${'$as_ac_Header'}'`
7724 { echo "$as_me:$LINENO: result: $ac_res" >&5
7725 echo "${ECHO_T}$ac_res" >&6; }
7726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7727 cat >>confdefs.h <<_ACEOF
7728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7739 DLLFLAGS="-D_REENTRANT"
7753 # Extract the first word of "ldd", so it can be a program name with args.
7754 set dummy ldd; ac_word=$2
7755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7757 if test "${ac_cv_path_LDD+set}" = set; then
7758 echo $ECHO_N "(cached) $ECHO_C" >&6
7762 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7766 as_dummy="/sbin:/usr/sbin:$PATH"
7767 for as_dir in $as_dummy
7770 test -z "$as_dir" && as_dir=.
7771 for ac_exec_ext in '' $ac_executable_extensions; do
7772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7773 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7781 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7786 if test -n "$LDD"; then
7787 { echo "$as_me:$LINENO: result: $LDD" >&5
7788 echo "${ECHO_T}$LDD" >&6; }
7790 { echo "$as_me:$LINENO: result: no" >&5
7791 echo "${ECHO_T}no" >&6; }
7798 if test -n "$ac_tool_prefix"; then
7799 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7800 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7803 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7804 echo $ECHO_N "(cached) $ECHO_C" >&6
7806 if test -n "$DLLTOOL"; then
7807 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7813 test -z "$as_dir" && as_dir=.
7814 for ac_exec_ext in '' $ac_executable_extensions; do
7815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7816 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7826 DLLTOOL=$ac_cv_prog_DLLTOOL
7827 if test -n "$DLLTOOL"; then
7828 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7829 echo "${ECHO_T}$DLLTOOL" >&6; }
7831 { echo "$as_me:$LINENO: result: no" >&5
7832 echo "${ECHO_T}no" >&6; }
7837 if test -z "$ac_cv_prog_DLLTOOL"; then
7838 ac_ct_DLLTOOL=$DLLTOOL
7839 # Extract the first word of "dlltool", so it can be a program name with args.
7840 set dummy dlltool; ac_word=$2
7841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7843 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7844 echo $ECHO_N "(cached) $ECHO_C" >&6
7846 if test -n "$ac_ct_DLLTOOL"; then
7847 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7853 test -z "$as_dir" && as_dir=.
7854 for ac_exec_ext in '' $ac_executable_extensions; do
7855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7856 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7866 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7867 if test -n "$ac_ct_DLLTOOL"; then
7868 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7869 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7871 { echo "$as_me:$LINENO: result: no" >&5
7872 echo "${ECHO_T}no" >&6; }
7875 if test "x$ac_ct_DLLTOOL" = x; then
7878 case $cross_compiling:$ac_tool_warned in
7880 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7881 whose name does not start with the host triplet. If you think this
7882 configuration is useful to you, please write to autoconf@gnu.org." >&5
7883 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7884 whose name does not start with the host triplet. If you think this
7885 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7886 ac_tool_warned=yes ;;
7888 DLLTOOL=$ac_ct_DLLTOOL
7891 DLLTOOL="$ac_cv_prog_DLLTOOL"
7894 if test -n "$ac_tool_prefix"; then
7895 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7896 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7899 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7900 echo $ECHO_N "(cached) $ECHO_C" >&6
7902 if test -n "$DLLWRAP"; then
7903 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7909 test -z "$as_dir" && as_dir=.
7910 for ac_exec_ext in '' $ac_executable_extensions; do
7911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7912 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7922 DLLWRAP=$ac_cv_prog_DLLWRAP
7923 if test -n "$DLLWRAP"; then
7924 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7925 echo "${ECHO_T}$DLLWRAP" >&6; }
7927 { echo "$as_me:$LINENO: result: no" >&5
7928 echo "${ECHO_T}no" >&6; }
7933 if test -z "$ac_cv_prog_DLLWRAP"; then
7934 ac_ct_DLLWRAP=$DLLWRAP
7935 # Extract the first word of "dllwrap", so it can be a program name with args.
7936 set dummy dllwrap; ac_word=$2
7937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7939 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7940 echo $ECHO_N "(cached) $ECHO_C" >&6
7942 if test -n "$ac_ct_DLLWRAP"; then
7943 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7949 test -z "$as_dir" && as_dir=.
7950 for ac_exec_ext in '' $ac_executable_extensions; do
7951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7952 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7962 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7963 if test -n "$ac_ct_DLLWRAP"; then
7964 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7965 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7967 { echo "$as_me:$LINENO: result: no" >&5
7968 echo "${ECHO_T}no" >&6; }
7971 if test "x$ac_ct_DLLWRAP" = x; then
7974 case $cross_compiling:$ac_tool_warned in
7976 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7977 whose name does not start with the host triplet. If you think this
7978 configuration is useful to you, please write to autoconf@gnu.org." >&5
7979 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7980 whose name does not start with the host triplet. If you think this
7981 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7982 ac_tool_warned=yes ;;
7984 DLLWRAP=$ac_ct_DLLWRAP
7987 DLLWRAP="$ac_cv_prog_DLLWRAP"
7990 if test -n "$ac_tool_prefix"; then
7991 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7992 set dummy ${ac_tool_prefix}ar; ac_word=$2
7993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7995 if test "${ac_cv_prog_MINGWAR+set}" = set; then
7996 echo $ECHO_N "(cached) $ECHO_C" >&6
7998 if test -n "$MINGWAR"; then
7999 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8005 test -z "$as_dir" && as_dir=.
8006 for ac_exec_ext in '' $ac_executable_extensions; do
8007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8008 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8018 MINGWAR=$ac_cv_prog_MINGWAR
8019 if test -n "$MINGWAR"; then
8020 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8021 echo "${ECHO_T}$MINGWAR" >&6; }
8023 { echo "$as_me:$LINENO: result: no" >&5
8024 echo "${ECHO_T}no" >&6; }
8029 if test -z "$ac_cv_prog_MINGWAR"; then
8030 ac_ct_MINGWAR=$MINGWAR
8031 # Extract the first word of "ar", so it can be a program name with args.
8032 set dummy ar; ac_word=$2
8033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8035 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8036 echo $ECHO_N "(cached) $ECHO_C" >&6
8038 if test -n "$ac_ct_MINGWAR"; then
8039 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8045 test -z "$as_dir" && as_dir=.
8046 for ac_exec_ext in '' $ac_executable_extensions; do
8047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8048 ac_cv_prog_ac_ct_MINGWAR="ar"
8049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8058 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8059 if test -n "$ac_ct_MINGWAR"; then
8060 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8061 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8063 { echo "$as_me:$LINENO: result: no" >&5
8064 echo "${ECHO_T}no" >&6; }
8067 if test "x$ac_ct_MINGWAR" = x; then
8070 case $cross_compiling:$ac_tool_warned in
8072 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8073 whose name does not start with the host triplet. If you think this
8074 configuration is useful to you, please write to autoconf@gnu.org." >&5
8075 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8076 whose name does not start with the host triplet. If you think this
8077 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8078 ac_tool_warned=yes ;;
8080 MINGWAR=$ac_ct_MINGWAR
8083 MINGWAR="$ac_cv_prog_MINGWAR"
8086 if test "$DLLWRAP" = "false"; then
8098 DLLFLAGS="$DLLFLAGS -fPIC"
8099 LDDLLFLAGS="-bundle -multiply_defined suppress"
8100 LIBWINE_LDFLAGS="-multiply_defined suppress"
8101 LDSHARED="\$(CC) -dynamiclib"
8103 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8104 COREFOUNDATIONLIB="-framework CoreFoundation"
8106 IOKITLIB="-framework IOKit -framework CoreFoundation"
8108 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8110 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8112 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8115 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8117 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8122 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8124 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8126 CARBONLIB="-framework Carbon"
8128 QUARTZFILES='$(QUARTZFILES)'
8132 DLLFLAGS="$DLLFLAGS -fPIC"
8134 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8135 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8136 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8137 echo $ECHO_N "(cached) $ECHO_C" >&6
8139 ac_wine_try_cflags_saved=$CFLAGS
8140 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8141 cat >conftest.$ac_ext <<_ACEOF
8144 rm -f conftest.$ac_objext conftest$ac_exeext
8145 if { (ac_try="$ac_link"
8147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8148 *) ac_try_echo=$ac_try;;
8150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8151 (eval "$ac_link") 2>conftest.er1
8153 grep -v '^ *+' conftest.er1 >conftest.err
8155 cat conftest.err >&5
8156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8157 (exit $ac_status); } && {
8158 test -z "$ac_c_werror_flag" ||
8159 test ! -s conftest.err
8160 } && test -s conftest$ac_exeext &&
8161 $as_test_x conftest$ac_exeext; then
8162 ac_cv_c_dll_gnuelf="yes"
8164 echo "$as_me: failed program was:" >&5
8165 sed 's/^/| /' conftest.$ac_ext >&5
8167 ac_cv_c_dll_gnuelf="no"
8170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8171 conftest$ac_exeext conftest.$ac_ext
8172 CFLAGS=$ac_wine_try_cflags_saved
8174 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8175 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8176 if test "$ac_cv_c_dll_gnuelf" = "yes"
8178 LDSHARED="\$(CC) -shared"
8179 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8180 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8181 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8182 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8183 echo $ECHO_N "(cached) $ECHO_C" >&6
8185 ac_wine_try_cflags_saved=$CFLAGS
8186 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8187 cat >conftest.$ac_ext <<_ACEOF
8190 cat confdefs.h >>conftest.$ac_ext
8191 cat >>conftest.$ac_ext <<_ACEOF
8192 /* end confdefs.h. */
8202 rm -f conftest.$ac_objext conftest$ac_exeext
8203 if { (ac_try="$ac_link"
8205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8206 *) ac_try_echo=$ac_try;;
8208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8209 (eval "$ac_link") 2>conftest.er1
8211 grep -v '^ *+' conftest.er1 >conftest.err
8213 cat conftest.err >&5
8214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 (exit $ac_status); } && {
8216 test -z "$ac_c_werror_flag" ||
8217 test ! -s conftest.err
8218 } && test -s conftest$ac_exeext &&
8219 $as_test_x conftest$ac_exeext; then
8220 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8222 echo "$as_me: failed program was:" >&5
8223 sed 's/^/| /' conftest.$ac_ext >&5
8225 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8229 conftest$ac_exeext conftest.$ac_ext
8230 CFLAGS=$ac_wine_try_cflags_saved
8232 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8233 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8234 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8235 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8237 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8238 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8239 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8240 echo $ECHO_N "(cached) $ECHO_C" >&6
8242 ac_wine_try_cflags_saved=$CFLAGS
8243 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8244 cat >conftest.$ac_ext <<_ACEOF
8247 cat confdefs.h >>conftest.$ac_ext
8248 cat >>conftest.$ac_ext <<_ACEOF
8249 /* end confdefs.h. */
8259 rm -f conftest.$ac_objext conftest$ac_exeext
8260 if { (ac_try="$ac_link"
8262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8263 *) ac_try_echo=$ac_try;;
8265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8266 (eval "$ac_link") 2>conftest.er1
8268 grep -v '^ *+' conftest.er1 >conftest.err
8270 cat conftest.err >&5
8271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272 (exit $ac_status); } && {
8273 test -z "$ac_c_werror_flag" ||
8274 test ! -s conftest.err
8275 } && test -s conftest$ac_exeext &&
8276 $as_test_x conftest$ac_exeext; then
8277 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8279 echo "$as_me: failed program was:" >&5
8280 sed 's/^/| /' conftest.$ac_ext >&5
8282 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8286 conftest$ac_exeext conftest.$ac_ext
8287 CFLAGS=$ac_wine_try_cflags_saved
8289 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8290 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8291 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8292 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8298 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8299 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8300 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8301 echo $ECHO_N "(cached) $ECHO_C" >&6
8303 ac_wine_try_cflags_saved=$CFLAGS
8304 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8305 cat >conftest.$ac_ext <<_ACEOF
8308 cat confdefs.h >>conftest.$ac_ext
8309 cat >>conftest.$ac_ext <<_ACEOF
8310 /* end confdefs.h. */
8320 rm -f conftest.$ac_objext conftest$ac_exeext
8321 if { (ac_try="$ac_link"
8323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8324 *) ac_try_echo=$ac_try;;
8326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8327 (eval "$ac_link") 2>conftest.er1
8329 grep -v '^ *+' conftest.er1 >conftest.err
8331 cat conftest.err >&5
8332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333 (exit $ac_status); } && {
8334 test -z "$ac_c_werror_flag" ||
8335 test ! -s conftest.err
8336 } && test -s conftest$ac_exeext &&
8337 $as_test_x conftest$ac_exeext; then
8338 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8340 echo "$as_me: failed program was:" >&5
8341 sed 's/^/| /' conftest.$ac_ext >&5
8343 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8347 conftest$ac_exeext conftest.$ac_ext
8348 CFLAGS=$ac_wine_try_cflags_saved
8350 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8351 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8352 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8353 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8357 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8358 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8359 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8360 echo $ECHO_N "(cached) $ECHO_C" >&6
8362 ac_wine_try_cflags_saved=$CFLAGS
8363 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8364 cat >conftest.$ac_ext <<_ACEOF
8367 cat confdefs.h >>conftest.$ac_ext
8368 cat >>conftest.$ac_ext <<_ACEOF
8369 /* end confdefs.h. */
8379 rm -f conftest.$ac_objext conftest$ac_exeext
8380 if { (ac_try="$ac_link"
8382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8383 *) ac_try_echo=$ac_try;;
8385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8386 (eval "$ac_link") 2>conftest.er1
8388 grep -v '^ *+' conftest.er1 >conftest.err
8390 cat conftest.err >&5
8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8392 (exit $ac_status); } && {
8393 test -z "$ac_c_werror_flag" ||
8394 test ! -s conftest.err
8395 } && test -s conftest$ac_exeext &&
8396 $as_test_x conftest$ac_exeext; then
8397 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8399 echo "$as_me: failed program was:" >&5
8400 sed 's/^/| /' conftest.$ac_ext >&5
8402 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8406 conftest$ac_exeext conftest.$ac_ext
8407 CFLAGS=$ac_wine_try_cflags_saved
8409 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8410 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8411 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8412 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8416 echo '{ global: *; };' >conftest.map
8417 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8418 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8419 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8420 echo $ECHO_N "(cached) $ECHO_C" >&6
8422 ac_wine_try_cflags_saved=$CFLAGS
8423 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8424 cat >conftest.$ac_ext <<_ACEOF
8427 cat confdefs.h >>conftest.$ac_ext
8428 cat >>conftest.$ac_ext <<_ACEOF
8429 /* end confdefs.h. */
8439 rm -f conftest.$ac_objext conftest$ac_exeext
8440 if { (ac_try="$ac_link"
8442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8443 *) ac_try_echo=$ac_try;;
8445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8446 (eval "$ac_link") 2>conftest.er1
8448 grep -v '^ *+' conftest.er1 >conftest.err
8450 cat conftest.err >&5
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); } && {
8453 test -z "$ac_c_werror_flag" ||
8454 test ! -s conftest.err
8455 } && test -s conftest$ac_exeext &&
8456 $as_test_x conftest$ac_exeext; then
8457 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8459 echo "$as_me: failed program was:" >&5
8460 sed 's/^/| /' conftest.$ac_ext >&5
8462 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8466 conftest$ac_exeext conftest.$ac_ext
8467 CFLAGS=$ac_wine_try_cflags_saved
8469 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8470 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8471 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8472 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8477 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8478 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8479 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8480 echo $ECHO_N "(cached) $ECHO_C" >&6
8482 ac_wine_try_cflags_saved=$CFLAGS
8483 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8484 cat >conftest.$ac_ext <<_ACEOF
8487 cat confdefs.h >>conftest.$ac_ext
8488 cat >>conftest.$ac_ext <<_ACEOF
8489 /* end confdefs.h. */
8499 rm -f conftest.$ac_objext conftest$ac_exeext
8500 if { (ac_try="$ac_link"
8502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8503 *) ac_try_echo=$ac_try;;
8505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8506 (eval "$ac_link") 2>conftest.er1
8508 grep -v '^ *+' conftest.er1 >conftest.err
8510 cat conftest.err >&5
8511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8512 (exit $ac_status); } && {
8513 test -z "$ac_c_werror_flag" ||
8514 test ! -s conftest.err
8515 } && test -s conftest$ac_exeext &&
8516 $as_test_x conftest$ac_exeext; then
8517 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8519 echo "$as_me: failed program was:" >&5
8520 sed 's/^/| /' conftest.$ac_ext >&5
8522 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8526 conftest$ac_exeext conftest.$ac_ext
8527 CFLAGS=$ac_wine_try_cflags_saved
8529 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8530 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8531 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8532 LDEXECFLAGS="-Wl,--export-dynamic"
8537 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8538 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8539 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8540 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8541 echo $ECHO_N "(cached) $ECHO_C" >&6
8543 ac_wine_try_cflags_saved=$CFLAGS
8544 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8545 cat >conftest.$ac_ext <<_ACEOF
8548 cat confdefs.h >>conftest.$ac_ext
8549 cat >>conftest.$ac_ext <<_ACEOF
8550 /* end confdefs.h. */
8560 rm -f conftest.$ac_objext conftest$ac_exeext
8561 if { (ac_try="$ac_link"
8563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8564 *) ac_try_echo=$ac_try;;
8566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8567 (eval "$ac_link") 2>conftest.er1
8569 grep -v '^ *+' conftest.er1 >conftest.err
8571 cat conftest.err >&5
8572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573 (exit $ac_status); } && {
8574 test -z "$ac_c_werror_flag" ||
8575 test ! -s conftest.err
8576 } && test -s conftest$ac_exeext &&
8577 $as_test_x conftest$ac_exeext; then
8578 eval "$as_ac_var=yes"
8580 echo "$as_me: failed program was:" >&5
8581 sed 's/^/| /' conftest.$ac_ext >&5
8583 eval "$as_ac_var=no"
8586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8587 conftest$ac_exeext conftest.$ac_ext
8588 CFLAGS=$ac_wine_try_cflags_saved
8590 ac_res=`eval echo '${'$as_ac_var'}'`
8591 { echo "$as_me:$LINENO: result: $ac_res" >&5
8592 echo "${ECHO_T}$ac_res" >&6; }
8593 if test `eval echo '${'$as_ac_var'}'` = yes; then
8594 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8595 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8597 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8598 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8599 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8600 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8601 echo $ECHO_N "(cached) $ECHO_C" >&6
8603 ac_wine_try_cflags_saved=$CFLAGS
8604 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8605 cat >conftest.$ac_ext <<_ACEOF
8608 cat confdefs.h >>conftest.$ac_ext
8609 cat >>conftest.$ac_ext <<_ACEOF
8610 /* end confdefs.h. */
8620 rm -f conftest.$ac_objext conftest$ac_exeext
8621 if { (ac_try="$ac_link"
8623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8624 *) ac_try_echo=$ac_try;;
8626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8627 (eval "$ac_link") 2>conftest.er1
8629 grep -v '^ *+' conftest.er1 >conftest.err
8631 cat conftest.err >&5
8632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8633 (exit $ac_status); } && {
8634 test -z "$ac_c_werror_flag" ||
8635 test ! -s conftest.err
8636 } && test -s conftest$ac_exeext &&
8637 $as_test_x conftest$ac_exeext; then
8638 eval "$as_ac_var=yes"
8640 echo "$as_me: failed program was:" >&5
8641 sed 's/^/| /' conftest.$ac_ext >&5
8643 eval "$as_ac_var=no"
8646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8647 conftest$ac_exeext conftest.$ac_ext
8648 CFLAGS=$ac_wine_try_cflags_saved
8650 ac_res=`eval echo '${'$as_ac_var'}'`
8651 { echo "$as_me:$LINENO: result: $ac_res" >&5
8652 echo "${ECHO_T}$ac_res" >&6; }
8653 if test `eval echo '${'$as_ac_var'}'` = yes; then
8654 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8655 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8661 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8662 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8663 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8664 echo $ECHO_N "(cached) $ECHO_C" >&6
8666 ac_wine_try_cflags_saved=$CFLAGS
8667 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8668 cat >conftest.$ac_ext <<_ACEOF
8671 cat confdefs.h >>conftest.$ac_ext
8672 cat >>conftest.$ac_ext <<_ACEOF
8673 /* end confdefs.h. */
8683 rm -f conftest.$ac_objext conftest$ac_exeext
8684 if { (ac_try="$ac_link"
8686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8687 *) ac_try_echo=$ac_try;;
8689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8690 (eval "$ac_link") 2>conftest.er1
8692 grep -v '^ *+' conftest.er1 >conftest.err
8694 cat conftest.err >&5
8695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8696 (exit $ac_status); } && {
8697 test -z "$ac_c_werror_flag" ||
8698 test ! -s conftest.err
8699 } && test -s conftest$ac_exeext &&
8700 $as_test_x conftest$ac_exeext; then
8701 ac_cv_cflags__Wl___enable_new_dtags=yes
8703 echo "$as_me: failed program was:" >&5
8704 sed 's/^/| /' conftest.$ac_ext >&5
8706 ac_cv_cflags__Wl___enable_new_dtags=no
8709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8710 conftest$ac_exeext conftest.$ac_ext
8711 CFLAGS=$ac_wine_try_cflags_saved
8713 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8714 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8715 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8716 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8721 *i[3456789]86* | x86_64)
8722 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8723 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8724 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8725 echo $ECHO_N "(cached) $ECHO_C" >&6
8727 ac_wine_try_cflags_saved=$CFLAGS
8728 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8729 cat >conftest.$ac_ext <<_ACEOF
8732 cat confdefs.h >>conftest.$ac_ext
8733 cat >>conftest.$ac_ext <<_ACEOF
8734 /* end confdefs.h. */
8744 rm -f conftest.$ac_objext conftest$ac_exeext
8745 if { (ac_try="$ac_link"
8747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8748 *) ac_try_echo=$ac_try;;
8750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8751 (eval "$ac_link") 2>conftest.er1
8753 grep -v '^ *+' conftest.er1 >conftest.err
8755 cat conftest.err >&5
8756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8757 (exit $ac_status); } && {
8758 test -z "$ac_c_werror_flag" ||
8759 test ! -s conftest.err
8760 } && test -s conftest$ac_exeext &&
8761 $as_test_x conftest$ac_exeext; then
8762 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8764 echo "$as_me: failed program was:" >&5
8765 sed 's/^/| /' conftest.$ac_ext >&5
8767 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8771 conftest$ac_exeext conftest.$ac_ext
8772 CFLAGS=$ac_wine_try_cflags_saved
8774 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8775 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8776 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8777 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8784 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8785 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8786 if test "${ac_cv_c_dll_unixware+set}" = set; then
8787 echo $ECHO_N "(cached) $ECHO_C" >&6
8789 ac_wine_try_cflags_saved=$CFLAGS
8790 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8791 cat >conftest.$ac_ext <<_ACEOF
8794 rm -f conftest.$ac_objext conftest$ac_exeext
8795 if { (ac_try="$ac_link"
8797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8798 *) ac_try_echo=$ac_try;;
8800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8801 (eval "$ac_link") 2>conftest.er1
8803 grep -v '^ *+' conftest.er1 >conftest.err
8805 cat conftest.err >&5
8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807 (exit $ac_status); } && {
8808 test -z "$ac_c_werror_flag" ||
8809 test ! -s conftest.err
8810 } && test -s conftest$ac_exeext &&
8811 $as_test_x conftest$ac_exeext; then
8812 ac_cv_c_dll_unixware="yes"
8814 echo "$as_me: failed program was:" >&5
8815 sed 's/^/| /' conftest.$ac_ext >&5
8817 ac_cv_c_dll_unixware="no"
8820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8821 conftest$ac_exeext conftest.$ac_ext
8822 CFLAGS=$ac_wine_try_cflags_saved
8824 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8825 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8826 if test "$ac_cv_c_dll_unixware" = "yes"
8828 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8829 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8832 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8833 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8834 if test "${ac_cv_c_dll_hpux+set}" = set; then
8835 echo $ECHO_N "(cached) $ECHO_C" >&6
8837 ac_wine_try_cflags_saved=$CFLAGS
8838 CFLAGS="$CFLAGS -shared"
8839 cat >conftest.$ac_ext <<_ACEOF
8842 rm -f conftest.$ac_objext conftest$ac_exeext
8843 if { (ac_try="$ac_link"
8845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8846 *) ac_try_echo=$ac_try;;
8848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8849 (eval "$ac_link") 2>conftest.er1
8851 grep -v '^ *+' conftest.er1 >conftest.err
8853 cat conftest.err >&5
8854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8855 (exit $ac_status); } && {
8856 test -z "$ac_c_werror_flag" ||
8857 test ! -s conftest.err
8858 } && test -s conftest$ac_exeext &&
8859 $as_test_x conftest$ac_exeext; then
8860 ac_cv_c_dll_hpux="yes"
8862 echo "$as_me: failed program was:" >&5
8863 sed 's/^/| /' conftest.$ac_ext >&5
8865 ac_cv_c_dll_hpux="no"
8868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8869 conftest$ac_exeext conftest.$ac_ext
8870 CFLAGS=$ac_wine_try_cflags_saved
8872 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8873 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8874 if test "$ac_cv_c_dll_hpux" = "yes"
8878 LDDLLFLAGS="-shared -fPIC"
8879 LDSHARED="\$(CC) -shared"
8886 if test "$cross_compiling" = "no"
8888 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8890 # Extract the first word of "$ac_prog", so it can be a program name with args.
8891 set dummy $ac_prog; ac_word=$2
8892 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8894 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8895 echo $ECHO_N "(cached) $ECHO_C" >&6
8897 if test -n "$CROSSCC"; then
8898 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8904 test -z "$as_dir" && as_dir=.
8905 for ac_exec_ext in '' $ac_executable_extensions; do
8906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8907 ac_cv_prog_CROSSCC="$ac_prog"
8908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8917 CROSSCC=$ac_cv_prog_CROSSCC
8918 if test -n "$CROSSCC"; then
8919 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8920 echo "${ECHO_T}$CROSSCC" >&6; }
8922 { echo "$as_me:$LINENO: result: no" >&5
8923 echo "${ECHO_T}no" >&6; }
8927 test -n "$CROSSCC" && break
8929 test -n "$CROSSCC" || CROSSCC="false"
8931 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8933 # Extract the first word of "$ac_prog", so it can be a program name with args.
8934 set dummy $ac_prog; ac_word=$2
8935 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8937 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8938 echo $ECHO_N "(cached) $ECHO_C" >&6
8940 if test -n "$DLLTOOL"; then
8941 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8947 test -z "$as_dir" && as_dir=.
8948 for ac_exec_ext in '' $ac_executable_extensions; do
8949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8950 ac_cv_prog_DLLTOOL="$ac_prog"
8951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8960 DLLTOOL=$ac_cv_prog_DLLTOOL
8961 if test -n "$DLLTOOL"; then
8962 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8963 echo "${ECHO_T}$DLLTOOL" >&6; }
8965 { echo "$as_me:$LINENO: result: no" >&5
8966 echo "${ECHO_T}no" >&6; }
8970 test -n "$DLLTOOL" && break
8972 test -n "$DLLTOOL" || DLLTOOL="false"
8974 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
8976 # Extract the first word of "$ac_prog", so it can be a program name with args.
8977 set dummy $ac_prog; ac_word=$2
8978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8980 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8981 echo $ECHO_N "(cached) $ECHO_C" >&6
8983 if test -n "$CROSSWINDRES"; then
8984 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8990 test -z "$as_dir" && as_dir=.
8991 for ac_exec_ext in '' $ac_executable_extensions; do
8992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8993 ac_cv_prog_CROSSWINDRES="$ac_prog"
8994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9003 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9004 if test -n "$CROSSWINDRES"; then
9005 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9006 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9008 { echo "$as_me:$LINENO: result: no" >&5
9009 echo "${ECHO_T}no" >&6; }
9013 test -n "$CROSSWINDRES" && break
9015 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9017 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
9019 # Extract the first word of "$ac_prog", so it can be a program name with args.
9020 set dummy $ac_prog; ac_word=$2
9021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9023 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9024 echo $ECHO_N "(cached) $ECHO_C" >&6
9026 if test -n "$MINGWAR"; then
9027 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9033 test -z "$as_dir" && as_dir=.
9034 for ac_exec_ext in '' $ac_executable_extensions; do
9035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9036 ac_cv_prog_MINGWAR="$ac_prog"
9037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9046 MINGWAR=$ac_cv_prog_MINGWAR
9047 if test -n "$MINGWAR"; then
9048 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9049 echo "${ECHO_T}$MINGWAR" >&6; }
9051 { echo "$as_me:$LINENO: result: no" >&5
9052 echo "${ECHO_T}no" >&6; }
9056 test -n "$MINGWAR" && break
9058 test -n "$MINGWAR" || MINGWAR="false"
9060 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9065 if test "$LIBEXT" = "a"; then
9066 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9067 It is currently not possible to build Wine without shared library
9068 (.so) support to allow transparent switch between .so and .dll files.
9069 If you are using Linux, you will need a newer binutils.
9071 echo "$as_me: error: could not find a way to build shared libraries.
9072 It is currently not possible to build Wine without shared library
9073 (.so) support to allow transparent switch between .so and .dll files.
9074 If you are using Linux, you will need a newer binutils.
9076 { (exit 1); exit 1; }; }
9080 if test "$have_x" = "yes"
9083 ac_save_CPPFLAGS="$CPPFLAGS"
9084 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9086 { echo "$as_me:$LINENO: checking for -lX11" >&5
9087 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9088 if test "${ac_cv_lib_soname_X11+set}" = set; then
9089 echo $ECHO_N "(cached) $ECHO_C" >&6
9091 ac_check_soname_save_LIBS=$LIBS
9092 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9093 cat >conftest.$ac_ext <<_ACEOF
9096 cat confdefs.h >>conftest.$ac_ext
9097 cat >>conftest.$ac_ext <<_ACEOF
9098 /* end confdefs.h. */
9100 /* Override any GCC internal prototype to avoid an error.
9101 Use char because int might match the return type of a GCC
9102 builtin and then its argument prototype would still apply. */
9106 char XCreateWindow ();
9110 return XCreateWindow ();
9115 rm -f conftest.$ac_objext conftest$ac_exeext
9116 if { (ac_try="$ac_link"
9118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9119 *) ac_try_echo=$ac_try;;
9121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9122 (eval "$ac_link") 2>conftest.er1
9124 grep -v '^ *+' conftest.er1 >conftest.err
9126 cat conftest.err >&5
9127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128 (exit $ac_status); } && {
9129 test -z "$ac_c_werror_flag" ||
9130 test ! -s conftest.err
9131 } && test -s conftest$ac_exeext &&
9132 $as_test_x conftest$ac_exeext; then
9135 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'` ;;
9136 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9139 echo "$as_me: failed program was:" >&5
9140 sed 's/^/| /' conftest.$ac_ext >&5
9145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9146 conftest$ac_exeext conftest.$ac_ext
9147 LIBS=$ac_check_soname_save_LIBS
9149 if test "x$ac_cv_lib_soname_X11" = "x"; then
9150 { echo "$as_me:$LINENO: result: not found" >&5
9151 echo "${ECHO_T}not found" >&6; }
9154 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9155 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9157 cat >>confdefs.h <<_ACEOF
9158 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9164 { echo "$as_me:$LINENO: checking for -lXext" >&5
9165 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9166 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9167 echo $ECHO_N "(cached) $ECHO_C" >&6
9169 ac_check_soname_save_LIBS=$LIBS
9170 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9171 cat >conftest.$ac_ext <<_ACEOF
9174 cat confdefs.h >>conftest.$ac_ext
9175 cat >>conftest.$ac_ext <<_ACEOF
9176 /* end confdefs.h. */
9178 /* Override any GCC internal prototype to avoid an error.
9179 Use char because int might match the return type of a GCC
9180 builtin and then its argument prototype would still apply. */
9184 char XextCreateExtension ();
9188 return XextCreateExtension ();
9193 rm -f conftest.$ac_objext conftest$ac_exeext
9194 if { (ac_try="$ac_link"
9196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9197 *) ac_try_echo=$ac_try;;
9199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9200 (eval "$ac_link") 2>conftest.er1
9202 grep -v '^ *+' conftest.er1 >conftest.err
9204 cat conftest.err >&5
9205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9206 (exit $ac_status); } && {
9207 test -z "$ac_c_werror_flag" ||
9208 test ! -s conftest.err
9209 } && test -s conftest$ac_exeext &&
9210 $as_test_x conftest$ac_exeext; then
9213 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'` ;;
9214 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9217 echo "$as_me: failed program was:" >&5
9218 sed 's/^/| /' conftest.$ac_ext >&5
9223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9224 conftest$ac_exeext conftest.$ac_ext
9225 LIBS=$ac_check_soname_save_LIBS
9227 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9228 { echo "$as_me:$LINENO: result: not found" >&5
9229 echo "${ECHO_T}not found" >&6; }
9232 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9233 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9235 cat >>confdefs.h <<_ACEOF
9236 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9254 for ac_header in X11/Xlib.h \
9257 X11/Xcursor/Xcursor.h \
9258 X11/extensions/shape.h \
9259 X11/extensions/XInput.h \
9260 X11/extensions/XShm.h \
9261 X11/extensions/Xinerama.h \
9262 X11/extensions/Xrandr.h \
9263 X11/extensions/Xrender.h \
9264 X11/extensions/xf86vmode.h
9266 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9267 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9269 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9270 echo $ECHO_N "(cached) $ECHO_C" >&6
9272 cat >conftest.$ac_ext <<_ACEOF
9275 cat confdefs.h >>conftest.$ac_ext
9276 cat >>conftest.$ac_ext <<_ACEOF
9277 /* end confdefs.h. */
9278 #ifdef HAVE_X11_XLIB_H
9279 # include <X11/Xlib.h>
9281 #ifdef HAVE_X11_XUTIL_H
9282 # include <X11/Xutil.h>
9285 #include <$ac_header>
9287 rm -f conftest.$ac_objext
9288 if { (ac_try="$ac_compile"
9290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9291 *) ac_try_echo=$ac_try;;
9293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9294 (eval "$ac_compile") 2>conftest.er1
9296 grep -v '^ *+' conftest.er1 >conftest.err
9298 cat conftest.err >&5
9299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9300 (exit $ac_status); } && {
9301 test -z "$ac_c_werror_flag" ||
9302 test ! -s conftest.err
9303 } && test -s conftest.$ac_objext; then
9304 eval "$as_ac_Header=yes"
9306 echo "$as_me: failed program was:" >&5
9307 sed 's/^/| /' conftest.$ac_ext >&5
9309 eval "$as_ac_Header=no"
9312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9314 ac_res=`eval echo '${'$as_ac_Header'}'`
9315 { echo "$as_me:$LINENO: result: $ac_res" >&5
9316 echo "${ECHO_T}$ac_res" >&6; }
9317 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9318 cat >>confdefs.h <<_ACEOF
9319 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9327 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9329 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9330 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9331 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9332 echo $ECHO_N "(cached) $ECHO_C" >&6
9334 ac_check_lib_save_LIBS=$LIBS
9335 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9336 cat >conftest.$ac_ext <<_ACEOF
9339 cat confdefs.h >>conftest.$ac_ext
9340 cat >>conftest.$ac_ext <<_ACEOF
9341 /* end confdefs.h. */
9343 /* Override any GCC internal prototype to avoid an error.
9344 Use char because int might match the return type of a GCC
9345 builtin and then its argument prototype would still apply. */
9349 char XkbQueryExtension ();
9353 return XkbQueryExtension ();
9358 rm -f conftest.$ac_objext conftest$ac_exeext
9359 if { (ac_try="$ac_link"
9361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9362 *) ac_try_echo=$ac_try;;
9364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9365 (eval "$ac_link") 2>conftest.er1
9367 grep -v '^ *+' conftest.er1 >conftest.err
9369 cat conftest.err >&5
9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9371 (exit $ac_status); } && {
9372 test -z "$ac_c_werror_flag" ||
9373 test ! -s conftest.err
9374 } && test -s conftest$ac_exeext &&
9375 $as_test_x conftest$ac_exeext; then
9376 ac_cv_lib_X11_XkbQueryExtension=yes
9378 echo "$as_me: failed program was:" >&5
9379 sed 's/^/| /' conftest.$ac_ext >&5
9381 ac_cv_lib_X11_XkbQueryExtension=no
9384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9385 conftest$ac_exeext conftest.$ac_ext
9386 LIBS=$ac_check_lib_save_LIBS
9388 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9389 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9390 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9392 cat >>confdefs.h <<\_ACEOF
9400 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9402 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9403 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9404 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9405 echo $ECHO_N "(cached) $ECHO_C" >&6
9407 ac_check_soname_save_LIBS=$LIBS
9408 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9409 cat >conftest.$ac_ext <<_ACEOF
9412 cat confdefs.h >>conftest.$ac_ext
9413 cat >>conftest.$ac_ext <<_ACEOF
9414 /* end confdefs.h. */
9416 /* Override any GCC internal prototype to avoid an error.
9417 Use char because int might match the return type of a GCC
9418 builtin and then its argument prototype would still apply. */
9422 char XcursorImageLoadCursor ();
9426 return XcursorImageLoadCursor ();
9431 rm -f conftest.$ac_objext conftest$ac_exeext
9432 if { (ac_try="$ac_link"
9434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9435 *) ac_try_echo=$ac_try;;
9437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9438 (eval "$ac_link") 2>conftest.er1
9440 grep -v '^ *+' conftest.er1 >conftest.err
9442 cat conftest.err >&5
9443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); } && {
9445 test -z "$ac_c_werror_flag" ||
9446 test ! -s conftest.err
9447 } && test -s conftest$ac_exeext &&
9448 $as_test_x conftest$ac_exeext; then
9451 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'` ;;
9452 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9455 echo "$as_me: failed program was:" >&5
9456 sed 's/^/| /' conftest.$ac_ext >&5
9461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9462 conftest$ac_exeext conftest.$ac_ext
9463 LIBS=$ac_check_soname_save_LIBS
9465 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9466 { echo "$as_me:$LINENO: result: not found" >&5
9467 echo "${ECHO_T}not found" >&6; }
9470 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9471 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9473 cat >>confdefs.h <<_ACEOF
9474 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9482 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9484 { echo "$as_me:$LINENO: checking for -lXi" >&5
9485 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9486 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9487 echo $ECHO_N "(cached) $ECHO_C" >&6
9489 ac_check_soname_save_LIBS=$LIBS
9490 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9491 cat >conftest.$ac_ext <<_ACEOF
9494 cat confdefs.h >>conftest.$ac_ext
9495 cat >>conftest.$ac_ext <<_ACEOF
9496 /* end confdefs.h. */
9498 /* Override any GCC internal prototype to avoid an error.
9499 Use char because int might match the return type of a GCC
9500 builtin and then its argument prototype would still apply. */
9504 char XOpenDevice ();
9508 return XOpenDevice ();
9513 rm -f conftest.$ac_objext conftest$ac_exeext
9514 if { (ac_try="$ac_link"
9516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9517 *) ac_try_echo=$ac_try;;
9519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9520 (eval "$ac_link") 2>conftest.er1
9522 grep -v '^ *+' conftest.er1 >conftest.err
9524 cat conftest.err >&5
9525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526 (exit $ac_status); } && {
9527 test -z "$ac_c_werror_flag" ||
9528 test ! -s conftest.err
9529 } && test -s conftest$ac_exeext &&
9530 $as_test_x conftest$ac_exeext; then
9533 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'` ;;
9534 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9537 echo "$as_me: failed program was:" >&5
9538 sed 's/^/| /' conftest.$ac_ext >&5
9543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9544 conftest$ac_exeext conftest.$ac_ext
9545 LIBS=$ac_check_soname_save_LIBS
9547 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9548 { echo "$as_me:$LINENO: result: not found" >&5
9549 echo "${ECHO_T}not found" >&6; }
9552 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9553 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9555 cat >>confdefs.h <<_ACEOF
9556 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9564 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9566 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9567 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9568 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9569 echo $ECHO_N "(cached) $ECHO_C" >&6
9571 ac_check_lib_save_LIBS=$LIBS
9572 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9573 cat >conftest.$ac_ext <<_ACEOF
9576 cat confdefs.h >>conftest.$ac_ext
9577 cat >>conftest.$ac_ext <<_ACEOF
9578 /* end confdefs.h. */
9580 /* Override any GCC internal prototype to avoid an error.
9581 Use char because int might match the return type of a GCC
9582 builtin and then its argument prototype would still apply. */
9586 char XShmQueryExtension ();
9590 return XShmQueryExtension ();
9595 rm -f conftest.$ac_objext conftest$ac_exeext
9596 if { (ac_try="$ac_link"
9598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9599 *) ac_try_echo=$ac_try;;
9601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9602 (eval "$ac_link") 2>conftest.er1
9604 grep -v '^ *+' conftest.er1 >conftest.err
9606 cat conftest.err >&5
9607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9608 (exit $ac_status); } && {
9609 test -z "$ac_c_werror_flag" ||
9610 test ! -s conftest.err
9611 } && test -s conftest$ac_exeext &&
9612 $as_test_x conftest$ac_exeext; then
9613 ac_cv_lib_Xext_XShmQueryExtension=yes
9615 echo "$as_me: failed program was:" >&5
9616 sed 's/^/| /' conftest.$ac_ext >&5
9618 ac_cv_lib_Xext_XShmQueryExtension=no
9621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9622 conftest$ac_exeext conftest.$ac_ext
9623 LIBS=$ac_check_lib_save_LIBS
9625 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9626 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9627 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9629 cat >>confdefs.h <<\_ACEOF
9630 #define HAVE_LIBXXSHM 1
9636 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9637 wine_notices="$wine_notices|XShm development files not found.
9638 Wine will be built without XShm support. (winex11.drv)"
9642 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9644 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9645 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9646 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9647 echo $ECHO_N "(cached) $ECHO_C" >&6
9649 ac_check_lib_save_LIBS=$LIBS
9650 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9651 cat >conftest.$ac_ext <<_ACEOF
9654 cat confdefs.h >>conftest.$ac_ext
9655 cat >>conftest.$ac_ext <<_ACEOF
9656 /* end confdefs.h. */
9658 /* Override any GCC internal prototype to avoid an error.
9659 Use char because int might match the return type of a GCC
9660 builtin and then its argument prototype would still apply. */
9664 char XShapeQueryExtension ();
9668 return XShapeQueryExtension ();
9673 rm -f conftest.$ac_objext conftest$ac_exeext
9674 if { (ac_try="$ac_link"
9676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9677 *) ac_try_echo=$ac_try;;
9679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9680 (eval "$ac_link") 2>conftest.er1
9682 grep -v '^ *+' conftest.er1 >conftest.err
9684 cat conftest.err >&5
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); } && {
9687 test -z "$ac_c_werror_flag" ||
9688 test ! -s conftest.err
9689 } && test -s conftest$ac_exeext &&
9690 $as_test_x conftest$ac_exeext; then
9691 ac_cv_lib_Xext_XShapeQueryExtension=yes
9693 echo "$as_me: failed program was:" >&5
9694 sed 's/^/| /' conftest.$ac_ext >&5
9696 ac_cv_lib_Xext_XShapeQueryExtension=no
9699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9700 conftest$ac_exeext conftest.$ac_ext
9701 LIBS=$ac_check_lib_save_LIBS
9703 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9704 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9705 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9707 cat >>confdefs.h <<\_ACEOF
9708 #define HAVE_LIBXSHAPE 1
9714 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9715 wine_notices="$wine_notices|XShape development files not found.
9716 Wine will be built without XShape support. (winex11.drv)"
9720 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9722 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9723 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9724 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9725 echo $ECHO_N "(cached) $ECHO_C" >&6
9727 ac_check_lib_save_LIBS=$LIBS
9728 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9729 cat >conftest.$ac_ext <<_ACEOF
9732 cat confdefs.h >>conftest.$ac_ext
9733 cat >>conftest.$ac_ext <<_ACEOF
9734 /* end confdefs.h. */
9736 /* Override any GCC internal prototype to avoid an error.
9737 Use char because int might match the return type of a GCC
9738 builtin and then its argument prototype would still apply. */
9742 char XF86VidModeQueryExtension ();
9746 return XF86VidModeQueryExtension ();
9751 rm -f conftest.$ac_objext conftest$ac_exeext
9752 if { (ac_try="$ac_link"
9754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9755 *) ac_try_echo=$ac_try;;
9757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9758 (eval "$ac_link") 2>conftest.er1
9760 grep -v '^ *+' conftest.er1 >conftest.err
9762 cat conftest.err >&5
9763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9764 (exit $ac_status); } && {
9765 test -z "$ac_c_werror_flag" ||
9766 test ! -s conftest.err
9767 } && test -s conftest$ac_exeext &&
9768 $as_test_x conftest$ac_exeext; then
9769 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9771 echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.$ac_ext >&5
9774 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9778 conftest$ac_exeext conftest.$ac_ext
9779 LIBS=$ac_check_lib_save_LIBS
9781 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9782 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9783 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9785 cat >>confdefs.h <<\_ACEOF
9786 #define HAVE_LIBXXF86VM 1
9789 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9794 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9795 wine_notices="$wine_notices|Xxf86vm development files not found.
9796 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9800 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
9802 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9803 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9804 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9805 echo $ECHO_N "(cached) $ECHO_C" >&6
9807 ac_check_soname_save_LIBS=$LIBS
9808 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9809 cat >conftest.$ac_ext <<_ACEOF
9812 cat confdefs.h >>conftest.$ac_ext
9813 cat >>conftest.$ac_ext <<_ACEOF
9814 /* end confdefs.h. */
9816 /* Override any GCC internal prototype to avoid an error.
9817 Use char because int might match the return type of a GCC
9818 builtin and then its argument prototype would still apply. */
9822 char XRenderQueryExtension ();
9826 return XRenderQueryExtension ();
9831 rm -f conftest.$ac_objext conftest$ac_exeext
9832 if { (ac_try="$ac_link"
9834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9835 *) ac_try_echo=$ac_try;;
9837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9838 (eval "$ac_link") 2>conftest.er1
9840 grep -v '^ *+' conftest.er1 >conftest.err
9842 cat conftest.err >&5
9843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9844 (exit $ac_status); } && {
9845 test -z "$ac_c_werror_flag" ||
9846 test ! -s conftest.err
9847 } && test -s conftest$ac_exeext &&
9848 $as_test_x conftest$ac_exeext; then
9851 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'` ;;
9852 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9855 echo "$as_me: failed program was:" >&5
9856 sed 's/^/| /' conftest.$ac_ext >&5
9861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9862 conftest$ac_exeext conftest.$ac_ext
9863 LIBS=$ac_check_soname_save_LIBS
9865 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9866 { echo "$as_me:$LINENO: result: not found" >&5
9867 echo "${ECHO_T}not found" >&6; }
9870 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9871 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9873 cat >>confdefs.h <<_ACEOF
9874 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9877 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9878 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9879 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9880 echo $ECHO_N "(cached) $ECHO_C" >&6
9882 ac_check_lib_save_LIBS=$LIBS
9883 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9884 cat >conftest.$ac_ext <<_ACEOF
9887 cat confdefs.h >>conftest.$ac_ext
9888 cat >>conftest.$ac_ext <<_ACEOF
9889 /* end confdefs.h. */
9891 /* Override any GCC internal prototype to avoid an error.
9892 Use char because int might match the return type of a GCC
9893 builtin and then its argument prototype would still apply. */
9897 char XRenderSetPictureTransform ();
9901 return XRenderSetPictureTransform ();
9906 rm -f conftest.$ac_objext conftest$ac_exeext
9907 if { (ac_try="$ac_link"
9909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9910 *) ac_try_echo=$ac_try;;
9912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9913 (eval "$ac_link") 2>conftest.er1
9915 grep -v '^ *+' conftest.er1 >conftest.err
9917 cat conftest.err >&5
9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919 (exit $ac_status); } && {
9920 test -z "$ac_c_werror_flag" ||
9921 test ! -s conftest.err
9922 } && test -s conftest$ac_exeext &&
9923 $as_test_x conftest$ac_exeext; then
9924 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9926 echo "$as_me: failed program was:" >&5
9927 sed 's/^/| /' conftest.$ac_ext >&5
9929 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9933 conftest$ac_exeext conftest.$ac_ext
9934 LIBS=$ac_check_lib_save_LIBS
9936 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9937 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9938 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9940 cat >>confdefs.h <<\_ACEOF
9941 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9950 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9951 wine_notices="$wine_notices|XRender development files not found.
9952 Wine will be built without XRender support. (winex11.drv)"
9956 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9958 cat >conftest.$ac_ext <<_ACEOF
9961 cat confdefs.h >>conftest.$ac_ext
9962 cat >>conftest.$ac_ext <<_ACEOF
9963 /* end confdefs.h. */
9964 #include <X11/Xlib.h>
9965 #include <X11/extensions/Xrandr.h>
9969 static typeof(XRRSetScreenConfigAndRate) * func;
9974 rm -f conftest.$ac_objext
9975 if { (ac_try="$ac_compile"
9977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9978 *) ac_try_echo=$ac_try;;
9980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9981 (eval "$ac_compile") 2>conftest.er1
9983 grep -v '^ *+' conftest.er1 >conftest.err
9985 cat conftest.err >&5
9986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9987 (exit $ac_status); } && {
9988 test -z "$ac_c_werror_flag" ||
9989 test ! -s conftest.err
9990 } && test -s conftest.$ac_objext; then
9991 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
9992 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
9993 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
9994 echo $ECHO_N "(cached) $ECHO_C" >&6
9996 ac_check_soname_save_LIBS=$LIBS
9997 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9998 cat >conftest.$ac_ext <<_ACEOF
10001 cat confdefs.h >>conftest.$ac_ext
10002 cat >>conftest.$ac_ext <<_ACEOF
10003 /* end confdefs.h. */
10005 /* Override any GCC internal prototype to avoid an error.
10006 Use char because int might match the return type of a GCC
10007 builtin and then its argument prototype would still apply. */
10011 char XRRQueryExtension ();
10015 return XRRQueryExtension ();
10020 rm -f conftest.$ac_objext conftest$ac_exeext
10021 if { (ac_try="$ac_link"
10022 case "(($ac_try" in
10023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10024 *) ac_try_echo=$ac_try;;
10026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10027 (eval "$ac_link") 2>conftest.er1
10029 grep -v '^ *+' conftest.er1 >conftest.err
10031 cat conftest.err >&5
10032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10033 (exit $ac_status); } && {
10034 test -z "$ac_c_werror_flag" ||
10035 test ! -s conftest.err
10036 } && test -s conftest$ac_exeext &&
10037 $as_test_x conftest$ac_exeext; then
10040 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'` ;;
10041 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10044 echo "$as_me: failed program was:" >&5
10045 sed 's/^/| /' conftest.$ac_ext >&5
10050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10051 conftest$ac_exeext conftest.$ac_ext
10052 LIBS=$ac_check_soname_save_LIBS
10054 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10055 { echo "$as_me:$LINENO: result: not found" >&5
10056 echo "${ECHO_T}not found" >&6; }
10059 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10060 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10062 cat >>confdefs.h <<_ACEOF
10063 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10070 echo "$as_me: failed program was:" >&5
10071 sed 's/^/| /' conftest.$ac_ext >&5
10076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10078 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10079 wine_notices="$wine_notices|XRandr development files not found.
10080 Wine will be built without XRandr support. (winex11.drv)"
10084 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10086 cat >conftest.$ac_ext <<_ACEOF
10089 cat confdefs.h >>conftest.$ac_ext
10090 cat >>conftest.$ac_ext <<_ACEOF
10091 /* end confdefs.h. */
10092 #include <X11/Xlib.h>
10093 #include <X11/extensions/Xinerama.h>
10097 static typeof(XineramaQueryScreens) * func;
10102 rm -f conftest.$ac_objext
10103 if { (ac_try="$ac_compile"
10104 case "(($ac_try" in
10105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10106 *) ac_try_echo=$ac_try;;
10108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10109 (eval "$ac_compile") 2>conftest.er1
10111 grep -v '^ *+' conftest.er1 >conftest.err
10113 cat conftest.err >&5
10114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10115 (exit $ac_status); } && {
10116 test -z "$ac_c_werror_flag" ||
10117 test ! -s conftest.err
10118 } && test -s conftest.$ac_objext; then
10119 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10120 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10121 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10122 echo $ECHO_N "(cached) $ECHO_C" >&6
10124 ac_check_soname_save_LIBS=$LIBS
10125 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10126 cat >conftest.$ac_ext <<_ACEOF
10129 cat confdefs.h >>conftest.$ac_ext
10130 cat >>conftest.$ac_ext <<_ACEOF
10131 /* end confdefs.h. */
10133 /* Override any GCC internal prototype to avoid an error.
10134 Use char because int might match the return type of a GCC
10135 builtin and then its argument prototype would still apply. */
10139 char XineramaQueryScreens ();
10143 return XineramaQueryScreens ();
10148 rm -f conftest.$ac_objext conftest$ac_exeext
10149 if { (ac_try="$ac_link"
10150 case "(($ac_try" in
10151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10152 *) ac_try_echo=$ac_try;;
10154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10155 (eval "$ac_link") 2>conftest.er1
10157 grep -v '^ *+' conftest.er1 >conftest.err
10159 cat conftest.err >&5
10160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10161 (exit $ac_status); } && {
10162 test -z "$ac_c_werror_flag" ||
10163 test ! -s conftest.err
10164 } && test -s conftest$ac_exeext &&
10165 $as_test_x conftest$ac_exeext; then
10168 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'` ;;
10169 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10172 echo "$as_me: failed program was:" >&5
10173 sed 's/^/| /' conftest.$ac_ext >&5
10178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10179 conftest$ac_exeext conftest.$ac_ext
10180 LIBS=$ac_check_soname_save_LIBS
10182 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10183 { echo "$as_me:$LINENO: result: not found" >&5
10184 echo "${ECHO_T}not found" >&6; }
10187 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10188 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10190 cat >>confdefs.h <<_ACEOF
10191 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10198 echo "$as_me: failed program was:" >&5
10199 sed 's/^/| /' conftest.$ac_ext >&5
10204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10206 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10207 wine_notices="$wine_notices|Xinerama development files not found.
10208 Wine will be built without Xinerama support. (winex11.drv)"
10213 if test "x$with_opengl" != "xno"
10219 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10221 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10222 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10224 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10225 echo $ECHO_N "(cached) $ECHO_C" >&6
10227 cat >conftest.$ac_ext <<_ACEOF
10230 cat confdefs.h >>conftest.$ac_ext
10231 cat >>conftest.$ac_ext <<_ACEOF
10232 /* end confdefs.h. */
10233 #ifdef HAVE_GL_GLX_H
10234 # include <GL/glx.h>
10237 #include <$ac_header>
10239 rm -f conftest.$ac_objext
10240 if { (ac_try="$ac_compile"
10241 case "(($ac_try" in
10242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10243 *) ac_try_echo=$ac_try;;
10245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10246 (eval "$ac_compile") 2>conftest.er1
10248 grep -v '^ *+' conftest.er1 >conftest.err
10250 cat conftest.err >&5
10251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252 (exit $ac_status); } && {
10253 test -z "$ac_c_werror_flag" ||
10254 test ! -s conftest.err
10255 } && test -s conftest.$ac_objext; then
10256 eval "$as_ac_Header=yes"
10258 echo "$as_me: failed program was:" >&5
10259 sed 's/^/| /' conftest.$ac_ext >&5
10261 eval "$as_ac_Header=no"
10264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10266 ac_res=`eval echo '${'$as_ac_Header'}'`
10267 { echo "$as_me:$LINENO: result: $ac_res" >&5
10268 echo "${ECHO_T}$ac_res" >&6; }
10269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10270 cat >>confdefs.h <<_ACEOF
10271 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10278 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10280 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10281 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10282 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10283 echo $ECHO_N "(cached) $ECHO_C" >&6
10285 cat >conftest.$ac_ext <<_ACEOF
10288 cat confdefs.h >>conftest.$ac_ext
10289 cat >>conftest.$ac_ext <<_ACEOF
10290 /* end confdefs.h. */
10295 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10300 rm -f conftest.$ac_objext
10301 if { (ac_try="$ac_compile"
10302 case "(($ac_try" in
10303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10304 *) ac_try_echo=$ac_try;;
10306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10307 (eval "$ac_compile") 2>conftest.er1
10309 grep -v '^ *+' conftest.er1 >conftest.err
10311 cat conftest.err >&5
10312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10313 (exit $ac_status); } && {
10314 test -z "$ac_c_werror_flag" ||
10315 test ! -s conftest.err
10316 } && test -s conftest.$ac_objext; then
10317 wine_cv_opengl_header_version_OK="yes"
10319 echo "$as_me: failed program was:" >&5
10320 sed 's/^/| /' conftest.$ac_ext >&5
10322 wine_cv_opengl_header_version_OK="no"
10325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10327 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10328 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10330 if test "$wine_cv_opengl_header_version_OK" = "yes"
10332 { echo "$as_me:$LINENO: checking for -lGL" >&5
10333 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10334 if test "${ac_cv_lib_soname_GL+set}" = set; then
10335 echo $ECHO_N "(cached) $ECHO_C" >&6
10337 ac_check_soname_save_LIBS=$LIBS
10338 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10339 cat >conftest.$ac_ext <<_ACEOF
10342 cat confdefs.h >>conftest.$ac_ext
10343 cat >>conftest.$ac_ext <<_ACEOF
10344 /* end confdefs.h. */
10346 /* Override any GCC internal prototype to avoid an error.
10347 Use char because int might match the return type of a GCC
10348 builtin and then its argument prototype would still apply. */
10352 char glXCreateContext ();
10356 return glXCreateContext ();
10361 rm -f conftest.$ac_objext conftest$ac_exeext
10362 if { (ac_try="$ac_link"
10363 case "(($ac_try" in
10364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10365 *) ac_try_echo=$ac_try;;
10367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10368 (eval "$ac_link") 2>conftest.er1
10370 grep -v '^ *+' conftest.er1 >conftest.err
10372 cat conftest.err >&5
10373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374 (exit $ac_status); } && {
10375 test -z "$ac_c_werror_flag" ||
10376 test ! -s conftest.err
10377 } && test -s conftest$ac_exeext &&
10378 $as_test_x conftest$ac_exeext; then
10381 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'` ;;
10382 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10385 echo "$as_me: failed program was:" >&5
10386 sed 's/^/| /' conftest.$ac_ext >&5
10391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10392 conftest$ac_exeext conftest.$ac_ext
10393 LIBS=$ac_check_soname_save_LIBS
10395 if test "x$ac_cv_lib_soname_GL" = "x"; then
10396 { echo "$as_me:$LINENO: result: not found" >&5
10397 echo "${ECHO_T}not found" >&6; }
10398 if test -f /usr/X11R6/lib/libGL.a
10400 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10401 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10403 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10404 Wine will be build without OpenGL or Direct3D support."
10407 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10408 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10410 cat >>confdefs.h <<_ACEOF
10411 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10415 OPENGLFILES='$(OPENGLFILES)'
10417 cat >>confdefs.h <<\_ACEOF
10418 #define HAVE_OPENGL 1
10424 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10425 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10426 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10427 echo $ECHO_N "(cached) $ECHO_C" >&6
10429 ac_check_lib_save_LIBS=$LIBS
10430 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10431 cat >conftest.$ac_ext <<_ACEOF
10434 cat confdefs.h >>conftest.$ac_ext
10435 cat >>conftest.$ac_ext <<_ACEOF
10436 /* end confdefs.h. */
10438 /* Override any GCC internal prototype to avoid an error.
10439 Use char because int might match the return type of a GCC
10440 builtin and then its argument prototype would still apply. */
10448 return gluLookAt ();
10453 rm -f conftest.$ac_objext conftest$ac_exeext
10454 if { (ac_try="$ac_link"
10455 case "(($ac_try" in
10456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10457 *) ac_try_echo=$ac_try;;
10459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10460 (eval "$ac_link") 2>conftest.er1
10462 grep -v '^ *+' conftest.er1 >conftest.err
10464 cat conftest.err >&5
10465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466 (exit $ac_status); } && {
10467 test -z "$ac_c_werror_flag" ||
10468 test ! -s conftest.err
10469 } && test -s conftest$ac_exeext &&
10470 $as_test_x conftest$ac_exeext; then
10471 ac_cv_lib_GLU_gluLookAt=yes
10473 echo "$as_me: failed program was:" >&5
10474 sed 's/^/| /' conftest.$ac_ext >&5
10476 ac_cv_lib_GLU_gluLookAt=no
10479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10480 conftest$ac_exeext conftest.$ac_ext
10481 LIBS=$ac_check_lib_save_LIBS
10483 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10484 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10485 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10486 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10487 GLU32FILES='$(GLU32FILES)'
10492 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10493 Wine will be build without OpenGL or Direct3D support."
10496 wine_warnings="$wine_warnings|OpenGL development headers not found.
10497 Wine will be build without OpenGL or Direct3D support."
10504 for ac_header in audio/audiolib.h
10506 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10511 echo $ECHO_N "(cached) $ECHO_C" >&6
10513 ac_res=`eval echo '${'$as_ac_Header'}'`
10514 { echo "$as_me:$LINENO: result: $ac_res" >&5
10515 echo "${ECHO_T}$ac_res" >&6; }
10517 # Is the header compilable?
10518 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10520 cat >conftest.$ac_ext <<_ACEOF
10523 cat confdefs.h >>conftest.$ac_ext
10524 cat >>conftest.$ac_ext <<_ACEOF
10525 /* end confdefs.h. */
10526 $ac_includes_default
10527 #include <$ac_header>
10529 rm -f conftest.$ac_objext
10530 if { (ac_try="$ac_compile"
10531 case "(($ac_try" in
10532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10533 *) ac_try_echo=$ac_try;;
10535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10536 (eval "$ac_compile") 2>conftest.er1
10538 grep -v '^ *+' conftest.er1 >conftest.err
10540 cat conftest.err >&5
10541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); } && {
10543 test -z "$ac_c_werror_flag" ||
10544 test ! -s conftest.err
10545 } && test -s conftest.$ac_objext; then
10546 ac_header_compiler=yes
10548 echo "$as_me: failed program was:" >&5
10549 sed 's/^/| /' conftest.$ac_ext >&5
10551 ac_header_compiler=no
10554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10555 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10556 echo "${ECHO_T}$ac_header_compiler" >&6; }
10558 # Is the header present?
10559 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10560 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10561 cat >conftest.$ac_ext <<_ACEOF
10564 cat confdefs.h >>conftest.$ac_ext
10565 cat >>conftest.$ac_ext <<_ACEOF
10566 /* end confdefs.h. */
10567 #include <$ac_header>
10569 if { (ac_try="$ac_cpp conftest.$ac_ext"
10570 case "(($ac_try" in
10571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10572 *) ac_try_echo=$ac_try;;
10574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10575 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10577 grep -v '^ *+' conftest.er1 >conftest.err
10579 cat conftest.err >&5
10580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10581 (exit $ac_status); } >/dev/null && {
10582 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10583 test ! -s conftest.err
10585 ac_header_preproc=yes
10587 echo "$as_me: failed program was:" >&5
10588 sed 's/^/| /' conftest.$ac_ext >&5
10590 ac_header_preproc=no
10593 rm -f conftest.err conftest.$ac_ext
10594 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10595 echo "${ECHO_T}$ac_header_preproc" >&6; }
10597 # So? What about this header?
10598 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10600 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10601 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10603 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10604 ac_header_preproc=yes
10607 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10608 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10609 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10610 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10611 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10612 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10613 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10614 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10616 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10617 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10618 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10620 ## ------------------------------------ ##
10621 ## Report this to wine-devel@winehq.org ##
10622 ## ------------------------------------ ##
10624 ) | sed "s/^/$as_me: WARNING: /" >&2
10627 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10629 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10630 echo $ECHO_N "(cached) $ECHO_C" >&6
10632 eval "$as_ac_Header=\$ac_header_preproc"
10634 ac_res=`eval echo '${'$as_ac_Header'}'`
10635 { echo "$as_me:$LINENO: result: $ac_res" >&5
10636 echo "${ECHO_T}$ac_res" >&6; }
10639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10640 cat >>confdefs.h <<_ACEOF
10641 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10644 for ac_header in audio/soundlib.h
10646 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10647 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10649 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10650 echo $ECHO_N "(cached) $ECHO_C" >&6
10652 cat >conftest.$ac_ext <<_ACEOF
10655 cat confdefs.h >>conftest.$ac_ext
10656 cat >>conftest.$ac_ext <<_ACEOF
10657 /* end confdefs.h. */
10658 #include <audio/audiolib.h>
10660 #include <$ac_header>
10662 rm -f conftest.$ac_objext
10663 if { (ac_try="$ac_compile"
10664 case "(($ac_try" in
10665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10666 *) ac_try_echo=$ac_try;;
10668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10669 (eval "$ac_compile") 2>conftest.er1
10671 grep -v '^ *+' conftest.er1 >conftest.err
10673 cat conftest.err >&5
10674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675 (exit $ac_status); } && {
10676 test -z "$ac_c_werror_flag" ||
10677 test ! -s conftest.err
10678 } && test -s conftest.$ac_objext; then
10679 eval "$as_ac_Header=yes"
10681 echo "$as_me: failed program was:" >&5
10682 sed 's/^/| /' conftest.$ac_ext >&5
10684 eval "$as_ac_Header=no"
10687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10689 ac_res=`eval echo '${'$as_ac_Header'}'`
10690 { echo "$as_me:$LINENO: result: $ac_res" >&5
10691 echo "${ECHO_T}$ac_res" >&6; }
10692 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10693 cat >>confdefs.h <<_ACEOF
10694 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10701 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10702 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10703 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10704 echo $ECHO_N "(cached) $ECHO_C" >&6
10706 ac_check_lib_save_LIBS=$LIBS
10707 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10708 cat >conftest.$ac_ext <<_ACEOF
10711 cat confdefs.h >>conftest.$ac_ext
10712 cat >>conftest.$ac_ext <<_ACEOF
10713 /* end confdefs.h. */
10715 /* Override any GCC internal prototype to avoid an error.
10716 Use char because int might match the return type of a GCC
10717 builtin and then its argument prototype would still apply. */
10721 char AuCreateFlow ();
10725 return AuCreateFlow ();
10730 rm -f conftest.$ac_objext conftest$ac_exeext
10731 if { (ac_try="$ac_link"
10732 case "(($ac_try" in
10733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10734 *) ac_try_echo=$ac_try;;
10736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10737 (eval "$ac_link") 2>conftest.er1
10739 grep -v '^ *+' conftest.er1 >conftest.err
10741 cat conftest.err >&5
10742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10743 (exit $ac_status); } && {
10744 test -z "$ac_c_werror_flag" ||
10745 test ! -s conftest.err
10746 } && test -s conftest$ac_exeext &&
10747 $as_test_x conftest$ac_exeext; then
10748 ac_cv_lib_audio_AuCreateFlow=yes
10750 echo "$as_me: failed program was:" >&5
10751 sed 's/^/| /' conftest.$ac_ext >&5
10753 ac_cv_lib_audio_AuCreateFlow=no
10756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10757 conftest$ac_exeext conftest.$ac_ext
10758 LIBS=$ac_check_lib_save_LIBS
10760 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10761 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10762 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10764 cat >>confdefs.h <<\_ACEOF
10768 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10769 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10770 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10771 echo $ECHO_N "(cached) $ECHO_C" >&6
10773 ac_check_lib_save_LIBS=$LIBS
10774 LIBS="-lXau $X_LIBS $LIBS"
10775 cat >conftest.$ac_ext <<_ACEOF
10778 cat confdefs.h >>conftest.$ac_ext
10779 cat >>conftest.$ac_ext <<_ACEOF
10780 /* end confdefs.h. */
10782 /* Override any GCC internal prototype to avoid an error.
10783 Use char because int might match the return type of a GCC
10784 builtin and then its argument prototype would still apply. */
10788 char XauGetBestAuthByAddr ();
10792 return XauGetBestAuthByAddr ();
10797 rm -f conftest.$ac_objext conftest$ac_exeext
10798 if { (ac_try="$ac_link"
10799 case "(($ac_try" in
10800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10801 *) ac_try_echo=$ac_try;;
10803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10804 (eval "$ac_link") 2>conftest.er1
10806 grep -v '^ *+' conftest.er1 >conftest.err
10808 cat conftest.err >&5
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); } && {
10811 test -z "$ac_c_werror_flag" ||
10812 test ! -s conftest.err
10813 } && test -s conftest$ac_exeext &&
10814 $as_test_x conftest$ac_exeext; then
10815 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10817 echo "$as_me: failed program was:" >&5
10818 sed 's/^/| /' conftest.$ac_ext >&5
10820 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10824 conftest$ac_exeext conftest.$ac_ext
10825 LIBS=$ac_check_lib_save_LIBS
10827 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10828 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10829 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10830 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10832 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10843 CPPFLAGS="$ac_save_CPPFLAGS"
10849 wine_warnings="$wine_warnings|X development files not found. Wine will be built
10850 without X support, which probably isn't what you want. You will need to install
10851 development packages of Xlib/Xfree86 at the very least."
10863 ac_save_CPPFLAGS="$CPPFLAGS"
10864 if test "$PKG_CONFIG" != "false"
10866 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10867 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10869 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10870 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10872 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10874 for ac_header in libxml/parser.h
10876 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10878 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10881 echo $ECHO_N "(cached) $ECHO_C" >&6
10883 ac_res=`eval echo '${'$as_ac_Header'}'`
10884 { echo "$as_me:$LINENO: result: $ac_res" >&5
10885 echo "${ECHO_T}$ac_res" >&6; }
10887 # Is the header compilable?
10888 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10889 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10890 cat >conftest.$ac_ext <<_ACEOF
10893 cat confdefs.h >>conftest.$ac_ext
10894 cat >>conftest.$ac_ext <<_ACEOF
10895 /* end confdefs.h. */
10896 $ac_includes_default
10897 #include <$ac_header>
10899 rm -f conftest.$ac_objext
10900 if { (ac_try="$ac_compile"
10901 case "(($ac_try" in
10902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10903 *) ac_try_echo=$ac_try;;
10905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10906 (eval "$ac_compile") 2>conftest.er1
10908 grep -v '^ *+' conftest.er1 >conftest.err
10910 cat conftest.err >&5
10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); } && {
10913 test -z "$ac_c_werror_flag" ||
10914 test ! -s conftest.err
10915 } && test -s conftest.$ac_objext; then
10916 ac_header_compiler=yes
10918 echo "$as_me: failed program was:" >&5
10919 sed 's/^/| /' conftest.$ac_ext >&5
10921 ac_header_compiler=no
10924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10925 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10926 echo "${ECHO_T}$ac_header_compiler" >&6; }
10928 # Is the header present?
10929 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10930 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10931 cat >conftest.$ac_ext <<_ACEOF
10934 cat confdefs.h >>conftest.$ac_ext
10935 cat >>conftest.$ac_ext <<_ACEOF
10936 /* end confdefs.h. */
10937 #include <$ac_header>
10939 if { (ac_try="$ac_cpp conftest.$ac_ext"
10940 case "(($ac_try" in
10941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10942 *) ac_try_echo=$ac_try;;
10944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10945 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10947 grep -v '^ *+' conftest.er1 >conftest.err
10949 cat conftest.err >&5
10950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); } >/dev/null && {
10952 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10953 test ! -s conftest.err
10955 ac_header_preproc=yes
10957 echo "$as_me: failed program was:" >&5
10958 sed 's/^/| /' conftest.$ac_ext >&5
10960 ac_header_preproc=no
10963 rm -f conftest.err conftest.$ac_ext
10964 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10965 echo "${ECHO_T}$ac_header_preproc" >&6; }
10967 # So? What about this header?
10968 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10970 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10971 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10972 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10973 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10974 ac_header_preproc=yes
10977 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10978 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10979 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10980 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10981 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10982 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10983 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10984 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10986 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10987 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10988 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10990 ## ------------------------------------ ##
10991 ## Report this to wine-devel@winehq.org ##
10992 ## ------------------------------------ ##
10994 ) | sed "s/^/$as_me: WARNING: /" >&2
10997 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10999 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11000 echo $ECHO_N "(cached) $ECHO_C" >&6
11002 eval "$as_ac_Header=\$ac_header_preproc"
11004 ac_res=`eval echo '${'$as_ac_Header'}'`
11005 { echo "$as_me:$LINENO: result: $ac_res" >&5
11006 echo "${ECHO_T}$ac_res" >&6; }
11009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11010 cat >>confdefs.h <<_ACEOF
11011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11013 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11014 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11015 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11016 echo $ECHO_N "(cached) $ECHO_C" >&6
11018 ac_check_lib_save_LIBS=$LIBS
11019 LIBS="-lxml2 $ac_xml_libs $LIBS"
11020 cat >conftest.$ac_ext <<_ACEOF
11023 cat confdefs.h >>conftest.$ac_ext
11024 cat >>conftest.$ac_ext <<_ACEOF
11025 /* end confdefs.h. */
11027 /* Override any GCC internal prototype to avoid an error.
11028 Use char because int might match the return type of a GCC
11029 builtin and then its argument prototype would still apply. */
11033 char xmlParseMemory ();
11037 return xmlParseMemory ();
11042 rm -f conftest.$ac_objext conftest$ac_exeext
11043 if { (ac_try="$ac_link"
11044 case "(($ac_try" in
11045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11046 *) ac_try_echo=$ac_try;;
11048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11049 (eval "$ac_link") 2>conftest.er1
11051 grep -v '^ *+' conftest.er1 >conftest.err
11053 cat conftest.err >&5
11054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055 (exit $ac_status); } && {
11056 test -z "$ac_c_werror_flag" ||
11057 test ! -s conftest.err
11058 } && test -s conftest$ac_exeext &&
11059 $as_test_x conftest$ac_exeext; then
11060 ac_cv_lib_xml2_xmlParseMemory=yes
11062 echo "$as_me: failed program was:" >&5
11063 sed 's/^/| /' conftest.$ac_ext >&5
11065 ac_cv_lib_xml2_xmlParseMemory=no
11068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11069 conftest$ac_exeext conftest.$ac_ext
11070 LIBS=$ac_check_lib_save_LIBS
11072 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11073 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11074 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11076 cat >>confdefs.h <<\_ACEOF
11077 #define HAVE_LIBXML2 1
11080 XML2LIBS="$ac_xml_libs"
11081 XML2INCL="$ac_xml_cflags"
11084 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11085 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11086 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11087 echo $ECHO_N "(cached) $ECHO_C" >&6
11089 ac_check_lib_save_LIBS=$LIBS
11090 LIBS="-lxml2 $ac_xml_libs $LIBS"
11091 cat >conftest.$ac_ext <<_ACEOF
11094 cat confdefs.h >>conftest.$ac_ext
11095 cat >>conftest.$ac_ext <<_ACEOF
11096 /* end confdefs.h. */
11098 /* Override any GCC internal prototype to avoid an error.
11099 Use char because int might match the return type of a GCC
11100 builtin and then its argument prototype would still apply. */
11104 char xmlReadMemory ();
11108 return xmlReadMemory ();
11113 rm -f conftest.$ac_objext conftest$ac_exeext
11114 if { (ac_try="$ac_link"
11115 case "(($ac_try" in
11116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11117 *) ac_try_echo=$ac_try;;
11119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11120 (eval "$ac_link") 2>conftest.er1
11122 grep -v '^ *+' conftest.er1 >conftest.err
11124 cat conftest.err >&5
11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126 (exit $ac_status); } && {
11127 test -z "$ac_c_werror_flag" ||
11128 test ! -s conftest.err
11129 } && test -s conftest$ac_exeext &&
11130 $as_test_x conftest$ac_exeext; then
11131 ac_cv_lib_xml2_xmlReadMemory=yes
11133 echo "$as_me: failed program was:" >&5
11134 sed 's/^/| /' conftest.$ac_ext >&5
11136 ac_cv_lib_xml2_xmlReadMemory=no
11139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11140 conftest$ac_exeext conftest.$ac_ext
11141 LIBS=$ac_check_lib_save_LIBS
11143 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11144 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11145 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11147 cat >>confdefs.h <<\_ACEOF
11148 #define HAVE_XMLREADMEMORY 1
11153 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11154 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11155 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11156 echo $ECHO_N "(cached) $ECHO_C" >&6
11158 ac_check_lib_save_LIBS=$LIBS
11159 LIBS="-lxml2 $ac_xml_libs $LIBS"
11160 cat >conftest.$ac_ext <<_ACEOF
11163 cat confdefs.h >>conftest.$ac_ext
11164 cat >>conftest.$ac_ext <<_ACEOF
11165 /* end confdefs.h. */
11167 /* Override any GCC internal prototype to avoid an error.
11168 Use char because int might match the return type of a GCC
11169 builtin and then its argument prototype would still apply. */
11173 char xmlNewDocPI ();
11177 return xmlNewDocPI ();
11182 rm -f conftest.$ac_objext conftest$ac_exeext
11183 if { (ac_try="$ac_link"
11184 case "(($ac_try" in
11185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11186 *) ac_try_echo=$ac_try;;
11188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11189 (eval "$ac_link") 2>conftest.er1
11191 grep -v '^ *+' conftest.er1 >conftest.err
11193 cat conftest.err >&5
11194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11195 (exit $ac_status); } && {
11196 test -z "$ac_c_werror_flag" ||
11197 test ! -s conftest.err
11198 } && test -s conftest$ac_exeext &&
11199 $as_test_x conftest$ac_exeext; then
11200 ac_cv_lib_xml2_xmlNewDocPI=yes
11202 echo "$as_me: failed program was:" >&5
11203 sed 's/^/| /' conftest.$ac_ext >&5
11205 ac_cv_lib_xml2_xmlNewDocPI=no
11208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11209 conftest$ac_exeext conftest.$ac_ext
11210 LIBS=$ac_check_lib_save_LIBS
11212 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11213 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11214 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11216 cat >>confdefs.h <<\_ACEOF
11217 #define HAVE_XMLNEWDOCPI 1
11227 CPPFLAGS="$ac_save_CPPFLAGS"
11228 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11229 wine_notices="$wine_notices|libxml2 development files not found.
11230 Wine will be built without XML support. (msxml.dll)"
11234 if test "$PKG_CONFIG" != "false"
11236 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11237 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11239 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11240 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11242 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11245 for ac_header in libxslt/pattern.h libxslt/transform.h
11247 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11248 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11250 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11251 echo $ECHO_N "(cached) $ECHO_C" >&6
11253 cat >conftest.$ac_ext <<_ACEOF
11256 cat confdefs.h >>conftest.$ac_ext
11257 cat >>conftest.$ac_ext <<_ACEOF
11258 /* end confdefs.h. */
11259 #ifdef HAVE_LIBXSLT_PATTERN_H
11260 # include <libxslt/pattern.h>
11263 #include <$ac_header>
11265 rm -f conftest.$ac_objext
11266 if { (ac_try="$ac_compile"
11267 case "(($ac_try" in
11268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11269 *) ac_try_echo=$ac_try;;
11271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11272 (eval "$ac_compile") 2>conftest.er1
11274 grep -v '^ *+' conftest.er1 >conftest.err
11276 cat conftest.err >&5
11277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278 (exit $ac_status); } && {
11279 test -z "$ac_c_werror_flag" ||
11280 test ! -s conftest.err
11281 } && test -s conftest.$ac_objext; then
11282 eval "$as_ac_Header=yes"
11284 echo "$as_me: failed program was:" >&5
11285 sed 's/^/| /' conftest.$ac_ext >&5
11287 eval "$as_ac_Header=no"
11290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11292 ac_res=`eval echo '${'$as_ac_Header'}'`
11293 { echo "$as_me:$LINENO: result: $ac_res" >&5
11294 echo "${ECHO_T}$ac_res" >&6; }
11295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11296 cat >>confdefs.h <<_ACEOF
11297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11299 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11300 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11301 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11302 echo $ECHO_N "(cached) $ECHO_C" >&6
11304 ac_check_lib_save_LIBS=$LIBS
11305 LIBS="-lxslt $ac_xslt_libs $LIBS"
11306 cat >conftest.$ac_ext <<_ACEOF
11309 cat confdefs.h >>conftest.$ac_ext
11310 cat >>conftest.$ac_ext <<_ACEOF
11311 /* end confdefs.h. */
11313 /* Override any GCC internal prototype to avoid an error.
11314 Use char because int might match the return type of a GCC
11315 builtin and then its argument prototype would still apply. */
11319 char xsltCompilePattern ();
11323 return xsltCompilePattern ();
11328 rm -f conftest.$ac_objext conftest$ac_exeext
11329 if { (ac_try="$ac_link"
11330 case "(($ac_try" in
11331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11332 *) ac_try_echo=$ac_try;;
11334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11335 (eval "$ac_link") 2>conftest.er1
11337 grep -v '^ *+' conftest.er1 >conftest.err
11339 cat conftest.err >&5
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 (exit $ac_status); } && {
11342 test -z "$ac_c_werror_flag" ||
11343 test ! -s conftest.err
11344 } && test -s conftest$ac_exeext &&
11345 $as_test_x conftest$ac_exeext; then
11346 ac_cv_lib_xslt_xsltCompilePattern=yes
11348 echo "$as_me: failed program was:" >&5
11349 sed 's/^/| /' conftest.$ac_ext >&5
11351 ac_cv_lib_xslt_xsltCompilePattern=no
11354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11355 conftest$ac_exeext conftest.$ac_ext
11356 LIBS=$ac_check_lib_save_LIBS
11358 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11359 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11360 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11362 cat >>confdefs.h <<\_ACEOF
11363 #define HAVE_LIBXSLT 1
11366 XSLTLIBS="$ac_xslt_libs"
11367 XSLTINCL="$ac_xslt_cflags"
11375 CPPFLAGS="$ac_save_CPPFLAGS"
11376 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11377 wine_notices="$wine_notices|libxslt development files not found.
11378 Wine will be built without xslt support. (msxml.dll)"
11384 if test "$PKG_CONFIG" != "false"
11386 ac_save_CPPFLAGS="$CPPFLAGS"
11387 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11388 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11389 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11392 for ac_header in dbus/dbus.h hal/libhal.h
11394 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11395 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11396 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11398 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11399 echo $ECHO_N "(cached) $ECHO_C" >&6
11401 ac_res=`eval echo '${'$as_ac_Header'}'`
11402 { echo "$as_me:$LINENO: result: $ac_res" >&5
11403 echo "${ECHO_T}$ac_res" >&6; }
11405 # Is the header compilable?
11406 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11407 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11408 cat >conftest.$ac_ext <<_ACEOF
11411 cat confdefs.h >>conftest.$ac_ext
11412 cat >>conftest.$ac_ext <<_ACEOF
11413 /* end confdefs.h. */
11414 $ac_includes_default
11415 #include <$ac_header>
11417 rm -f conftest.$ac_objext
11418 if { (ac_try="$ac_compile"
11419 case "(($ac_try" in
11420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11421 *) ac_try_echo=$ac_try;;
11423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11424 (eval "$ac_compile") 2>conftest.er1
11426 grep -v '^ *+' conftest.er1 >conftest.err
11428 cat conftest.err >&5
11429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11430 (exit $ac_status); } && {
11431 test -z "$ac_c_werror_flag" ||
11432 test ! -s conftest.err
11433 } && test -s conftest.$ac_objext; then
11434 ac_header_compiler=yes
11436 echo "$as_me: failed program was:" >&5
11437 sed 's/^/| /' conftest.$ac_ext >&5
11439 ac_header_compiler=no
11442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11443 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11444 echo "${ECHO_T}$ac_header_compiler" >&6; }
11446 # Is the header present?
11447 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11448 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11449 cat >conftest.$ac_ext <<_ACEOF
11452 cat confdefs.h >>conftest.$ac_ext
11453 cat >>conftest.$ac_ext <<_ACEOF
11454 /* end confdefs.h. */
11455 #include <$ac_header>
11457 if { (ac_try="$ac_cpp conftest.$ac_ext"
11458 case "(($ac_try" in
11459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11460 *) ac_try_echo=$ac_try;;
11462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11463 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11465 grep -v '^ *+' conftest.er1 >conftest.err
11467 cat conftest.err >&5
11468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11469 (exit $ac_status); } >/dev/null && {
11470 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11471 test ! -s conftest.err
11473 ac_header_preproc=yes
11475 echo "$as_me: failed program was:" >&5
11476 sed 's/^/| /' conftest.$ac_ext >&5
11478 ac_header_preproc=no
11481 rm -f conftest.err conftest.$ac_ext
11482 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11483 echo "${ECHO_T}$ac_header_preproc" >&6; }
11485 # So? What about this header?
11486 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11488 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11489 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11490 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11491 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11492 ac_header_preproc=yes
11495 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11496 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11497 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11498 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11499 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11500 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11501 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11502 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11503 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11504 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11505 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11506 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11508 ## ------------------------------------ ##
11509 ## Report this to wine-devel@winehq.org ##
11510 ## ------------------------------------ ##
11512 ) | sed "s/^/$as_me: WARNING: /" >&2
11515 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11517 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11520 eval "$as_ac_Header=\$ac_header_preproc"
11522 ac_res=`eval echo '${'$as_ac_Header'}'`
11523 { echo "$as_me:$LINENO: result: $ac_res" >&5
11524 echo "${ECHO_T}$ac_res" >&6; }
11527 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11528 cat >>confdefs.h <<_ACEOF
11529 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11536 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11538 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11539 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11540 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11541 echo $ECHO_N "(cached) $ECHO_C" >&6
11543 ac_check_lib_save_LIBS=$LIBS
11544 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11545 cat >conftest.$ac_ext <<_ACEOF
11548 cat confdefs.h >>conftest.$ac_ext
11549 cat >>conftest.$ac_ext <<_ACEOF
11550 /* end confdefs.h. */
11552 /* Override any GCC internal prototype to avoid an error.
11553 Use char because int might match the return type of a GCC
11554 builtin and then its argument prototype would still apply. */
11558 char dbus_connection_close ();
11562 return dbus_connection_close ();
11567 rm -f conftest.$ac_objext conftest$ac_exeext
11568 if { (ac_try="$ac_link"
11569 case "(($ac_try" in
11570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11571 *) ac_try_echo=$ac_try;;
11573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11574 (eval "$ac_link") 2>conftest.er1
11576 grep -v '^ *+' conftest.er1 >conftest.err
11578 cat conftest.err >&5
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); } && {
11581 test -z "$ac_c_werror_flag" ||
11582 test ! -s conftest.err
11583 } && test -s conftest$ac_exeext &&
11584 $as_test_x conftest$ac_exeext; then
11585 ac_cv_lib_dbus_1_dbus_connection_close=yes
11587 echo "$as_me: failed program was:" >&5
11588 sed 's/^/| /' conftest.$ac_ext >&5
11590 ac_cv_lib_dbus_1_dbus_connection_close=no
11593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11594 conftest$ac_exeext conftest.$ac_ext
11595 LIBS=$ac_check_lib_save_LIBS
11597 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11598 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11599 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11600 { echo "$as_me:$LINENO: checking for -lhal" >&5
11601 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11602 if test "${ac_cv_lib_soname_hal+set}" = set; then
11603 echo $ECHO_N "(cached) $ECHO_C" >&6
11605 ac_check_soname_save_LIBS=$LIBS
11606 LIBS="-lhal $ac_hal_libs $LIBS"
11607 cat >conftest.$ac_ext <<_ACEOF
11610 cat confdefs.h >>conftest.$ac_ext
11611 cat >>conftest.$ac_ext <<_ACEOF
11612 /* end confdefs.h. */
11614 /* Override any GCC internal prototype to avoid an error.
11615 Use char because int might match the return type of a GCC
11616 builtin and then its argument prototype would still apply. */
11620 char libhal_ctx_new ();
11624 return libhal_ctx_new ();
11629 rm -f conftest.$ac_objext conftest$ac_exeext
11630 if { (ac_try="$ac_link"
11631 case "(($ac_try" in
11632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11633 *) ac_try_echo=$ac_try;;
11635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11636 (eval "$ac_link") 2>conftest.er1
11638 grep -v '^ *+' conftest.er1 >conftest.err
11640 cat conftest.err >&5
11641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11642 (exit $ac_status); } && {
11643 test -z "$ac_c_werror_flag" ||
11644 test ! -s conftest.err
11645 } && test -s conftest$ac_exeext &&
11646 $as_test_x conftest$ac_exeext; then
11649 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'` ;;
11650 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11653 echo "$as_me: failed program was:" >&5
11654 sed 's/^/| /' conftest.$ac_ext >&5
11659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11660 conftest$ac_exeext conftest.$ac_ext
11661 LIBS=$ac_check_soname_save_LIBS
11663 if test "x$ac_cv_lib_soname_hal" = "x"; then
11664 { echo "$as_me:$LINENO: result: not found" >&5
11665 echo "${ECHO_T}not found" >&6; }
11668 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11669 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11671 cat >>confdefs.h <<_ACEOF
11672 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11675 HALINCL="$ac_hal_cflags"
11681 CPPFLAGS="$ac_save_CPPFLAGS"
11683 if test "x$ac_cv_lib_soname_hal" = "x"; then
11684 wine_notices="$wine_notices|libhal development files not found.
11685 Wine will be built without dynamic device support. (explorer.exe)"
11690 if test "$ac_cv_header_ncurses_h" = "yes"
11692 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11693 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11694 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11695 echo $ECHO_N "(cached) $ECHO_C" >&6
11697 ac_check_soname_save_LIBS=$LIBS
11698 LIBS="-lncurses $LIBS"
11699 cat >conftest.$ac_ext <<_ACEOF
11702 cat confdefs.h >>conftest.$ac_ext
11703 cat >>conftest.$ac_ext <<_ACEOF
11704 /* end confdefs.h. */
11706 /* Override any GCC internal prototype to avoid an error.
11707 Use char because int might match the return type of a GCC
11708 builtin and then its argument prototype would still apply. */
11721 rm -f conftest.$ac_objext conftest$ac_exeext
11722 if { (ac_try="$ac_link"
11723 case "(($ac_try" in
11724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11725 *) ac_try_echo=$ac_try;;
11727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11728 (eval "$ac_link") 2>conftest.er1
11730 grep -v '^ *+' conftest.er1 >conftest.err
11732 cat conftest.err >&5
11733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); } && {
11735 test -z "$ac_c_werror_flag" ||
11736 test ! -s conftest.err
11737 } && test -s conftest$ac_exeext &&
11738 $as_test_x conftest$ac_exeext; then
11741 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'` ;;
11742 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11745 echo "$as_me: failed program was:" >&5
11746 sed 's/^/| /' conftest.$ac_ext >&5
11751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11752 conftest$ac_exeext conftest.$ac_ext
11753 LIBS=$ac_check_soname_save_LIBS
11755 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11756 { echo "$as_me:$LINENO: result: not found" >&5
11757 echo "${ECHO_T}not found" >&6; }
11760 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11761 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11763 cat >>confdefs.h <<_ACEOF
11764 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11767 CURSESLIBS="-lncurses"
11770 elif test "$ac_cv_header_curses_h" = "yes"
11772 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11773 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11774 if test "${ac_cv_lib_soname_curses+set}" = set; then
11775 echo $ECHO_N "(cached) $ECHO_C" >&6
11777 ac_check_soname_save_LIBS=$LIBS
11778 LIBS="-lcurses $LIBS"
11779 cat >conftest.$ac_ext <<_ACEOF
11782 cat confdefs.h >>conftest.$ac_ext
11783 cat >>conftest.$ac_ext <<_ACEOF
11784 /* end confdefs.h. */
11786 /* Override any GCC internal prototype to avoid an error.
11787 Use char because int might match the return type of a GCC
11788 builtin and then its argument prototype would still apply. */
11801 rm -f conftest.$ac_objext conftest$ac_exeext
11802 if { (ac_try="$ac_link"
11803 case "(($ac_try" in
11804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11805 *) ac_try_echo=$ac_try;;
11807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11808 (eval "$ac_link") 2>conftest.er1
11810 grep -v '^ *+' conftest.er1 >conftest.err
11812 cat conftest.err >&5
11813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814 (exit $ac_status); } && {
11815 test -z "$ac_c_werror_flag" ||
11816 test ! -s conftest.err
11817 } && test -s conftest$ac_exeext &&
11818 $as_test_x conftest$ac_exeext; then
11821 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'` ;;
11822 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11825 echo "$as_me: failed program was:" >&5
11826 sed 's/^/| /' conftest.$ac_ext >&5
11831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11832 conftest$ac_exeext conftest.$ac_ext
11833 LIBS=$ac_check_soname_save_LIBS
11835 if test "x$ac_cv_lib_soname_curses" = "x"; then
11836 { echo "$as_me:$LINENO: result: not found" >&5
11837 echo "${ECHO_T}not found" >&6; }
11840 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11841 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11843 cat >>confdefs.h <<_ACEOF
11844 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11847 CURSESLIBS="-lcurses"
11851 ac_save_LIBS="$LIBS"
11852 LIBS="$LIBS $CURSESLIBS"
11854 for ac_func in mousemask
11856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11857 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11859 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11860 echo $ECHO_N "(cached) $ECHO_C" >&6
11862 cat >conftest.$ac_ext <<_ACEOF
11865 cat confdefs.h >>conftest.$ac_ext
11866 cat >>conftest.$ac_ext <<_ACEOF
11867 /* end confdefs.h. */
11868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11870 #define $ac_func innocuous_$ac_func
11872 /* System header to define __stub macros and hopefully few prototypes,
11873 which can conflict with char $ac_func (); below.
11874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11875 <limits.h> exists even on freestanding compilers. */
11878 # include <limits.h>
11880 # include <assert.h>
11885 /* Override any GCC internal prototype to avoid an error.
11886 Use char because int might match the return type of a GCC
11887 builtin and then its argument prototype would still apply. */
11892 /* The GNU C library defines this for functions which it implements
11893 to always fail with ENOSYS. Some functions are actually named
11894 something starting with __ and the normal name is an alias. */
11895 #if defined __stub_$ac_func || defined __stub___$ac_func
11902 return $ac_func ();
11907 rm -f conftest.$ac_objext conftest$ac_exeext
11908 if { (ac_try="$ac_link"
11909 case "(($ac_try" in
11910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11911 *) ac_try_echo=$ac_try;;
11913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11914 (eval "$ac_link") 2>conftest.er1
11916 grep -v '^ *+' conftest.er1 >conftest.err
11918 cat conftest.err >&5
11919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920 (exit $ac_status); } && {
11921 test -z "$ac_c_werror_flag" ||
11922 test ! -s conftest.err
11923 } && test -s conftest$ac_exeext &&
11924 $as_test_x conftest$ac_exeext; then
11925 eval "$as_ac_var=yes"
11927 echo "$as_me: failed program was:" >&5
11928 sed 's/^/| /' conftest.$ac_ext >&5
11930 eval "$as_ac_var=no"
11933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11934 conftest$ac_exeext conftest.$ac_ext
11936 ac_res=`eval echo '${'$as_ac_var'}'`
11937 { echo "$as_me:$LINENO: result: $ac_res" >&5
11938 echo "${ECHO_T}$ac_res" >&6; }
11939 if test `eval echo '${'$as_ac_var'}'` = yes; then
11940 cat >>confdefs.h <<_ACEOF
11941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11947 LIBS="$ac_save_LIBS"
11948 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
11949 wine_notices="$wine_notices|lib(n)curses development files not found.
11950 Wine will be built without (n)curses support. (wineconsole.exe)"
11954 # Extract the first word of "sane-config", so it can be a program name with args.
11955 set dummy sane-config; ac_word=$2
11956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11958 if test "${ac_cv_prog_sane_devel+set}" = set; then
11959 echo $ECHO_N "(cached) $ECHO_C" >&6
11961 if test -n "$sane_devel"; then
11962 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11965 for as_dir in $PATH
11968 test -z "$as_dir" && as_dir=.
11969 for ac_exec_ext in '' $ac_executable_extensions; do
11970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11971 ac_cv_prog_sane_devel="sane-config"
11972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11979 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11982 sane_devel=$ac_cv_prog_sane_devel
11983 if test -n "$sane_devel"; then
11984 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11985 echo "${ECHO_T}$sane_devel" >&6; }
11987 { echo "$as_me:$LINENO: result: no" >&5
11988 echo "${ECHO_T}no" >&6; }
11992 if test "$sane_devel" != "no"
11994 ac_sane_incl="`$sane_devel --cflags`"
11995 ac_save_CPPFLAGS="$CPPFLAGS"
11996 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
11997 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11998 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11999 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12000 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12001 echo $ECHO_N "(cached) $ECHO_C" >&6
12003 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12004 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12006 # Is the header compilable?
12007 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12008 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12009 cat >conftest.$ac_ext <<_ACEOF
12012 cat confdefs.h >>conftest.$ac_ext
12013 cat >>conftest.$ac_ext <<_ACEOF
12014 /* end confdefs.h. */
12015 $ac_includes_default
12016 #include <sane/sane.h>
12018 rm -f conftest.$ac_objext
12019 if { (ac_try="$ac_compile"
12020 case "(($ac_try" in
12021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12022 *) ac_try_echo=$ac_try;;
12024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12025 (eval "$ac_compile") 2>conftest.er1
12027 grep -v '^ *+' conftest.er1 >conftest.err
12029 cat conftest.err >&5
12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 (exit $ac_status); } && {
12032 test -z "$ac_c_werror_flag" ||
12033 test ! -s conftest.err
12034 } && test -s conftest.$ac_objext; then
12035 ac_header_compiler=yes
12037 echo "$as_me: failed program was:" >&5
12038 sed 's/^/| /' conftest.$ac_ext >&5
12040 ac_header_compiler=no
12043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12044 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12045 echo "${ECHO_T}$ac_header_compiler" >&6; }
12047 # Is the header present?
12048 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12049 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12050 cat >conftest.$ac_ext <<_ACEOF
12053 cat confdefs.h >>conftest.$ac_ext
12054 cat >>conftest.$ac_ext <<_ACEOF
12055 /* end confdefs.h. */
12056 #include <sane/sane.h>
12058 if { (ac_try="$ac_cpp conftest.$ac_ext"
12059 case "(($ac_try" in
12060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12061 *) ac_try_echo=$ac_try;;
12063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12064 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12066 grep -v '^ *+' conftest.er1 >conftest.err
12068 cat conftest.err >&5
12069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12070 (exit $ac_status); } >/dev/null && {
12071 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12072 test ! -s conftest.err
12074 ac_header_preproc=yes
12076 echo "$as_me: failed program was:" >&5
12077 sed 's/^/| /' conftest.$ac_ext >&5
12079 ac_header_preproc=no
12082 rm -f conftest.err conftest.$ac_ext
12083 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12084 echo "${ECHO_T}$ac_header_preproc" >&6; }
12086 # So? What about this header?
12087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12089 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12090 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12091 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12092 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12093 ac_header_preproc=yes
12096 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12097 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12098 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12099 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12100 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12101 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12102 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12103 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12104 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12105 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12106 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12107 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12109 ## ------------------------------------ ##
12110 ## Report this to wine-devel@winehq.org ##
12111 ## ------------------------------------ ##
12113 ) | sed "s/^/$as_me: WARNING: /" >&2
12116 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12117 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12118 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12119 echo $ECHO_N "(cached) $ECHO_C" >&6
12121 ac_cv_header_sane_sane_h=$ac_header_preproc
12123 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12124 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12127 if test $ac_cv_header_sane_sane_h = yes; then
12128 { echo "$as_me:$LINENO: checking for -lsane" >&5
12129 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12130 if test "${ac_cv_lib_soname_sane+set}" = set; then
12131 echo $ECHO_N "(cached) $ECHO_C" >&6
12133 ac_check_soname_save_LIBS=$LIBS
12134 LIBS="-lsane $LIBS"
12135 cat >conftest.$ac_ext <<_ACEOF
12138 cat confdefs.h >>conftest.$ac_ext
12139 cat >>conftest.$ac_ext <<_ACEOF
12140 /* end confdefs.h. */
12142 /* Override any GCC internal prototype to avoid an error.
12143 Use char because int might match the return type of a GCC
12144 builtin and then its argument prototype would still apply. */
12152 return sane_init ();
12157 rm -f conftest.$ac_objext conftest$ac_exeext
12158 if { (ac_try="$ac_link"
12159 case "(($ac_try" in
12160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12161 *) ac_try_echo=$ac_try;;
12163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12164 (eval "$ac_link") 2>conftest.er1
12166 grep -v '^ *+' conftest.er1 >conftest.err
12168 cat conftest.err >&5
12169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12170 (exit $ac_status); } && {
12171 test -z "$ac_c_werror_flag" ||
12172 test ! -s conftest.err
12173 } && test -s conftest$ac_exeext &&
12174 $as_test_x conftest$ac_exeext; then
12177 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'` ;;
12178 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12181 echo "$as_me: failed program was:" >&5
12182 sed 's/^/| /' conftest.$ac_ext >&5
12187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12188 conftest$ac_exeext conftest.$ac_ext
12189 LIBS=$ac_check_soname_save_LIBS
12191 if test "x$ac_cv_lib_soname_sane" = "x"; then
12192 { echo "$as_me:$LINENO: result: not found" >&5
12193 echo "${ECHO_T}not found" >&6; }
12196 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12197 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12199 cat >>confdefs.h <<_ACEOF
12200 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12203 SANEINCL="$ac_sane_incl"
12210 CPPFLAGS="$ac_save_CPPFLAGS"
12212 if test "x$ac_cv_lib_soname_sane" = "x"; then
12213 wine_notices="$wine_notices|libsane development files not found.
12214 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12218 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12219 set dummy gphoto2-config; ac_word=$2
12220 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12222 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12223 echo $ECHO_N "(cached) $ECHO_C" >&6
12225 if test -n "$gphoto2_devel"; then
12226 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12229 for as_dir in $PATH
12232 test -z "$as_dir" && as_dir=.
12233 for ac_exec_ext in '' $ac_executable_extensions; do
12234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12235 ac_cv_prog_gphoto2_devel="gphoto2-config"
12236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12243 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12246 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12247 if test -n "$gphoto2_devel"; then
12248 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12249 echo "${ECHO_T}$gphoto2_devel" >&6; }
12251 { echo "$as_me:$LINENO: result: no" >&5
12252 echo "${ECHO_T}no" >&6; }
12256 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12257 set dummy gphoto2-port-config; ac_word=$2
12258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12260 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12261 echo $ECHO_N "(cached) $ECHO_C" >&6
12263 if test -n "$gphoto2port_devel"; then
12264 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12267 for as_dir in $PATH
12270 test -z "$as_dir" && as_dir=.
12271 for ac_exec_ext in '' $ac_executable_extensions; do
12272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12273 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12281 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12284 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12285 if test -n "$gphoto2port_devel"; then
12286 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12287 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12289 { echo "$as_me:$LINENO: result: no" >&5
12290 echo "${ECHO_T}no" >&6; }
12294 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12296 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12298 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12301 -L/usr/lib|-L/usr/lib64) ;;
12302 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12305 ac_save_CPPFLAGS="$CPPFLAGS"
12306 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12307 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12308 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12309 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12310 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12311 echo $ECHO_N "(cached) $ECHO_C" >&6
12313 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12314 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12316 # Is the header compilable?
12317 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12318 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12319 cat >conftest.$ac_ext <<_ACEOF
12322 cat confdefs.h >>conftest.$ac_ext
12323 cat >>conftest.$ac_ext <<_ACEOF
12324 /* end confdefs.h. */
12325 $ac_includes_default
12326 #include <gphoto2-camera.h>
12328 rm -f conftest.$ac_objext
12329 if { (ac_try="$ac_compile"
12330 case "(($ac_try" in
12331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12332 *) ac_try_echo=$ac_try;;
12334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12335 (eval "$ac_compile") 2>conftest.er1
12337 grep -v '^ *+' conftest.er1 >conftest.err
12339 cat conftest.err >&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); } && {
12342 test -z "$ac_c_werror_flag" ||
12343 test ! -s conftest.err
12344 } && test -s conftest.$ac_objext; then
12345 ac_header_compiler=yes
12347 echo "$as_me: failed program was:" >&5
12348 sed 's/^/| /' conftest.$ac_ext >&5
12350 ac_header_compiler=no
12353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12354 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12355 echo "${ECHO_T}$ac_header_compiler" >&6; }
12357 # Is the header present?
12358 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12359 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12360 cat >conftest.$ac_ext <<_ACEOF
12363 cat confdefs.h >>conftest.$ac_ext
12364 cat >>conftest.$ac_ext <<_ACEOF
12365 /* end confdefs.h. */
12366 #include <gphoto2-camera.h>
12368 if { (ac_try="$ac_cpp conftest.$ac_ext"
12369 case "(($ac_try" in
12370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12371 *) ac_try_echo=$ac_try;;
12373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12374 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12376 grep -v '^ *+' conftest.er1 >conftest.err
12378 cat conftest.err >&5
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); } >/dev/null && {
12381 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12382 test ! -s conftest.err
12384 ac_header_preproc=yes
12386 echo "$as_me: failed program was:" >&5
12387 sed 's/^/| /' conftest.$ac_ext >&5
12389 ac_header_preproc=no
12392 rm -f conftest.err conftest.$ac_ext
12393 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12394 echo "${ECHO_T}$ac_header_preproc" >&6; }
12396 # So? What about this header?
12397 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12399 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12400 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12401 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12402 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12403 ac_header_preproc=yes
12406 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12407 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12408 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12409 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12410 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12411 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12412 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12413 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12414 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12415 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12416 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12417 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12419 ## ------------------------------------ ##
12420 ## Report this to wine-devel@winehq.org ##
12421 ## ------------------------------------ ##
12423 ) | sed "s/^/$as_me: WARNING: /" >&2
12426 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12427 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12428 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12429 echo $ECHO_N "(cached) $ECHO_C" >&6
12431 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12433 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12434 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12437 if test $ac_cv_header_gphoto2_camera_h = yes; then
12438 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12439 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12440 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12441 echo $ECHO_N "(cached) $ECHO_C" >&6
12443 ac_check_lib_save_LIBS=$LIBS
12444 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12445 cat >conftest.$ac_ext <<_ACEOF
12448 cat confdefs.h >>conftest.$ac_ext
12449 cat >>conftest.$ac_ext <<_ACEOF
12450 /* end confdefs.h. */
12452 /* Override any GCC internal prototype to avoid an error.
12453 Use char because int might match the return type of a GCC
12454 builtin and then its argument prototype would still apply. */
12458 char gp_camera_new ();
12462 return gp_camera_new ();
12467 rm -f conftest.$ac_objext conftest$ac_exeext
12468 if { (ac_try="$ac_link"
12469 case "(($ac_try" in
12470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12471 *) ac_try_echo=$ac_try;;
12473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12474 (eval "$ac_link") 2>conftest.er1
12476 grep -v '^ *+' conftest.er1 >conftest.err
12478 cat conftest.err >&5
12479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480 (exit $ac_status); } && {
12481 test -z "$ac_c_werror_flag" ||
12482 test ! -s conftest.err
12483 } && test -s conftest$ac_exeext &&
12484 $as_test_x conftest$ac_exeext; then
12485 ac_cv_lib_gphoto2_gp_camera_new=yes
12487 echo "$as_me: failed program was:" >&5
12488 sed 's/^/| /' conftest.$ac_ext >&5
12490 ac_cv_lib_gphoto2_gp_camera_new=no
12493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12494 conftest$ac_exeext conftest.$ac_ext
12495 LIBS=$ac_check_lib_save_LIBS
12497 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12498 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12499 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12501 cat >>confdefs.h <<\_ACEOF
12502 #define HAVE_GPHOTO2 1
12505 GPHOTO2LIBS="$ac_gphoto2_libs"
12507 GPHOTO2INCL="$ac_gphoto2_incl"
12514 CPPFLAGS="$ac_save_CPPFLAGS"
12516 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12517 wine_notices="$wine_notices|libgphoto2 development files not found.
12518 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12523 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12526 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
12527 if test -n "$ICU_LIB_DIR"
12529 icu_libs="-L$ICU_LIB_DIR $icu_libs"
12531 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
12532 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
12533 LIBS="$saved_libs $icu_libs"
12534 if test "$cross_compiling" = yes; then
12535 { echo "$as_me:$LINENO: result: no" >&5
12536 echo "${ECHO_T}no" >&6; }
12538 cat >conftest.$ac_ext <<_ACEOF
12541 cat confdefs.h >>conftest.$ac_ext
12542 cat >>conftest.$ac_ext <<_ACEOF
12543 /* end confdefs.h. */
12544 #include <unicode/ubidi.h>
12553 rm -f conftest$ac_exeext
12554 if { (ac_try="$ac_link"
12555 case "(($ac_try" in
12556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12557 *) ac_try_echo=$ac_try;;
12559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12560 (eval "$ac_link") 2>&5
12562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12564 { (case "(($ac_try" in
12565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12566 *) ac_try_echo=$ac_try;;
12568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12569 (eval "$ac_try") 2>&5
12571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572 (exit $ac_status); }; }; then
12574 cat >>confdefs.h <<\_ACEOF
12578 ICULIBS="$icu_libs"
12580 { echo "$as_me:$LINENO: result: yes" >&5
12581 echo "${ECHO_T}yes" >&6; }
12583 echo "$as_me: program exited with status $ac_status" >&5
12584 echo "$as_me: failed program was:" >&5
12585 sed 's/^/| /' conftest.$ac_ext >&5
12587 ( exit $ac_status )
12588 { echo "$as_me:$LINENO: result: no" >&5
12589 echo "${ECHO_T}no" >&6; }
12591 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12597 if test "x$ICULIBS" = "x"; then
12598 wine_notices="$wine_notices|libicu development files not found.
12599 Wine will be built without bidi (Right to Left) support. (gdi32.dll)"
12605 if test "$ac_cv_header_resolv_h" = "yes"
12607 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12608 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12609 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12610 echo $ECHO_N "(cached) $ECHO_C" >&6
12612 ac_check_lib_save_LIBS=$LIBS
12613 LIBS="-lresolv $LIBS"
12614 cat >conftest.$ac_ext <<_ACEOF
12617 cat confdefs.h >>conftest.$ac_ext
12618 cat >>conftest.$ac_ext <<_ACEOF
12619 /* end confdefs.h. */
12621 /* Override any GCC internal prototype to avoid an error.
12622 Use char because int might match the return type of a GCC
12623 builtin and then its argument prototype would still apply. */
12631 return res_query ();
12636 rm -f conftest.$ac_objext conftest$ac_exeext
12637 if { (ac_try="$ac_link"
12638 case "(($ac_try" in
12639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12640 *) ac_try_echo=$ac_try;;
12642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12643 (eval "$ac_link") 2>conftest.er1
12645 grep -v '^ *+' conftest.er1 >conftest.err
12647 cat conftest.err >&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); } && {
12650 test -z "$ac_c_werror_flag" ||
12651 test ! -s conftest.err
12652 } && test -s conftest$ac_exeext &&
12653 $as_test_x conftest$ac_exeext; then
12654 ac_cv_lib_resolv_res_query=yes
12656 echo "$as_me: failed program was:" >&5
12657 sed 's/^/| /' conftest.$ac_ext >&5
12659 ac_cv_lib_resolv_res_query=no
12662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12663 conftest$ac_exeext conftest.$ac_ext
12664 LIBS=$ac_check_lib_save_LIBS
12666 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12667 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12668 if test $ac_cv_lib_resolv_res_query = yes; then
12670 cat >>confdefs.h <<\_ACEOF
12671 #define HAVE_RESOLV 1
12674 RESOLVLIBS="-lresolv"
12681 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12683 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12684 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12685 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12686 echo $ECHO_N "(cached) $ECHO_C" >&6
12688 ac_check_lib_save_LIBS=$LIBS
12689 LIBS="-llcms $LIBS"
12690 cat >conftest.$ac_ext <<_ACEOF
12693 cat confdefs.h >>conftest.$ac_ext
12694 cat >>conftest.$ac_ext <<_ACEOF
12695 /* end confdefs.h. */
12697 /* Override any GCC internal prototype to avoid an error.
12698 Use char because int might match the return type of a GCC
12699 builtin and then its argument prototype would still apply. */
12703 char cmsOpenProfileFromFile ();
12707 return cmsOpenProfileFromFile ();
12712 rm -f conftest.$ac_objext conftest$ac_exeext
12713 if { (ac_try="$ac_link"
12714 case "(($ac_try" in
12715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12716 *) ac_try_echo=$ac_try;;
12718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12719 (eval "$ac_link") 2>conftest.er1
12721 grep -v '^ *+' conftest.er1 >conftest.err
12723 cat conftest.err >&5
12724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12725 (exit $ac_status); } && {
12726 test -z "$ac_c_werror_flag" ||
12727 test ! -s conftest.err
12728 } && test -s conftest$ac_exeext &&
12729 $as_test_x conftest$ac_exeext; then
12730 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12732 echo "$as_me: failed program was:" >&5
12733 sed 's/^/| /' conftest.$ac_ext >&5
12735 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12739 conftest$ac_exeext conftest.$ac_ext
12740 LIBS=$ac_check_lib_save_LIBS
12742 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12743 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12744 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12746 cat >>confdefs.h <<\_ACEOF
12747 #define HAVE_LCMS 1
12754 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12755 wine_notices="$wine_notices|liblcms development files not found.
12756 Wine will be built without Color Management support. (mscms.dll)"
12762 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12764 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12765 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12766 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12767 echo $ECHO_N "(cached) $ECHO_C" >&6
12769 ac_check_lib_save_LIBS=$LIBS
12770 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12771 cat >conftest.$ac_ext <<_ACEOF
12774 cat confdefs.h >>conftest.$ac_ext
12775 cat >>conftest.$ac_ext <<_ACEOF
12776 /* end confdefs.h. */
12778 /* Override any GCC internal prototype to avoid an error.
12779 Use char because int might match the return type of a GCC
12780 builtin and then its argument prototype would still apply. */
12784 char ldap_initialize ();
12788 return ldap_initialize ();
12793 rm -f conftest.$ac_objext conftest$ac_exeext
12794 if { (ac_try="$ac_link"
12795 case "(($ac_try" in
12796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12797 *) ac_try_echo=$ac_try;;
12799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12800 (eval "$ac_link") 2>conftest.er1
12802 grep -v '^ *+' conftest.er1 >conftest.err
12804 cat conftest.err >&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); } && {
12807 test -z "$ac_c_werror_flag" ||
12808 test ! -s conftest.err
12809 } && test -s conftest$ac_exeext &&
12810 $as_test_x conftest$ac_exeext; then
12811 ac_cv_lib_ldap_r_ldap_initialize=yes
12813 echo "$as_me: failed program was:" >&5
12814 sed 's/^/| /' conftest.$ac_ext >&5
12816 ac_cv_lib_ldap_r_ldap_initialize=no
12819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12820 conftest$ac_exeext conftest.$ac_ext
12821 LIBS=$ac_check_lib_save_LIBS
12823 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12824 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12825 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12826 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12827 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12828 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12829 echo $ECHO_N "(cached) $ECHO_C" >&6
12831 ac_check_lib_save_LIBS=$LIBS
12832 LIBS="-llber $LIBPTHREAD $LIBS"
12833 cat >conftest.$ac_ext <<_ACEOF
12836 cat confdefs.h >>conftest.$ac_ext
12837 cat >>conftest.$ac_ext <<_ACEOF
12838 /* end confdefs.h. */
12840 /* Override any GCC internal prototype to avoid an error.
12841 Use char because int might match the return type of a GCC
12842 builtin and then its argument prototype would still apply. */
12850 return ber_init ();
12855 rm -f conftest.$ac_objext conftest$ac_exeext
12856 if { (ac_try="$ac_link"
12857 case "(($ac_try" in
12858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12859 *) ac_try_echo=$ac_try;;
12861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12862 (eval "$ac_link") 2>conftest.er1
12864 grep -v '^ *+' conftest.er1 >conftest.err
12866 cat conftest.err >&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); } && {
12869 test -z "$ac_c_werror_flag" ||
12870 test ! -s conftest.err
12871 } && test -s conftest$ac_exeext &&
12872 $as_test_x conftest$ac_exeext; then
12873 ac_cv_lib_lber_ber_init=yes
12875 echo "$as_me: failed program was:" >&5
12876 sed 's/^/| /' conftest.$ac_ext >&5
12878 ac_cv_lib_lber_ber_init=no
12881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12882 conftest$ac_exeext conftest.$ac_ext
12883 LIBS=$ac_check_lib_save_LIBS
12885 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12886 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12887 if test $ac_cv_lib_lber_ber_init = yes; then
12889 cat >>confdefs.h <<\_ACEOF
12890 #define HAVE_LDAP 1
12893 LDAPLIBS="-lldap_r -llber"
12898 ac_wine_check_funcs_save_LIBS="$LIBS"
12899 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12905 ldap_count_references \
12906 ldap_first_reference \
12907 ldap_next_reference \
12908 ldap_parse_reference
12910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12911 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12913 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12914 echo $ECHO_N "(cached) $ECHO_C" >&6
12916 cat >conftest.$ac_ext <<_ACEOF
12919 cat confdefs.h >>conftest.$ac_ext
12920 cat >>conftest.$ac_ext <<_ACEOF
12921 /* end confdefs.h. */
12922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12924 #define $ac_func innocuous_$ac_func
12926 /* System header to define __stub macros and hopefully few prototypes,
12927 which can conflict with char $ac_func (); below.
12928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12929 <limits.h> exists even on freestanding compilers. */
12932 # include <limits.h>
12934 # include <assert.h>
12939 /* Override any GCC internal prototype to avoid an error.
12940 Use char because int might match the return type of a GCC
12941 builtin and then its argument prototype would still apply. */
12946 /* The GNU C library defines this for functions which it implements
12947 to always fail with ENOSYS. Some functions are actually named
12948 something starting with __ and the normal name is an alias. */
12949 #if defined __stub_$ac_func || defined __stub___$ac_func
12956 return $ac_func ();
12961 rm -f conftest.$ac_objext conftest$ac_exeext
12962 if { (ac_try="$ac_link"
12963 case "(($ac_try" in
12964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12965 *) ac_try_echo=$ac_try;;
12967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12968 (eval "$ac_link") 2>conftest.er1
12970 grep -v '^ *+' conftest.er1 >conftest.err
12972 cat conftest.err >&5
12973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974 (exit $ac_status); } && {
12975 test -z "$ac_c_werror_flag" ||
12976 test ! -s conftest.err
12977 } && test -s conftest$ac_exeext &&
12978 $as_test_x conftest$ac_exeext; then
12979 eval "$as_ac_var=yes"
12981 echo "$as_me: failed program was:" >&5
12982 sed 's/^/| /' conftest.$ac_ext >&5
12984 eval "$as_ac_var=no"
12987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12988 conftest$ac_exeext conftest.$ac_ext
12990 ac_res=`eval echo '${'$as_ac_var'}'`
12991 { echo "$as_me:$LINENO: result: $ac_res" >&5
12992 echo "${ECHO_T}$ac_res" >&6; }
12993 if test `eval echo '${'$as_ac_var'}'` = yes; then
12994 cat >>confdefs.h <<_ACEOF
12995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13001 LIBS="$ac_wine_check_funcs_save_LIBS"
13003 if test "x$LDAPLIBS" = "x"; then
13004 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
13005 Wine will be built without LDAP support. (wldap32.dll)"
13009 for ac_prog in freetype-config freetype2-config
13011 # Extract the first word of "$ac_prog", so it can be a program name with args.
13012 set dummy $ac_prog; ac_word=$2
13013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13015 if test "${ac_cv_prog_ft_devel+set}" = set; then
13016 echo $ECHO_N "(cached) $ECHO_C" >&6
13018 if test -n "$ft_devel"; then
13019 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13022 for as_dir in $PATH
13025 test -z "$as_dir" && as_dir=.
13026 for ac_exec_ext in '' $ac_executable_extensions; do
13027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13028 ac_cv_prog_ft_devel="$ac_prog"
13029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13038 ft_devel=$ac_cv_prog_ft_devel
13039 if test -n "$ft_devel"; then
13040 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13041 echo "${ECHO_T}$ft_devel" >&6; }
13043 { echo "$as_me:$LINENO: result: no" >&5
13044 echo "${ECHO_T}no" >&6; }
13048 test -n "$ft_devel" && break
13050 test -n "$ft_devel" || ft_devel="false"
13052 if test "$ft_devel" != "false"
13054 ac_freetype_libs=`$ft_devel --libs`
13055 ac_freetype_incl=`$ft_devel --cflags`
13056 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13057 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13058 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13059 echo $ECHO_N "(cached) $ECHO_C" >&6
13061 ac_check_soname_save_LIBS=$LIBS
13062 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13063 cat >conftest.$ac_ext <<_ACEOF
13066 cat confdefs.h >>conftest.$ac_ext
13067 cat >>conftest.$ac_ext <<_ACEOF
13068 /* end confdefs.h. */
13070 /* Override any GCC internal prototype to avoid an error.
13071 Use char because int might match the return type of a GCC
13072 builtin and then its argument prototype would still apply. */
13076 char FT_Init_FreeType ();
13080 return FT_Init_FreeType ();
13085 rm -f conftest.$ac_objext conftest$ac_exeext
13086 if { (ac_try="$ac_link"
13087 case "(($ac_try" in
13088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13089 *) ac_try_echo=$ac_try;;
13091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13092 (eval "$ac_link") 2>conftest.er1
13094 grep -v '^ *+' conftest.er1 >conftest.err
13096 cat conftest.err >&5
13097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13098 (exit $ac_status); } && {
13099 test -z "$ac_c_werror_flag" ||
13100 test ! -s conftest.err
13101 } && test -s conftest$ac_exeext &&
13102 $as_test_x conftest$ac_exeext; then
13105 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'` ;;
13106 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13109 echo "$as_me: failed program was:" >&5
13110 sed 's/^/| /' conftest.$ac_ext >&5
13115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13116 conftest$ac_exeext conftest.$ac_ext
13117 LIBS=$ac_check_soname_save_LIBS
13119 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13120 { echo "$as_me:$LINENO: result: not found" >&5
13121 echo "${ECHO_T}not found" >&6; }
13124 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13125 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13127 cat >>confdefs.h <<_ACEOF
13128 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13134 if test "$ft_lib" = "yes"
13136 ac_save_CPPFLAGS="$CPPFLAGS"
13137 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13149 for ac_header in ft2build.h \
13150 freetype/freetype.h \
13151 freetype/ftglyph.h \
13152 freetype/tttables.h \
13153 freetype/ftnames.h \
13154 freetype/ftsnames.h \
13155 freetype/ttnameid.h \
13156 freetype/ftoutln.h \
13157 freetype/ftwinfnt.h \
13158 freetype/ftmodapi.h \
13159 freetype/internal/sfnt.h
13161 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13162 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13164 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13165 echo $ECHO_N "(cached) $ECHO_C" >&6
13167 cat >conftest.$ac_ext <<_ACEOF
13170 cat confdefs.h >>conftest.$ac_ext
13171 cat >>conftest.$ac_ext <<_ACEOF
13172 /* end confdefs.h. */
13173 #if HAVE_FT2BUILD_H
13174 #include <ft2build.h>
13177 #include <$ac_header>
13179 rm -f conftest.$ac_objext
13180 if { (ac_try="$ac_compile"
13181 case "(($ac_try" in
13182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13183 *) ac_try_echo=$ac_try;;
13185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13186 (eval "$ac_compile") 2>conftest.er1
13188 grep -v '^ *+' conftest.er1 >conftest.err
13190 cat conftest.err >&5
13191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192 (exit $ac_status); } && {
13193 test -z "$ac_c_werror_flag" ||
13194 test ! -s conftest.err
13195 } && test -s conftest.$ac_objext; then
13196 eval "$as_ac_Header=yes"
13198 echo "$as_me: failed program was:" >&5
13199 sed 's/^/| /' conftest.$ac_ext >&5
13201 eval "$as_ac_Header=no"
13204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13206 ac_res=`eval echo '${'$as_ac_Header'}'`
13207 { echo "$as_me:$LINENO: result: $ac_res" >&5
13208 echo "${ECHO_T}$ac_res" >&6; }
13209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13210 cat >>confdefs.h <<_ACEOF
13211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13218 cat >conftest.$ac_ext <<_ACEOF
13221 cat confdefs.h >>conftest.$ac_ext
13222 cat >>conftest.$ac_ext <<_ACEOF
13223 /* end confdefs.h. */
13224 #include <ft2build.h>
13225 #include <freetype/fttrigon.h>
13227 if { (ac_try="$ac_cpp conftest.$ac_ext"
13228 case "(($ac_try" in
13229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13230 *) ac_try_echo=$ac_try;;
13232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13233 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13235 grep -v '^ *+' conftest.er1 >conftest.err
13237 cat conftest.err >&5
13238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13239 (exit $ac_status); } >/dev/null && {
13240 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13241 test ! -s conftest.err
13244 cat >>confdefs.h <<\_ACEOF
13245 #define HAVE_FREETYPE_FTTRIGON_H 1
13248 wine_cv_fttrigon=yes
13250 echo "$as_me: failed program was:" >&5
13251 sed 's/^/| /' conftest.$ac_ext >&5
13253 wine_cv_fttrigon=no
13256 rm -f conftest.err conftest.$ac_ext
13257 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13258 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13259 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13260 echo $ECHO_N "(cached) $ECHO_C" >&6
13262 cat >conftest.$ac_ext <<_ACEOF
13265 cat confdefs.h >>conftest.$ac_ext
13266 cat >>conftest.$ac_ext <<_ACEOF
13267 /* end confdefs.h. */
13268 #include <freetype/ftmodapi.h>
13270 typedef FT_TrueTypeEngineType ac__type_new_;
13274 if ((ac__type_new_ *) 0)
13276 if (sizeof (ac__type_new_))
13282 rm -f conftest.$ac_objext
13283 if { (ac_try="$ac_compile"
13284 case "(($ac_try" in
13285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13286 *) ac_try_echo=$ac_try;;
13288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13289 (eval "$ac_compile") 2>conftest.er1
13291 grep -v '^ *+' conftest.er1 >conftest.err
13293 cat conftest.err >&5
13294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295 (exit $ac_status); } && {
13296 test -z "$ac_c_werror_flag" ||
13297 test ! -s conftest.err
13298 } && test -s conftest.$ac_objext; then
13299 ac_cv_type_FT_TrueTypeEngineType=yes
13301 echo "$as_me: failed program was:" >&5
13302 sed 's/^/| /' conftest.$ac_ext >&5
13304 ac_cv_type_FT_TrueTypeEngineType=no
13307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13309 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13310 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13311 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13313 cat >>confdefs.h <<_ACEOF
13314 #define HAVE_FT_TRUETYPEENGINETYPE 1
13320 ac_save_CFLAGS="$CFLAGS"
13321 CFLAGS="$CFLAGS $ac_freetype_libs"
13323 for ac_func in FT_Load_Sfnt_Table
13325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13326 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13328 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13329 echo $ECHO_N "(cached) $ECHO_C" >&6
13331 cat >conftest.$ac_ext <<_ACEOF
13334 cat confdefs.h >>conftest.$ac_ext
13335 cat >>conftest.$ac_ext <<_ACEOF
13336 /* end confdefs.h. */
13337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13339 #define $ac_func innocuous_$ac_func
13341 /* System header to define __stub macros and hopefully few prototypes,
13342 which can conflict with char $ac_func (); below.
13343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13344 <limits.h> exists even on freestanding compilers. */
13347 # include <limits.h>
13349 # include <assert.h>
13354 /* Override any GCC internal prototype to avoid an error.
13355 Use char because int might match the return type of a GCC
13356 builtin and then its argument prototype would still apply. */
13361 /* The GNU C library defines this for functions which it implements
13362 to always fail with ENOSYS. Some functions are actually named
13363 something starting with __ and the normal name is an alias. */
13364 #if defined __stub_$ac_func || defined __stub___$ac_func
13371 return $ac_func ();
13376 rm -f conftest.$ac_objext conftest$ac_exeext
13377 if { (ac_try="$ac_link"
13378 case "(($ac_try" in
13379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13380 *) ac_try_echo=$ac_try;;
13382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13383 (eval "$ac_link") 2>conftest.er1
13385 grep -v '^ *+' conftest.er1 >conftest.err
13387 cat conftest.err >&5
13388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); } && {
13390 test -z "$ac_c_werror_flag" ||
13391 test ! -s conftest.err
13392 } && test -s conftest$ac_exeext &&
13393 $as_test_x conftest$ac_exeext; then
13394 eval "$as_ac_var=yes"
13396 echo "$as_me: failed program was:" >&5
13397 sed 's/^/| /' conftest.$ac_ext >&5
13399 eval "$as_ac_var=no"
13402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13403 conftest$ac_exeext conftest.$ac_ext
13405 ac_res=`eval echo '${'$as_ac_var'}'`
13406 { echo "$as_me:$LINENO: result: $ac_res" >&5
13407 echo "${ECHO_T}$ac_res" >&6; }
13408 if test `eval echo '${'$as_ac_var'}'` = yes; then
13409 cat >>confdefs.h <<_ACEOF
13410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13416 CFLAGS="$ac_save_CFLAGS"
13417 CPPFLAGS="$ac_save_CPPFLAGS"
13418 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13421 cat >>confdefs.h <<\_ACEOF
13422 #define HAVE_FREETYPE 1
13425 FREETYPELIBS="$ac_freetype_libs"
13427 FREETYPEINCL="$ac_freetype_incl"
13433 if test "$FONTFORGE" = "false"
13435 wine_warnings="$wine_warnings|FontForge is missing.
13436 Fonts will not be built. Dialog text may be invisible or unaligned."
13437 elif test "x$FREETYPELIBS" = "x"
13439 wine_warnings="$wine_warnings|FreeType development files not found.
13440 Fonts will not be built. Dialog text may be invisible or unaligned."
13442 FONTSSUBDIRS="fonts"
13446 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13447 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13448 if test "${ac_cv_c_ppdev+set}" = set; then
13449 echo $ECHO_N "(cached) $ECHO_C" >&6
13451 cat >conftest.$ac_ext <<_ACEOF
13454 cat confdefs.h >>conftest.$ac_ext
13455 cat >>conftest.$ac_ext <<_ACEOF
13456 /* end confdefs.h. */
13457 #include <linux/ppdev.h>
13461 ioctl (1,PPCLAIM,0)
13466 rm -f conftest.$ac_objext
13467 if { (ac_try="$ac_compile"
13468 case "(($ac_try" in
13469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13470 *) ac_try_echo=$ac_try;;
13472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13473 (eval "$ac_compile") 2>conftest.er1
13475 grep -v '^ *+' conftest.er1 >conftest.err
13477 cat conftest.err >&5
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); } && {
13480 test -z "$ac_c_werror_flag" ||
13481 test ! -s conftest.err
13482 } && test -s conftest.$ac_objext; then
13483 ac_cv_c_ppdev="yes"
13485 echo "$as_me: failed program was:" >&5
13486 sed 's/^/| /' conftest.$ac_ext >&5
13491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13493 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13494 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13495 if test "$ac_cv_c_ppdev" = "yes"
13498 cat >>confdefs.h <<\_ACEOF
13499 #define HAVE_PPDEV 1
13504 { echo "$as_me:$LINENO: checking for va_copy" >&5
13505 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13506 if test "${ac_cv_c_va_copy+set}" = set; then
13507 echo $ECHO_N "(cached) $ECHO_C" >&6
13509 cat >conftest.$ac_ext <<_ACEOF
13512 cat confdefs.h >>conftest.$ac_ext
13513 cat >>conftest.$ac_ext <<_ACEOF
13514 /* end confdefs.h. */
13515 #include <stdarg.h>
13519 va_list ap1, ap2; va_copy(ap1,ap2);
13524 rm -f conftest.$ac_objext conftest$ac_exeext
13525 if { (ac_try="$ac_link"
13526 case "(($ac_try" in
13527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13528 *) ac_try_echo=$ac_try;;
13530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13531 (eval "$ac_link") 2>conftest.er1
13533 grep -v '^ *+' conftest.er1 >conftest.err
13535 cat conftest.err >&5
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 (exit $ac_status); } && {
13538 test -z "$ac_c_werror_flag" ||
13539 test ! -s conftest.err
13540 } && test -s conftest$ac_exeext &&
13541 $as_test_x conftest$ac_exeext; then
13542 ac_cv_c_va_copy="yes"
13544 echo "$as_me: failed program was:" >&5
13545 sed 's/^/| /' conftest.$ac_ext >&5
13547 ac_cv_c_va_copy="no"
13550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13551 conftest$ac_exeext conftest.$ac_ext
13554 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13555 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13556 if test "$ac_cv_c_va_copy" = "yes"
13559 cat >>confdefs.h <<\_ACEOF
13560 #define HAVE_VA_COPY 1
13564 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13565 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13566 if test "${ac_cv_c___va_copy+set}" = set; then
13567 echo $ECHO_N "(cached) $ECHO_C" >&6
13569 cat >conftest.$ac_ext <<_ACEOF
13572 cat confdefs.h >>conftest.$ac_ext
13573 cat >>conftest.$ac_ext <<_ACEOF
13574 /* end confdefs.h. */
13575 #include <stdarg.h>
13579 va_list ap1, ap2; __va_copy(ap1,ap2);
13584 rm -f conftest.$ac_objext conftest$ac_exeext
13585 if { (ac_try="$ac_link"
13586 case "(($ac_try" in
13587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13588 *) ac_try_echo=$ac_try;;
13590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13591 (eval "$ac_link") 2>conftest.er1
13593 grep -v '^ *+' conftest.er1 >conftest.err
13595 cat conftest.err >&5
13596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597 (exit $ac_status); } && {
13598 test -z "$ac_c_werror_flag" ||
13599 test ! -s conftest.err
13600 } && test -s conftest$ac_exeext &&
13601 $as_test_x conftest$ac_exeext; then
13602 ac_cv_c___va_copy="yes"
13604 echo "$as_me: failed program was:" >&5
13605 sed 's/^/| /' conftest.$ac_ext >&5
13607 ac_cv_c___va_copy="no"
13610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13611 conftest$ac_exeext conftest.$ac_ext
13614 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13615 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13616 if test "$ac_cv_c___va_copy" = "yes"
13619 cat >>confdefs.h <<\_ACEOF
13620 #define HAVE___VA_COPY 1
13625 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13626 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13627 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13628 echo $ECHO_N "(cached) $ECHO_C" >&6
13630 cat >conftest.$ac_ext <<_ACEOF
13633 cat confdefs.h >>conftest.$ac_ext
13634 cat >>conftest.$ac_ext <<_ACEOF
13635 /* end confdefs.h. */
13636 #include <setjmp.h>
13641 sigsetjmp( buf, 1 );
13642 siglongjmp( buf, 1 );
13647 rm -f conftest.$ac_objext conftest$ac_exeext
13648 if { (ac_try="$ac_link"
13649 case "(($ac_try" in
13650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13651 *) ac_try_echo=$ac_try;;
13653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13654 (eval "$ac_link") 2>conftest.er1
13656 grep -v '^ *+' conftest.er1 >conftest.err
13658 cat conftest.err >&5
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); } && {
13661 test -z "$ac_c_werror_flag" ||
13662 test ! -s conftest.err
13663 } && test -s conftest$ac_exeext &&
13664 $as_test_x conftest$ac_exeext; then
13665 ac_cv_c_sigsetjmp="yes"
13667 echo "$as_me: failed program was:" >&5
13668 sed 's/^/| /' conftest.$ac_ext >&5
13670 ac_cv_c_sigsetjmp="no"
13673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13674 conftest$ac_exeext conftest.$ac_ext
13677 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13678 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13679 if test "$ac_cv_c_sigsetjmp" = "yes"
13682 cat >>confdefs.h <<\_ACEOF
13683 #define HAVE_SIGSETJMP 1
13688 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13689 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13690 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13691 echo $ECHO_N "(cached) $ECHO_C" >&6
13693 cat >conftest.$ac_ext <<_ACEOF
13696 cat confdefs.h >>conftest.$ac_ext
13697 cat >>conftest.$ac_ext <<_ACEOF
13698 /* end confdefs.h. */
13699 #define _GNU_SOURCE
13700 #include <pthread.h>
13702 typedef pthread_rwlock_t ac__type_new_;
13706 if ((ac__type_new_ *) 0)
13708 if (sizeof (ac__type_new_))
13714 rm -f conftest.$ac_objext
13715 if { (ac_try="$ac_compile"
13716 case "(($ac_try" in
13717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13718 *) ac_try_echo=$ac_try;;
13720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13721 (eval "$ac_compile") 2>conftest.er1
13723 grep -v '^ *+' conftest.er1 >conftest.err
13725 cat conftest.err >&5
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); } && {
13728 test -z "$ac_c_werror_flag" ||
13729 test ! -s conftest.err
13730 } && test -s conftest.$ac_objext; then
13731 ac_cv_type_pthread_rwlock_t=yes
13733 echo "$as_me: failed program was:" >&5
13734 sed 's/^/| /' conftest.$ac_ext >&5
13736 ac_cv_type_pthread_rwlock_t=no
13739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13741 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13742 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13743 if test $ac_cv_type_pthread_rwlock_t = yes; then
13745 cat >>confdefs.h <<_ACEOF
13746 #define HAVE_PTHREAD_RWLOCK_T 1
13751 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13752 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13753 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13754 echo $ECHO_N "(cached) $ECHO_C" >&6
13756 cat >conftest.$ac_ext <<_ACEOF
13759 cat confdefs.h >>conftest.$ac_ext
13760 cat >>conftest.$ac_ext <<_ACEOF
13761 /* end confdefs.h. */
13762 #define _GNU_SOURCE
13763 #include <pthread.h>
13765 typedef pthread_rwlockattr_t ac__type_new_;
13769 if ((ac__type_new_ *) 0)
13771 if (sizeof (ac__type_new_))
13777 rm -f conftest.$ac_objext
13778 if { (ac_try="$ac_compile"
13779 case "(($ac_try" in
13780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13781 *) ac_try_echo=$ac_try;;
13783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13784 (eval "$ac_compile") 2>conftest.er1
13786 grep -v '^ *+' conftest.er1 >conftest.err
13788 cat conftest.err >&5
13789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13790 (exit $ac_status); } && {
13791 test -z "$ac_c_werror_flag" ||
13792 test ! -s conftest.err
13793 } && test -s conftest.$ac_objext; then
13794 ac_cv_type_pthread_rwlockattr_t=yes
13796 echo "$as_me: failed program was:" >&5
13797 sed 's/^/| /' conftest.$ac_ext >&5
13799 ac_cv_type_pthread_rwlockattr_t=no
13802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13804 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13805 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13806 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13808 cat >>confdefs.h <<_ACEOF
13809 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13816 ac_wine_check_funcs_save_LIBS="$LIBS"
13817 LIBS="$LIBS $LIBPTHREAD"
13823 pthread_attr_get_np \
13824 pthread_getattr_np \
13825 pthread_get_stackaddr_np \
13826 pthread_get_stacksize_np
13828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13829 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13831 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13832 echo $ECHO_N "(cached) $ECHO_C" >&6
13834 cat >conftest.$ac_ext <<_ACEOF
13837 cat confdefs.h >>conftest.$ac_ext
13838 cat >>conftest.$ac_ext <<_ACEOF
13839 /* end confdefs.h. */
13840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13842 #define $ac_func innocuous_$ac_func
13844 /* System header to define __stub macros and hopefully few prototypes,
13845 which can conflict with char $ac_func (); below.
13846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13847 <limits.h> exists even on freestanding compilers. */
13850 # include <limits.h>
13852 # include <assert.h>
13857 /* Override any GCC internal prototype to avoid an error.
13858 Use char because int might match the return type of a GCC
13859 builtin and then its argument prototype would still apply. */
13864 /* The GNU C library defines this for functions which it implements
13865 to always fail with ENOSYS. Some functions are actually named
13866 something starting with __ and the normal name is an alias. */
13867 #if defined __stub_$ac_func || defined __stub___$ac_func
13874 return $ac_func ();
13879 rm -f conftest.$ac_objext conftest$ac_exeext
13880 if { (ac_try="$ac_link"
13881 case "(($ac_try" in
13882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13883 *) ac_try_echo=$ac_try;;
13885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13886 (eval "$ac_link") 2>conftest.er1
13888 grep -v '^ *+' conftest.er1 >conftest.err
13890 cat conftest.err >&5
13891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13892 (exit $ac_status); } && {
13893 test -z "$ac_c_werror_flag" ||
13894 test ! -s conftest.err
13895 } && test -s conftest$ac_exeext &&
13896 $as_test_x conftest$ac_exeext; then
13897 eval "$as_ac_var=yes"
13899 echo "$as_me: failed program was:" >&5
13900 sed 's/^/| /' conftest.$ac_ext >&5
13902 eval "$as_ac_var=no"
13905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13906 conftest$ac_exeext conftest.$ac_ext
13908 ac_res=`eval echo '${'$as_ac_var'}'`
13909 { echo "$as_me:$LINENO: result: $ac_res" >&5
13910 echo "${ECHO_T}$ac_res" >&6; }
13911 if test `eval echo '${'$as_ac_var'}'` = yes; then
13912 cat >>confdefs.h <<_ACEOF
13913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13919 LIBS="$ac_wine_check_funcs_save_LIBS"
13921 # Extract the first word of "esd-config", so it can be a program name with args.
13922 set dummy esd-config; ac_word=$2
13923 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13925 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13926 echo $ECHO_N "(cached) $ECHO_C" >&6
13930 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13934 for as_dir in $PATH
13937 test -z "$as_dir" && as_dir=.
13938 for ac_exec_ext in '' $ac_executable_extensions; do
13939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13940 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13951 ESDCONFIG=$ac_cv_path_ESDCONFIG
13952 if test -n "$ESDCONFIG"; then
13953 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13954 echo "${ECHO_T}$ESDCONFIG" >&6; }
13956 { echo "$as_me:$LINENO: result: no" >&5
13957 echo "${ECHO_T}no" >&6; }
13961 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13964 for i in `$ESDCONFIG --cflags`
13967 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13970 ESD_LIBS=`$ESDCONFIG --libs`
13971 save_CFLAGS="$CFLAGS"
13972 CFLAGS="$CFLAGS $ESD_CFLAGS"
13973 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13974 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13975 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13976 echo $ECHO_N "(cached) $ECHO_C" >&6
13978 ac_check_lib_save_LIBS=$LIBS
13980 cat >conftest.$ac_ext <<_ACEOF
13983 cat confdefs.h >>conftest.$ac_ext
13984 cat >>conftest.$ac_ext <<_ACEOF
13985 /* end confdefs.h. */
13987 /* Override any GCC internal prototype to avoid an error.
13988 Use char because int might match the return type of a GCC
13989 builtin and then its argument prototype would still apply. */
13993 char esd_open_sound ();
13997 return esd_open_sound ();
14002 rm -f conftest.$ac_objext conftest$ac_exeext
14003 if { (ac_try="$ac_link"
14004 case "(($ac_try" in
14005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14006 *) ac_try_echo=$ac_try;;
14008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14009 (eval "$ac_link") 2>conftest.er1
14011 grep -v '^ *+' conftest.er1 >conftest.err
14013 cat conftest.err >&5
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); } && {
14016 test -z "$ac_c_werror_flag" ||
14017 test ! -s conftest.err
14018 } && test -s conftest$ac_exeext &&
14019 $as_test_x conftest$ac_exeext; then
14020 ac_cv_lib_esd_esd_open_sound=yes
14022 echo "$as_me: failed program was:" >&5
14023 sed 's/^/| /' conftest.$ac_ext >&5
14025 ac_cv_lib_esd_esd_open_sound=no
14028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14029 conftest$ac_exeext conftest.$ac_ext
14030 LIBS=$ac_check_lib_save_LIBS
14032 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14033 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14034 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14037 ESDINCL=$ESD_CFLAGS
14040 cat >>confdefs.h <<\_ACEOF
14046 CFLAGS="$save_CFLAGS"
14051 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14053 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14054 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14055 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14056 echo $ECHO_N "(cached) $ECHO_C" >&6
14058 ac_check_lib_save_LIBS=$LIBS
14059 LIBS="-lasound $LIBS"
14060 cat >conftest.$ac_ext <<_ACEOF
14063 cat confdefs.h >>conftest.$ac_ext
14064 cat >>conftest.$ac_ext <<_ACEOF
14065 /* end confdefs.h. */
14067 /* Override any GCC internal prototype to avoid an error.
14068 Use char because int might match the return type of a GCC
14069 builtin and then its argument prototype would still apply. */
14073 char snd_pcm_hw_params_get_access ();
14077 return snd_pcm_hw_params_get_access ();
14082 rm -f conftest.$ac_objext conftest$ac_exeext
14083 if { (ac_try="$ac_link"
14084 case "(($ac_try" in
14085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14086 *) ac_try_echo=$ac_try;;
14088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14089 (eval "$ac_link") 2>conftest.er1
14091 grep -v '^ *+' conftest.er1 >conftest.err
14093 cat conftest.err >&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); } && {
14096 test -z "$ac_c_werror_flag" ||
14097 test ! -s conftest.err
14098 } && test -s conftest$ac_exeext &&
14099 $as_test_x conftest$ac_exeext; then
14100 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14102 echo "$as_me: failed program was:" >&5
14103 sed 's/^/| /' conftest.$ac_ext >&5
14105 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14109 conftest$ac_exeext conftest.$ac_ext
14110 LIBS=$ac_check_lib_save_LIBS
14112 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14113 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14114 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14115 cat >conftest.$ac_ext <<_ACEOF
14118 cat confdefs.h >>conftest.$ac_ext
14119 cat >>conftest.$ac_ext <<_ACEOF
14120 /* end confdefs.h. */
14121 #ifdef HAVE_ALSA_ASOUNDLIB_H
14122 #include <alsa/asoundlib.h>
14123 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14124 #include <sys/asoundlib.h>
14129 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14134 rm -f conftest.$ac_objext
14135 if { (ac_try="$ac_compile"
14136 case "(($ac_try" in
14137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14138 *) ac_try_echo=$ac_try;;
14140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14141 (eval "$ac_compile") 2>conftest.er1
14143 grep -v '^ *+' conftest.er1 >conftest.err
14145 cat conftest.err >&5
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); } && {
14148 test -z "$ac_c_werror_flag" ||
14149 test ! -s conftest.err
14150 } && test -s conftest.$ac_objext; then
14152 cat >>confdefs.h <<\_ACEOF
14153 #define HAVE_ALSA 1
14156 ALSALIBS="-lasound"
14158 echo "$as_me: failed program was:" >&5
14159 sed 's/^/| /' conftest.$ac_ext >&5
14164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14171 if test "$ac_cv_header_libaudioio_h" = "yes"
14173 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14174 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14175 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14176 echo $ECHO_N "(cached) $ECHO_C" >&6
14178 ac_check_lib_save_LIBS=$LIBS
14179 LIBS="-laudioio $LIBS"
14180 cat >conftest.$ac_ext <<_ACEOF
14183 cat confdefs.h >>conftest.$ac_ext
14184 cat >>conftest.$ac_ext <<_ACEOF
14185 /* end confdefs.h. */
14187 /* Override any GCC internal prototype to avoid an error.
14188 Use char because int might match the return type of a GCC
14189 builtin and then its argument prototype would still apply. */
14193 char AudioIOGetVersion ();
14197 return AudioIOGetVersion ();
14202 rm -f conftest.$ac_objext conftest$ac_exeext
14203 if { (ac_try="$ac_link"
14204 case "(($ac_try" in
14205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14206 *) ac_try_echo=$ac_try;;
14208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14209 (eval "$ac_link") 2>conftest.er1
14211 grep -v '^ *+' conftest.er1 >conftest.err
14213 cat conftest.err >&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); } && {
14216 test -z "$ac_c_werror_flag" ||
14217 test ! -s conftest.err
14218 } && test -s conftest$ac_exeext &&
14219 $as_test_x conftest$ac_exeext; then
14220 ac_cv_lib_audioio_AudioIOGetVersion=yes
14222 echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.$ac_ext >&5
14225 ac_cv_lib_audioio_AudioIOGetVersion=no
14228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14229 conftest$ac_exeext conftest.$ac_ext
14230 LIBS=$ac_check_lib_save_LIBS
14232 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14233 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14234 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14235 AUDIOIOLIBS="-laudioio"
14237 cat >>confdefs.h <<\_ACEOF
14238 #define HAVE_LIBAUDIOIO 1
14246 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14248 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14249 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14250 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14251 echo $ECHO_N "(cached) $ECHO_C" >&6
14253 ac_check_soname_save_LIBS=$LIBS
14254 LIBS="-lcapi20 $LIBS"
14255 cat >conftest.$ac_ext <<_ACEOF
14258 cat confdefs.h >>conftest.$ac_ext
14259 cat >>conftest.$ac_ext <<_ACEOF
14260 /* end confdefs.h. */
14262 /* Override any GCC internal prototype to avoid an error.
14263 Use char because int might match the return type of a GCC
14264 builtin and then its argument prototype would still apply. */
14268 char capi20_register ();
14272 return capi20_register ();
14277 rm -f conftest.$ac_objext conftest$ac_exeext
14278 if { (ac_try="$ac_link"
14279 case "(($ac_try" in
14280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14281 *) ac_try_echo=$ac_try;;
14283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14284 (eval "$ac_link") 2>conftest.er1
14286 grep -v '^ *+' conftest.er1 >conftest.err
14288 cat conftest.err >&5
14289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14290 (exit $ac_status); } && {
14291 test -z "$ac_c_werror_flag" ||
14292 test ! -s conftest.err
14293 } && test -s conftest$ac_exeext &&
14294 $as_test_x conftest$ac_exeext; then
14297 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'` ;;
14298 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14301 echo "$as_me: failed program was:" >&5
14302 sed 's/^/| /' conftest.$ac_ext >&5
14307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14308 conftest$ac_exeext conftest.$ac_ext
14309 LIBS=$ac_check_soname_save_LIBS
14311 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14312 { echo "$as_me:$LINENO: result: not found" >&5
14313 echo "${ECHO_T}not found" >&6; }
14316 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14317 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14319 cat >>confdefs.h <<_ACEOF
14320 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14327 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14328 wine_notices="$wine_notices|libcapi20 development files not found.
14329 Wine will be built without ISDN support. (capi2032.dll)"
14333 if test "$ac_cv_header_cups_cups_h" = "yes"
14335 { echo "$as_me:$LINENO: checking for -lcups" >&5
14336 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14337 if test "${ac_cv_lib_soname_cups+set}" = set; then
14338 echo $ECHO_N "(cached) $ECHO_C" >&6
14340 ac_check_soname_save_LIBS=$LIBS
14341 LIBS="-lcups $LIBS"
14342 cat >conftest.$ac_ext <<_ACEOF
14345 cat confdefs.h >>conftest.$ac_ext
14346 cat >>conftest.$ac_ext <<_ACEOF
14347 /* end confdefs.h. */
14349 /* Override any GCC internal prototype to avoid an error.
14350 Use char because int might match the return type of a GCC
14351 builtin and then its argument prototype would still apply. */
14355 char cupsGetDefault ();
14359 return cupsGetDefault ();
14364 rm -f conftest.$ac_objext conftest$ac_exeext
14365 if { (ac_try="$ac_link"
14366 case "(($ac_try" in
14367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14368 *) ac_try_echo=$ac_try;;
14370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14371 (eval "$ac_link") 2>conftest.er1
14373 grep -v '^ *+' conftest.er1 >conftest.err
14375 cat conftest.err >&5
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); } && {
14378 test -z "$ac_c_werror_flag" ||
14379 test ! -s conftest.err
14380 } && test -s conftest$ac_exeext &&
14381 $as_test_x conftest$ac_exeext; then
14384 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'` ;;
14385 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14388 echo "$as_me: failed program was:" >&5
14389 sed 's/^/| /' conftest.$ac_ext >&5
14394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14395 conftest$ac_exeext conftest.$ac_ext
14396 LIBS=$ac_check_soname_save_LIBS
14398 if test "x$ac_cv_lib_soname_cups" = "x"; then
14399 { echo "$as_me:$LINENO: result: not found" >&5
14400 echo "${ECHO_T}not found" >&6; }
14403 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14404 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14406 cat >>confdefs.h <<_ACEOF
14407 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14414 if test "x$ac_cv_lib_soname_cups" = "x"; then
14415 wine_notices="$wine_notices|libcups development files not found.
14416 Wine will be built without CUPS support."
14420 if test "$ac_cv_header_jack_jack_h" = "yes"
14422 { echo "$as_me:$LINENO: checking for -ljack" >&5
14423 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14424 if test "${ac_cv_lib_soname_jack+set}" = set; then
14425 echo $ECHO_N "(cached) $ECHO_C" >&6
14427 ac_check_soname_save_LIBS=$LIBS
14428 LIBS="-ljack $LIBS"
14429 cat >conftest.$ac_ext <<_ACEOF
14432 cat confdefs.h >>conftest.$ac_ext
14433 cat >>conftest.$ac_ext <<_ACEOF
14434 /* end confdefs.h. */
14436 /* Override any GCC internal prototype to avoid an error.
14437 Use char because int might match the return type of a GCC
14438 builtin and then its argument prototype would still apply. */
14442 char jack_client_new ();
14446 return jack_client_new ();
14451 rm -f conftest.$ac_objext conftest$ac_exeext
14452 if { (ac_try="$ac_link"
14453 case "(($ac_try" in
14454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14455 *) ac_try_echo=$ac_try;;
14457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14458 (eval "$ac_link") 2>conftest.er1
14460 grep -v '^ *+' conftest.er1 >conftest.err
14462 cat conftest.err >&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); } && {
14465 test -z "$ac_c_werror_flag" ||
14466 test ! -s conftest.err
14467 } && test -s conftest$ac_exeext &&
14468 $as_test_x conftest$ac_exeext; then
14471 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'` ;;
14472 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14475 echo "$as_me: failed program was:" >&5
14476 sed 's/^/| /' conftest.$ac_ext >&5
14481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14482 conftest$ac_exeext conftest.$ac_ext
14483 LIBS=$ac_check_soname_save_LIBS
14485 if test "x$ac_cv_lib_soname_jack" = "x"; then
14486 { echo "$as_me:$LINENO: result: not found" >&5
14487 echo "${ECHO_T}not found" >&6; }
14490 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14491 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14493 cat >>confdefs.h <<_ACEOF
14494 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14502 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14504 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14505 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14506 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14507 echo $ECHO_N "(cached) $ECHO_C" >&6
14509 ac_check_soname_save_LIBS=$LIBS
14510 LIBS="-lfontconfig $LIBS"
14511 cat >conftest.$ac_ext <<_ACEOF
14514 cat confdefs.h >>conftest.$ac_ext
14515 cat >>conftest.$ac_ext <<_ACEOF
14516 /* end confdefs.h. */
14518 /* Override any GCC internal prototype to avoid an error.
14519 Use char because int might match the return type of a GCC
14520 builtin and then its argument prototype would still apply. */
14533 rm -f conftest.$ac_objext conftest$ac_exeext
14534 if { (ac_try="$ac_link"
14535 case "(($ac_try" in
14536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14537 *) ac_try_echo=$ac_try;;
14539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14540 (eval "$ac_link") 2>conftest.er1
14542 grep -v '^ *+' conftest.er1 >conftest.err
14544 cat conftest.err >&5
14545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546 (exit $ac_status); } && {
14547 test -z "$ac_c_werror_flag" ||
14548 test ! -s conftest.err
14549 } && test -s conftest$ac_exeext &&
14550 $as_test_x conftest$ac_exeext; then
14553 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'` ;;
14554 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14557 echo "$as_me: failed program was:" >&5
14558 sed 's/^/| /' conftest.$ac_ext >&5
14563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14564 conftest$ac_exeext conftest.$ac_ext
14565 LIBS=$ac_check_soname_save_LIBS
14567 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14568 { echo "$as_me:$LINENO: result: not found" >&5
14569 echo "${ECHO_T}not found" >&6; }
14572 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14573 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14575 cat >>confdefs.h <<_ACEOF
14576 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14583 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14584 wine_notices="$wine_notices|fontconfig development files not found.
14585 Wine will be built without fontconfig support."
14589 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14591 { echo "$as_me:$LINENO: checking for -lssl" >&5
14592 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14593 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14594 echo $ECHO_N "(cached) $ECHO_C" >&6
14596 ac_check_soname_save_LIBS=$LIBS
14598 cat >conftest.$ac_ext <<_ACEOF
14601 cat confdefs.h >>conftest.$ac_ext
14602 cat >>conftest.$ac_ext <<_ACEOF
14603 /* end confdefs.h. */
14605 /* Override any GCC internal prototype to avoid an error.
14606 Use char because int might match the return type of a GCC
14607 builtin and then its argument prototype would still apply. */
14611 char SSL_library_init ();
14615 return SSL_library_init ();
14620 rm -f conftest.$ac_objext conftest$ac_exeext
14621 if { (ac_try="$ac_link"
14622 case "(($ac_try" in
14623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14624 *) ac_try_echo=$ac_try;;
14626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14627 (eval "$ac_link") 2>conftest.er1
14629 grep -v '^ *+' conftest.er1 >conftest.err
14631 cat conftest.err >&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); } && {
14634 test -z "$ac_c_werror_flag" ||
14635 test ! -s conftest.err
14636 } && test -s conftest$ac_exeext &&
14637 $as_test_x conftest$ac_exeext; then
14640 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'` ;;
14641 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14644 echo "$as_me: failed program was:" >&5
14645 sed 's/^/| /' conftest.$ac_ext >&5
14650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14651 conftest$ac_exeext conftest.$ac_ext
14652 LIBS=$ac_check_soname_save_LIBS
14654 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14655 { echo "$as_me:$LINENO: result: not found" >&5
14656 echo "${ECHO_T}not found" >&6; }
14659 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14660 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14662 cat >>confdefs.h <<_ACEOF
14663 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14669 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14670 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14671 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14672 echo $ECHO_N "(cached) $ECHO_C" >&6
14674 ac_check_soname_save_LIBS=$LIBS
14675 LIBS="-lcrypto $LIBS"
14676 cat >conftest.$ac_ext <<_ACEOF
14679 cat confdefs.h >>conftest.$ac_ext
14680 cat >>conftest.$ac_ext <<_ACEOF
14681 /* end confdefs.h. */
14683 /* Override any GCC internal prototype to avoid an error.
14684 Use char because int might match the return type of a GCC
14685 builtin and then its argument prototype would still apply. */
14689 char BIO_new_socket ();
14693 return BIO_new_socket ();
14698 rm -f conftest.$ac_objext conftest$ac_exeext
14699 if { (ac_try="$ac_link"
14700 case "(($ac_try" in
14701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14702 *) ac_try_echo=$ac_try;;
14704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14705 (eval "$ac_link") 2>conftest.er1
14707 grep -v '^ *+' conftest.er1 >conftest.err
14709 cat conftest.err >&5
14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); } && {
14712 test -z "$ac_c_werror_flag" ||
14713 test ! -s conftest.err
14714 } && test -s conftest$ac_exeext &&
14715 $as_test_x conftest$ac_exeext; then
14718 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'` ;;
14719 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14722 echo "$as_me: failed program was:" >&5
14723 sed 's/^/| /' conftest.$ac_ext >&5
14728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14729 conftest$ac_exeext conftest.$ac_ext
14730 LIBS=$ac_check_soname_save_LIBS
14732 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14733 { echo "$as_me:$LINENO: result: not found" >&5
14734 echo "${ECHO_T}not found" >&6; }
14737 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14738 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14740 cat >>confdefs.h <<_ACEOF
14741 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14748 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14749 wine_notices="$wine_notices|OpenSSL development files not found.
14750 Wine will be built without SSL support. (wininet.dll)"
14754 if test "$ac_cv_header_jpeglib_h" = "yes"
14756 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14757 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14758 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14759 echo $ECHO_N "(cached) $ECHO_C" >&6
14761 ac_check_soname_save_LIBS=$LIBS
14762 LIBS="-ljpeg $LIBS"
14763 cat >conftest.$ac_ext <<_ACEOF
14766 cat confdefs.h >>conftest.$ac_ext
14767 cat >>conftest.$ac_ext <<_ACEOF
14768 /* end confdefs.h. */
14770 /* Override any GCC internal prototype to avoid an error.
14771 Use char because int might match the return type of a GCC
14772 builtin and then its argument prototype would still apply. */
14776 char jpeg_start_decompress ();
14780 return jpeg_start_decompress ();
14785 rm -f conftest.$ac_objext conftest$ac_exeext
14786 if { (ac_try="$ac_link"
14787 case "(($ac_try" in
14788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14789 *) ac_try_echo=$ac_try;;
14791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14792 (eval "$ac_link") 2>conftest.er1
14794 grep -v '^ *+' conftest.er1 >conftest.err
14796 cat conftest.err >&5
14797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); } && {
14799 test -z "$ac_c_werror_flag" ||
14800 test ! -s conftest.err
14801 } && test -s conftest$ac_exeext &&
14802 $as_test_x conftest$ac_exeext; then
14805 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'` ;;
14806 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14809 echo "$as_me: failed program was:" >&5
14810 sed 's/^/| /' conftest.$ac_ext >&5
14815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14816 conftest$ac_exeext conftest.$ac_ext
14817 LIBS=$ac_check_soname_save_LIBS
14819 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14820 { echo "$as_me:$LINENO: result: not found" >&5
14821 echo "${ECHO_T}not found" >&6; }
14824 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14825 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14827 cat >>confdefs.h <<_ACEOF
14828 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14835 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14836 wine_notices="$wine_notices|libjpeg development files not found.
14837 Wine will be built without JPEG support. (oleaut32.dll)"
14841 if test "$ac_cv_header_png_h" = "yes"
14843 { echo "$as_me:$LINENO: checking for -lpng" >&5
14844 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14845 if test "${ac_cv_lib_soname_png+set}" = set; then
14846 echo $ECHO_N "(cached) $ECHO_C" >&6
14848 ac_check_soname_save_LIBS=$LIBS
14850 cat >conftest.$ac_ext <<_ACEOF
14853 cat confdefs.h >>conftest.$ac_ext
14854 cat >>conftest.$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14857 /* Override any GCC internal prototype to avoid an error.
14858 Use char because int might match the return type of a GCC
14859 builtin and then its argument prototype would still apply. */
14863 char png_create_read_struct ();
14867 return png_create_read_struct ();
14872 rm -f conftest.$ac_objext conftest$ac_exeext
14873 if { (ac_try="$ac_link"
14874 case "(($ac_try" in
14875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14876 *) ac_try_echo=$ac_try;;
14878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14879 (eval "$ac_link") 2>conftest.er1
14881 grep -v '^ *+' conftest.er1 >conftest.err
14883 cat conftest.err >&5
14884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14885 (exit $ac_status); } && {
14886 test -z "$ac_c_werror_flag" ||
14887 test ! -s conftest.err
14888 } && test -s conftest$ac_exeext &&
14889 $as_test_x conftest$ac_exeext; then
14892 dylib) ac_cv_lib_soname_png=`otool -L conftest$ac_exeext | grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14893 *) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14896 echo "$as_me: failed program was:" >&5
14897 sed 's/^/| /' conftest.$ac_ext >&5
14902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14903 conftest$ac_exeext conftest.$ac_ext
14904 LIBS=$ac_check_soname_save_LIBS
14906 if test "x$ac_cv_lib_soname_png" = "x"; then
14907 { echo "$as_me:$LINENO: result: not found" >&5
14908 echo "${ECHO_T}not found" >&6; }
14911 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14912 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14914 cat >>confdefs.h <<_ACEOF
14915 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14922 if test "x$ac_cv_lib_soname_png" = "x"; then
14923 wine_notices="$wine_notices|libpng development files not found.
14924 Wine will be built without PNG support. (oleaut32.dll)"
14928 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
14929 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
14930 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
14931 "$ac_cv_header_soundcard_h" != "yes"; then
14932 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
14939 if test "x${GCC}" = "xyes"
14941 EXTRACFLAGS="-Wall -pipe"
14943 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14944 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14945 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14946 echo $ECHO_N "(cached) $ECHO_C" >&6
14948 if test "$cross_compiling" = yes; then
14949 ac_cv_c_gcc_strength_bug="yes"
14951 cat >conftest.$ac_ext <<_ACEOF
14954 cat confdefs.h >>conftest.$ac_ext
14955 cat >>conftest.$ac_ext <<_ACEOF
14956 /* end confdefs.h. */
14957 int L[4] = {0,1,2,3};
14961 static int Array[3];
14962 unsigned int B = 3;
14964 for(i=0; i<B; i++) Array[i] = i - 3;
14965 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14967 exit( Array[1] != -2 || L[2] != 3)
14972 rm -f conftest$ac_exeext
14973 if { (ac_try="$ac_link"
14974 case "(($ac_try" in
14975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14976 *) ac_try_echo=$ac_try;;
14978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14979 (eval "$ac_link") 2>&5
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14983 { (case "(($ac_try" in
14984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14985 *) ac_try_echo=$ac_try;;
14987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14988 (eval "$ac_try") 2>&5
14990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14991 (exit $ac_status); }; }; then
14992 ac_cv_c_gcc_strength_bug="no"
14994 echo "$as_me: program exited with status $ac_status" >&5
14995 echo "$as_me: failed program was:" >&5
14996 sed 's/^/| /' conftest.$ac_ext >&5
14998 ( exit $ac_status )
14999 ac_cv_c_gcc_strength_bug="yes"
15001 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15006 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15007 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15008 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15010 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15014 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15015 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15016 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15017 echo $ECHO_N "(cached) $ECHO_C" >&6
15019 ac_wine_try_cflags_saved=$CFLAGS
15020 CFLAGS="$CFLAGS -fshort-wchar"
15021 cat >conftest.$ac_ext <<_ACEOF
15024 cat confdefs.h >>conftest.$ac_ext
15025 cat >>conftest.$ac_ext <<_ACEOF
15026 /* end confdefs.h. */
15036 rm -f conftest.$ac_objext conftest$ac_exeext
15037 if { (ac_try="$ac_link"
15038 case "(($ac_try" in
15039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15040 *) ac_try_echo=$ac_try;;
15042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15043 (eval "$ac_link") 2>conftest.er1
15045 grep -v '^ *+' conftest.er1 >conftest.err
15047 cat conftest.err >&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); } && {
15050 test -z "$ac_c_werror_flag" ||
15051 test ! -s conftest.err
15052 } && test -s conftest$ac_exeext &&
15053 $as_test_x conftest$ac_exeext; then
15054 ac_cv_cflags__fshort_wchar=yes
15056 echo "$as_me: failed program was:" >&5
15057 sed 's/^/| /' conftest.$ac_ext >&5
15059 ac_cv_cflags__fshort_wchar=no
15062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15063 conftest$ac_exeext conftest.$ac_ext
15064 CFLAGS=$ac_wine_try_cflags_saved
15066 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15067 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15068 if test $ac_cv_cflags__fshort_wchar = yes; then
15070 cat >>confdefs.h <<\_ACEOF
15071 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15076 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15077 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15078 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15079 echo $ECHO_N "(cached) $ECHO_C" >&6
15081 ac_wine_try_cflags_saved=$CFLAGS
15082 CFLAGS="$CFLAGS -fno-strict-aliasing"
15083 cat >conftest.$ac_ext <<_ACEOF
15086 cat confdefs.h >>conftest.$ac_ext
15087 cat >>conftest.$ac_ext <<_ACEOF
15088 /* end confdefs.h. */
15098 rm -f conftest.$ac_objext conftest$ac_exeext
15099 if { (ac_try="$ac_link"
15100 case "(($ac_try" in
15101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15102 *) ac_try_echo=$ac_try;;
15104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15105 (eval "$ac_link") 2>conftest.er1
15107 grep -v '^ *+' conftest.er1 >conftest.err
15109 cat conftest.err >&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); } && {
15112 test -z "$ac_c_werror_flag" ||
15113 test ! -s conftest.err
15114 } && test -s conftest$ac_exeext &&
15115 $as_test_x conftest$ac_exeext; then
15116 ac_cv_cflags__fno_strict_aliasing=yes
15118 echo "$as_me: failed program was:" >&5
15119 sed 's/^/| /' conftest.$ac_ext >&5
15121 ac_cv_cflags__fno_strict_aliasing=no
15124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15125 conftest$ac_exeext conftest.$ac_ext
15126 CFLAGS=$ac_wine_try_cflags_saved
15128 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15129 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15130 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15131 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15134 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15135 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15136 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15137 echo $ECHO_N "(cached) $ECHO_C" >&6
15139 ac_wine_try_cflags_saved=$CFLAGS
15140 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15141 cat >conftest.$ac_ext <<_ACEOF
15144 cat confdefs.h >>conftest.$ac_ext
15145 cat >>conftest.$ac_ext <<_ACEOF
15146 /* end confdefs.h. */
15156 rm -f conftest.$ac_objext conftest$ac_exeext
15157 if { (ac_try="$ac_link"
15158 case "(($ac_try" in
15159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15160 *) ac_try_echo=$ac_try;;
15162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15163 (eval "$ac_link") 2>conftest.er1
15165 grep -v '^ *+' conftest.er1 >conftest.err
15167 cat conftest.err >&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); } && {
15170 test -z "$ac_c_werror_flag" ||
15171 test ! -s conftest.err
15172 } && test -s conftest$ac_exeext &&
15173 $as_test_x conftest$ac_exeext; then
15174 ac_cv_cflags__Wdeclaration_after_statement=yes
15176 echo "$as_me: failed program was:" >&5
15177 sed 's/^/| /' conftest.$ac_ext >&5
15179 ac_cv_cflags__Wdeclaration_after_statement=no
15182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15183 conftest$ac_exeext conftest.$ac_ext
15184 CFLAGS=$ac_wine_try_cflags_saved
15186 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15187 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15188 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15189 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15192 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15193 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15194 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15195 echo $ECHO_N "(cached) $ECHO_C" >&6
15197 ac_wine_try_cflags_saved=$CFLAGS
15198 CFLAGS="$CFLAGS -Wwrite-strings"
15199 cat >conftest.$ac_ext <<_ACEOF
15202 cat confdefs.h >>conftest.$ac_ext
15203 cat >>conftest.$ac_ext <<_ACEOF
15204 /* end confdefs.h. */
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
15232 ac_cv_cflags__Wwrite_strings=yes
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.$ac_ext >&5
15237 ac_cv_cflags__Wwrite_strings=no
15240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15241 conftest$ac_exeext conftest.$ac_ext
15242 CFLAGS=$ac_wine_try_cflags_saved
15244 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15245 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15246 if test $ac_cv_cflags__Wwrite_strings = yes; then
15247 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15251 saved_CFLAGS="$CFLAGS"
15252 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15253 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15254 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15255 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15256 echo $ECHO_N "(cached) $ECHO_C" >&6
15258 cat >conftest.$ac_ext <<_ACEOF
15261 cat confdefs.h >>conftest.$ac_ext
15262 cat >>conftest.$ac_ext <<_ACEOF
15263 /* end confdefs.h. */
15264 #include <string.h>
15273 rm -f conftest.$ac_objext
15274 if { (ac_try="$ac_compile"
15275 case "(($ac_try" in
15276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15277 *) ac_try_echo=$ac_try;;
15279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15280 (eval "$ac_compile") 2>conftest.er1
15282 grep -v '^ *+' conftest.er1 >conftest.err
15284 cat conftest.err >&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); } && {
15287 test -z "$ac_c_werror_flag" ||
15288 test ! -s conftest.err
15289 } && test -s conftest.$ac_objext; then
15290 ac_cv_c_string_h_warnings=no
15292 echo "$as_me: failed program was:" >&5
15293 sed 's/^/| /' conftest.$ac_ext >&5
15295 ac_cv_c_string_h_warnings=yes
15298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15300 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15301 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15302 CFLAGS="$saved_CFLAGS"
15303 if test "$ac_cv_c_string_h_warnings" = "no"
15305 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15310 saved_CFLAGS="$CFLAGS"
15311 CFLAGS="$CFLAGS -Werror"
15312 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15313 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15314 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15315 echo $ECHO_N "(cached) $ECHO_C" >&6
15317 cat >conftest.$ac_ext <<_ACEOF
15320 cat confdefs.h >>conftest.$ac_ext
15321 cat >>conftest.$ac_ext <<_ACEOF
15322 /* end confdefs.h. */
15327 int iswlower(unsigned short);
15332 rm -f conftest.$ac_objext
15333 if { (ac_try="$ac_compile"
15334 case "(($ac_try" in
15335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15336 *) ac_try_echo=$ac_try;;
15338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15339 (eval "$ac_compile") 2>conftest.er1
15341 grep -v '^ *+' conftest.er1 >conftest.err
15343 cat conftest.err >&5
15344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15345 (exit $ac_status); } && {
15346 test -z "$ac_c_werror_flag" ||
15347 test ! -s conftest.err
15348 } && test -s conftest.$ac_objext; then
15349 ac_cv_c_builtin_wchar_ctype=no
15351 echo "$as_me: failed program was:" >&5
15352 sed 's/^/| /' conftest.$ac_ext >&5
15354 ac_cv_c_builtin_wchar_ctype=yes
15357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15359 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15360 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15361 CFLAGS="$saved_CFLAGS"
15362 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15364 BUILTINFLAG="-fno-builtin"
15369 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15370 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15371 if test "${ac_cv_asm_func_def+set}" = set; then
15372 echo $ECHO_N "(cached) $ECHO_C" >&6
15374 cat >conftest.$ac_ext <<_ACEOF
15377 cat confdefs.h >>conftest.$ac_ext
15378 cat >>conftest.$ac_ext <<_ACEOF
15379 /* end confdefs.h. */
15384 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15389 rm -f conftest.$ac_objext conftest$ac_exeext
15390 if { (ac_try="$ac_link"
15391 case "(($ac_try" in
15392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15393 *) ac_try_echo=$ac_try;;
15395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15396 (eval "$ac_link") 2>conftest.er1
15398 grep -v '^ *+' conftest.er1 >conftest.err
15400 cat conftest.err >&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); } && {
15403 test -z "$ac_c_werror_flag" ||
15404 test ! -s conftest.err
15405 } && test -s conftest$ac_exeext &&
15406 $as_test_x conftest$ac_exeext; then
15407 ac_cv_asm_func_def=".def"
15409 echo "$as_me: failed program was:" >&5
15410 sed 's/^/| /' conftest.$ac_ext >&5
15412 cat >conftest.$ac_ext <<_ACEOF
15415 cat confdefs.h >>conftest.$ac_ext
15416 cat >>conftest.$ac_ext <<_ACEOF
15417 /* end confdefs.h. */
15422 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15427 rm -f conftest.$ac_objext conftest$ac_exeext
15428 if { (ac_try="$ac_link"
15429 case "(($ac_try" in
15430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15431 *) ac_try_echo=$ac_try;;
15433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15434 (eval "$ac_link") 2>conftest.er1
15436 grep -v '^ *+' conftest.er1 >conftest.err
15438 cat conftest.err >&5
15439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15440 (exit $ac_status); } && {
15441 test -z "$ac_c_werror_flag" ||
15442 test ! -s conftest.err
15443 } && test -s conftest$ac_exeext &&
15444 $as_test_x conftest$ac_exeext; then
15445 ac_cv_asm_func_def=".type @function"
15447 echo "$as_me: failed program was:" >&5
15448 sed 's/^/| /' conftest.$ac_ext >&5
15450 cat >conftest.$ac_ext <<_ACEOF
15453 cat confdefs.h >>conftest.$ac_ext
15454 cat >>conftest.$ac_ext <<_ACEOF
15455 /* end confdefs.h. */
15460 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15465 rm -f conftest.$ac_objext conftest$ac_exeext
15466 if { (ac_try="$ac_link"
15467 case "(($ac_try" in
15468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15469 *) ac_try_echo=$ac_try;;
15471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15472 (eval "$ac_link") 2>conftest.er1
15474 grep -v '^ *+' conftest.er1 >conftest.err
15476 cat conftest.err >&5
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); } && {
15479 test -z "$ac_c_werror_flag" ||
15480 test ! -s conftest.err
15481 } && test -s conftest$ac_exeext &&
15482 $as_test_x conftest$ac_exeext; then
15483 ac_cv_asm_func_def=".type 2"
15485 echo "$as_me: failed program was:" >&5
15486 sed 's/^/| /' conftest.$ac_ext >&5
15488 ac_cv_asm_func_def="unknown"
15491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15492 conftest$ac_exeext conftest.$ac_ext
15495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15496 conftest$ac_exeext conftest.$ac_ext
15499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15500 conftest$ac_exeext conftest.$ac_ext
15502 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15503 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15507 case "$ac_cv_asm_func_def" in
15509 cat >>confdefs.h <<\_ACEOF
15510 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15514 cat >>confdefs.h <<\_ACEOF
15515 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15519 cat >>confdefs.h <<\_ACEOF
15520 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15524 cat >>confdefs.h <<\_ACEOF
15525 #define __ASM_FUNC(name) ""
15531 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15532 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15533 if test "${ac_cv_c_extern_prefix+set}" = set; then
15534 echo $ECHO_N "(cached) $ECHO_C" >&6
15536 cat >conftest.$ac_ext <<_ACEOF
15539 cat confdefs.h >>conftest.$ac_ext
15540 cat >>conftest.$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15542 extern int ac_test;
15546 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15551 rm -f conftest.$ac_objext conftest$ac_exeext
15552 if { (ac_try="$ac_link"
15553 case "(($ac_try" in
15554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15555 *) ac_try_echo=$ac_try;;
15557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15558 (eval "$ac_link") 2>conftest.er1
15560 grep -v '^ *+' conftest.er1 >conftest.err
15562 cat conftest.err >&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); } && {
15565 test -z "$ac_c_werror_flag" ||
15566 test ! -s conftest.err
15567 } && test -s conftest$ac_exeext &&
15568 $as_test_x conftest$ac_exeext; then
15569 ac_cv_c_extern_prefix="yes"
15571 echo "$as_me: failed program was:" >&5
15572 sed 's/^/| /' conftest.$ac_ext >&5
15574 ac_cv_c_extern_prefix="no"
15577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15578 conftest$ac_exeext conftest.$ac_ext
15580 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15581 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15585 if test "$ac_cv_c_extern_prefix" = "yes"
15587 cat >>confdefs.h <<\_ACEOF
15588 #define __ASM_NAME(name) "_" name
15592 cat >>confdefs.h <<\_ACEOF
15593 #define __ASM_NAME(name) name
15603 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15607 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15609 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15613 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15621 SOCKETLIBS="-lws2_32"
15626 MAIN_BINARY="wine-pthread"
15630 linux* | k*bsd*-gnu)
15631 MAIN_BINARY="wine-glibc"
15633 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15766 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15768 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15769 echo $ECHO_N "(cached) $ECHO_C" >&6
15771 cat >conftest.$ac_ext <<_ACEOF
15774 cat confdefs.h >>conftest.$ac_ext
15775 cat >>conftest.$ac_ext <<_ACEOF
15776 /* end confdefs.h. */
15777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15779 #define $ac_func innocuous_$ac_func
15781 /* System header to define __stub macros and hopefully few prototypes,
15782 which can conflict with char $ac_func (); below.
15783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15784 <limits.h> exists even on freestanding compilers. */
15787 # include <limits.h>
15789 # include <assert.h>
15794 /* Override any GCC internal prototype to avoid an error.
15795 Use char because int might match the return type of a GCC
15796 builtin and then its argument prototype would still apply. */
15801 /* The GNU C library defines this for functions which it implements
15802 to always fail with ENOSYS. Some functions are actually named
15803 something starting with __ and the normal name is an alias. */
15804 #if defined __stub_$ac_func || defined __stub___$ac_func
15811 return $ac_func ();
15816 rm -f conftest.$ac_objext conftest$ac_exeext
15817 if { (ac_try="$ac_link"
15818 case "(($ac_try" in
15819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15820 *) ac_try_echo=$ac_try;;
15822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15823 (eval "$ac_link") 2>conftest.er1
15825 grep -v '^ *+' conftest.er1 >conftest.err
15827 cat conftest.err >&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); } && {
15830 test -z "$ac_c_werror_flag" ||
15831 test ! -s conftest.err
15832 } && test -s conftest$ac_exeext &&
15833 $as_test_x conftest$ac_exeext; then
15834 eval "$as_ac_var=yes"
15836 echo "$as_me: failed program was:" >&5
15837 sed 's/^/| /' conftest.$ac_ext >&5
15839 eval "$as_ac_var=no"
15842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15843 conftest$ac_exeext conftest.$ac_ext
15845 ac_res=`eval echo '${'$as_ac_var'}'`
15846 { echo "$as_me:$LINENO: result: $ac_res" >&5
15847 echo "${ECHO_T}$ac_res" >&6; }
15848 if test `eval echo '${'$as_ac_var'}'` = yes; then
15849 cat >>confdefs.h <<_ACEOF
15850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15857 if test "$ac_cv_func_dlopen" = no
15859 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15860 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15861 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15862 echo $ECHO_N "(cached) $ECHO_C" >&6
15864 ac_check_lib_save_LIBS=$LIBS
15866 cat >conftest.$ac_ext <<_ACEOF
15869 cat confdefs.h >>conftest.$ac_ext
15870 cat >>conftest.$ac_ext <<_ACEOF
15871 /* end confdefs.h. */
15873 /* Override any GCC internal prototype to avoid an error.
15874 Use char because int might match the return type of a GCC
15875 builtin and then its argument prototype would still apply. */
15888 rm -f conftest.$ac_objext conftest$ac_exeext
15889 if { (ac_try="$ac_link"
15890 case "(($ac_try" in
15891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15892 *) ac_try_echo=$ac_try;;
15894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15895 (eval "$ac_link") 2>conftest.er1
15897 grep -v '^ *+' conftest.er1 >conftest.err
15899 cat conftest.err >&5
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); } && {
15902 test -z "$ac_c_werror_flag" ||
15903 test ! -s conftest.err
15904 } && test -s conftest$ac_exeext &&
15905 $as_test_x conftest$ac_exeext; then
15906 ac_cv_lib_dl_dlopen=yes
15908 echo "$as_me: failed program was:" >&5
15909 sed 's/^/| /' conftest.$ac_ext >&5
15911 ac_cv_lib_dl_dlopen=no
15914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15915 conftest$ac_exeext conftest.$ac_ext
15916 LIBS=$ac_check_lib_save_LIBS
15918 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15919 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15920 if test $ac_cv_lib_dl_dlopen = yes; then
15921 cat >>confdefs.h <<\_ACEOF
15922 #define HAVE_DLOPEN 1
15929 ac_wine_check_funcs_save_LIBS="$LIBS"
15930 LIBS="$LIBS $LIBDL"
15932 for ac_func in dladdr
15934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15935 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15938 echo $ECHO_N "(cached) $ECHO_C" >&6
15940 cat >conftest.$ac_ext <<_ACEOF
15943 cat confdefs.h >>conftest.$ac_ext
15944 cat >>conftest.$ac_ext <<_ACEOF
15945 /* end confdefs.h. */
15946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15948 #define $ac_func innocuous_$ac_func
15950 /* System header to define __stub macros and hopefully few prototypes,
15951 which can conflict with char $ac_func (); below.
15952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15953 <limits.h> exists even on freestanding compilers. */
15956 # include <limits.h>
15958 # include <assert.h>
15963 /* Override any GCC internal prototype to avoid an error.
15964 Use char because int might match the return type of a GCC
15965 builtin and then its argument prototype would still apply. */
15970 /* The GNU C library defines this for functions which it implements
15971 to always fail with ENOSYS. Some functions are actually named
15972 something starting with __ and the normal name is an alias. */
15973 #if defined __stub_$ac_func || defined __stub___$ac_func
15980 return $ac_func ();
15985 rm -f conftest.$ac_objext conftest$ac_exeext
15986 if { (ac_try="$ac_link"
15987 case "(($ac_try" in
15988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15989 *) ac_try_echo=$ac_try;;
15991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15992 (eval "$ac_link") 2>conftest.er1
15994 grep -v '^ *+' conftest.er1 >conftest.err
15996 cat conftest.err >&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); } && {
15999 test -z "$ac_c_werror_flag" ||
16000 test ! -s conftest.err
16001 } && test -s conftest$ac_exeext &&
16002 $as_test_x conftest$ac_exeext; then
16003 eval "$as_ac_var=yes"
16005 echo "$as_me: failed program was:" >&5
16006 sed 's/^/| /' conftest.$ac_ext >&5
16008 eval "$as_ac_var=no"
16011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16012 conftest$ac_exeext conftest.$ac_ext
16014 ac_res=`eval echo '${'$as_ac_var'}'`
16015 { echo "$as_me:$LINENO: result: $ac_res" >&5
16016 echo "${ECHO_T}$ac_res" >&6; }
16017 if test `eval echo '${'$as_ac_var'}'` = yes; then
16018 cat >>confdefs.h <<_ACEOF
16019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16025 LIBS="$ac_wine_check_funcs_save_LIBS"
16027 if test "$ac_cv_func_poll" = no
16029 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16030 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16031 if test "${ac_cv_lib_poll_poll+set}" = set; then
16032 echo $ECHO_N "(cached) $ECHO_C" >&6
16034 ac_check_lib_save_LIBS=$LIBS
16035 LIBS="-lpoll $LIBS"
16036 cat >conftest.$ac_ext <<_ACEOF
16039 cat confdefs.h >>conftest.$ac_ext
16040 cat >>conftest.$ac_ext <<_ACEOF
16041 /* end confdefs.h. */
16043 /* Override any GCC internal prototype to avoid an error.
16044 Use char because int might match the return type of a GCC
16045 builtin and then its argument prototype would still apply. */
16058 rm -f conftest.$ac_objext conftest$ac_exeext
16059 if { (ac_try="$ac_link"
16060 case "(($ac_try" in
16061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16062 *) ac_try_echo=$ac_try;;
16064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16065 (eval "$ac_link") 2>conftest.er1
16067 grep -v '^ *+' conftest.er1 >conftest.err
16069 cat conftest.err >&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } && {
16072 test -z "$ac_c_werror_flag" ||
16073 test ! -s conftest.err
16074 } && test -s conftest$ac_exeext &&
16075 $as_test_x conftest$ac_exeext; then
16076 ac_cv_lib_poll_poll=yes
16078 echo "$as_me: failed program was:" >&5
16079 sed 's/^/| /' conftest.$ac_ext >&5
16081 ac_cv_lib_poll_poll=no
16084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16085 conftest$ac_exeext conftest.$ac_ext
16086 LIBS=$ac_check_lib_save_LIBS
16088 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16089 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16090 if test $ac_cv_lib_poll_poll = yes; then
16091 cat >>confdefs.h <<\_ACEOF
16092 #define HAVE_POLL 1
16100 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16101 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16102 if test "${ac_cv_search_gethostbyname+set}" = set; then
16103 echo $ECHO_N "(cached) $ECHO_C" >&6
16105 ac_func_search_save_LIBS=$LIBS
16106 cat >conftest.$ac_ext <<_ACEOF
16109 cat confdefs.h >>conftest.$ac_ext
16110 cat >>conftest.$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16113 /* Override any GCC internal prototype to avoid an error.
16114 Use char because int might match the return type of a GCC
16115 builtin and then its argument prototype would still apply. */
16119 char gethostbyname ();
16123 return gethostbyname ();
16128 for ac_lib in '' nsl; do
16129 if test -z "$ac_lib"; then
16130 ac_res="none required"
16133 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16135 rm -f conftest.$ac_objext conftest$ac_exeext
16136 if { (ac_try="$ac_link"
16137 case "(($ac_try" in
16138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16139 *) ac_try_echo=$ac_try;;
16141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16142 (eval "$ac_link") 2>conftest.er1
16144 grep -v '^ *+' conftest.er1 >conftest.err
16146 cat conftest.err >&5
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); } && {
16149 test -z "$ac_c_werror_flag" ||
16150 test ! -s conftest.err
16151 } && test -s conftest$ac_exeext &&
16152 $as_test_x conftest$ac_exeext; then
16153 ac_cv_search_gethostbyname=$ac_res
16155 echo "$as_me: failed program was:" >&5
16156 sed 's/^/| /' conftest.$ac_ext >&5
16161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16163 if test "${ac_cv_search_gethostbyname+set}" = set; then
16167 if test "${ac_cv_search_gethostbyname+set}" = set; then
16170 ac_cv_search_gethostbyname=no
16172 rm conftest.$ac_ext
16173 LIBS=$ac_func_search_save_LIBS
16175 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16176 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16177 ac_res=$ac_cv_search_gethostbyname
16178 if test "$ac_res" != no; then
16179 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16184 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16185 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16186 if test "${ac_cv_search_connect+set}" = set; then
16187 echo $ECHO_N "(cached) $ECHO_C" >&6
16189 ac_func_search_save_LIBS=$LIBS
16190 cat >conftest.$ac_ext <<_ACEOF
16193 cat confdefs.h >>conftest.$ac_ext
16194 cat >>conftest.$ac_ext <<_ACEOF
16195 /* end confdefs.h. */
16197 /* Override any GCC internal prototype to avoid an error.
16198 Use char because int might match the return type of a GCC
16199 builtin and then its argument prototype would still apply. */
16212 for ac_lib in '' socket; do
16213 if test -z "$ac_lib"; then
16214 ac_res="none required"
16217 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16219 rm -f conftest.$ac_objext conftest$ac_exeext
16220 if { (ac_try="$ac_link"
16221 case "(($ac_try" in
16222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16223 *) ac_try_echo=$ac_try;;
16225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16226 (eval "$ac_link") 2>conftest.er1
16228 grep -v '^ *+' conftest.er1 >conftest.err
16230 cat conftest.err >&5
16231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232 (exit $ac_status); } && {
16233 test -z "$ac_c_werror_flag" ||
16234 test ! -s conftest.err
16235 } && test -s conftest$ac_exeext &&
16236 $as_test_x conftest$ac_exeext; then
16237 ac_cv_search_connect=$ac_res
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.$ac_ext >&5
16245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16247 if test "${ac_cv_search_connect+set}" = set; then
16251 if test "${ac_cv_search_connect+set}" = set; then
16254 ac_cv_search_connect=no
16256 rm conftest.$ac_ext
16257 LIBS=$ac_func_search_save_LIBS
16259 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16260 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16261 ac_res=$ac_cv_search_connect
16262 if test "$ac_res" != no; then
16263 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16268 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16269 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16270 if test "${ac_cv_search_inet_aton+set}" = set; then
16271 echo $ECHO_N "(cached) $ECHO_C" >&6
16273 ac_func_search_save_LIBS=$LIBS
16274 cat >conftest.$ac_ext <<_ACEOF
16277 cat confdefs.h >>conftest.$ac_ext
16278 cat >>conftest.$ac_ext <<_ACEOF
16279 /* end confdefs.h. */
16281 /* Override any GCC internal prototype to avoid an error.
16282 Use char because int might match the return type of a GCC
16283 builtin and then its argument prototype would still apply. */
16291 return inet_aton ();
16296 for ac_lib in '' resolv; do
16297 if test -z "$ac_lib"; then
16298 ac_res="none required"
16301 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16303 rm -f conftest.$ac_objext conftest$ac_exeext
16304 if { (ac_try="$ac_link"
16305 case "(($ac_try" in
16306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16307 *) ac_try_echo=$ac_try;;
16309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16310 (eval "$ac_link") 2>conftest.er1
16312 grep -v '^ *+' conftest.er1 >conftest.err
16314 cat conftest.err >&5
16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16316 (exit $ac_status); } && {
16317 test -z "$ac_c_werror_flag" ||
16318 test ! -s conftest.err
16319 } && test -s conftest$ac_exeext &&
16320 $as_test_x conftest$ac_exeext; then
16321 ac_cv_search_inet_aton=$ac_res
16323 echo "$as_me: failed program was:" >&5
16324 sed 's/^/| /' conftest.$ac_ext >&5
16329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16331 if test "${ac_cv_search_inet_aton+set}" = set; then
16335 if test "${ac_cv_search_inet_aton+set}" = set; then
16338 ac_cv_search_inet_aton=no
16340 rm conftest.$ac_ext
16341 LIBS=$ac_func_search_save_LIBS
16343 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16344 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16345 ac_res=$ac_cv_search_inet_aton
16346 if test "$ac_res" != no; then
16347 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16372 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16374 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16375 echo $ECHO_N "(cached) $ECHO_C" >&6
16377 cat >conftest.$ac_ext <<_ACEOF
16380 cat confdefs.h >>conftest.$ac_ext
16381 cat >>conftest.$ac_ext <<_ACEOF
16382 /* end confdefs.h. */
16383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16385 #define $ac_func innocuous_$ac_func
16387 /* System header to define __stub macros and hopefully few prototypes,
16388 which can conflict with char $ac_func (); below.
16389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16390 <limits.h> exists even on freestanding compilers. */
16393 # include <limits.h>
16395 # include <assert.h>
16400 /* Override any GCC internal prototype to avoid an error.
16401 Use char because int might match the return type of a GCC
16402 builtin and then its argument prototype would still apply. */
16407 /* The GNU C library defines this for functions which it implements
16408 to always fail with ENOSYS. Some functions are actually named
16409 something starting with __ and the normal name is an alias. */
16410 #if defined __stub_$ac_func || defined __stub___$ac_func
16417 return $ac_func ();
16422 rm -f conftest.$ac_objext conftest$ac_exeext
16423 if { (ac_try="$ac_link"
16424 case "(($ac_try" in
16425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16426 *) ac_try_echo=$ac_try;;
16428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16429 (eval "$ac_link") 2>conftest.er1
16431 grep -v '^ *+' conftest.er1 >conftest.err
16433 cat conftest.err >&5
16434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16435 (exit $ac_status); } && {
16436 test -z "$ac_c_werror_flag" ||
16437 test ! -s conftest.err
16438 } && test -s conftest$ac_exeext &&
16439 $as_test_x conftest$ac_exeext; then
16440 eval "$as_ac_var=yes"
16442 echo "$as_me: failed program was:" >&5
16443 sed 's/^/| /' conftest.$ac_ext >&5
16445 eval "$as_ac_var=no"
16448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16449 conftest$ac_exeext conftest.$ac_ext
16451 ac_res=`eval echo '${'$as_ac_var'}'`
16452 { echo "$as_me:$LINENO: result: $ac_res" >&5
16453 echo "${ECHO_T}$ac_res" >&6; }
16454 if test `eval echo '${'$as_ac_var'}'` = yes; then
16455 cat >>confdefs.h <<_ACEOF
16456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16464 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16465 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16466 if test "${ac_cv_c_const+set}" = set; then
16467 echo $ECHO_N "(cached) $ECHO_C" >&6
16469 cat >conftest.$ac_ext <<_ACEOF
16472 cat confdefs.h >>conftest.$ac_ext
16473 cat >>conftest.$ac_ext <<_ACEOF
16474 /* end confdefs.h. */
16479 /* FIXME: Include the comments suggested by Paul. */
16480 #ifndef __cplusplus
16481 /* Ultrix mips cc rejects this. */
16482 typedef int charset[2];
16484 /* SunOS 4.1.1 cc rejects this. */
16485 char const *const *pcpcc;
16487 /* NEC SVR4.0.2 mips cc rejects this. */
16488 struct point {int x, y;};
16489 static struct point const zero = {0,0};
16490 /* AIX XL C 1.02.0.0 rejects this.
16491 It does not let you subtract one const X* pointer from another in
16492 an arm of an if-expression whose if-part is not a constant
16494 const char *g = "string";
16495 pcpcc = &g + (g ? g-g : 0);
16496 /* HPUX 7.0 cc rejects these. */
16498 ppc = (char**) pcpcc;
16499 pcpcc = (char const *const *) ppc;
16500 { /* SCO 3.2v4 cc rejects this. */
16502 char const *s = 0 ? (char *) 0 : (char const *) 0;
16507 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16508 int x[] = {25, 17};
16509 const int *foo = &x[0];
16512 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16513 typedef const int *iptr;
16517 { /* AIX XL C 1.02.0.0 rejects this saying
16518 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16519 struct s { int j; const int *ap[3]; };
16520 struct s *b; b->j = 5;
16522 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16523 const int foo = 10;
16524 if (!foo) return 0;
16526 return !cs[0] && !zero.x;
16533 rm -f conftest.$ac_objext
16534 if { (ac_try="$ac_compile"
16535 case "(($ac_try" in
16536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16537 *) ac_try_echo=$ac_try;;
16539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16540 (eval "$ac_compile") 2>conftest.er1
16542 grep -v '^ *+' conftest.er1 >conftest.err
16544 cat conftest.err >&5
16545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546 (exit $ac_status); } && {
16547 test -z "$ac_c_werror_flag" ||
16548 test ! -s conftest.err
16549 } && test -s conftest.$ac_objext; then
16552 echo "$as_me: failed program was:" >&5
16553 sed 's/^/| /' conftest.$ac_ext >&5
16558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16560 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16561 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16562 if test $ac_cv_c_const = no; then
16564 cat >>confdefs.h <<\_ACEOF
16570 { echo "$as_me:$LINENO: checking for inline" >&5
16571 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16572 if test "${ac_cv_c_inline+set}" = set; then
16573 echo $ECHO_N "(cached) $ECHO_C" >&6
16576 for ac_kw in inline __inline__ __inline; do
16577 cat >conftest.$ac_ext <<_ACEOF
16580 cat confdefs.h >>conftest.$ac_ext
16581 cat >>conftest.$ac_ext <<_ACEOF
16582 /* end confdefs.h. */
16583 #ifndef __cplusplus
16585 static $ac_kw foo_t static_foo () {return 0; }
16586 $ac_kw foo_t foo () {return 0; }
16590 rm -f conftest.$ac_objext
16591 if { (ac_try="$ac_compile"
16592 case "(($ac_try" in
16593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16594 *) ac_try_echo=$ac_try;;
16596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16597 (eval "$ac_compile") 2>conftest.er1
16599 grep -v '^ *+' conftest.er1 >conftest.err
16601 cat conftest.err >&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); } && {
16604 test -z "$ac_c_werror_flag" ||
16605 test ! -s conftest.err
16606 } && test -s conftest.$ac_objext; then
16607 ac_cv_c_inline=$ac_kw
16609 echo "$as_me: failed program was:" >&5
16610 sed 's/^/| /' conftest.$ac_ext >&5
16615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16616 test "$ac_cv_c_inline" != no && break
16620 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16621 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16624 case $ac_cv_c_inline in
16627 case $ac_cv_c_inline in
16629 *) ac_val=$ac_cv_c_inline;;
16631 cat >>confdefs.h <<_ACEOF
16632 #ifndef __cplusplus
16633 #define inline $ac_val
16639 { echo "$as_me:$LINENO: checking for mode_t" >&5
16640 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16641 if test "${ac_cv_type_mode_t+set}" = set; then
16642 echo $ECHO_N "(cached) $ECHO_C" >&6
16644 cat >conftest.$ac_ext <<_ACEOF
16647 cat confdefs.h >>conftest.$ac_ext
16648 cat >>conftest.$ac_ext <<_ACEOF
16649 /* end confdefs.h. */
16650 $ac_includes_default
16651 typedef mode_t ac__type_new_;
16655 if ((ac__type_new_ *) 0)
16657 if (sizeof (ac__type_new_))
16663 rm -f conftest.$ac_objext
16664 if { (ac_try="$ac_compile"
16665 case "(($ac_try" in
16666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16667 *) ac_try_echo=$ac_try;;
16669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16670 (eval "$ac_compile") 2>conftest.er1
16672 grep -v '^ *+' conftest.er1 >conftest.err
16674 cat conftest.err >&5
16675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676 (exit $ac_status); } && {
16677 test -z "$ac_c_werror_flag" ||
16678 test ! -s conftest.err
16679 } && test -s conftest.$ac_objext; then
16680 ac_cv_type_mode_t=yes
16682 echo "$as_me: failed program was:" >&5
16683 sed 's/^/| /' conftest.$ac_ext >&5
16685 ac_cv_type_mode_t=no
16688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16690 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16691 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16692 if test $ac_cv_type_mode_t = yes; then
16694 cat >>confdefs.h <<_ACEOF
16695 #define HAVE_MODE_T 1
16700 { echo "$as_me:$LINENO: checking for off_t" >&5
16701 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16702 if test "${ac_cv_type_off_t+set}" = set; then
16703 echo $ECHO_N "(cached) $ECHO_C" >&6
16705 cat >conftest.$ac_ext <<_ACEOF
16708 cat confdefs.h >>conftest.$ac_ext
16709 cat >>conftest.$ac_ext <<_ACEOF
16710 /* end confdefs.h. */
16711 $ac_includes_default
16712 typedef off_t ac__type_new_;
16716 if ((ac__type_new_ *) 0)
16718 if (sizeof (ac__type_new_))
16724 rm -f conftest.$ac_objext
16725 if { (ac_try="$ac_compile"
16726 case "(($ac_try" in
16727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16728 *) ac_try_echo=$ac_try;;
16730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16731 (eval "$ac_compile") 2>conftest.er1
16733 grep -v '^ *+' conftest.er1 >conftest.err
16735 cat conftest.err >&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); } && {
16738 test -z "$ac_c_werror_flag" ||
16739 test ! -s conftest.err
16740 } && test -s conftest.$ac_objext; then
16741 ac_cv_type_off_t=yes
16743 echo "$as_me: failed program was:" >&5
16744 sed 's/^/| /' conftest.$ac_ext >&5
16746 ac_cv_type_off_t=no
16749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16751 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16752 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16753 if test $ac_cv_type_off_t = yes; then
16755 cat >>confdefs.h <<_ACEOF
16756 #define HAVE_OFF_T 1
16761 { echo "$as_me:$LINENO: checking for pid_t" >&5
16762 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16763 if test "${ac_cv_type_pid_t+set}" = set; then
16764 echo $ECHO_N "(cached) $ECHO_C" >&6
16766 cat >conftest.$ac_ext <<_ACEOF
16769 cat confdefs.h >>conftest.$ac_ext
16770 cat >>conftest.$ac_ext <<_ACEOF
16771 /* end confdefs.h. */
16772 $ac_includes_default
16773 typedef pid_t ac__type_new_;
16777 if ((ac__type_new_ *) 0)
16779 if (sizeof (ac__type_new_))
16785 rm -f conftest.$ac_objext
16786 if { (ac_try="$ac_compile"
16787 case "(($ac_try" in
16788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16789 *) ac_try_echo=$ac_try;;
16791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16792 (eval "$ac_compile") 2>conftest.er1
16794 grep -v '^ *+' conftest.er1 >conftest.err
16796 cat conftest.err >&5
16797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798 (exit $ac_status); } && {
16799 test -z "$ac_c_werror_flag" ||
16800 test ! -s conftest.err
16801 } && test -s conftest.$ac_objext; then
16802 ac_cv_type_pid_t=yes
16804 echo "$as_me: failed program was:" >&5
16805 sed 's/^/| /' conftest.$ac_ext >&5
16807 ac_cv_type_pid_t=no
16810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16812 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16813 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16814 if test $ac_cv_type_pid_t = yes; then
16816 cat >>confdefs.h <<_ACEOF
16817 #define HAVE_PID_T 1
16822 { echo "$as_me:$LINENO: checking for size_t" >&5
16823 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16824 if test "${ac_cv_type_size_t+set}" = set; then
16825 echo $ECHO_N "(cached) $ECHO_C" >&6
16827 cat >conftest.$ac_ext <<_ACEOF
16830 cat confdefs.h >>conftest.$ac_ext
16831 cat >>conftest.$ac_ext <<_ACEOF
16832 /* end confdefs.h. */
16833 $ac_includes_default
16834 typedef size_t ac__type_new_;
16838 if ((ac__type_new_ *) 0)
16840 if (sizeof (ac__type_new_))
16846 rm -f conftest.$ac_objext
16847 if { (ac_try="$ac_compile"
16848 case "(($ac_try" in
16849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16850 *) ac_try_echo=$ac_try;;
16852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16853 (eval "$ac_compile") 2>conftest.er1
16855 grep -v '^ *+' conftest.er1 >conftest.err
16857 cat conftest.err >&5
16858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859 (exit $ac_status); } && {
16860 test -z "$ac_c_werror_flag" ||
16861 test ! -s conftest.err
16862 } && test -s conftest.$ac_objext; then
16863 ac_cv_type_size_t=yes
16865 echo "$as_me: failed program was:" >&5
16866 sed 's/^/| /' conftest.$ac_ext >&5
16868 ac_cv_type_size_t=no
16871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16873 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16874 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16875 if test $ac_cv_type_size_t = yes; then
16877 cat >>confdefs.h <<_ACEOF
16878 #define HAVE_SIZE_T 1
16883 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16884 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16885 if test "${ac_cv_type_ssize_t+set}" = set; then
16886 echo $ECHO_N "(cached) $ECHO_C" >&6
16888 cat >conftest.$ac_ext <<_ACEOF
16891 cat confdefs.h >>conftest.$ac_ext
16892 cat >>conftest.$ac_ext <<_ACEOF
16893 /* end confdefs.h. */
16894 $ac_includes_default
16895 typedef ssize_t ac__type_new_;
16899 if ((ac__type_new_ *) 0)
16901 if (sizeof (ac__type_new_))
16907 rm -f conftest.$ac_objext
16908 if { (ac_try="$ac_compile"
16909 case "(($ac_try" in
16910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16911 *) ac_try_echo=$ac_try;;
16913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16914 (eval "$ac_compile") 2>conftest.er1
16916 grep -v '^ *+' conftest.er1 >conftest.err
16918 cat conftest.err >&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); } && {
16921 test -z "$ac_c_werror_flag" ||
16922 test ! -s conftest.err
16923 } && test -s conftest.$ac_objext; then
16924 ac_cv_type_ssize_t=yes
16926 echo "$as_me: failed program was:" >&5
16927 sed 's/^/| /' conftest.$ac_ext >&5
16929 ac_cv_type_ssize_t=no
16932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16934 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16935 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16936 if test $ac_cv_type_ssize_t = yes; then
16938 cat >>confdefs.h <<_ACEOF
16939 #define HAVE_SSIZE_T 1
16944 { echo "$as_me:$LINENO: checking for long long" >&5
16945 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16946 if test "${ac_cv_type_long_long+set}" = set; then
16947 echo $ECHO_N "(cached) $ECHO_C" >&6
16949 cat >conftest.$ac_ext <<_ACEOF
16952 cat confdefs.h >>conftest.$ac_ext
16953 cat >>conftest.$ac_ext <<_ACEOF
16954 /* end confdefs.h. */
16955 $ac_includes_default
16956 typedef long long ac__type_new_;
16960 if ((ac__type_new_ *) 0)
16962 if (sizeof (ac__type_new_))
16968 rm -f conftest.$ac_objext
16969 if { (ac_try="$ac_compile"
16970 case "(($ac_try" in
16971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16972 *) ac_try_echo=$ac_try;;
16974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16975 (eval "$ac_compile") 2>conftest.er1
16977 grep -v '^ *+' conftest.er1 >conftest.err
16979 cat conftest.err >&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } && {
16982 test -z "$ac_c_werror_flag" ||
16983 test ! -s conftest.err
16984 } && test -s conftest.$ac_objext; then
16985 ac_cv_type_long_long=yes
16987 echo "$as_me: failed program was:" >&5
16988 sed 's/^/| /' conftest.$ac_ext >&5
16990 ac_cv_type_long_long=no
16993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16995 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16996 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16997 if test $ac_cv_type_long_long = yes; then
16999 cat >>confdefs.h <<_ACEOF
17000 #define HAVE_LONG_LONG 1
17005 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17006 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17007 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17008 echo $ECHO_N "(cached) $ECHO_C" >&6
17010 cat >conftest.$ac_ext <<_ACEOF
17013 cat confdefs.h >>conftest.$ac_ext
17014 cat >>conftest.$ac_ext <<_ACEOF
17015 /* end confdefs.h. */
17016 $ac_includes_default
17017 typedef fsblkcnt_t ac__type_new_;
17021 if ((ac__type_new_ *) 0)
17023 if (sizeof (ac__type_new_))
17029 rm -f conftest.$ac_objext
17030 if { (ac_try="$ac_compile"
17031 case "(($ac_try" in
17032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17033 *) ac_try_echo=$ac_try;;
17035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17036 (eval "$ac_compile") 2>conftest.er1
17038 grep -v '^ *+' conftest.er1 >conftest.err
17040 cat conftest.err >&5
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 (exit $ac_status); } && {
17043 test -z "$ac_c_werror_flag" ||
17044 test ! -s conftest.err
17045 } && test -s conftest.$ac_objext; then
17046 ac_cv_type_fsblkcnt_t=yes
17048 echo "$as_me: failed program was:" >&5
17049 sed 's/^/| /' conftest.$ac_ext >&5
17051 ac_cv_type_fsblkcnt_t=no
17054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17056 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17057 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17058 if test $ac_cv_type_fsblkcnt_t = yes; then
17060 cat >>confdefs.h <<_ACEOF
17061 #define HAVE_FSBLKCNT_T 1
17066 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17067 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17068 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17069 echo $ECHO_N "(cached) $ECHO_C" >&6
17071 cat >conftest.$ac_ext <<_ACEOF
17074 cat confdefs.h >>conftest.$ac_ext
17075 cat >>conftest.$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17077 $ac_includes_default
17078 typedef fsfilcnt_t ac__type_new_;
17082 if ((ac__type_new_ *) 0)
17084 if (sizeof (ac__type_new_))
17090 rm -f conftest.$ac_objext
17091 if { (ac_try="$ac_compile"
17092 case "(($ac_try" in
17093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17094 *) ac_try_echo=$ac_try;;
17096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17097 (eval "$ac_compile") 2>conftest.er1
17099 grep -v '^ *+' conftest.er1 >conftest.err
17101 cat conftest.err >&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); } && {
17104 test -z "$ac_c_werror_flag" ||
17105 test ! -s conftest.err
17106 } && test -s conftest.$ac_objext; then
17107 ac_cv_type_fsfilcnt_t=yes
17109 echo "$as_me: failed program was:" >&5
17110 sed 's/^/| /' conftest.$ac_ext >&5
17112 ac_cv_type_fsfilcnt_t=no
17115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17117 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17118 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17119 if test $ac_cv_type_fsfilcnt_t = yes; then
17121 cat >>confdefs.h <<_ACEOF
17122 #define HAVE_FSFILCNT_T 1
17128 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17129 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17130 if test "${ac_cv_type_sigset_t+set}" = set; then
17131 echo $ECHO_N "(cached) $ECHO_C" >&6
17133 cat >conftest.$ac_ext <<_ACEOF
17136 cat confdefs.h >>conftest.$ac_ext
17137 cat >>conftest.$ac_ext <<_ACEOF
17138 /* end confdefs.h. */
17139 #include <signal.h>
17141 typedef sigset_t ac__type_new_;
17145 if ((ac__type_new_ *) 0)
17147 if (sizeof (ac__type_new_))
17153 rm -f conftest.$ac_objext
17154 if { (ac_try="$ac_compile"
17155 case "(($ac_try" in
17156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17157 *) ac_try_echo=$ac_try;;
17159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17160 (eval "$ac_compile") 2>conftest.er1
17162 grep -v '^ *+' conftest.er1 >conftest.err
17164 cat conftest.err >&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); } && {
17167 test -z "$ac_c_werror_flag" ||
17168 test ! -s conftest.err
17169 } && test -s conftest.$ac_objext; then
17170 ac_cv_type_sigset_t=yes
17172 echo "$as_me: failed program was:" >&5
17173 sed 's/^/| /' conftest.$ac_ext >&5
17175 ac_cv_type_sigset_t=no
17178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17180 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17181 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17182 if test $ac_cv_type_sigset_t = yes; then
17184 cat >>confdefs.h <<_ACEOF
17185 #define HAVE_SIGSET_T 1
17191 { echo "$as_me:$LINENO: checking for request_sense" >&5
17192 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17193 if test "${ac_cv_type_request_sense+set}" = set; then
17194 echo $ECHO_N "(cached) $ECHO_C" >&6
17196 cat >conftest.$ac_ext <<_ACEOF
17199 cat confdefs.h >>conftest.$ac_ext
17200 cat >>conftest.$ac_ext <<_ACEOF
17201 /* end confdefs.h. */
17202 #include <linux/cdrom.h>
17204 typedef request_sense ac__type_new_;
17208 if ((ac__type_new_ *) 0)
17210 if (sizeof (ac__type_new_))
17216 rm -f conftest.$ac_objext
17217 if { (ac_try="$ac_compile"
17218 case "(($ac_try" in
17219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17220 *) ac_try_echo=$ac_try;;
17222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17223 (eval "$ac_compile") 2>conftest.er1
17225 grep -v '^ *+' conftest.er1 >conftest.err
17227 cat conftest.err >&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); } && {
17230 test -z "$ac_c_werror_flag" ||
17231 test ! -s conftest.err
17232 } && test -s conftest.$ac_objext; then
17233 ac_cv_type_request_sense=yes
17235 echo "$as_me: failed program was:" >&5
17236 sed 's/^/| /' conftest.$ac_ext >&5
17238 ac_cv_type_request_sense=no
17241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17243 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17244 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17245 if test $ac_cv_type_request_sense = yes; then
17247 cat >>confdefs.h <<_ACEOF
17248 #define HAVE_REQUEST_SENSE 1
17255 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17256 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17257 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17258 echo $ECHO_N "(cached) $ECHO_C" >&6
17260 cat >conftest.$ac_ext <<_ACEOF
17263 cat confdefs.h >>conftest.$ac_ext
17264 cat >>conftest.$ac_ext <<_ACEOF
17265 /* end confdefs.h. */
17266 #ifdef HAVE_LINUX_INPUT_H
17267 #include <linux/input.h>
17273 static struct ff_effect ac_aggr;
17274 if (ac_aggr.direction)
17280 rm -f conftest.$ac_objext
17281 if { (ac_try="$ac_compile"
17282 case "(($ac_try" in
17283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17284 *) ac_try_echo=$ac_try;;
17286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17287 (eval "$ac_compile") 2>conftest.er1
17289 grep -v '^ *+' conftest.er1 >conftest.err
17291 cat conftest.err >&5
17292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17293 (exit $ac_status); } && {
17294 test -z "$ac_c_werror_flag" ||
17295 test ! -s conftest.err
17296 } && test -s conftest.$ac_objext; then
17297 ac_cv_member_struct_ff_effect_direction=yes
17299 echo "$as_me: failed program was:" >&5
17300 sed 's/^/| /' conftest.$ac_ext >&5
17302 cat >conftest.$ac_ext <<_ACEOF
17305 cat confdefs.h >>conftest.$ac_ext
17306 cat >>conftest.$ac_ext <<_ACEOF
17307 /* end confdefs.h. */
17308 #ifdef HAVE_LINUX_INPUT_H
17309 #include <linux/input.h>
17315 static struct ff_effect ac_aggr;
17316 if (sizeof ac_aggr.direction)
17322 rm -f conftest.$ac_objext
17323 if { (ac_try="$ac_compile"
17324 case "(($ac_try" in
17325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17326 *) ac_try_echo=$ac_try;;
17328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17329 (eval "$ac_compile") 2>conftest.er1
17331 grep -v '^ *+' conftest.er1 >conftest.err
17333 cat conftest.err >&5
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); } && {
17336 test -z "$ac_c_werror_flag" ||
17337 test ! -s conftest.err
17338 } && test -s conftest.$ac_objext; then
17339 ac_cv_member_struct_ff_effect_direction=yes
17341 echo "$as_me: failed program was:" >&5
17342 sed 's/^/| /' conftest.$ac_ext >&5
17344 ac_cv_member_struct_ff_effect_direction=no
17347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17352 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17353 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17354 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17356 cat >>confdefs.h <<_ACEOF
17357 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17364 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17365 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17366 if test "${wine_cv_have_sigaddset+set}" = set; then
17367 echo $ECHO_N "(cached) $ECHO_C" >&6
17369 cat >conftest.$ac_ext <<_ACEOF
17372 cat confdefs.h >>conftest.$ac_ext
17373 cat >>conftest.$ac_ext <<_ACEOF
17374 /* end confdefs.h. */
17375 #include <signal.h>
17379 sigset_t set; sigaddset(&set,SIGTERM);
17384 rm -f conftest.$ac_objext conftest$ac_exeext
17385 if { (ac_try="$ac_link"
17386 case "(($ac_try" in
17387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17388 *) ac_try_echo=$ac_try;;
17390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17391 (eval "$ac_link") 2>conftest.er1
17393 grep -v '^ *+' conftest.er1 >conftest.err
17395 cat conftest.err >&5
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); } && {
17398 test -z "$ac_c_werror_flag" ||
17399 test ! -s conftest.err
17400 } && test -s conftest$ac_exeext &&
17401 $as_test_x conftest$ac_exeext; then
17402 wine_cv_have_sigaddset=yes
17404 echo "$as_me: failed program was:" >&5
17405 sed 's/^/| /' conftest.$ac_ext >&5
17407 wine_cv_have_sigaddset=no
17410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17411 conftest$ac_exeext conftest.$ac_ext
17413 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17414 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17415 if test "$wine_cv_have_sigaddset" = "yes"
17418 cat >>confdefs.h <<\_ACEOF
17419 #define HAVE_SIGADDSET 1
17425 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17426 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17427 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17428 echo $ECHO_N "(cached) $ECHO_C" >&6
17430 cat >conftest.$ac_ext <<_ACEOF
17433 cat confdefs.h >>conftest.$ac_ext
17434 cat >>conftest.$ac_ext <<_ACEOF
17435 /* end confdefs.h. */
17443 struct hostent *result;
17450 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17451 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17457 rm -f conftest.$ac_objext conftest$ac_exeext
17458 if { (ac_try="$ac_link"
17459 case "(($ac_try" in
17460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17461 *) ac_try_echo=$ac_try;;
17463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17464 (eval "$ac_link") 2>conftest.er1
17466 grep -v '^ *+' conftest.er1 >conftest.err
17468 cat conftest.err >&5
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); } && {
17471 test -z "$ac_c_werror_flag" ||
17472 test ! -s conftest.err
17473 } && test -s conftest$ac_exeext &&
17474 $as_test_x conftest$ac_exeext; then
17475 wine_cv_linux_gethostbyname_r_6=yes
17477 echo "$as_me: failed program was:" >&5
17478 sed 's/^/| /' conftest.$ac_ext >&5
17480 wine_cv_linux_gethostbyname_r_6=no
17484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17485 conftest$ac_exeext conftest.$ac_ext
17488 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17489 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17490 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17493 cat >>confdefs.h <<\_ACEOF
17494 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17499 if test "$ac_cv_header_linux_joystick_h" = "yes"
17501 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17502 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17503 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17504 echo $ECHO_N "(cached) $ECHO_C" >&6
17506 cat >conftest.$ac_ext <<_ACEOF
17509 cat confdefs.h >>conftest.$ac_ext
17510 cat >>conftest.$ac_ext <<_ACEOF
17511 /* end confdefs.h. */
17513 #include <sys/ioctl.h>
17514 #include <sys/types.h>
17515 #include <linux/joystick.h>
17517 struct js_event blub;
17518 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17519 #error "no 2.2 header"
17530 rm -f conftest.$ac_objext
17531 if { (ac_try="$ac_compile"
17532 case "(($ac_try" in
17533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17534 *) ac_try_echo=$ac_try;;
17536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17537 (eval "$ac_compile") 2>conftest.er1
17539 grep -v '^ *+' conftest.er1 >conftest.err
17541 cat conftest.err >&5
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); } && {
17544 test -z "$ac_c_werror_flag" ||
17545 test ! -s conftest.err
17546 } && test -s conftest.$ac_objext; then
17547 wine_cv_linux_joystick_22_api=yes
17549 echo "$as_me: failed program was:" >&5
17550 sed 's/^/| /' conftest.$ac_ext >&5
17552 wine_cv_linux_joystick_22_api=no
17555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17558 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17559 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17560 if test "$wine_cv_linux_joystick_22_api" = "yes"
17563 cat >>confdefs.h <<\_ACEOF
17564 #define HAVE_LINUX_22_JOYSTICK_API 1
17571 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17572 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17573 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17574 echo $ECHO_N "(cached) $ECHO_C" >&6
17576 cat >conftest.$ac_ext <<_ACEOF
17579 cat confdefs.h >>conftest.$ac_ext
17580 cat >>conftest.$ac_ext <<_ACEOF
17581 /* end confdefs.h. */
17582 #include <sys/types.h>
17583 #ifdef HAVE_SYS_PARAM_H
17584 # include <sys/param.h>
17586 #ifdef HAVE_SYS_MOUNT_H
17587 # include <sys/mount.h>
17589 #ifdef HAVE_SYS_VFS_H
17590 # include <sys/vfs.h>
17592 #ifdef HAVE_SYS_STATFS_H
17593 # include <sys/statfs.h>
17599 static struct statfs ac_aggr;
17600 if (ac_aggr.f_bfree)
17606 rm -f conftest.$ac_objext
17607 if { (ac_try="$ac_compile"
17608 case "(($ac_try" in
17609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17610 *) ac_try_echo=$ac_try;;
17612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17613 (eval "$ac_compile") 2>conftest.er1
17615 grep -v '^ *+' conftest.er1 >conftest.err
17617 cat conftest.err >&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); } && {
17620 test -z "$ac_c_werror_flag" ||
17621 test ! -s conftest.err
17622 } && test -s conftest.$ac_objext; then
17623 ac_cv_member_struct_statfs_f_bfree=yes
17625 echo "$as_me: failed program was:" >&5
17626 sed 's/^/| /' conftest.$ac_ext >&5
17628 cat >conftest.$ac_ext <<_ACEOF
17631 cat confdefs.h >>conftest.$ac_ext
17632 cat >>conftest.$ac_ext <<_ACEOF
17633 /* end confdefs.h. */
17634 #include <sys/types.h>
17635 #ifdef HAVE_SYS_PARAM_H
17636 # include <sys/param.h>
17638 #ifdef HAVE_SYS_MOUNT_H
17639 # include <sys/mount.h>
17641 #ifdef HAVE_SYS_VFS_H
17642 # include <sys/vfs.h>
17644 #ifdef HAVE_SYS_STATFS_H
17645 # include <sys/statfs.h>
17651 static struct statfs ac_aggr;
17652 if (sizeof ac_aggr.f_bfree)
17658 rm -f conftest.$ac_objext
17659 if { (ac_try="$ac_compile"
17660 case "(($ac_try" in
17661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17662 *) ac_try_echo=$ac_try;;
17664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17665 (eval "$ac_compile") 2>conftest.er1
17667 grep -v '^ *+' conftest.er1 >conftest.err
17669 cat conftest.err >&5
17670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); } && {
17672 test -z "$ac_c_werror_flag" ||
17673 test ! -s conftest.err
17674 } && test -s conftest.$ac_objext; then
17675 ac_cv_member_struct_statfs_f_bfree=yes
17677 echo "$as_me: failed program was:" >&5
17678 sed 's/^/| /' conftest.$ac_ext >&5
17680 ac_cv_member_struct_statfs_f_bfree=no
17683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17688 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17689 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17690 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17692 cat >>confdefs.h <<_ACEOF
17693 #define HAVE_STRUCT_STATFS_F_BFREE 1
17698 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17699 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17700 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17701 echo $ECHO_N "(cached) $ECHO_C" >&6
17703 cat >conftest.$ac_ext <<_ACEOF
17706 cat confdefs.h >>conftest.$ac_ext
17707 cat >>conftest.$ac_ext <<_ACEOF
17708 /* end confdefs.h. */
17709 #include <sys/types.h>
17710 #ifdef HAVE_SYS_PARAM_H
17711 # include <sys/param.h>
17713 #ifdef HAVE_SYS_MOUNT_H
17714 # include <sys/mount.h>
17716 #ifdef HAVE_SYS_VFS_H
17717 # include <sys/vfs.h>
17719 #ifdef HAVE_SYS_STATFS_H
17720 # include <sys/statfs.h>
17726 static struct statfs ac_aggr;
17727 if (ac_aggr.f_bavail)
17733 rm -f conftest.$ac_objext
17734 if { (ac_try="$ac_compile"
17735 case "(($ac_try" in
17736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17737 *) ac_try_echo=$ac_try;;
17739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17740 (eval "$ac_compile") 2>conftest.er1
17742 grep -v '^ *+' conftest.er1 >conftest.err
17744 cat conftest.err >&5
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); } && {
17747 test -z "$ac_c_werror_flag" ||
17748 test ! -s conftest.err
17749 } && test -s conftest.$ac_objext; then
17750 ac_cv_member_struct_statfs_f_bavail=yes
17752 echo "$as_me: failed program was:" >&5
17753 sed 's/^/| /' conftest.$ac_ext >&5
17755 cat >conftest.$ac_ext <<_ACEOF
17758 cat confdefs.h >>conftest.$ac_ext
17759 cat >>conftest.$ac_ext <<_ACEOF
17760 /* end confdefs.h. */
17761 #include <sys/types.h>
17762 #ifdef HAVE_SYS_PARAM_H
17763 # include <sys/param.h>
17765 #ifdef HAVE_SYS_MOUNT_H
17766 # include <sys/mount.h>
17768 #ifdef HAVE_SYS_VFS_H
17769 # include <sys/vfs.h>
17771 #ifdef HAVE_SYS_STATFS_H
17772 # include <sys/statfs.h>
17778 static struct statfs ac_aggr;
17779 if (sizeof ac_aggr.f_bavail)
17785 rm -f conftest.$ac_objext
17786 if { (ac_try="$ac_compile"
17787 case "(($ac_try" in
17788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17789 *) ac_try_echo=$ac_try;;
17791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17792 (eval "$ac_compile") 2>conftest.er1
17794 grep -v '^ *+' conftest.er1 >conftest.err
17796 cat conftest.err >&5
17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798 (exit $ac_status); } && {
17799 test -z "$ac_c_werror_flag" ||
17800 test ! -s conftest.err
17801 } && test -s conftest.$ac_objext; then
17802 ac_cv_member_struct_statfs_f_bavail=yes
17804 echo "$as_me: failed program was:" >&5
17805 sed 's/^/| /' conftest.$ac_ext >&5
17807 ac_cv_member_struct_statfs_f_bavail=no
17810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17815 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17816 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17817 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17819 cat >>confdefs.h <<_ACEOF
17820 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17825 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17826 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17827 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17828 echo $ECHO_N "(cached) $ECHO_C" >&6
17830 cat >conftest.$ac_ext <<_ACEOF
17833 cat confdefs.h >>conftest.$ac_ext
17834 cat >>conftest.$ac_ext <<_ACEOF
17835 /* end confdefs.h. */
17836 #include <sys/types.h>
17837 #ifdef HAVE_SYS_PARAM_H
17838 # include <sys/param.h>
17840 #ifdef HAVE_SYS_MOUNT_H
17841 # include <sys/mount.h>
17843 #ifdef HAVE_SYS_VFS_H
17844 # include <sys/vfs.h>
17846 #ifdef HAVE_SYS_STATFS_H
17847 # include <sys/statfs.h>
17853 static struct statfs ac_aggr;
17854 if (ac_aggr.f_frsize)
17860 rm -f conftest.$ac_objext
17861 if { (ac_try="$ac_compile"
17862 case "(($ac_try" in
17863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17864 *) ac_try_echo=$ac_try;;
17866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17867 (eval "$ac_compile") 2>conftest.er1
17869 grep -v '^ *+' conftest.er1 >conftest.err
17871 cat conftest.err >&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); } && {
17874 test -z "$ac_c_werror_flag" ||
17875 test ! -s conftest.err
17876 } && test -s conftest.$ac_objext; then
17877 ac_cv_member_struct_statfs_f_frsize=yes
17879 echo "$as_me: failed program was:" >&5
17880 sed 's/^/| /' conftest.$ac_ext >&5
17882 cat >conftest.$ac_ext <<_ACEOF
17885 cat confdefs.h >>conftest.$ac_ext
17886 cat >>conftest.$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888 #include <sys/types.h>
17889 #ifdef HAVE_SYS_PARAM_H
17890 # include <sys/param.h>
17892 #ifdef HAVE_SYS_MOUNT_H
17893 # include <sys/mount.h>
17895 #ifdef HAVE_SYS_VFS_H
17896 # include <sys/vfs.h>
17898 #ifdef HAVE_SYS_STATFS_H
17899 # include <sys/statfs.h>
17905 static struct statfs ac_aggr;
17906 if (sizeof ac_aggr.f_frsize)
17912 rm -f conftest.$ac_objext
17913 if { (ac_try="$ac_compile"
17914 case "(($ac_try" in
17915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17916 *) ac_try_echo=$ac_try;;
17918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17919 (eval "$ac_compile") 2>conftest.er1
17921 grep -v '^ *+' conftest.er1 >conftest.err
17923 cat conftest.err >&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); } && {
17926 test -z "$ac_c_werror_flag" ||
17927 test ! -s conftest.err
17928 } && test -s conftest.$ac_objext; then
17929 ac_cv_member_struct_statfs_f_frsize=yes
17931 echo "$as_me: failed program was:" >&5
17932 sed 's/^/| /' conftest.$ac_ext >&5
17934 ac_cv_member_struct_statfs_f_frsize=no
17937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17942 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17943 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17944 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17946 cat >>confdefs.h <<_ACEOF
17947 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17952 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17953 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17954 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17955 echo $ECHO_N "(cached) $ECHO_C" >&6
17957 cat >conftest.$ac_ext <<_ACEOF
17960 cat confdefs.h >>conftest.$ac_ext
17961 cat >>conftest.$ac_ext <<_ACEOF
17962 /* end confdefs.h. */
17963 #include <sys/types.h>
17964 #ifdef HAVE_SYS_PARAM_H
17965 # include <sys/param.h>
17967 #ifdef HAVE_SYS_MOUNT_H
17968 # include <sys/mount.h>
17970 #ifdef HAVE_SYS_VFS_H
17971 # include <sys/vfs.h>
17973 #ifdef HAVE_SYS_STATFS_H
17974 # include <sys/statfs.h>
17980 static struct statfs ac_aggr;
17981 if (ac_aggr.f_ffree)
17987 rm -f conftest.$ac_objext
17988 if { (ac_try="$ac_compile"
17989 case "(($ac_try" in
17990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17991 *) ac_try_echo=$ac_try;;
17993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17994 (eval "$ac_compile") 2>conftest.er1
17996 grep -v '^ *+' conftest.er1 >conftest.err
17998 cat conftest.err >&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } && {
18001 test -z "$ac_c_werror_flag" ||
18002 test ! -s conftest.err
18003 } && test -s conftest.$ac_objext; then
18004 ac_cv_member_struct_statfs_f_ffree=yes
18006 echo "$as_me: failed program was:" >&5
18007 sed 's/^/| /' conftest.$ac_ext >&5
18009 cat >conftest.$ac_ext <<_ACEOF
18012 cat confdefs.h >>conftest.$ac_ext
18013 cat >>conftest.$ac_ext <<_ACEOF
18014 /* end confdefs.h. */
18015 #include <sys/types.h>
18016 #ifdef HAVE_SYS_PARAM_H
18017 # include <sys/param.h>
18019 #ifdef HAVE_SYS_MOUNT_H
18020 # include <sys/mount.h>
18022 #ifdef HAVE_SYS_VFS_H
18023 # include <sys/vfs.h>
18025 #ifdef HAVE_SYS_STATFS_H
18026 # include <sys/statfs.h>
18032 static struct statfs ac_aggr;
18033 if (sizeof ac_aggr.f_ffree)
18039 rm -f conftest.$ac_objext
18040 if { (ac_try="$ac_compile"
18041 case "(($ac_try" in
18042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18043 *) ac_try_echo=$ac_try;;
18045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18046 (eval "$ac_compile") 2>conftest.er1
18048 grep -v '^ *+' conftest.er1 >conftest.err
18050 cat conftest.err >&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); } && {
18053 test -z "$ac_c_werror_flag" ||
18054 test ! -s conftest.err
18055 } && test -s conftest.$ac_objext; then
18056 ac_cv_member_struct_statfs_f_ffree=yes
18058 echo "$as_me: failed program was:" >&5
18059 sed 's/^/| /' conftest.$ac_ext >&5
18061 ac_cv_member_struct_statfs_f_ffree=no
18064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18069 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18070 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18071 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18073 cat >>confdefs.h <<_ACEOF
18074 #define HAVE_STRUCT_STATFS_F_FFREE 1
18079 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18080 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18081 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18082 echo $ECHO_N "(cached) $ECHO_C" >&6
18084 cat >conftest.$ac_ext <<_ACEOF
18087 cat confdefs.h >>conftest.$ac_ext
18088 cat >>conftest.$ac_ext <<_ACEOF
18089 /* end confdefs.h. */
18090 #include <sys/types.h>
18091 #ifdef HAVE_SYS_PARAM_H
18092 # include <sys/param.h>
18094 #ifdef HAVE_SYS_MOUNT_H
18095 # include <sys/mount.h>
18097 #ifdef HAVE_SYS_VFS_H
18098 # include <sys/vfs.h>
18100 #ifdef HAVE_SYS_STATFS_H
18101 # include <sys/statfs.h>
18107 static struct statfs ac_aggr;
18108 if (ac_aggr.f_favail)
18114 rm -f conftest.$ac_objext
18115 if { (ac_try="$ac_compile"
18116 case "(($ac_try" in
18117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18118 *) ac_try_echo=$ac_try;;
18120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18121 (eval "$ac_compile") 2>conftest.er1
18123 grep -v '^ *+' conftest.er1 >conftest.err
18125 cat conftest.err >&5
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); } && {
18128 test -z "$ac_c_werror_flag" ||
18129 test ! -s conftest.err
18130 } && test -s conftest.$ac_objext; then
18131 ac_cv_member_struct_statfs_f_favail=yes
18133 echo "$as_me: failed program was:" >&5
18134 sed 's/^/| /' conftest.$ac_ext >&5
18136 cat >conftest.$ac_ext <<_ACEOF
18139 cat confdefs.h >>conftest.$ac_ext
18140 cat >>conftest.$ac_ext <<_ACEOF
18141 /* end confdefs.h. */
18142 #include <sys/types.h>
18143 #ifdef HAVE_SYS_PARAM_H
18144 # include <sys/param.h>
18146 #ifdef HAVE_SYS_MOUNT_H
18147 # include <sys/mount.h>
18149 #ifdef HAVE_SYS_VFS_H
18150 # include <sys/vfs.h>
18152 #ifdef HAVE_SYS_STATFS_H
18153 # include <sys/statfs.h>
18159 static struct statfs ac_aggr;
18160 if (sizeof ac_aggr.f_favail)
18166 rm -f conftest.$ac_objext
18167 if { (ac_try="$ac_compile"
18168 case "(($ac_try" in
18169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18170 *) ac_try_echo=$ac_try;;
18172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18173 (eval "$ac_compile") 2>conftest.er1
18175 grep -v '^ *+' conftest.er1 >conftest.err
18177 cat conftest.err >&5
18178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18179 (exit $ac_status); } && {
18180 test -z "$ac_c_werror_flag" ||
18181 test ! -s conftest.err
18182 } && test -s conftest.$ac_objext; then
18183 ac_cv_member_struct_statfs_f_favail=yes
18185 echo "$as_me: failed program was:" >&5
18186 sed 's/^/| /' conftest.$ac_ext >&5
18188 ac_cv_member_struct_statfs_f_favail=no
18191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18196 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18197 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18198 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18200 cat >>confdefs.h <<_ACEOF
18201 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18206 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18207 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18208 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18209 echo $ECHO_N "(cached) $ECHO_C" >&6
18211 cat >conftest.$ac_ext <<_ACEOF
18214 cat confdefs.h >>conftest.$ac_ext
18215 cat >>conftest.$ac_ext <<_ACEOF
18216 /* end confdefs.h. */
18217 #include <sys/types.h>
18218 #ifdef HAVE_SYS_PARAM_H
18219 # include <sys/param.h>
18221 #ifdef HAVE_SYS_MOUNT_H
18222 # include <sys/mount.h>
18224 #ifdef HAVE_SYS_VFS_H
18225 # include <sys/vfs.h>
18227 #ifdef HAVE_SYS_STATFS_H
18228 # include <sys/statfs.h>
18234 static struct statfs ac_aggr;
18235 if (ac_aggr.f_namelen)
18241 rm -f conftest.$ac_objext
18242 if { (ac_try="$ac_compile"
18243 case "(($ac_try" in
18244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18245 *) ac_try_echo=$ac_try;;
18247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18248 (eval "$ac_compile") 2>conftest.er1
18250 grep -v '^ *+' conftest.er1 >conftest.err
18252 cat conftest.err >&5
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); } && {
18255 test -z "$ac_c_werror_flag" ||
18256 test ! -s conftest.err
18257 } && test -s conftest.$ac_objext; then
18258 ac_cv_member_struct_statfs_f_namelen=yes
18260 echo "$as_me: failed program was:" >&5
18261 sed 's/^/| /' conftest.$ac_ext >&5
18263 cat >conftest.$ac_ext <<_ACEOF
18266 cat confdefs.h >>conftest.$ac_ext
18267 cat >>conftest.$ac_ext <<_ACEOF
18268 /* end confdefs.h. */
18269 #include <sys/types.h>
18270 #ifdef HAVE_SYS_PARAM_H
18271 # include <sys/param.h>
18273 #ifdef HAVE_SYS_MOUNT_H
18274 # include <sys/mount.h>
18276 #ifdef HAVE_SYS_VFS_H
18277 # include <sys/vfs.h>
18279 #ifdef HAVE_SYS_STATFS_H
18280 # include <sys/statfs.h>
18286 static struct statfs ac_aggr;
18287 if (sizeof ac_aggr.f_namelen)
18293 rm -f conftest.$ac_objext
18294 if { (ac_try="$ac_compile"
18295 case "(($ac_try" in
18296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18297 *) ac_try_echo=$ac_try;;
18299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18300 (eval "$ac_compile") 2>conftest.er1
18302 grep -v '^ *+' conftest.er1 >conftest.err
18304 cat conftest.err >&5
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); } && {
18307 test -z "$ac_c_werror_flag" ||
18308 test ! -s conftest.err
18309 } && test -s conftest.$ac_objext; then
18310 ac_cv_member_struct_statfs_f_namelen=yes
18312 echo "$as_me: failed program was:" >&5
18313 sed 's/^/| /' conftest.$ac_ext >&5
18315 ac_cv_member_struct_statfs_f_namelen=no
18318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18323 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18324 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18325 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18327 cat >>confdefs.h <<_ACEOF
18328 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18335 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18336 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18337 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18338 echo $ECHO_N "(cached) $ECHO_C" >&6
18340 cat >conftest.$ac_ext <<_ACEOF
18343 cat confdefs.h >>conftest.$ac_ext
18344 cat >>conftest.$ac_ext <<_ACEOF
18345 /* end confdefs.h. */
18346 #ifdef HAVE_SYS_STATVFS_H
18347 #include <sys/statvfs.h>
18353 static struct statvfs ac_aggr;
18354 if (ac_aggr.f_blocks)
18360 rm -f conftest.$ac_objext
18361 if { (ac_try="$ac_compile"
18362 case "(($ac_try" in
18363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18364 *) ac_try_echo=$ac_try;;
18366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18367 (eval "$ac_compile") 2>conftest.er1
18369 grep -v '^ *+' conftest.er1 >conftest.err
18371 cat conftest.err >&5
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); } && {
18374 test -z "$ac_c_werror_flag" ||
18375 test ! -s conftest.err
18376 } && test -s conftest.$ac_objext; then
18377 ac_cv_member_struct_statvfs_f_blocks=yes
18379 echo "$as_me: failed program was:" >&5
18380 sed 's/^/| /' conftest.$ac_ext >&5
18382 cat >conftest.$ac_ext <<_ACEOF
18385 cat confdefs.h >>conftest.$ac_ext
18386 cat >>conftest.$ac_ext <<_ACEOF
18387 /* end confdefs.h. */
18388 #ifdef HAVE_SYS_STATVFS_H
18389 #include <sys/statvfs.h>
18395 static struct statvfs ac_aggr;
18396 if (sizeof ac_aggr.f_blocks)
18402 rm -f conftest.$ac_objext
18403 if { (ac_try="$ac_compile"
18404 case "(($ac_try" in
18405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18406 *) ac_try_echo=$ac_try;;
18408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18409 (eval "$ac_compile") 2>conftest.er1
18411 grep -v '^ *+' conftest.er1 >conftest.err
18413 cat conftest.err >&5
18414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18415 (exit $ac_status); } && {
18416 test -z "$ac_c_werror_flag" ||
18417 test ! -s conftest.err
18418 } && test -s conftest.$ac_objext; then
18419 ac_cv_member_struct_statvfs_f_blocks=yes
18421 echo "$as_me: failed program was:" >&5
18422 sed 's/^/| /' conftest.$ac_ext >&5
18424 ac_cv_member_struct_statvfs_f_blocks=no
18427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18432 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18433 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18434 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18436 cat >>confdefs.h <<_ACEOF
18437 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18444 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18445 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18446 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18447 echo $ECHO_N "(cached) $ECHO_C" >&6
18449 cat >conftest.$ac_ext <<_ACEOF
18452 cat confdefs.h >>conftest.$ac_ext
18453 cat >>conftest.$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18455 #include <sys/types.h>
18456 #ifdef HAVE_SYS_SOCKET_H
18457 # include <sys/socket.h>
18459 #ifdef HAVE_SYS_UN_H
18460 # include <sys/un.h>
18466 static struct msghdr ac_aggr;
18467 if (ac_aggr.msg_accrights)
18473 rm -f conftest.$ac_objext
18474 if { (ac_try="$ac_compile"
18475 case "(($ac_try" in
18476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18477 *) ac_try_echo=$ac_try;;
18479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18480 (eval "$ac_compile") 2>conftest.er1
18482 grep -v '^ *+' conftest.er1 >conftest.err
18484 cat conftest.err >&5
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); } && {
18487 test -z "$ac_c_werror_flag" ||
18488 test ! -s conftest.err
18489 } && test -s conftest.$ac_objext; then
18490 ac_cv_member_struct_msghdr_msg_accrights=yes
18492 echo "$as_me: failed program was:" >&5
18493 sed 's/^/| /' conftest.$ac_ext >&5
18495 cat >conftest.$ac_ext <<_ACEOF
18498 cat confdefs.h >>conftest.$ac_ext
18499 cat >>conftest.$ac_ext <<_ACEOF
18500 /* end confdefs.h. */
18501 #include <sys/types.h>
18502 #ifdef HAVE_SYS_SOCKET_H
18503 # include <sys/socket.h>
18505 #ifdef HAVE_SYS_UN_H
18506 # include <sys/un.h>
18512 static struct msghdr ac_aggr;
18513 if (sizeof ac_aggr.msg_accrights)
18519 rm -f conftest.$ac_objext
18520 if { (ac_try="$ac_compile"
18521 case "(($ac_try" in
18522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18523 *) ac_try_echo=$ac_try;;
18525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18526 (eval "$ac_compile") 2>conftest.er1
18528 grep -v '^ *+' conftest.er1 >conftest.err
18530 cat conftest.err >&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); } && {
18533 test -z "$ac_c_werror_flag" ||
18534 test ! -s conftest.err
18535 } && test -s conftest.$ac_objext; then
18536 ac_cv_member_struct_msghdr_msg_accrights=yes
18538 echo "$as_me: failed program was:" >&5
18539 sed 's/^/| /' conftest.$ac_ext >&5
18541 ac_cv_member_struct_msghdr_msg_accrights=no
18544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18549 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18550 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18551 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18553 cat >>confdefs.h <<_ACEOF
18554 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18559 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18560 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18561 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18562 echo $ECHO_N "(cached) $ECHO_C" >&6
18564 cat >conftest.$ac_ext <<_ACEOF
18567 cat confdefs.h >>conftest.$ac_ext
18568 cat >>conftest.$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18570 #include <sys/types.h>
18571 #ifdef HAVE_SYS_SOCKET_H
18572 # include <sys/socket.h>
18574 #ifdef HAVE_SYS_UN_H
18575 # include <sys/un.h>
18581 static struct sockaddr ac_aggr;
18582 if (ac_aggr.sa_len)
18588 rm -f conftest.$ac_objext
18589 if { (ac_try="$ac_compile"
18590 case "(($ac_try" in
18591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18592 *) ac_try_echo=$ac_try;;
18594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18595 (eval "$ac_compile") 2>conftest.er1
18597 grep -v '^ *+' conftest.er1 >conftest.err
18599 cat conftest.err >&5
18600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 (exit $ac_status); } && {
18602 test -z "$ac_c_werror_flag" ||
18603 test ! -s conftest.err
18604 } && test -s conftest.$ac_objext; then
18605 ac_cv_member_struct_sockaddr_sa_len=yes
18607 echo "$as_me: failed program was:" >&5
18608 sed 's/^/| /' conftest.$ac_ext >&5
18610 cat >conftest.$ac_ext <<_ACEOF
18613 cat confdefs.h >>conftest.$ac_ext
18614 cat >>conftest.$ac_ext <<_ACEOF
18615 /* end confdefs.h. */
18616 #include <sys/types.h>
18617 #ifdef HAVE_SYS_SOCKET_H
18618 # include <sys/socket.h>
18620 #ifdef HAVE_SYS_UN_H
18621 # include <sys/un.h>
18627 static struct sockaddr ac_aggr;
18628 if (sizeof ac_aggr.sa_len)
18634 rm -f conftest.$ac_objext
18635 if { (ac_try="$ac_compile"
18636 case "(($ac_try" in
18637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18638 *) ac_try_echo=$ac_try;;
18640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18641 (eval "$ac_compile") 2>conftest.er1
18643 grep -v '^ *+' conftest.er1 >conftest.err
18645 cat conftest.err >&5
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); } && {
18648 test -z "$ac_c_werror_flag" ||
18649 test ! -s conftest.err
18650 } && test -s conftest.$ac_objext; then
18651 ac_cv_member_struct_sockaddr_sa_len=yes
18653 echo "$as_me: failed program was:" >&5
18654 sed 's/^/| /' conftest.$ac_ext >&5
18656 ac_cv_member_struct_sockaddr_sa_len=no
18659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18664 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18665 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18666 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18668 cat >>confdefs.h <<_ACEOF
18669 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18674 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18675 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18676 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18677 echo $ECHO_N "(cached) $ECHO_C" >&6
18679 cat >conftest.$ac_ext <<_ACEOF
18682 cat confdefs.h >>conftest.$ac_ext
18683 cat >>conftest.$ac_ext <<_ACEOF
18684 /* end confdefs.h. */
18685 #include <sys/types.h>
18686 #ifdef HAVE_SYS_SOCKET_H
18687 # include <sys/socket.h>
18689 #ifdef HAVE_SYS_UN_H
18690 # include <sys/un.h>
18696 static struct sockaddr_un ac_aggr;
18697 if (ac_aggr.sun_len)
18703 rm -f conftest.$ac_objext
18704 if { (ac_try="$ac_compile"
18705 case "(($ac_try" in
18706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18707 *) ac_try_echo=$ac_try;;
18709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18710 (eval "$ac_compile") 2>conftest.er1
18712 grep -v '^ *+' conftest.er1 >conftest.err
18714 cat conftest.err >&5
18715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18716 (exit $ac_status); } && {
18717 test -z "$ac_c_werror_flag" ||
18718 test ! -s conftest.err
18719 } && test -s conftest.$ac_objext; then
18720 ac_cv_member_struct_sockaddr_un_sun_len=yes
18722 echo "$as_me: failed program was:" >&5
18723 sed 's/^/| /' conftest.$ac_ext >&5
18725 cat >conftest.$ac_ext <<_ACEOF
18728 cat confdefs.h >>conftest.$ac_ext
18729 cat >>conftest.$ac_ext <<_ACEOF
18730 /* end confdefs.h. */
18731 #include <sys/types.h>
18732 #ifdef HAVE_SYS_SOCKET_H
18733 # include <sys/socket.h>
18735 #ifdef HAVE_SYS_UN_H
18736 # include <sys/un.h>
18742 static struct sockaddr_un ac_aggr;
18743 if (sizeof ac_aggr.sun_len)
18749 rm -f conftest.$ac_objext
18750 if { (ac_try="$ac_compile"
18751 case "(($ac_try" in
18752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18753 *) ac_try_echo=$ac_try;;
18755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18756 (eval "$ac_compile") 2>conftest.er1
18758 grep -v '^ *+' conftest.er1 >conftest.err
18760 cat conftest.err >&5
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); } && {
18763 test -z "$ac_c_werror_flag" ||
18764 test ! -s conftest.err
18765 } && test -s conftest.$ac_objext; then
18766 ac_cv_member_struct_sockaddr_un_sun_len=yes
18768 echo "$as_me: failed program was:" >&5
18769 sed 's/^/| /' conftest.$ac_ext >&5
18771 ac_cv_member_struct_sockaddr_un_sun_len=no
18774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18779 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18780 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18781 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18783 cat >>confdefs.h <<_ACEOF
18784 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18791 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18792 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18793 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18794 echo $ECHO_N "(cached) $ECHO_C" >&6
18796 cat >conftest.$ac_ext <<_ACEOF
18799 cat confdefs.h >>conftest.$ac_ext
18800 cat >>conftest.$ac_ext <<_ACEOF
18801 /* end confdefs.h. */
18802 #include <sys/types.h>
18803 #ifdef HAVE_SCSI_SG_H
18804 #include <scsi/sg.h>
18810 static scsireq_t ac_aggr;
18817 rm -f conftest.$ac_objext
18818 if { (ac_try="$ac_compile"
18819 case "(($ac_try" in
18820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18821 *) ac_try_echo=$ac_try;;
18823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18824 (eval "$ac_compile") 2>conftest.er1
18826 grep -v '^ *+' conftest.er1 >conftest.err
18828 cat conftest.err >&5
18829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18830 (exit $ac_status); } && {
18831 test -z "$ac_c_werror_flag" ||
18832 test ! -s conftest.err
18833 } && test -s conftest.$ac_objext; then
18834 ac_cv_member_scsireq_t_cmd=yes
18836 echo "$as_me: failed program was:" >&5
18837 sed 's/^/| /' conftest.$ac_ext >&5
18839 cat >conftest.$ac_ext <<_ACEOF
18842 cat confdefs.h >>conftest.$ac_ext
18843 cat >>conftest.$ac_ext <<_ACEOF
18844 /* end confdefs.h. */
18845 #include <sys/types.h>
18846 #ifdef HAVE_SCSI_SG_H
18847 #include <scsi/sg.h>
18853 static scsireq_t ac_aggr;
18854 if (sizeof ac_aggr.cmd)
18860 rm -f conftest.$ac_objext
18861 if { (ac_try="$ac_compile"
18862 case "(($ac_try" in
18863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18864 *) ac_try_echo=$ac_try;;
18866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18867 (eval "$ac_compile") 2>conftest.er1
18869 grep -v '^ *+' conftest.er1 >conftest.err
18871 cat conftest.err >&5
18872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18873 (exit $ac_status); } && {
18874 test -z "$ac_c_werror_flag" ||
18875 test ! -s conftest.err
18876 } && test -s conftest.$ac_objext; then
18877 ac_cv_member_scsireq_t_cmd=yes
18879 echo "$as_me: failed program was:" >&5
18880 sed 's/^/| /' conftest.$ac_ext >&5
18882 ac_cv_member_scsireq_t_cmd=no
18885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18890 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18891 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18892 if test $ac_cv_member_scsireq_t_cmd = yes; then
18894 cat >>confdefs.h <<_ACEOF
18895 #define HAVE_SCSIREQ_T_CMD 1
18900 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18901 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18902 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18903 echo $ECHO_N "(cached) $ECHO_C" >&6
18905 cat >conftest.$ac_ext <<_ACEOF
18908 cat confdefs.h >>conftest.$ac_ext
18909 cat >>conftest.$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18911 #include <sys/types.h>
18912 #ifdef HAVE_SCSI_SG_H
18913 #include <scsi/sg.h>
18919 static sg_io_hdr_t ac_aggr;
18920 if (ac_aggr.interface_id)
18926 rm -f conftest.$ac_objext
18927 if { (ac_try="$ac_compile"
18928 case "(($ac_try" in
18929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18930 *) ac_try_echo=$ac_try;;
18932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18933 (eval "$ac_compile") 2>conftest.er1
18935 grep -v '^ *+' conftest.er1 >conftest.err
18937 cat conftest.err >&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); } && {
18940 test -z "$ac_c_werror_flag" ||
18941 test ! -s conftest.err
18942 } && test -s conftest.$ac_objext; then
18943 ac_cv_member_sg_io_hdr_t_interface_id=yes
18945 echo "$as_me: failed program was:" >&5
18946 sed 's/^/| /' conftest.$ac_ext >&5
18948 cat >conftest.$ac_ext <<_ACEOF
18951 cat confdefs.h >>conftest.$ac_ext
18952 cat >>conftest.$ac_ext <<_ACEOF
18953 /* end confdefs.h. */
18954 #include <sys/types.h>
18955 #ifdef HAVE_SCSI_SG_H
18956 #include <scsi/sg.h>
18962 static sg_io_hdr_t ac_aggr;
18963 if (sizeof ac_aggr.interface_id)
18969 rm -f conftest.$ac_objext
18970 if { (ac_try="$ac_compile"
18971 case "(($ac_try" in
18972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18973 *) ac_try_echo=$ac_try;;
18975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18976 (eval "$ac_compile") 2>conftest.er1
18978 grep -v '^ *+' conftest.er1 >conftest.err
18980 cat conftest.err >&5
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); } && {
18983 test -z "$ac_c_werror_flag" ||
18984 test ! -s conftest.err
18985 } && test -s conftest.$ac_objext; then
18986 ac_cv_member_sg_io_hdr_t_interface_id=yes
18988 echo "$as_me: failed program was:" >&5
18989 sed 's/^/| /' conftest.$ac_ext >&5
18991 ac_cv_member_sg_io_hdr_t_interface_id=no
18994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18999 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19000 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19001 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19003 cat >>confdefs.h <<_ACEOF
19004 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19011 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19012 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19013 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19014 echo $ECHO_N "(cached) $ECHO_C" >&6
19016 cat >conftest.$ac_ext <<_ACEOF
19019 cat confdefs.h >>conftest.$ac_ext
19020 cat >>conftest.$ac_ext <<_ACEOF
19021 /* end confdefs.h. */
19022 #include <signal.h>
19027 static siginfo_t ac_aggr;
19034 rm -f conftest.$ac_objext
19035 if { (ac_try="$ac_compile"
19036 case "(($ac_try" in
19037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19038 *) ac_try_echo=$ac_try;;
19040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19041 (eval "$ac_compile") 2>conftest.er1
19043 grep -v '^ *+' conftest.er1 >conftest.err
19045 cat conftest.err >&5
19046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19047 (exit $ac_status); } && {
19048 test -z "$ac_c_werror_flag" ||
19049 test ! -s conftest.err
19050 } && test -s conftest.$ac_objext; then
19051 ac_cv_member_siginfo_t_si_fd=yes
19053 echo "$as_me: failed program was:" >&5
19054 sed 's/^/| /' conftest.$ac_ext >&5
19056 cat >conftest.$ac_ext <<_ACEOF
19059 cat confdefs.h >>conftest.$ac_ext
19060 cat >>conftest.$ac_ext <<_ACEOF
19061 /* end confdefs.h. */
19062 #include <signal.h>
19067 static siginfo_t ac_aggr;
19068 if (sizeof ac_aggr.si_fd)
19074 rm -f conftest.$ac_objext
19075 if { (ac_try="$ac_compile"
19076 case "(($ac_try" in
19077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19078 *) ac_try_echo=$ac_try;;
19080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19081 (eval "$ac_compile") 2>conftest.er1
19083 grep -v '^ *+' conftest.er1 >conftest.err
19085 cat conftest.err >&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); } && {
19088 test -z "$ac_c_werror_flag" ||
19089 test ! -s conftest.err
19090 } && test -s conftest.$ac_objext; then
19091 ac_cv_member_siginfo_t_si_fd=yes
19093 echo "$as_me: failed program was:" >&5
19094 sed 's/^/| /' conftest.$ac_ext >&5
19096 ac_cv_member_siginfo_t_si_fd=no
19099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19104 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19105 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19106 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19108 cat >>confdefs.h <<_ACEOF
19109 #define HAVE_SIGINFO_T_SI_FD 1
19116 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19117 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19118 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19119 echo $ECHO_N "(cached) $ECHO_C" >&6
19121 cat >conftest.$ac_ext <<_ACEOF
19124 cat confdefs.h >>conftest.$ac_ext
19125 cat >>conftest.$ac_ext <<_ACEOF
19126 /* end confdefs.h. */
19127 #include <sys/types.h>
19128 #ifdef HAVE_SYS_MTIO_H
19129 #include <sys/mtio.h>
19135 static struct mtget ac_aggr;
19136 if (ac_aggr.mt_blksiz)
19142 rm -f conftest.$ac_objext
19143 if { (ac_try="$ac_compile"
19144 case "(($ac_try" in
19145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19146 *) ac_try_echo=$ac_try;;
19148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19149 (eval "$ac_compile") 2>conftest.er1
19151 grep -v '^ *+' conftest.er1 >conftest.err
19153 cat conftest.err >&5
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); } && {
19156 test -z "$ac_c_werror_flag" ||
19157 test ! -s conftest.err
19158 } && test -s conftest.$ac_objext; then
19159 ac_cv_member_struct_mtget_mt_blksiz=yes
19161 echo "$as_me: failed program was:" >&5
19162 sed 's/^/| /' conftest.$ac_ext >&5
19164 cat >conftest.$ac_ext <<_ACEOF
19167 cat confdefs.h >>conftest.$ac_ext
19168 cat >>conftest.$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19170 #include <sys/types.h>
19171 #ifdef HAVE_SYS_MTIO_H
19172 #include <sys/mtio.h>
19178 static struct mtget ac_aggr;
19179 if (sizeof ac_aggr.mt_blksiz)
19185 rm -f conftest.$ac_objext
19186 if { (ac_try="$ac_compile"
19187 case "(($ac_try" in
19188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19189 *) ac_try_echo=$ac_try;;
19191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19192 (eval "$ac_compile") 2>conftest.er1
19194 grep -v '^ *+' conftest.er1 >conftest.err
19196 cat conftest.err >&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } && {
19199 test -z "$ac_c_werror_flag" ||
19200 test ! -s conftest.err
19201 } && test -s conftest.$ac_objext; then
19202 ac_cv_member_struct_mtget_mt_blksiz=yes
19204 echo "$as_me: failed program was:" >&5
19205 sed 's/^/| /' conftest.$ac_ext >&5
19207 ac_cv_member_struct_mtget_mt_blksiz=no
19210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19215 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19216 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19217 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19219 cat >>confdefs.h <<_ACEOF
19220 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19225 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19226 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19227 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19228 echo $ECHO_N "(cached) $ECHO_C" >&6
19230 cat >conftest.$ac_ext <<_ACEOF
19233 cat confdefs.h >>conftest.$ac_ext
19234 cat >>conftest.$ac_ext <<_ACEOF
19235 /* end confdefs.h. */
19236 #include <sys/types.h>
19237 #ifdef HAVE_SYS_MTIO_H
19238 #include <sys/mtio.h>
19244 static struct mtget ac_aggr;
19245 if (ac_aggr.mt_gstat)
19251 rm -f conftest.$ac_objext
19252 if { (ac_try="$ac_compile"
19253 case "(($ac_try" in
19254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19255 *) ac_try_echo=$ac_try;;
19257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19258 (eval "$ac_compile") 2>conftest.er1
19260 grep -v '^ *+' conftest.er1 >conftest.err
19262 cat conftest.err >&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); } && {
19265 test -z "$ac_c_werror_flag" ||
19266 test ! -s conftest.err
19267 } && test -s conftest.$ac_objext; then
19268 ac_cv_member_struct_mtget_mt_gstat=yes
19270 echo "$as_me: failed program was:" >&5
19271 sed 's/^/| /' conftest.$ac_ext >&5
19273 cat >conftest.$ac_ext <<_ACEOF
19276 cat confdefs.h >>conftest.$ac_ext
19277 cat >>conftest.$ac_ext <<_ACEOF
19278 /* end confdefs.h. */
19279 #include <sys/types.h>
19280 #ifdef HAVE_SYS_MTIO_H
19281 #include <sys/mtio.h>
19287 static struct mtget ac_aggr;
19288 if (sizeof ac_aggr.mt_gstat)
19294 rm -f conftest.$ac_objext
19295 if { (ac_try="$ac_compile"
19296 case "(($ac_try" in
19297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19298 *) ac_try_echo=$ac_try;;
19300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19301 (eval "$ac_compile") 2>conftest.er1
19303 grep -v '^ *+' conftest.er1 >conftest.err
19305 cat conftest.err >&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); } && {
19308 test -z "$ac_c_werror_flag" ||
19309 test ! -s conftest.err
19310 } && test -s conftest.$ac_objext; then
19311 ac_cv_member_struct_mtget_mt_gstat=yes
19313 echo "$as_me: failed program was:" >&5
19314 sed 's/^/| /' conftest.$ac_ext >&5
19316 ac_cv_member_struct_mtget_mt_gstat=no
19319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19324 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19325 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19326 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19328 cat >>confdefs.h <<_ACEOF
19329 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19334 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19335 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19336 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19337 echo $ECHO_N "(cached) $ECHO_C" >&6
19339 cat >conftest.$ac_ext <<_ACEOF
19342 cat confdefs.h >>conftest.$ac_ext
19343 cat >>conftest.$ac_ext <<_ACEOF
19344 /* end confdefs.h. */
19345 #include <sys/types.h>
19346 #ifdef HAVE_SYS_MTIO_H
19347 #include <sys/mtio.h>
19353 static struct mtget ac_aggr;
19354 if (ac_aggr.mt_blkno)
19360 rm -f conftest.$ac_objext
19361 if { (ac_try="$ac_compile"
19362 case "(($ac_try" in
19363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19364 *) ac_try_echo=$ac_try;;
19366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19367 (eval "$ac_compile") 2>conftest.er1
19369 grep -v '^ *+' conftest.er1 >conftest.err
19371 cat conftest.err >&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); } && {
19374 test -z "$ac_c_werror_flag" ||
19375 test ! -s conftest.err
19376 } && test -s conftest.$ac_objext; then
19377 ac_cv_member_struct_mtget_mt_blkno=yes
19379 echo "$as_me: failed program was:" >&5
19380 sed 's/^/| /' conftest.$ac_ext >&5
19382 cat >conftest.$ac_ext <<_ACEOF
19385 cat confdefs.h >>conftest.$ac_ext
19386 cat >>conftest.$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19388 #include <sys/types.h>
19389 #ifdef HAVE_SYS_MTIO_H
19390 #include <sys/mtio.h>
19396 static struct mtget ac_aggr;
19397 if (sizeof ac_aggr.mt_blkno)
19403 rm -f conftest.$ac_objext
19404 if { (ac_try="$ac_compile"
19405 case "(($ac_try" in
19406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19407 *) ac_try_echo=$ac_try;;
19409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19410 (eval "$ac_compile") 2>conftest.er1
19412 grep -v '^ *+' conftest.er1 >conftest.err
19414 cat conftest.err >&5
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); } && {
19417 test -z "$ac_c_werror_flag" ||
19418 test ! -s conftest.err
19419 } && test -s conftest.$ac_objext; then
19420 ac_cv_member_struct_mtget_mt_blkno=yes
19422 echo "$as_me: failed program was:" >&5
19423 sed 's/^/| /' conftest.$ac_ext >&5
19425 ac_cv_member_struct_mtget_mt_blkno=no
19428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19433 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19434 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19435 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19437 cat >>confdefs.h <<_ACEOF
19438 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19445 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19446 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19447 if test "${ac_cv_member_struct_option_name+set}" = set; then
19448 echo $ECHO_N "(cached) $ECHO_C" >&6
19450 cat >conftest.$ac_ext <<_ACEOF
19453 cat confdefs.h >>conftest.$ac_ext
19454 cat >>conftest.$ac_ext <<_ACEOF
19455 /* end confdefs.h. */
19456 #ifdef HAVE_GETOPT_H
19457 #include <getopt.h>
19463 static struct option ac_aggr;
19470 rm -f conftest.$ac_objext
19471 if { (ac_try="$ac_compile"
19472 case "(($ac_try" in
19473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19474 *) ac_try_echo=$ac_try;;
19476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19477 (eval "$ac_compile") 2>conftest.er1
19479 grep -v '^ *+' conftest.er1 >conftest.err
19481 cat conftest.err >&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); } && {
19484 test -z "$ac_c_werror_flag" ||
19485 test ! -s conftest.err
19486 } && test -s conftest.$ac_objext; then
19487 ac_cv_member_struct_option_name=yes
19489 echo "$as_me: failed program was:" >&5
19490 sed 's/^/| /' conftest.$ac_ext >&5
19492 cat >conftest.$ac_ext <<_ACEOF
19495 cat confdefs.h >>conftest.$ac_ext
19496 cat >>conftest.$ac_ext <<_ACEOF
19497 /* end confdefs.h. */
19498 #ifdef HAVE_GETOPT_H
19499 #include <getopt.h>
19505 static struct option ac_aggr;
19506 if (sizeof ac_aggr.name)
19512 rm -f conftest.$ac_objext
19513 if { (ac_try="$ac_compile"
19514 case "(($ac_try" in
19515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19516 *) ac_try_echo=$ac_try;;
19518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19519 (eval "$ac_compile") 2>conftest.er1
19521 grep -v '^ *+' conftest.er1 >conftest.err
19523 cat conftest.err >&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } && {
19526 test -z "$ac_c_werror_flag" ||
19527 test ! -s conftest.err
19528 } && test -s conftest.$ac_objext; then
19529 ac_cv_member_struct_option_name=yes
19531 echo "$as_me: failed program was:" >&5
19532 sed 's/^/| /' conftest.$ac_ext >&5
19534 ac_cv_member_struct_option_name=no
19537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19542 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19543 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19544 if test $ac_cv_member_struct_option_name = yes; then
19546 cat >>confdefs.h <<_ACEOF
19547 #define HAVE_STRUCT_OPTION_NAME 1
19554 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19555 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19556 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19557 echo $ECHO_N "(cached) $ECHO_C" >&6
19559 cat >conftest.$ac_ext <<_ACEOF
19562 cat confdefs.h >>conftest.$ac_ext
19563 cat >>conftest.$ac_ext <<_ACEOF
19564 /* end confdefs.h. */
19565 $ac_includes_default
19569 static struct stat ac_aggr;
19570 if (ac_aggr.st_blocks)
19576 rm -f conftest.$ac_objext
19577 if { (ac_try="$ac_compile"
19578 case "(($ac_try" in
19579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19580 *) ac_try_echo=$ac_try;;
19582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19583 (eval "$ac_compile") 2>conftest.er1
19585 grep -v '^ *+' conftest.er1 >conftest.err
19587 cat conftest.err >&5
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); } && {
19590 test -z "$ac_c_werror_flag" ||
19591 test ! -s conftest.err
19592 } && test -s conftest.$ac_objext; then
19593 ac_cv_member_struct_stat_st_blocks=yes
19595 echo "$as_me: failed program was:" >&5
19596 sed 's/^/| /' conftest.$ac_ext >&5
19598 cat >conftest.$ac_ext <<_ACEOF
19601 cat confdefs.h >>conftest.$ac_ext
19602 cat >>conftest.$ac_ext <<_ACEOF
19603 /* end confdefs.h. */
19604 $ac_includes_default
19608 static struct stat ac_aggr;
19609 if (sizeof ac_aggr.st_blocks)
19615 rm -f conftest.$ac_objext
19616 if { (ac_try="$ac_compile"
19617 case "(($ac_try" in
19618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19619 *) ac_try_echo=$ac_try;;
19621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19622 (eval "$ac_compile") 2>conftest.er1
19624 grep -v '^ *+' conftest.er1 >conftest.err
19626 cat conftest.err >&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); } && {
19629 test -z "$ac_c_werror_flag" ||
19630 test ! -s conftest.err
19631 } && test -s conftest.$ac_objext; then
19632 ac_cv_member_struct_stat_st_blocks=yes
19634 echo "$as_me: failed program was:" >&5
19635 sed 's/^/| /' conftest.$ac_ext >&5
19637 ac_cv_member_struct_stat_st_blocks=no
19640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19645 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19646 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19647 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19649 cat >>confdefs.h <<_ACEOF
19650 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19657 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19658 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19659 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19660 echo $ECHO_N "(cached) $ECHO_C" >&6
19662 cat >conftest.$ac_ext <<_ACEOF
19665 cat confdefs.h >>conftest.$ac_ext
19666 cat >>conftest.$ac_ext <<_ACEOF
19667 /* end confdefs.h. */
19668 #ifdef HAVE_SYS_TYPES_H
19669 #include <sys/types.h>
19671 #ifdef HAVE_NETINET_IN_H
19672 #include <netinet/in.h>
19678 static struct sockaddr_in6 ac_aggr;
19679 if (ac_aggr.sin6_scope_id)
19685 rm -f conftest.$ac_objext
19686 if { (ac_try="$ac_compile"
19687 case "(($ac_try" in
19688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19689 *) ac_try_echo=$ac_try;;
19691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19692 (eval "$ac_compile") 2>conftest.er1
19694 grep -v '^ *+' conftest.er1 >conftest.err
19696 cat conftest.err >&5
19697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19698 (exit $ac_status); } && {
19699 test -z "$ac_c_werror_flag" ||
19700 test ! -s conftest.err
19701 } && test -s conftest.$ac_objext; then
19702 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19707 cat >conftest.$ac_ext <<_ACEOF
19710 cat confdefs.h >>conftest.$ac_ext
19711 cat >>conftest.$ac_ext <<_ACEOF
19712 /* end confdefs.h. */
19713 #ifdef HAVE_SYS_TYPES_H
19714 #include <sys/types.h>
19716 #ifdef HAVE_NETINET_IN_H
19717 #include <netinet/in.h>
19723 static struct sockaddr_in6 ac_aggr;
19724 if (sizeof ac_aggr.sin6_scope_id)
19730 rm -f conftest.$ac_objext
19731 if { (ac_try="$ac_compile"
19732 case "(($ac_try" in
19733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19734 *) ac_try_echo=$ac_try;;
19736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19737 (eval "$ac_compile") 2>conftest.er1
19739 grep -v '^ *+' conftest.er1 >conftest.err
19741 cat conftest.err >&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } && {
19744 test -z "$ac_c_werror_flag" ||
19745 test ! -s conftest.err
19746 } && test -s conftest.$ac_objext; then
19747 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19749 echo "$as_me: failed program was:" >&5
19750 sed 's/^/| /' conftest.$ac_ext >&5
19752 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19760 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19761 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19762 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19764 cat >>confdefs.h <<_ACEOF
19765 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19772 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19773 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19774 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19775 echo $ECHO_N "(cached) $ECHO_C" >&6
19777 cat >conftest.$ac_ext <<_ACEOF
19780 cat confdefs.h >>conftest.$ac_ext
19781 cat >>conftest.$ac_ext <<_ACEOF
19782 /* end confdefs.h. */
19783 #ifdef HAVE_SYS_TYPES_H
19784 #include <sys/types.h>
19786 #ifdef HAVE_NETINET_IN_H
19787 # include <netinet/in.h>
19789 #ifdef HAVE_ARPA_NAMESER_H
19790 # include <arpa/nameser.h>
19796 static ns_msg ac_aggr;
19797 if (ac_aggr._msg_ptr)
19803 rm -f conftest.$ac_objext
19804 if { (ac_try="$ac_compile"
19805 case "(($ac_try" in
19806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19807 *) ac_try_echo=$ac_try;;
19809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19810 (eval "$ac_compile") 2>conftest.er1
19812 grep -v '^ *+' conftest.er1 >conftest.err
19814 cat conftest.err >&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); } && {
19817 test -z "$ac_c_werror_flag" ||
19818 test ! -s conftest.err
19819 } && test -s conftest.$ac_objext; then
19820 ac_cv_member_ns_msg__msg_ptr=yes
19822 echo "$as_me: failed program was:" >&5
19823 sed 's/^/| /' conftest.$ac_ext >&5
19825 cat >conftest.$ac_ext <<_ACEOF
19828 cat confdefs.h >>conftest.$ac_ext
19829 cat >>conftest.$ac_ext <<_ACEOF
19830 /* end confdefs.h. */
19831 #ifdef HAVE_SYS_TYPES_H
19832 #include <sys/types.h>
19834 #ifdef HAVE_NETINET_IN_H
19835 # include <netinet/in.h>
19837 #ifdef HAVE_ARPA_NAMESER_H
19838 # include <arpa/nameser.h>
19844 static ns_msg ac_aggr;
19845 if (sizeof ac_aggr._msg_ptr)
19851 rm -f conftest.$ac_objext
19852 if { (ac_try="$ac_compile"
19853 case "(($ac_try" in
19854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19855 *) ac_try_echo=$ac_try;;
19857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19858 (eval "$ac_compile") 2>conftest.er1
19860 grep -v '^ *+' conftest.er1 >conftest.err
19862 cat conftest.err >&5
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); } && {
19865 test -z "$ac_c_werror_flag" ||
19866 test ! -s conftest.err
19867 } && test -s conftest.$ac_objext; then
19868 ac_cv_member_ns_msg__msg_ptr=yes
19870 echo "$as_me: failed program was:" >&5
19871 sed 's/^/| /' conftest.$ac_ext >&5
19873 ac_cv_member_ns_msg__msg_ptr=no
19876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19881 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19882 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19883 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19885 cat >>confdefs.h <<_ACEOF
19886 #define HAVE_NS_MSG__MSG_PTR 1
19893 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19894 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19895 if test "${ac_cv_have_timezone+set}" = set; then
19896 echo $ECHO_N "(cached) $ECHO_C" >&6
19898 cat >conftest.$ac_ext <<_ACEOF
19901 cat confdefs.h >>conftest.$ac_ext
19902 cat >>conftest.$ac_ext <<_ACEOF
19903 /* end confdefs.h. */
19913 rm -f conftest.$ac_objext conftest$ac_exeext
19914 if { (ac_try="$ac_link"
19915 case "(($ac_try" in
19916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19917 *) ac_try_echo=$ac_try;;
19919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19920 (eval "$ac_link") 2>conftest.er1
19922 grep -v '^ *+' conftest.er1 >conftest.err
19924 cat conftest.err >&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); } && {
19927 test -z "$ac_c_werror_flag" ||
19928 test ! -s conftest.err
19929 } && test -s conftest$ac_exeext &&
19930 $as_test_x conftest$ac_exeext; then
19931 ac_cv_have_timezone="yes"
19933 echo "$as_me: failed program was:" >&5
19934 sed 's/^/| /' conftest.$ac_ext >&5
19936 ac_cv_have_timezone="no"
19939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19940 conftest$ac_exeext conftest.$ac_ext
19942 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19943 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19944 if test "$ac_cv_have_timezone" = "yes"
19947 cat >>confdefs.h <<\_ACEOF
19948 #define HAVE_TIMEZONE 1
19952 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19953 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19954 if test "${ac_cv_have_daylight+set}" = set; then
19955 echo $ECHO_N "(cached) $ECHO_C" >&6
19957 cat >conftest.$ac_ext <<_ACEOF
19960 cat confdefs.h >>conftest.$ac_ext
19961 cat >>conftest.$ac_ext <<_ACEOF
19962 /* end confdefs.h. */
19972 rm -f conftest.$ac_objext conftest$ac_exeext
19973 if { (ac_try="$ac_link"
19974 case "(($ac_try" in
19975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19976 *) ac_try_echo=$ac_try;;
19978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19979 (eval "$ac_link") 2>conftest.er1
19981 grep -v '^ *+' conftest.er1 >conftest.err
19983 cat conftest.err >&5
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); } && {
19986 test -z "$ac_c_werror_flag" ||
19987 test ! -s conftest.err
19988 } && test -s conftest$ac_exeext &&
19989 $as_test_x conftest$ac_exeext; then
19990 ac_cv_have_daylight="yes"
19992 echo "$as_me: failed program was:" >&5
19993 sed 's/^/| /' conftest.$ac_ext >&5
19995 ac_cv_have_daylight="no"
19998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19999 conftest$ac_exeext conftest.$ac_ext
20001 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20002 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20003 if test "$ac_cv_have_daylight" = "yes"
20006 cat >>confdefs.h <<\_ACEOF
20007 #define HAVE_DAYLIGHT 1
20014 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20015 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20016 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20017 echo $ECHO_N "(cached) $ECHO_C" >&6
20019 cat >conftest.$ac_ext <<_ACEOF
20022 cat confdefs.h >>conftest.$ac_ext
20023 cat >>conftest.$ac_ext <<_ACEOF
20024 /* end confdefs.h. */
20029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20030 $EGREP "yes" >/dev/null 2>&1; then
20031 ac_cv_cpp_def___i386__=yes
20033 ac_cv_cpp_def___i386__=no
20038 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20039 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20040 if test $ac_cv_cpp_def___i386__ = yes; then
20041 CFLAGS="$CFLAGS -D__i386__"
20042 LINTFLAGS="$LINTFLAGS -D__i386__"
20045 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20046 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20047 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20048 echo $ECHO_N "(cached) $ECHO_C" >&6
20050 cat >conftest.$ac_ext <<_ACEOF
20053 cat confdefs.h >>conftest.$ac_ext
20054 cat >>conftest.$ac_ext <<_ACEOF
20055 /* end confdefs.h. */
20060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20061 $EGREP "yes" >/dev/null 2>&1; then
20062 ac_cv_cpp_def___x86_64__=yes
20064 ac_cv_cpp_def___x86_64__=no
20069 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20070 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20071 if test $ac_cv_cpp_def___x86_64__ = yes; then
20072 CFLAGS="$CFLAGS -D__x86_64__"
20073 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20076 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20077 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20078 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20079 echo $ECHO_N "(cached) $ECHO_C" >&6
20081 cat >conftest.$ac_ext <<_ACEOF
20084 cat confdefs.h >>conftest.$ac_ext
20085 cat >>conftest.$ac_ext <<_ACEOF
20086 /* end confdefs.h. */
20091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20092 $EGREP "yes" >/dev/null 2>&1; then
20093 ac_cv_cpp_def___ALPHA__=yes
20095 ac_cv_cpp_def___ALPHA__=no
20100 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20101 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20102 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20103 CFLAGS="$CFLAGS -D__ALPHA__"
20104 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20107 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20108 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20109 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20110 echo $ECHO_N "(cached) $ECHO_C" >&6
20112 cat >conftest.$ac_ext <<_ACEOF
20115 cat confdefs.h >>conftest.$ac_ext
20116 cat >>conftest.$ac_ext <<_ACEOF
20117 /* end confdefs.h. */
20122 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20123 $EGREP "yes" >/dev/null 2>&1; then
20124 ac_cv_cpp_def___sparc__=yes
20126 ac_cv_cpp_def___sparc__=no
20131 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20132 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20133 if test $ac_cv_cpp_def___sparc__ = yes; then
20134 CFLAGS="$CFLAGS -D__sparc__"
20135 LINTFLAGS="$LINTFLAGS -D__sparc__"
20138 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20139 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20140 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20141 echo $ECHO_N "(cached) $ECHO_C" >&6
20143 cat >conftest.$ac_ext <<_ACEOF
20146 cat confdefs.h >>conftest.$ac_ext
20147 cat >>conftest.$ac_ext <<_ACEOF
20148 /* end confdefs.h. */
20149 #ifndef __powerpc__
20153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20154 $EGREP "yes" >/dev/null 2>&1; then
20155 ac_cv_cpp_def___powerpc__=yes
20157 ac_cv_cpp_def___powerpc__=no
20162 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20163 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20164 if test $ac_cv_cpp_def___powerpc__ = yes; then
20165 CFLAGS="$CFLAGS -D__powerpc__"
20166 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20171 case $host_vendor in
20172 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20173 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20174 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20175 echo $ECHO_N "(cached) $ECHO_C" >&6
20177 cat >conftest.$ac_ext <<_ACEOF
20180 cat confdefs.h >>conftest.$ac_ext
20181 cat >>conftest.$ac_ext <<_ACEOF
20182 /* end confdefs.h. */
20187 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20188 $EGREP "yes" >/dev/null 2>&1; then
20189 ac_cv_cpp_def___sun__=yes
20191 ac_cv_cpp_def___sun__=no
20196 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20197 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20198 if test $ac_cv_cpp_def___sun__ = yes; then
20199 CFLAGS="$CFLAGS -D__sun__"
20200 LINTFLAGS="$LINTFLAGS -D__sun__"
20206 DEPENDENCIES="### Dependencies:
20211 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20213 \$(OBJS): \$(IDL_GEN_HEADERS)
20214 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20215 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20216 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20222 ac_config_commands="$ac_config_commands include/stamp-h"
20225 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20227 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20229 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20231 ac_config_commands="$ac_config_commands dlls/user32/resources"
20233 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20235 ac_config_commands="$ac_config_commands include/wine"
20238 MAKE_RULES=Make.rules
20241 MAKE_DLL_RULES=dlls/Makedll.rules
20244 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20247 MAKE_TEST_RULES=dlls/Maketest.rules
20250 MAKE_PROG_RULES=programs/Makeprog.rules
20253 ac_config_files="$ac_config_files Make.rules"
20255 ac_config_files="$ac_config_files dlls/Makedll.rules"
20257 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20259 ac_config_files="$ac_config_files dlls/Maketest.rules"
20261 ac_config_files="$ac_config_files programs/Makeprog.rules"
20263 ac_config_files="$ac_config_files Makefile"
20265 ac_config_files="$ac_config_files dlls/Makefile"
20267 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20269 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20271 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20273 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20275 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20277 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20279 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20281 ac_config_files="$ac_config_files dlls/atl/Makefile"
20283 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20285 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20287 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20289 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20291 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20293 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20295 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20297 ac_config_files="$ac_config_files dlls/cards/Makefile"
20299 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20301 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20303 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20305 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20307 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20309 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20311 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20313 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20315 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20317 ac_config_files="$ac_config_files dlls/credui/Makefile"
20319 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20321 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20323 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20325 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20327 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20329 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20331 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20333 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20335 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20337 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20339 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20341 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20343 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20345 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20347 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20349 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20351 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20353 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20355 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20357 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20359 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20361 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20363 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20365 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20367 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20369 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20371 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20373 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20375 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20377 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20379 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20381 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20383 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20385 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20387 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20389 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20391 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20393 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20395 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20397 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20399 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20401 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20403 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20405 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20407 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20409 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20411 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20413 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20415 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20417 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20419 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
20421 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20423 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20425 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20427 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20429 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20431 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20433 ac_config_files="$ac_config_files dlls/hal/Makefile"
20435 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20437 ac_config_files="$ac_config_files dlls/hid/Makefile"
20439 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20441 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20443 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20445 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20447 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20449 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20451 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20453 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20455 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20457 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20459 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20461 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20463 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20465 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20467 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20469 ac_config_files="$ac_config_files dlls/itss/Makefile"
20471 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20473 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20475 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20477 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20479 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20481 ac_config_files="$ac_config_files dlls/localui/Makefile"
20483 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20485 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20487 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20489 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20491 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20493 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20495 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20497 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20499 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20501 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20503 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20505 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20507 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20509 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20511 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20513 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20515 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20517 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20519 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20521 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20523 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20525 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20527 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20529 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20531 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20533 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20535 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20537 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20539 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20541 ac_config_files="$ac_config_files dlls/msi/Makefile"
20543 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20545 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20547 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20549 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20551 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20553 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20555 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20557 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20559 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20561 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20563 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20565 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20567 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20569 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20571 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20573 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20575 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20577 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20579 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20581 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20583 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20585 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20587 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20589 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20591 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20593 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20595 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20597 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20599 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20601 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20603 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20605 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20607 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20609 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20611 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20613 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20615 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20617 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20619 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20621 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20623 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20625 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20627 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20629 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20631 ac_config_files="$ac_config_files dlls/printui/Makefile"
20633 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20635 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20637 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20639 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20641 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20643 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20645 ac_config_files="$ac_config_files dlls/query/Makefile"
20647 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20649 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20651 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20653 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20655 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20657 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20659 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20661 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20663 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20665 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20667 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20669 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20671 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20673 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20675 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20677 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20679 ac_config_files="$ac_config_files dlls/security/Makefile"
20681 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20683 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20685 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20687 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20689 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20691 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20693 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20695 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20697 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20699 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20701 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20703 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20705 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20707 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20709 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20711 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20713 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20715 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20717 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20719 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20721 ac_config_files="$ac_config_files dlls/sti/Makefile"
20723 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20725 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20727 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20729 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20731 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20733 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20735 ac_config_files="$ac_config_files dlls/url/Makefile"
20737 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20739 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20741 ac_config_files="$ac_config_files dlls/user32/Makefile"
20743 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20745 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20747 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20749 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20751 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20753 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20755 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20757 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20759 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20761 ac_config_files="$ac_config_files dlls/version/Makefile"
20763 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20765 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20767 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20769 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20771 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20773 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20775 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20777 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20779 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20781 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20783 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20785 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20787 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20789 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20791 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20793 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20795 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20797 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20799 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20801 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20803 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20805 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20807 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20809 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
20811 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20813 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20815 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20817 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20819 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20821 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20823 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20825 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20827 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20829 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20831 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20833 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20835 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20837 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20839 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20841 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20843 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20845 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20847 ac_config_files="$ac_config_files documentation/Makefile"
20849 ac_config_files="$ac_config_files fonts/Makefile"
20851 ac_config_files="$ac_config_files include/Makefile"
20853 ac_config_files="$ac_config_files libs/Makefile"
20855 ac_config_files="$ac_config_files libs/port/Makefile"
20857 ac_config_files="$ac_config_files libs/wine/Makefile"
20859 ac_config_files="$ac_config_files libs/wpp/Makefile"
20861 ac_config_files="$ac_config_files loader/Makefile"
20863 ac_config_files="$ac_config_files programs/Makefile"
20865 ac_config_files="$ac_config_files programs/clock/Makefile"
20867 ac_config_files="$ac_config_files programs/cmd/Makefile"
20869 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20871 ac_config_files="$ac_config_files programs/control/Makefile"
20873 ac_config_files="$ac_config_files programs/eject/Makefile"
20875 ac_config_files="$ac_config_files programs/expand/Makefile"
20877 ac_config_files="$ac_config_files programs/explorer/Makefile"
20879 ac_config_files="$ac_config_files programs/hh/Makefile"
20881 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20883 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20885 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20887 ac_config_files="$ac_config_files programs/net/Makefile"
20889 ac_config_files="$ac_config_files programs/notepad/Makefile"
20891 ac_config_files="$ac_config_files programs/oleview/Makefile"
20893 ac_config_files="$ac_config_files programs/progman/Makefile"
20895 ac_config_files="$ac_config_files programs/regedit/Makefile"
20897 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20899 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20901 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20903 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20905 ac_config_files="$ac_config_files programs/start/Makefile"
20907 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20909 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20911 ac_config_files="$ac_config_files programs/view/Makefile"
20913 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20915 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20917 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20919 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20921 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20923 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20925 ac_config_files="$ac_config_files programs/winefile/Makefile"
20927 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20929 ac_config_files="$ac_config_files programs/winemine/Makefile"
20931 ac_config_files="$ac_config_files programs/winepath/Makefile"
20933 ac_config_files="$ac_config_files programs/winetest/Makefile"
20935 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20937 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20939 ac_config_files="$ac_config_files programs/winver/Makefile"
20941 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20943 ac_config_files="$ac_config_files programs/write/Makefile"
20945 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20947 ac_config_files="$ac_config_files server/Makefile"
20949 ac_config_files="$ac_config_files tools/Makefile"
20951 ac_config_files="$ac_config_files tools/widl/Makefile"
20953 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20955 ac_config_files="$ac_config_files tools/winedump/Makefile"
20957 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20959 ac_config_files="$ac_config_files tools/wmc/Makefile"
20961 ac_config_files="$ac_config_files tools/wrc/Makefile"
20964 cat >confcache <<\_ACEOF
20965 # This file is a shell script that caches the results of configure
20966 # tests run on this system so they can be shared between configure
20967 # scripts and configure runs, see configure's option --config-cache.
20968 # It is not useful on other systems. If it contains results you don't
20969 # want to keep, you may remove or edit it.
20971 # config.status only pays attention to the cache file if you give it
20972 # the --recheck option to rerun configure.
20974 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20975 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20976 # following values.
20980 # The following way of writing the cache mishandles newlines in values,
20981 # but we know of no workaround that is simple, portable, and efficient.
20982 # So, we kill variables containing newlines.
20983 # Ultrix sh set writes to stderr and can't be redirected directly,
20984 # and sets the high bit in the cache file unless we assign to the vars.
20986 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20987 eval ac_val=\$$ac_var
20991 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20992 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20995 _ | IFS | as_nl) ;; #(
20996 *) $as_unset $ac_var ;;
21002 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21003 *${as_nl}ac_space=\ *)
21004 # `set' does not quote correctly, so add quotes (double-quote
21005 # substitution turns \\\\ into \\, and sed turns \\ into \).
21008 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21011 # `set' quotes correctly as required by POSIX, so do not add quotes.
21012 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21021 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21023 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21025 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21026 if test -w "$cache_file"; then
21027 test "x$cache_file" != "x/dev/null" &&
21028 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21029 echo "$as_me: updating cache $cache_file" >&6;}
21030 cat confcache >$cache_file
21032 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21033 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21038 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21039 # Let make expand exec_prefix.
21040 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21042 DEFS=-DHAVE_CONFIG_H
21046 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21047 # 1. Remove the extension, and $U if already installed.
21048 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21049 ac_i=`echo "$ac_i" | sed "$ac_script"`
21050 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21051 # will be set to the directory where LIBOBJS objects are built.
21052 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21053 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21055 LIBOBJS=$ac_libobjs
21057 LTLIBOBJS=$ac_ltlibobjs
21061 : ${CONFIG_STATUS=./config.status}
21062 ac_clean_files_save=$ac_clean_files
21063 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21064 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21065 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21066 cat >$CONFIG_STATUS <<_ACEOF
21068 # Generated by $as_me.
21069 # Run this file to recreate the current configuration.
21070 # Compiler output produced by configure, useful for debugging
21071 # configure, is in config.log if it exists.
21074 ac_cs_recheck=false
21076 SHELL=\${CONFIG_SHELL-$SHELL}
21079 cat >>$CONFIG_STATUS <<\_ACEOF
21080 ## --------------------- ##
21081 ## M4sh Initialization. ##
21082 ## --------------------- ##
21084 # Be more Bourne compatible
21085 DUALCASE=1; export DUALCASE # for MKS sh
21086 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21089 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21090 # is contrary to our usage. Disable this feature.
21091 alias -g '${1+"$@"}'='"$@"'
21092 setopt NO_GLOB_SUBST
21094 case `(set -o) 2>/dev/null` in
21095 *posix*) set -o posix ;;
21104 # Avoid depending upon Character Ranges.
21105 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21106 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21107 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21108 as_cr_digits='0123456789'
21109 as_cr_alnum=$as_cr_Letters$as_cr_digits
21111 # The user is always right.
21112 if test "${PATH_SEPARATOR+set}" != set; then
21113 echo "#! /bin/sh" >conf$$.sh
21114 echo "exit 0" >>conf$$.sh
21116 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21124 # Support unset when possible.
21125 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21133 # We need space, tab and new line, in precisely that order. Quoting is
21134 # there to prevent editors from complaining about space-tab.
21135 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21136 # splitting by setting IFS to empty value.)
21141 # Find who we are. Look in the path if we contain no directory separator.
21143 *[\\/]* ) as_myself=$0 ;;
21144 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21145 for as_dir in $PATH
21148 test -z "$as_dir" && as_dir=.
21149 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21155 # We did not find ourselves, most probably we were run as `sh COMMAND'
21156 # in which case we are not to be found in the path.
21157 if test "x$as_myself" = x; then
21160 if test ! -f "$as_myself"; then
21161 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21162 { (exit 1); exit 1; }
21165 # Work around bugs in pre-3.0 UWIN ksh.
21166 for as_var in ENV MAIL MAILPATH
21167 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21175 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21176 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21177 LC_TELEPHONE LC_TIME
21179 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21180 eval $as_var=C; export $as_var
21182 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21186 # Required to use basename.
21187 if expr a : '\(a\)' >/dev/null 2>&1 &&
21188 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21194 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21195 as_basename=basename
21201 # Name of the executable.
21202 as_me=`$as_basename -- "$0" ||
21203 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21204 X"$0" : 'X\(//\)$' \| \
21205 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21207 sed '/^.*\/\([^/][^/]*\)\/*$/{
21226 as_lineno_1=$LINENO
21227 as_lineno_2=$LINENO
21228 test "x$as_lineno_1" != "x$as_lineno_2" &&
21229 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21231 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21232 # uniformly replaced by the line number. The first 'sed' inserts a
21233 # line-number line after each line using $LINENO; the second 'sed'
21234 # does the real work. The second script uses 'N' to pair each
21235 # line-number line with the line containing $LINENO, and appends
21236 # trailing '-' during substitution so that $LINENO is not a special
21237 # case at line end.
21238 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21239 # scripts with optimization help from Paolo Bonzini. Blame Lee
21240 # E. McMahon (1931-1989) for sed's syntax. :-)
21252 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21255 ' >$as_me.lineno &&
21256 chmod +x "$as_me.lineno" ||
21257 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21258 { (exit 1); exit 1; }; }
21260 # Don't try to exec as it changes $[0], causing all sort of problems
21261 # (the dirname of $[0] is not the place where we might find the
21262 # original and so on. Autoconf is especially sensitive to this).
21263 . "./$as_me.lineno"
21264 # Exit status is that of the last command.
21269 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21275 ECHO_C= ECHO_N= ECHO_T=
21276 case `echo -n x` in
21278 case `echo 'x\c'` in
21279 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21286 if expr a : '\(a\)' >/dev/null 2>&1 &&
21287 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21293 rm -f conf$$ conf$$.exe conf$$.file
21294 if test -d conf$$.dir; then
21295 rm -f conf$$.dir/conf$$.file
21301 if ln -s conf$$.file conf$$ 2>/dev/null; then
21303 # ... but there are two gotchas:
21304 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21305 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21306 # In both cases, we have to default to `cp -p'.
21307 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21309 elif ln conf$$.file conf$$ 2>/dev/null; then
21314 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21315 rmdir conf$$.dir 2>/dev/null
21317 if mkdir -p . 2>/dev/null; then
21320 test -d ./-p && rmdir ./-p
21324 if test -x / >/dev/null 2>&1; then
21325 as_test_x='test -x'
21327 if ls -dL / >/dev/null 2>&1; then
21334 if test -d "$1"; then
21340 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21341 ???[sx]*):;;*)false;;esac;fi
21345 as_executable_p=$as_test_x
21347 # Sed expression to map a string onto a valid CPP name.
21348 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21350 # Sed expression to map a string onto a valid variable name.
21351 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21356 # Save the log message, to keep $[0] and so on meaningful, and to
21357 # report actual input values of CONFIG_FILES etc. instead of their
21358 # values after options handling.
21360 This file was extended by Wine $as_me 0.9.42, which was
21361 generated by GNU Autoconf 2.61. Invocation command line was
21363 CONFIG_FILES = $CONFIG_FILES
21364 CONFIG_HEADERS = $CONFIG_HEADERS
21365 CONFIG_LINKS = $CONFIG_LINKS
21366 CONFIG_COMMANDS = $CONFIG_COMMANDS
21369 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21374 cat >>$CONFIG_STATUS <<_ACEOF
21375 # Files that config.status was made for.
21376 config_files="$ac_config_files"
21377 config_headers="$ac_config_headers"
21378 config_commands="$ac_config_commands"
21382 cat >>$CONFIG_STATUS <<\_ACEOF
21384 \`$as_me' instantiates files from templates according to the
21385 current configuration.
21387 Usage: $0 [OPTIONS] [FILE]...
21389 -h, --help print this help, then exit
21390 -V, --version print version number and configuration settings, then exit
21391 -q, --quiet do not print progress messages
21392 -d, --debug don't remove temporary files
21393 --recheck update $as_me by reconfiguring in the same conditions
21394 --file=FILE[:TEMPLATE]
21395 instantiate the configuration file FILE
21396 --header=FILE[:TEMPLATE]
21397 instantiate the configuration header FILE
21399 Configuration files:
21402 Configuration headers:
21405 Configuration commands:
21408 Report bugs to <bug-autoconf@gnu.org>."
21411 cat >>$CONFIG_STATUS <<_ACEOF
21413 Wine config.status 0.9.42
21414 configured by $0, generated by GNU Autoconf 2.61,
21415 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21417 Copyright (C) 2006 Free Software Foundation, Inc.
21418 This config.status script is free software; the Free Software Foundation
21419 gives unlimited permission to copy, distribute and modify it."
21426 cat >>$CONFIG_STATUS <<\_ACEOF
21427 # If no file are specified by the user, then we need to provide default
21428 # value. By we need to know if files were specified by the user.
21434 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21435 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21446 # Handling of the options.
21447 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21449 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21450 echo "$ac_cs_version"; exit ;;
21451 --debug | --debu | --deb | --de | --d | -d )
21453 --file | --fil | --fi | --f )
21455 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21456 ac_need_defaults=false;;
21457 --header | --heade | --head | --hea )
21459 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21460 ac_need_defaults=false;;
21462 # Conflict between --help and --header
21463 { echo "$as_me: error: ambiguous option: $1
21464 Try \`$0 --help' for more information." >&2
21465 { (exit 1); exit 1; }; };;
21466 --help | --hel | -h )
21467 echo "$ac_cs_usage"; exit ;;
21468 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21469 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21472 # This is an error.
21473 -*) { echo "$as_me: error: unrecognized option: $1
21474 Try \`$0 --help' for more information." >&2
21475 { (exit 1); exit 1; }; } ;;
21477 *) ac_config_targets="$ac_config_targets $1"
21478 ac_need_defaults=false ;;
21484 ac_configure_extra_args=
21486 if $ac_cs_silent; then
21488 ac_configure_extra_args="$ac_configure_extra_args --silent"
21492 cat >>$CONFIG_STATUS <<_ACEOF
21493 if \$ac_cs_recheck; then
21494 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21495 CONFIG_SHELL=$SHELL
21496 export CONFIG_SHELL
21497 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21501 cat >>$CONFIG_STATUS <<\_ACEOF
21505 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21506 ## Running $as_me. ##
21512 cat >>$CONFIG_STATUS <<_ACEOF
21515 cat >>$CONFIG_STATUS <<\_ACEOF
21517 # Handling of arguments.
21518 for ac_config_target in $ac_config_targets
21520 case $ac_config_target in
21521 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21522 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21523 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21524 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21525 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21526 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21527 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21528 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21529 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21530 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21531 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21532 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21533 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21534 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21535 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21536 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21537 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21538 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21539 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21540 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21541 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21542 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21543 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21544 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21545 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21546 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21547 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21548 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21549 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21550 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21551 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21552 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21553 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21554 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21555 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21556 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21557 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21558 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21559 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21560 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21561 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21562 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21563 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21564 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21565 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21566 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21567 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21568 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21569 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21570 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21571 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21572 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21573 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21574 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21575 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21576 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21577 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21578 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21579 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21580 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21581 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21582 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21583 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21584 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21585 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21586 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21587 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21588 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21589 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21590 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21591 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21592 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21593 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21594 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21595 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21596 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21597 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21598 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21599 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21600 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21601 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21602 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21603 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21604 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21605 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21606 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21607 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21608 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21609 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21610 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21611 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21612 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21613 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21614 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21615 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21616 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21617 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21618 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21619 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21620 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21621 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21622 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21623 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21624 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21625 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21626 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21627 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21628 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21629 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21630 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21631 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21632 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21633 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21634 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21635 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21636 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21637 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21638 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21639 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21640 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21641 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21642 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21643 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21644 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21645 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21646 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21647 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21648 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21649 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21650 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21651 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21652 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21653 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21654 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21655 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21656 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21657 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21658 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21659 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21660 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21661 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21662 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21663 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21664 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21665 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21666 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21667 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21668 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21669 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21670 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21671 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21672 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21673 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21674 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21675 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21676 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21677 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21678 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21679 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21680 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21681 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21682 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21683 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21684 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21685 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21686 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21687 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21688 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21689 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21690 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21691 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21692 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21693 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21694 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21695 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21696 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21697 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21698 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21699 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21700 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21701 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21702 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21703 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21704 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21705 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21706 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21707 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21708 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21709 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21710 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21711 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21712 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21713 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21714 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
21715 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21716 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21717 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21718 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21719 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21720 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21721 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21722 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21723 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21724 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21725 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21726 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21727 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21728 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21729 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21730 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21731 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21732 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21733 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21734 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21735 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21736 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21737 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21738 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21739 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21740 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21741 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21742 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21743 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21744 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21745 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21746 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21747 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21748 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21749 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21750 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21751 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21752 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21753 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21754 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21755 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21756 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21757 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21758 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21759 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21760 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21761 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21762 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21763 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21764 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21765 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21766 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21767 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21768 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21769 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21770 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21771 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21772 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21773 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21774 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21775 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21776 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21777 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21778 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21779 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21780 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21781 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21782 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21783 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21784 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21785 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21786 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21787 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21788 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21789 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21790 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21791 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21792 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21793 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21794 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21795 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21796 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21797 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21798 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21799 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21800 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21801 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21802 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21803 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21804 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21805 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21806 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21807 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
21808 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21809 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21810 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21811 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21812 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21813 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21814 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21815 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21816 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21817 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21818 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21819 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21820 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21821 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21822 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21823 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21824 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21825 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21826 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21827 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21828 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21829 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21830 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21831 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21832 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21833 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21834 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21835 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21836 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21837 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21838 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21839 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21840 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21841 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21842 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21843 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21844 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21845 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21846 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21847 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21848 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21849 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21850 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21851 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21852 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21853 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21854 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21855 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21856 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21857 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21858 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21859 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21860 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21861 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21862 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21863 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21864 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21865 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21866 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21867 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21868 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21869 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21870 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21871 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21872 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21873 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21874 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
21875 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21876 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21877 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21878 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21879 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21880 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21881 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21882 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21883 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21885 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21886 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21887 { (exit 1); exit 1; }; };;
21892 # If the user did not use the arguments to specify the items to instantiate,
21893 # then the envvar interface is used. Set only those that are not.
21894 # We use the long form for the default assignment because of an extremely
21895 # bizarre bug on SunOS 4.1.3.
21896 if $ac_need_defaults; then
21897 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21898 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21899 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21902 # Have a temporary directory for convenience. Make it in the build tree
21903 # simply because there is no reason against having it here, and in addition,
21904 # creating and moving files from /tmp can sometimes cause problems.
21905 # Hook for its removal unless debugging.
21906 # Note that there is a small window in which the directory will not be cleaned:
21907 # after its creation but before its name has been assigned to `$tmp'.
21911 trap 'exit_status=$?
21912 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21914 trap '{ (exit 1); exit 1; }' 1 2 13 15
21916 # Create a (secure) tmp directory for tmp files.
21919 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21920 test -n "$tmp" && test -d "$tmp"
21923 tmp=./conf$$-$RANDOM
21924 (umask 077 && mkdir "$tmp")
21927 echo "$me: cannot create a temporary directory in ." >&2
21928 { (exit 1); exit 1; }
21932 # Set up the sed scripts for CONFIG_FILES section.
21935 # No need to generate the scripts if there are no CONFIG_FILES.
21936 # This happens for instance when ./config.status config.h
21937 if test -n "$CONFIG_FILES"; then
21941 # Create sed commands to just substitute file output variables.
21943 # Remaining file output variables are in a fragment that also has non-file
21949 for ac_last_try in false false false false false :; do
21950 cat >conf$$subs.sed <<_ACEOF
21951 SHELL!$SHELL$ac_delim
21952 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21953 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21954 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21955 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21956 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21957 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21958 exec_prefix!$exec_prefix$ac_delim
21959 prefix!$prefix$ac_delim
21960 program_transform_name!$program_transform_name$ac_delim
21961 bindir!$bindir$ac_delim
21962 sbindir!$sbindir$ac_delim
21963 libexecdir!$libexecdir$ac_delim
21964 datarootdir!$datarootdir$ac_delim
21965 datadir!$datadir$ac_delim
21966 sysconfdir!$sysconfdir$ac_delim
21967 sharedstatedir!$sharedstatedir$ac_delim
21968 localstatedir!$localstatedir$ac_delim
21969 includedir!$includedir$ac_delim
21970 oldincludedir!$oldincludedir$ac_delim
21971 docdir!$docdir$ac_delim
21972 infodir!$infodir$ac_delim
21973 htmldir!$htmldir$ac_delim
21974 dvidir!$dvidir$ac_delim
21975 pdfdir!$pdfdir$ac_delim
21976 psdir!$psdir$ac_delim
21977 libdir!$libdir$ac_delim
21978 localedir!$localedir$ac_delim
21979 mandir!$mandir$ac_delim
21980 DEFS!$DEFS$ac_delim
21981 ECHO_C!$ECHO_C$ac_delim
21982 ECHO_N!$ECHO_N$ac_delim
21983 ECHO_T!$ECHO_T$ac_delim
21984 LIBS!$LIBS$ac_delim
21985 build_alias!$build_alias$ac_delim
21986 host_alias!$host_alias$ac_delim
21987 target_alias!$target_alias$ac_delim
21988 build!$build$ac_delim
21989 build_cpu!$build_cpu$ac_delim
21990 build_vendor!$build_vendor$ac_delim
21991 build_os!$build_os$ac_delim
21992 host!$host$ac_delim
21993 host_cpu!$host_cpu$ac_delim
21994 host_vendor!$host_vendor$ac_delim
21995 host_os!$host_os$ac_delim
21996 WIN16_FILES!$WIN16_FILES$ac_delim
21997 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21998 SET_MAKE!$SET_MAKE$ac_delim
22000 CFLAGS!$CFLAGS$ac_delim
22001 LDFLAGS!$LDFLAGS$ac_delim
22002 CPPFLAGS!$CPPFLAGS$ac_delim
22003 ac_ct_CC!$ac_ct_CC$ac_delim
22004 EXEEXT!$EXEEXT$ac_delim
22005 OBJEXT!$OBJEXT$ac_delim
22007 CXXFLAGS!$CXXFLAGS$ac_delim
22008 ac_ct_CXX!$ac_ct_CXX$ac_delim
22009 CPPBIN!$CPPBIN$ac_delim
22010 TOOLSDIR!$TOOLSDIR$ac_delim
22011 XMKMF!$XMKMF$ac_delim
22013 X_CFLAGS!$X_CFLAGS$ac_delim
22014 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22015 X_LIBS!$X_LIBS$ac_delim
22016 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22017 FLEX!$FLEX$ac_delim
22018 BISON!$BISON$ac_delim
22020 ac_ct_AS!$ac_ct_AS$ac_delim
22023 RANLIB!$RANLIB$ac_delim
22024 STRIP!$STRIP$ac_delim
22025 WINDRES!$WINDRES$ac_delim
22026 LN_S!$LN_S$ac_delim
22028 GREP!$GREP$ac_delim
22029 EGREP!$EGREP$ac_delim
22030 LDCONFIG!$LDCONFIG$ac_delim
22031 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22032 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22035 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22037 elif $ac_last_try; then
22038 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22039 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22040 { (exit 1); exit 1; }; }
22042 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22046 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22047 if test -n "$ac_eof"; then
22048 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22049 ac_eof=`expr $ac_eof + 1`
22052 cat >>$CONFIG_STATUS <<_ACEOF
22053 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22054 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22055 /^[ ]*@MAKE_RULES@[ ]*$/{
22059 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22063 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22064 r $MAKE_IMPLIB_RULES
22067 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22071 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22077 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22078 s/^/s,@/; s/!/@,|#_!!_#|/
22081 s/'"$ac_delim"'$/,g/; t
22083 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22084 ' >>$CONFIG_STATUS <conf$$subs.sed
22085 rm -f conf$$subs.sed
22086 cat >>$CONFIG_STATUS <<_ACEOF
22092 for ac_last_try in false false false false false :; do
22093 cat >conf$$subs.sed <<_ACEOF
22094 INSTALL_DATA!$INSTALL_DATA$ac_delim
22095 LINT!$LINT$ac_delim
22096 LINTFLAGS!$LINTFLAGS$ac_delim
22097 FONTFORGE!$FONTFORGE$ac_delim
22098 PKG_CONFIG!$PKG_CONFIG$ac_delim
22099 PRELINK!$PRELINK$ac_delim
22100 LIBPTHREAD!$LIBPTHREAD$ac_delim
22101 XLIB!$XLIB$ac_delim
22102 XFILES!$XFILES$ac_delim
22103 OPENGLFILES!$OPENGLFILES$ac_delim
22104 GLU32FILES!$GLU32FILES$ac_delim
22105 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22106 QUARTZFILES!$QUARTZFILES$ac_delim
22107 DLLEXT!$DLLEXT$ac_delim
22108 DLLFLAGS!$DLLFLAGS$ac_delim
22109 LDSHARED!$LDSHARED$ac_delim
22110 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22111 LIBEXT!$LIBEXT$ac_delim
22112 IMPLIBEXT!$IMPLIBEXT$ac_delim
22113 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22114 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22116 DLLTOOL!$DLLTOOL$ac_delim
22117 DLLWRAP!$DLLWRAP$ac_delim
22118 MINGWAR!$MINGWAR$ac_delim
22119 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22120 IOKITLIB!$IOKITLIB$ac_delim
22121 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22122 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22123 COREAUDIO!$COREAUDIO$ac_delim
22124 CARBONLIB!$CARBONLIB$ac_delim
22125 CROSSTEST!$CROSSTEST$ac_delim
22126 CROSSCC!$CROSSCC$ac_delim
22127 CROSSWINDRES!$CROSSWINDRES$ac_delim
22128 NASLIBS!$NASLIBS$ac_delim
22129 XML2LIBS!$XML2LIBS$ac_delim
22130 XML2INCL!$XML2INCL$ac_delim
22131 XSLTLIBS!$XSLTLIBS$ac_delim
22132 XSLTINCL!$XSLTINCL$ac_delim
22133 HALINCL!$HALINCL$ac_delim
22134 sane_devel!$sane_devel$ac_delim
22135 SANEINCL!$SANEINCL$ac_delim
22136 gphoto2_devel!$gphoto2_devel$ac_delim
22137 gphoto2port_devel!$gphoto2port_devel$ac_delim
22138 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22139 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22140 ICULIBS!$ICULIBS$ac_delim
22141 RESOLVLIBS!$RESOLVLIBS$ac_delim
22142 LCMSLIBS!$LCMSLIBS$ac_delim
22143 LDAPLIBS!$LDAPLIBS$ac_delim
22144 ft_devel!$ft_devel$ac_delim
22145 FREETYPELIBS!$FREETYPELIBS$ac_delim
22146 FREETYPEINCL!$FREETYPEINCL$ac_delim
22147 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22148 ESDCONFIG!$ESDCONFIG$ac_delim
22149 ESDLIBS!$ESDLIBS$ac_delim
22150 ESDINCL!$ESDINCL$ac_delim
22151 ALSALIBS!$ALSALIBS$ac_delim
22152 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22153 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22154 BUILTINFLAG!$BUILTINFLAG$ac_delim
22155 LDPATH!$LDPATH$ac_delim
22156 CRTLIBS!$CRTLIBS$ac_delim
22157 SOCKETLIBS!$SOCKETLIBS$ac_delim
22158 MAIN_BINARY!$MAIN_BINARY$ac_delim
22159 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22160 LIBDL!$LIBDL$ac_delim
22161 LIBPOLL!$LIBPOLL$ac_delim
22162 DEPENDENCIES!$DEPENDENCIES$ac_delim
22163 LIBOBJS!$LIBOBJS$ac_delim
22164 LTLIBOBJS!$LTLIBOBJS$ac_delim
22167 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then
22169 elif $ac_last_try; then
22170 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22171 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22172 { (exit 1); exit 1; }; }
22174 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22178 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22179 if test -n "$ac_eof"; then
22180 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22181 ac_eof=`expr $ac_eof + 1`
22184 cat >>$CONFIG_STATUS <<_ACEOF
22185 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22186 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22189 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22190 s/^/s,@/; s/!/@,|#_!!_#|/
22193 s/'"$ac_delim"'$/,g/; t
22195 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22196 ' >>$CONFIG_STATUS <conf$$subs.sed
22197 rm -f conf$$subs.sed
22198 cat >>$CONFIG_STATUS <<_ACEOF
22205 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22206 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22207 # trailing colons and then remove the whole line if VPATH becomes empty
22208 # (actually we leave an empty line to preserve line numbers).
22209 if test "x$srcdir" = x.; then
22210 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22211 s/:*\$(srcdir):*/:/
22212 s/:*\${srcdir}:*/:/
22214 s/^\([^=]*=[ ]*\):*/\1/
22220 cat >>$CONFIG_STATUS <<\_ACEOF
22221 fi # test -n "$CONFIG_FILES"
22224 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22227 :[FHLC]) ac_mode=$ac_tag; continue;;
22229 case $ac_mode$ac_tag in
22231 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22232 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22233 { (exit 1); exit 1; }; };;
22234 :[FH]-) ac_tag=-:-;;
22235 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22252 -) ac_f="$tmp/stdin";;
22253 *) # Look for the file first in the build tree, then in the source tree
22254 # (if the path is not absolute). The absolute path cannot be DOS-style,
22255 # because $ac_f cannot contain `:'.
22259 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22261 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22262 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22263 { (exit 1); exit 1; }; };;
22265 ac_file_inputs="$ac_file_inputs $ac_f"
22268 # Let's still pretend it is `configure' which instantiates (i.e., don't
22269 # use $as_me), people would be surprised to read:
22270 # /* config.h. Generated by config.status. */
22271 configure_input="Generated from "`IFS=:
22272 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22273 if test x"$ac_file" != x-; then
22274 configure_input="$ac_file. $configure_input"
22275 { echo "$as_me:$LINENO: creating $ac_file" >&5
22276 echo "$as_me: creating $ac_file" >&6;}
22280 *:-:* | *:-) cat >"$tmp/stdin";;
22285 ac_dir=`$as_dirname -- "$ac_file" ||
22286 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22287 X"$ac_file" : 'X\(//\)[^/]' \| \
22288 X"$ac_file" : 'X\(//\)$' \| \
22289 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22295 /^X\(\/\/\)[^/].*/{
22310 -*) as_dir=./$as_dir;;
22312 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22316 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22317 *) as_qdir=$as_dir;;
22319 as_dirs="'$as_qdir' $as_dirs"
22320 as_dir=`$as_dirname -- "$as_dir" ||
22321 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22322 X"$as_dir" : 'X\(//\)[^/]' \| \
22323 X"$as_dir" : 'X\(//\)$' \| \
22324 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22330 /^X\(\/\/\)[^/].*/{
22343 test -d "$as_dir" && break
22345 test -z "$as_dirs" || eval "mkdir $as_dirs"
22346 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22347 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22348 { (exit 1); exit 1; }; }; }
22352 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22354 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22355 # A ".." for each directory in $ac_dir_suffix.
22356 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22357 case $ac_top_builddir_sub in
22358 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22359 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22362 ac_abs_top_builddir=$ac_pwd
22363 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22364 # for backward compatibility:
22365 ac_top_builddir=$ac_top_build_prefix
22368 .) # We are building in place.
22370 ac_top_srcdir=$ac_top_builddir_sub
22371 ac_abs_top_srcdir=$ac_pwd ;;
22372 [\\/]* | ?:[\\/]* ) # Absolute name.
22373 ac_srcdir=$srcdir$ac_dir_suffix;
22374 ac_top_srcdir=$srcdir
22375 ac_abs_top_srcdir=$srcdir ;;
22376 *) # Relative name.
22377 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22378 ac_top_srcdir=$ac_top_build_prefix$srcdir
22379 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22381 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22391 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22392 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22396 cat >>$CONFIG_STATUS <<\_ACEOF
22397 # If the template does not know about datarootdir, expand it.
22398 # FIXME: This hack should be removed a few years after 2.60.
22399 ac_datarootdir_hack=; ac_datarootdir_seen=
22401 case `sed -n '/datarootdir/ {
22410 ' $ac_file_inputs` in
22411 *datarootdir*) ac_datarootdir_seen=yes;;
22412 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22413 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22414 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22416 cat >>$CONFIG_STATUS <<_ACEOF
22417 ac_datarootdir_hack='
22418 s&@datadir@&$datadir&g
22419 s&@docdir@&$docdir&g
22420 s&@infodir@&$infodir&g
22421 s&@localedir@&$localedir&g
22422 s&@mandir@&$mandir&g
22423 s&\\\${datarootdir}&$datarootdir&g' ;;
22427 # Neutralize VPATH when `$srcdir' = `.'.
22428 # Shell code in configure.ac might set extrasub.
22429 # FIXME: do we really want to maintain this feature?
22430 cat >>$CONFIG_STATUS <<_ACEOF
22434 cat >>$CONFIG_STATUS <<\_ACEOF
22436 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22437 s&@configure_input@&$configure_input&;t t
22438 s&@top_builddir@&$ac_top_builddir_sub&;t t
22439 s&@srcdir@&$ac_srcdir&;t t
22440 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22441 s&@top_srcdir@&$ac_top_srcdir&;t t
22442 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22443 s&@builddir@&$ac_builddir&;t t
22444 s&@abs_builddir@&$ac_abs_builddir&;t t
22445 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22446 s&@INSTALL@&$ac_INSTALL&;t t
22447 $ac_datarootdir_hack
22448 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22450 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22451 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22452 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22453 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22454 which seems to be undefined. Please make sure it is defined." >&5
22455 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22456 which seems to be undefined. Please make sure it is defined." >&2;}
22460 -) cat "$tmp/out"; rm -f "$tmp/out";;
22461 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22470 # Transform confdefs.h into a sed script `conftest.defines', that
22471 # substitutes the proper values into config.h.in to produce config.h.
22472 rm -f conftest.defines conftest.tail
22473 # First, append a space to every undef/define line, to ease matching.
22474 echo 's/$/ /' >conftest.defines
22475 # Then, protect against being on the right side of a sed subst, or in
22476 # an unquoted here document, in config.status. If some macros were
22477 # called several times there might be several #defines for the same
22478 # symbol, which is useless. But do not sort them, since the last
22479 # AC_DEFINE must be honored.
22480 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22481 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22482 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22483 # PARAMS is the parameter list in the macro definition--in most cases, it's
22484 # just an empty string.
22485 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22486 ac_dB='\\)[ (].*,\\1define\\2'
22494 s/^[ ]*#[ ]*define[ ][ ]*//
22499 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22500 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22501 ' >>conftest.defines
22503 # Remove the space that was appended to ease matching.
22504 # Then replace #undef with comments. This is necessary, for
22505 # example, in the case of _POSIX_SOURCE, which is predefined and required
22506 # on some systems where configure will not decide to define it.
22507 # (The regexp can be short, since the line contains either #define or #undef.)
22509 s,^[ #]*u.*,/* & */,' >>conftest.defines
22511 # Break up conftest.defines:
22512 ac_max_sed_lines=50
22514 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22515 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22516 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22518 ac_in='$ac_file_inputs'
22519 ac_out='"$tmp/out1"'
22520 ac_nxt='"$tmp/out2"'
22524 # Write a here document:
22525 cat >>$CONFIG_STATUS <<_ACEOF
22526 # First, check the format of the line:
22527 cat >"\$tmp/defines.sed" <<\\CEOF
22528 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22529 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22533 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22535 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22536 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22537 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22538 grep . conftest.tail >/dev/null || break
22539 rm -f conftest.defines
22540 mv conftest.tail conftest.defines
22542 rm -f conftest.defines conftest.tail
22544 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22545 cat >>$CONFIG_STATUS <<\_ACEOF
22546 if test x"$ac_file" != x-; then
22547 echo "/* $configure_input */" >"$tmp/config.h"
22548 cat "$ac_result" >>"$tmp/config.h"
22549 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22550 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22551 echo "$as_me: $ac_file is unchanged" >&6;}
22554 mv "$tmp/config.h" $ac_file
22557 echo "/* $configure_input */"
22563 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22564 echo "$as_me: executing $ac_file commands" >&6;}
22569 case $ac_file$ac_mode in
22570 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22571 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22572 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22573 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22574 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22575 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22576 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22577 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22578 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22579 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22580 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22581 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22582 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22588 { (exit 0); exit 0; }
22590 chmod +x $CONFIG_STATUS
22591 ac_clean_files=$ac_clean_files_save
22594 # configure is writing to config.log, and then calls config.status.
22595 # config.status does its own redirection, appending to config.log.
22596 # Unfortunately, on DOS this fails, as config.log is still kept open
22597 # by configure, so config.status won't be able to write to it; its
22598 # output is simply discarded. So we exec the FD to /dev/null,
22599 # effectively closing config.log, so it can be properly (re)opened and
22600 # appended to by config.status. When coming back to configure, we
22601 # need to make the FD available again.
22602 if test "$no_create" != yes; then
22604 ac_config_status_args=
22605 test "$silent" = yes &&
22606 ac_config_status_args="$ac_config_status_args --quiet"
22608 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22610 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22611 # would make configure fail if this is the last instruction.
22612 $ac_cs_success || { (exit 1); exit 1; }
22616 if test "$no_create" = "yes"
22623 if test "$verbose" = "yes"; then
22624 for msg in $wine_notices; do
22625 if test -n "$msg"; then
22627 { echo "$as_me:$LINENO: $msg" >&5
22628 echo "$as_me: $msg" >&6;}
22632 for msg in $wine_warnings; do
22633 if test -n "$msg"; then
22635 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22636 echo "$as_me: WARNING: $msg" >&2;}
22642 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."