2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.57.
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.57'
578 PACKAGE_STRING
='Wine 0.9.57'
579 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
581 ac_unique_file
="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default
="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
774 ac_subst_files
='MAKE_RULES
779 ac_precious_vars
='build_alias
794 # Initialize some variables set by options.
796 ac_init_version
=false
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
806 program_transform_name
=s
,x
,x
,
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir
='${exec_prefix}/bin'
821 sbindir
='${exec_prefix}/sbin'
822 libexecdir
='${exec_prefix}/libexec'
823 datarootdir
='${prefix}/share'
824 datadir
='${datarootdir}'
825 sysconfdir
='${prefix}/etc'
826 sharedstatedir
='${prefix}/com'
827 localstatedir
='${prefix}/var'
828 includedir
='${prefix}/include'
829 oldincludedir
='/usr/include'
830 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
831 infodir
='${datarootdir}/info'
836 libdir
='${exec_prefix}/lib'
837 localedir
='${datarootdir}/locale'
838 mandir
='${datarootdir}/man'
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\
$ac_option
852 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
856 # Accept the important Cygnus configure options, so we can diagnose typos.
858 case $ac_dashdash$ac_option in
862 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
864 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
867 -build |
--build |
--buil |
--bui |
--bu)
868 ac_prev
=build_alias
;;
869 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
870 build_alias
=$ac_optarg ;;
872 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
873 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
874 ac_prev
=cache_file
;;
875 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
876 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
877 cache_file
=$ac_optarg ;;
880 cache_file
=config.cache
;;
882 -datadir |
--datadir |
--datadi |
--datad)
884 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
885 datadir
=$ac_optarg ;;
887 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
888 |
--dataroo |
--dataro |
--datar)
889 ac_prev
=datarootdir
;;
890 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
891 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
892 datarootdir
=$ac_optarg ;;
894 -disable-* |
--disable-*)
895 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
898 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
899 { (exit 1); exit 1; }; }
900 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
901 eval enable_
$ac_feature=no
;;
903 -docdir |
--docdir |
--docdi |
--doc |
--do)
905 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
908 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
910 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
913 -enable-* |
--enable-*)
914 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
917 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
918 { (exit 1); exit 1; }; }
919 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
920 eval enable_
$ac_feature=\
$ac_optarg ;;
922 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
923 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
924 |
--exec |
--exe |
--ex)
925 ac_prev
=exec_prefix
;;
926 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
927 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
928 |
--exec=* |
--exe=* |
--ex=*)
929 exec_prefix
=$ac_optarg ;;
931 -gas |
--gas |
--ga |
--g)
932 # Obsolete; use --with-gas.
935 -help |
--help |
--hel |
--he |
-h)
937 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
938 ac_init_help
=recursive
;;
939 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
940 ac_init_help
=short
;;
942 -host |
--host |
--hos |
--ho)
943 ac_prev
=host_alias
;;
944 -host=* |
--host=* |
--hos=* |
--ho=*)
945 host_alias
=$ac_optarg ;;
947 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
949 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
951 htmldir
=$ac_optarg ;;
953 -includedir |
--includedir |
--includedi |
--included |
--include \
954 |
--includ |
--inclu |
--incl |
--inc)
955 ac_prev
=includedir
;;
956 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
957 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
958 includedir
=$ac_optarg ;;
960 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
962 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
963 infodir
=$ac_optarg ;;
965 -libdir |
--libdir |
--libdi |
--libd)
967 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
970 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
971 |
--libexe |
--libex |
--libe)
972 ac_prev
=libexecdir
;;
973 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
974 |
--libexe=* |
--libex=* |
--libe=*)
975 libexecdir
=$ac_optarg ;;
977 -localedir |
--localedir |
--localedi |
--localed |
--locale)
979 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
980 localedir
=$ac_optarg ;;
982 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
983 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
984 ac_prev
=localstatedir
;;
985 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
986 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
987 localstatedir
=$ac_optarg ;;
989 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
991 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
995 # Obsolete; use --without-fp.
998 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
999 |
--no-cr |
--no-c |
-n)
1002 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1003 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1006 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1007 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1008 |
--oldin |
--oldi |
--old |
--ol |
--o)
1009 ac_prev
=oldincludedir
;;
1010 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1011 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1012 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1013 oldincludedir
=$ac_optarg ;;
1015 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1017 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1018 prefix
=$ac_optarg ;;
1020 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1021 |
--program-pre |
--program-pr |
--program-p)
1022 ac_prev
=program_prefix
;;
1023 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1024 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1025 program_prefix
=$ac_optarg ;;
1027 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1028 |
--program-suf |
--program-su |
--program-s)
1029 ac_prev
=program_suffix
;;
1030 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1031 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1032 program_suffix
=$ac_optarg ;;
1034 -program-transform-name |
--program-transform-name \
1035 |
--program-transform-nam |
--program-transform-na \
1036 |
--program-transform-n |
--program-transform- \
1037 |
--program-transform |
--program-transfor \
1038 |
--program-transfo |
--program-transf \
1039 |
--program-trans |
--program-tran \
1040 |
--progr-tra |
--program-tr |
--program-t)
1041 ac_prev
=program_transform_name
;;
1042 -program-transform-name=* |
--program-transform-name=* \
1043 |
--program-transform-nam=* |
--program-transform-na=* \
1044 |
--program-transform-n=* |
--program-transform-=* \
1045 |
--program-transform=* |
--program-transfor=* \
1046 |
--program-transfo=* |
--program-transf=* \
1047 |
--program-trans=* |
--program-tran=* \
1048 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1049 program_transform_name
=$ac_optarg ;;
1051 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1053 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1054 pdfdir
=$ac_optarg ;;
1056 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1058 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1061 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1062 |
-silent |
--silent |
--silen |
--sile |
--sil)
1065 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1067 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1069 sbindir
=$ac_optarg ;;
1071 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1072 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1073 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1075 ac_prev
=sharedstatedir
;;
1076 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1077 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1078 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1080 sharedstatedir
=$ac_optarg ;;
1082 -site |
--site |
--sit)
1084 -site=* |
--site=* |
--sit=*)
1087 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1089 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1090 srcdir
=$ac_optarg ;;
1092 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1093 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1094 ac_prev
=sysconfdir
;;
1095 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1096 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1097 sysconfdir
=$ac_optarg ;;
1099 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1100 ac_prev
=target_alias
;;
1101 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1102 target_alias
=$ac_optarg ;;
1104 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1107 -version |
--version |
--versio |
--versi |
--vers |
-V)
1108 ac_init_version
=: ;;
1111 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1114 { echo "$as_me: error: invalid package name: $ac_package" >&2
1115 { (exit 1); exit 1; }; }
1116 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1117 eval with_
$ac_package=\
$ac_optarg ;;
1119 -without-* |
--without-*)
1120 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1123 { echo "$as_me: error: invalid package name: $ac_package" >&2
1124 { (exit 1); exit 1; }; }
1125 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1126 eval with_
$ac_package=no
;;
1129 # Obsolete; use --with-x.
1132 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1133 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1134 ac_prev
=x_includes
;;
1135 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1136 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1137 x_includes
=$ac_optarg ;;
1139 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1140 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1141 ac_prev
=x_libraries
;;
1142 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1143 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1144 x_libraries
=$ac_optarg ;;
1146 -*) { echo "$as_me: error: unrecognized option: $ac_option
1147 Try \`$0 --help' for more information." >&2
1148 { (exit 1); exit 1; }; }
1152 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1155 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1156 { (exit 1); exit 1; }; }
1157 eval $ac_envvar=\
$ac_optarg
1158 export $ac_envvar ;;
1161 # FIXME: should be removed in autoconf 3.0.
1162 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1164 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1171 if test -n "$ac_prev"; then
1172 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1173 { echo "$as_me: error: missing argument to $ac_option" >&2
1174 { (exit 1); exit 1; }; }
1177 # Be sure to have absolute directory names.
1178 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179 datadir sysconfdir sharedstatedir localstatedir includedir \
1180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181 libdir localedir mandir
1183 eval ac_val
=\$
$ac_var
1185 [\\/$
]* | ?
:[\\/]* ) continue;;
1186 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1188 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1189 { (exit 1); exit 1; }; }
1192 # There might be people who depend on the old broken behavior: `$host'
1193 # used to hold the argument of --host etc.
1194 # FIXME: To remove some day.
1197 target
=$target_alias
1199 # FIXME: To remove some day.
1200 if test "x$host_alias" != x
; then
1201 if test "x$build_alias" = x
; then
1202 cross_compiling
=maybe
1203 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1204 If a cross compiler is detected then cross compile mode will be used." >&2
1205 elif test "x$build_alias" != "x$host_alias"; then
1211 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1213 test "$silent" = yes && exec 6>/dev
/null
1216 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1217 ac_ls_di
=`ls -di .` &&
1218 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1219 { echo "$as_me: error: Working directory cannot be determined" >&2
1220 { (exit 1); exit 1; }; }
1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1222 { echo "$as_me: error: pwd does not report name of working directory" >&2
1223 { (exit 1); exit 1; }; }
1226 # Find the source files, if location was not specified.
1227 if test -z "$srcdir"; then
1228 ac_srcdir_defaulted
=yes
1229 # Try the directory containing this script, then the parent directory.
1230 ac_confdir
=`$as_dirname -- "$0" ||
1231 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1232 X"$0" : 'X\(//\)[^/]' \| \
1233 X"$0" : 'X\(//\)$' \| \
1234 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1254 if test ! -r "$srcdir/$ac_unique_file"; then
1258 ac_srcdir_defaulted
=no
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1261 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1262 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1263 { (exit 1); exit 1; }; }
1265 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1267 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1268 { (exit 1); exit 1; }; }
1270 # When building in place, set srcdir=.
1271 if test "$ac_abs_confdir" = "$ac_pwd"; then
1274 # Remove unnecessary trailing slashes from srcdir.
1275 # Double slashes in file names in object file debugging info
1276 # mess up M-x gdb in Emacs.
1278 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1280 for ac_var
in $ac_precious_vars; do
1281 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1282 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1283 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1284 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1288 # Report the --help message.
1290 if test "$ac_init_help" = "long"; then
1291 # Omit some internal or obsolete options to make the list less imposing.
1292 # This message is too long to be a string in the A/UX 3.1 sh.
1294 \`configure' configures Wine 0.9.57 to adapt to many kinds of systems.
1296 Usage: $0 [OPTION]... [VAR=VALUE]...
1298 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1299 VAR=VALUE. See below for descriptions of some of the useful variables.
1301 Defaults for the options are specified in brackets.
1304 -h, --help display this help and exit
1305 --help=short display options specific to this package
1306 --help=recursive display the short help of all the included packages
1307 -V, --version display version information and exit
1308 -q, --quiet, --silent do not print \`checking...' messages
1309 --cache-file=FILE cache test results in FILE [disabled]
1310 -C, --config-cache alias for \`--cache-file=config.cache'
1311 -n, --no-create do not create output files
1312 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1314 Installation directories:
1315 --prefix=PREFIX install architecture-independent files in PREFIX
1316 [$ac_default_prefix]
1317 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1320 By default, \`make install' will install all the files in
1321 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1322 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1323 for instance \`--prefix=\$HOME'.
1325 For better control, use the options below.
1327 Fine tuning of the installation directories:
1328 --bindir=DIR user executables [EPREFIX/bin]
1329 --sbindir=DIR system admin executables [EPREFIX/sbin]
1330 --libexecdir=DIR program executables [EPREFIX/libexec]
1331 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1332 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1333 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1334 --libdir=DIR object code libraries [EPREFIX/lib]
1335 --includedir=DIR C header files [PREFIX/include]
1336 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1339 --infodir=DIR info documentation [DATAROOTDIR/info]
1340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1341 --mandir=DIR man documentation [DATAROOTDIR/man]
1342 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1343 --htmldir=DIR html documentation [DOCDIR]
1344 --dvidir=DIR dvi documentation [DOCDIR]
1345 --pdfdir=DIR pdf documentation [DOCDIR]
1346 --psdir=DIR ps documentation [DOCDIR]
1352 --x-includes=DIR X include files are
in DIR
1353 --x-libraries=DIR X library files are
in DIR
1356 --build=BUILD configure
for building on BUILD
[guessed
]
1357 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1361 if test -n "$ac_init_help"; then
1362 case $ac_init_help in
1363 short | recursive
) echo "Configuration of Wine 0.9.57:";;
1368 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1369 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1370 --disable-win16 do not include Win16 support
1371 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1373 --enable-maintainer-mode
1374 enable maintainer-specific build rules
1377 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1378 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1379 --without-alsa do not use the Alsa sound support
1380 --without-audioio do not use the AudioIO sound support
1381 --without-capi do not use CAPI (ISDN support)
1382 --without-cms do not use CMS (color management support)
1383 --without-coreaudio do not use the CoreAudio sound support
1384 --without-cups do not use CUPS
1385 --without-curses do not use (n)curses
1386 --without-esd do not use the EsounD sound support
1387 --without-fontconfig do not use fontconfig
1388 --without-gphoto do not use gphoto (Digital Camera support)
1389 --without-hal do not use HAL (dynamic device support)
1390 --without-jack do not use the Jack sound support
1391 --without-jpeg do not use JPEG
1392 --without-ldap do not use LDAP
1393 --without-nas do not use the NAS sound support
1394 --without-opengl do not use OpenGL
1395 --without-openssl do not use OpenSSL
1396 --without-oss do not use the OSS sound support
1397 --without-png do not use PNG
1398 --without-sane do not use SANE (scanner support)
1399 --without-xcomposite do not use the Xcomposite extension
1400 --without-xcursor do not use the Xcursor extension
1401 --without-xinerama do not use Xinerama (multi-monitor support)
1402 --without-xinput do not use the Xinput extension
1403 --without-xml do not use XML
1404 --without-xrandr do not use Xrandr (resolution changes)
1405 --without-xrender do not use the Xrender extension
1406 --without-xshape do not use the Xshape extension
1407 --without-xshm do not use XShm (shared memory extension)
1408 --without-xslt do not use XSLT
1409 --without-xvidmode do not use XFree video mode extension
1410 --with-wine-tools=DIR use Wine tools from directory DIR
1411 --with-x use the X Window System
1413 Some influential environment variables:
1414 CC C compiler command
1415 CFLAGS C compiler flags
1416 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1417 nonstandard directory <lib dir>
1418 LIBS libraries to pass to the linker, e.g. -l<library>
1419 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1420 you have headers in a nonstandard directory <include dir>
1421 CXX C++ compiler command
1422 CXXFLAGS C++ compiler flags
1423 XMKMF Path to xmkmf, Makefile generator for X Window System
1426 Use these variables to override the choices made by `configure' or to
help
1427 it to
find libraries and programs with nonstandard names
/locations.
1429 Report bugs to
<wine-devel@winehq.org
>.
1434 if test "$ac_init_help" = "recursive"; then
1435 # If there are subdirs, report their specific --help.
1436 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1437 test -d "$ac_dir" ||
continue
1441 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1443 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1444 # A ".." for each directory in $ac_dir_suffix.
1445 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1446 case $ac_top_builddir_sub in
1447 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1448 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1451 ac_abs_top_builddir
=$ac_pwd
1452 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1453 # for backward compatibility:
1454 ac_top_builddir
=$ac_top_build_prefix
1457 .
) # We are building in place.
1459 ac_top_srcdir
=$ac_top_builddir_sub
1460 ac_abs_top_srcdir
=$ac_pwd ;;
1461 [\\/]* | ?
:[\\/]* ) # Absolute name.
1462 ac_srcdir
=$srcdir$ac_dir_suffix;
1463 ac_top_srcdir
=$srcdir
1464 ac_abs_top_srcdir
=$srcdir ;;
1466 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1467 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1468 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1470 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1472 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1473 # Check for guested configure.
1474 if test -f "$ac_srcdir/configure.gnu"; then
1476 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1477 elif test -f "$ac_srcdir/configure"; then
1479 $SHELL "$ac_srcdir/configure" --help=recursive
1481 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1483 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1487 test -n "$ac_init_help" && exit $ac_status
1488 if $ac_init_version; then
1490 Wine configure
0.9.57
1491 generated by GNU Autoconf
2.61
1493 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1494 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1495 This configure
script is free software
; the Free Software Foundation
1496 gives unlimited permission to copy
, distribute and modify it.
1500 cat >config.log
<<_ACEOF
1501 This file contains any messages produced by compilers while
1502 running configure, to aid debugging if configure makes a mistake.
1504 It was created by Wine $as_me 0.9.57, which was
1505 generated by GNU Autoconf 2.61. Invocation command line was
1517 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1518 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1519 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1520 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1521 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1523 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1524 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1526 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1527 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1528 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1529 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1530 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1531 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1532 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1540 test -z "$as_dir" && as_dir
=.
1541 echo "PATH: $as_dir"
1557 # Keep a trace of the command line.
1558 # Strip out --no-create and --no-recursion so they do not pile up.
1559 # Strip out --silent because we don't want to record it for future runs.
1560 # Also quote any args containing shell meta-characters.
1561 # Make two passes to allow for proper duplicate-argument suppression.
1565 ac_must_keep_next
=false
1571 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1572 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1573 |
-silent |
--silent |
--silen |
--sile |
--sil)
1576 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1579 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1581 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1582 if test $ac_must_keep_next = true
; then
1583 ac_must_keep_next
=false
# Got value, back to normal.
1586 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1587 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1588 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1589 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1590 case "$ac_configure_args0 " in
1591 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1594 -* ) ac_must_keep_next
=true
;;
1597 ac_configure_args
="$ac_configure_args '$ac_arg'"
1602 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1603 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1605 # When interrupted or exit'd, cleanup temporary files, and complete
1606 # config.log. We remove comments because anyway the quotes in there
1607 # would cause problems or look ugly.
1608 # WARNING: Use '\'' to represent an apostrophe within the trap.
1609 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1610 trap 'exit_status=$?
1611 # Save into config.log some information that might help in debugging.
1616 ## ---------------- ##
1617 ## Cache variables. ##
1618 ## ---------------- ##
1621 # The following way of writing the cache mishandles newlines in values,
1623 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1624 eval ac_val=\$$ac_var
1628 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1629 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1632 _ | IFS | as_nl) ;; #(
1633 *) $as_unset $ac_var ;;
1638 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1639 *${as_nl}ac_space=\ *)
1641 "s/'\''/'\''\\\\'\'''\''/g;
1642 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1645 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1653 ## ----------------- ##
1654 ## Output variables. ##
1655 ## ----------------- ##
1658 for ac_var in $ac_subst_vars
1660 eval ac_val=\$$ac_var
1662 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1664 echo "$ac_var='\''$ac_val'\''"
1668 if test -n "$ac_subst_files"; then
1670 ## ------------------- ##
1671 ## File substitutions. ##
1672 ## ------------------- ##
1675 for ac_var
in $ac_subst_files
1677 eval ac_val
=\$
$ac_var
1679 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1681 echo "$ac_var='\''$ac_val'\''"
1686 if test -s confdefs.h; then
1696 test "$ac_signal" != 0 &&
1697 echo "$as_me: caught signal $ac_signal"
1698 echo "$as_me: exit $exit_status"
1700 rm -f core *.core core.conftest.* &&
1701 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1704 for ac_signal
in 1 2 13 15; do
1705 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1709 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1710 rm -f -r conftest
* confdefs.h
1712 # Predefined preprocessor variables.
1714 cat >>confdefs.h
<<_ACEOF
1715 #define PACKAGE_NAME "$PACKAGE_NAME"
1719 cat >>confdefs.h
<<_ACEOF
1720 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1724 cat >>confdefs.h
<<_ACEOF
1725 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1729 cat >>confdefs.h
<<_ACEOF
1730 #define PACKAGE_STRING "$PACKAGE_STRING"
1734 cat >>confdefs.h
<<_ACEOF
1735 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1739 # Let the site file select an alternate cache file if it wants to.
1740 # Prefer explicitly selected file to automatically selected ones.
1741 if test -n "$CONFIG_SITE"; then
1742 set x
"$CONFIG_SITE"
1743 elif test "x$prefix" != xNONE
; then
1744 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1746 set x
"$ac_default_prefix/share/config.site" \
1747 "$ac_default_prefix/etc/config.site"
1752 if test -r "$ac_site_file"; then
1753 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1754 echo "$as_me: loading site script $ac_site_file" >&6;}
1755 sed 's/^/| /' "$ac_site_file" >&5
1760 if test -r "$cache_file"; then
1761 # Some versions of bash will fail to source /dev/null (special
1762 # files actually), so we avoid doing that.
1763 if test -f "$cache_file"; then
1764 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1765 echo "$as_me: loading cache $cache_file" >&6;}
1767 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1768 *) .
"./$cache_file";;
1772 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1773 echo "$as_me: creating cache $cache_file" >&6;}
1777 # Check that the precious variables saved in the cache have kept the same
1779 ac_cache_corrupted
=false
1780 for ac_var
in $ac_precious_vars; do
1781 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1782 eval ac_new_set
=\
$ac_env_${ac_var}_set
1783 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1784 eval ac_new_val
=\
$ac_env_${ac_var}_value
1785 case $ac_old_set,$ac_new_set in
1787 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1788 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1789 ac_cache_corrupted
=: ;;
1791 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1792 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1793 ac_cache_corrupted
=: ;;
1796 if test "x$ac_old_val" != "x$ac_new_val"; then
1797 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1798 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1799 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1800 echo "$as_me: former value: $ac_old_val" >&2;}
1801 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1802 echo "$as_me: current value: $ac_new_val" >&2;}
1803 ac_cache_corrupted
=:
1806 # Pass precious variables to config.status.
1807 if test "$ac_new_set" = set; then
1809 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1810 *) ac_arg
=$ac_var=$ac_new_val ;;
1812 case " $ac_configure_args " in
1813 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1814 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1818 if $ac_cache_corrupted; then
1819 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1820 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1821 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1822 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1823 { (exit 1); exit 1; }; }
1851 ac_cpp
='$CPP $CPPFLAGS'
1852 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1853 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1854 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1858 ac_config_headers
="$ac_config_headers include/config.h"
1861 for ac_dir
in tools
"$srcdir"/tools
; do
1862 if test -f "$ac_dir/install-sh"; then
1864 ac_install_sh
="$ac_aux_dir/install-sh -c"
1866 elif test -f "$ac_dir/install.sh"; then
1868 ac_install_sh
="$ac_aux_dir/install.sh -c"
1870 elif test -f "$ac_dir/shtool"; then
1872 ac_install_sh
="$ac_aux_dir/shtool install -c"
1876 if test -z "$ac_aux_dir"; then
1877 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1878 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1879 { (exit 1); exit 1; }; }
1882 # These three variables are undocumented and unsupported,
1883 # and are intended to be withdrawn in a future Autoconf release.
1884 # They can cause serious problems if a builder's source tree is in a directory
1885 # whose full name contains unusual characters.
1886 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1887 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1888 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1893 # Check whether --enable-win16 was given.
1894 if test "${enable_win16+set}" = set; then
1895 enableval
=$enable_win16;
1898 # Check whether --enable-win64 was given.
1899 if test "${enable_win64+set}" = set; then
1900 enableval
=$enable_win64;
1903 # Check whether --enable-maintainer-mode was given.
1904 if test "${enable_maintainer_mode+set}" = set; then
1905 enableval
=$enable_maintainer_mode;
1913 # Check whether --with-alsa was given.
1914 if test "${with_alsa+set}" = set; then
1915 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
1919 # Check whether --with-audioio was given.
1920 if test "${with_audioio+set}" = set; then
1921 withval
=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h
=no
; fi
1925 # Check whether --with-capi was given.
1926 if test "${with_capi+set}" = set; then
1927 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
1931 # Check whether --with-cms was given.
1932 if test "${with_cms+set}" = set; then
1933 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
1937 # Check whether --with-coreaudio was given.
1938 if test "${with_coreaudio+set}" = set; then
1939 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
1943 # Check whether --with-cups was given.
1944 if test "${with_cups+set}" = set; then
1945 withval
=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h
=no
; fi
1949 # Check whether --with-curses was given.
1950 if test "${with_curses+set}" = set; then
1951 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
1955 # Check whether --with-esd was given.
1956 if test "${with_esd+set}" = set; then
1961 # Check whether --with-fontconfig was given.
1962 if test "${with_fontconfig+set}" = set; then
1963 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
1967 # Check whether --with-gphoto was given.
1968 if test "${with_gphoto+set}" = set; then
1969 withval
=$with_gphoto;
1973 # Check whether --with-hal was given.
1974 if test "${with_hal+set}" = set; then
1979 # Check whether --with-jack was given.
1980 if test "${with_jack+set}" = set; then
1981 withval
=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h
=no
; fi
1985 # Check whether --with-jpeg was given.
1986 if test "${with_jpeg+set}" = set; then
1987 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
1991 # Check whether --with-ldap was given.
1992 if test "${with_ldap+set}" = set; then
1993 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
1997 # Check whether --with-nas was given.
1998 if test "${with_nas+set}" = set; then
1999 withval
=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h
=no
; fi
2003 # Check whether --with-opengl was given.
2004 if test "${with_opengl+set}" = set; then
2005 withval
=$with_opengl;
2009 # Check whether --with-openssl was given.
2010 if test "${with_openssl+set}" = set; then
2011 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2015 # Check whether --with-oss was given.
2016 if test "${with_oss+set}" = set; then
2017 withval
=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h
=no
; ac_cv_header_sys_soundcard_h
=no
; ac_cv_header_machine_soundcard_h
=no
; fi
2021 # Check whether --with-png was given.
2022 if test "${with_png+set}" = set; then
2023 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2027 # Check whether --with-sane was given.
2028 if test "${with_sane+set}" = set; then
2033 # Check whether --with-xcomposite was given.
2034 if test "${with_xcomposite+set}" = set; then
2035 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2039 # Check whether --with-xcursor was given.
2040 if test "${with_xcursor+set}" = set; then
2041 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2045 # Check whether --with-xinerama was given.
2046 if test "${with_xinerama+set}" = set; then
2047 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2051 # Check whether --with-xinput was given.
2052 if test "${with_xinput+set}" = set; then
2053 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2057 # Check whether --with-xml was given.
2058 if test "${with_xml+set}" = set; then
2063 # Check whether --with-xrandr was given.
2064 if test "${with_xrandr+set}" = set; then
2065 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2069 # Check whether --with-xrender was given.
2070 if test "${with_xrender+set}" = set; then
2071 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2075 # Check whether --with-xshape was given.
2076 if test "${with_xshape+set}" = set; then
2077 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2081 # Check whether --with-xshm was given.
2082 if test "${with_xshm+set}" = set; then
2083 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2087 # Check whether --with-xslt was given.
2088 if test "${with_xslt+set}" = set; then
2093 # Check whether --with-xvidmode was given.
2094 if test "${with_xvidmode+set}" = set; then
2095 withval
=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h
=no
; fi
2100 # Check whether --with-wine-tools was given.
2101 if test "${with_wine_tools+set}" = set; then
2102 withval
=$with_wine_tools;
2106 # Make sure we can run config.sub.
2107 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2108 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2109 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2110 { (exit 1); exit 1; }; }
2112 { echo "$as_me:$LINENO: checking build system type" >&5
2113 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2114 if test "${ac_cv_build+set}" = set; then
2115 echo $ECHO_N "(cached) $ECHO_C" >&6
2117 ac_build_alias
=$build_alias
2118 test "x$ac_build_alias" = x
&&
2119 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2120 test "x$ac_build_alias" = x
&&
2121 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2122 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2123 { (exit 1); exit 1; }; }
2124 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2125 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2126 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2127 { (exit 1); exit 1; }; }
2130 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2131 echo "${ECHO_T}$ac_cv_build" >&6; }
2132 case $ac_cv_build in
2134 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2135 echo "$as_me: error: invalid value of canonical build" >&2;}
2136 { (exit 1); exit 1; }; };;
2139 ac_save_IFS
=$IFS; IFS
='-'
2145 # Remember, the first character of IFS is used to create $*,
2146 # except with old shells:
2149 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2152 { echo "$as_me:$LINENO: checking host system type" >&5
2153 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2154 if test "${ac_cv_host+set}" = set; then
2155 echo $ECHO_N "(cached) $ECHO_C" >&6
2157 if test "x$host_alias" = x
; then
2158 ac_cv_host
=$ac_cv_build
2160 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2161 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2162 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2163 { (exit 1); exit 1; }; }
2167 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2168 echo "${ECHO_T}$ac_cv_host" >&6; }
2171 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2172 echo "$as_me: error: invalid value of canonical host" >&2;}
2173 { (exit 1); exit 1; }; };;
2176 ac_save_IFS
=$IFS; IFS
='-'
2182 # Remember, the first character of IFS is used to create $*,
2183 # except with old shells:
2186 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2191 if test "x$enable_win64" != "xyes"
2193 test -n "$CC" || CC
="gcc -m32"
2194 test -n "$CXX"|| CXX
="g++ -m32"
2195 test -n "$LD" || LD
="ld -m elf_i386"
2196 test -n "$AS" || AS
="as --32"
2204 if test "x$enable_win16" != "xno"
2211 WIN16_FILES
="\$(WIN16_FILES)"
2213 WIN16_INSTALL
="\$(WIN16_INSTALL)"
2215 if test "x$enable_win16" != "xyes"
2223 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2224 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2225 You need to run 'make distclean' in the source tree first." >&5
2226 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2227 You need to run 'make distclean' in the source tree first." >&2;}
2228 { (exit 1); exit 1; }; }
2233 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2234 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2235 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2236 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2237 echo $ECHO_N "(cached) $ECHO_C" >&6
2239 cat >conftest.
make <<\_ACEOF
2242 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2244 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2245 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2247 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2249 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2253 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2254 { echo "$as_me:$LINENO: result: yes" >&5
2255 echo "${ECHO_T}yes" >&6; }
2258 { echo "$as_me:$LINENO: result: no" >&5
2259 echo "${ECHO_T}no" >&6; }
2260 SET_MAKE
="MAKE=${MAKE-make}"
2264 ac_cpp
='$CPP $CPPFLAGS'
2265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2268 if test -n "$ac_tool_prefix"; then
2269 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2270 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2273 if test "${ac_cv_prog_CC+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 if test -n "$CC"; then
2277 ac_cv_prog_CC
="$CC" # Let the user override the test.
2279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2283 test -z "$as_dir" && as_dir
=.
2284 for ac_exec_ext
in '' $ac_executable_extensions; do
2285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2286 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 if test -n "$CC"; then
2298 { echo "$as_me:$LINENO: result: $CC" >&5
2299 echo "${ECHO_T}$CC" >&6; }
2301 { echo "$as_me:$LINENO: result: no" >&5
2302 echo "${ECHO_T}no" >&6; }
2307 if test -z "$ac_cv_prog_CC"; then
2309 # Extract the first word of "gcc", so it can be a program name with args.
2310 set dummy gcc
; ac_word
=$2
2311 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2313 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2314 echo $ECHO_N "(cached) $ECHO_C" >&6
2316 if test -n "$ac_ct_CC"; then
2317 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2323 test -z "$as_dir" && as_dir
=.
2324 for ac_exec_ext
in '' $ac_executable_extensions; do
2325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2326 ac_cv_prog_ac_ct_CC
="gcc"
2327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2336 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2337 if test -n "$ac_ct_CC"; then
2338 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2339 echo "${ECHO_T}$ac_ct_CC" >&6; }
2341 { echo "$as_me:$LINENO: result: no" >&5
2342 echo "${ECHO_T}no" >&6; }
2345 if test "x$ac_ct_CC" = x
; then
2348 case $cross_compiling:$ac_tool_warned in
2350 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2351 whose name does not start with the host triplet. If you think this
2352 configuration is useful to you, please write to autoconf@gnu.org." >&5
2353 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2354 whose name does not start with the host triplet. If you think this
2355 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2356 ac_tool_warned
=yes ;;
2364 if test -z "$CC"; then
2365 if test -n "$ac_tool_prefix"; then
2366 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2367 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2370 if test "${ac_cv_prog_CC+set}" = set; then
2371 echo $ECHO_N "(cached) $ECHO_C" >&6
2373 if test -n "$CC"; then
2374 ac_cv_prog_CC
="$CC" # Let the user override the test.
2376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2380 test -z "$as_dir" && as_dir
=.
2381 for ac_exec_ext
in '' $ac_executable_extensions; do
2382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2383 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2394 if test -n "$CC"; then
2395 { echo "$as_me:$LINENO: result: $CC" >&5
2396 echo "${ECHO_T}$CC" >&6; }
2398 { echo "$as_me:$LINENO: result: no" >&5
2399 echo "${ECHO_T}no" >&6; }
2405 if test -z "$CC"; then
2406 # Extract the first word of "cc", so it can be a program name with args.
2407 set dummy cc
; ac_word
=$2
2408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2410 if test "${ac_cv_prog_CC+set}" = set; then
2411 echo $ECHO_N "(cached) $ECHO_C" >&6
2413 if test -n "$CC"; then
2414 ac_cv_prog_CC
="$CC" # Let the user override the test.
2417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2421 test -z "$as_dir" && as_dir
=.
2422 for ac_exec_ext
in '' $ac_executable_extensions; do
2423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2424 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2425 ac_prog_rejected
=yes
2429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2436 if test $ac_prog_rejected = yes; then
2437 # We found a bogon in the path, so make sure we never use it.
2438 set dummy
$ac_cv_prog_CC
2440 if test $# != 0; then
2441 # We chose a different compiler from the bogus one.
2442 # However, it has the same basename, so the bogon will be chosen
2443 # first if we set CC to just the basename; use the full file name.
2445 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2451 if test -n "$CC"; then
2452 { echo "$as_me:$LINENO: result: $CC" >&5
2453 echo "${ECHO_T}$CC" >&6; }
2455 { echo "$as_me:$LINENO: result: no" >&5
2456 echo "${ECHO_T}no" >&6; }
2461 if test -z "$CC"; then
2462 if test -n "$ac_tool_prefix"; then
2463 for ac_prog
in cl.exe
2465 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2466 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2469 if test "${ac_cv_prog_CC+set}" = set; then
2470 echo $ECHO_N "(cached) $ECHO_C" >&6
2472 if test -n "$CC"; then
2473 ac_cv_prog_CC
="$CC" # Let the user override the test.
2475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2479 test -z "$as_dir" && as_dir
=.
2480 for ac_exec_ext
in '' $ac_executable_extensions; do
2481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2482 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2493 if test -n "$CC"; then
2494 { echo "$as_me:$LINENO: result: $CC" >&5
2495 echo "${ECHO_T}$CC" >&6; }
2497 { echo "$as_me:$LINENO: result: no" >&5
2498 echo "${ECHO_T}no" >&6; }
2502 test -n "$CC" && break
2505 if test -z "$CC"; then
2507 for ac_prog
in cl.exe
2509 # Extract the first word of "$ac_prog", so it can be a program name with args.
2510 set dummy
$ac_prog; ac_word
=$2
2511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2513 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2516 if test -n "$ac_ct_CC"; then
2517 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2523 test -z "$as_dir" && as_dir
=.
2524 for ac_exec_ext
in '' $ac_executable_extensions; do
2525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2526 ac_cv_prog_ac_ct_CC
="$ac_prog"
2527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2536 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2537 if test -n "$ac_ct_CC"; then
2538 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2539 echo "${ECHO_T}$ac_ct_CC" >&6; }
2541 { echo "$as_me:$LINENO: result: no" >&5
2542 echo "${ECHO_T}no" >&6; }
2546 test -n "$ac_ct_CC" && break
2549 if test "x$ac_ct_CC" = x
; then
2552 case $cross_compiling:$ac_tool_warned in
2554 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2555 whose name does not start with the host triplet. If you think this
2556 configuration is useful to you, please write to autoconf@gnu.org." >&5
2557 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2558 whose name does not start with the host triplet. If you think this
2559 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2560 ac_tool_warned
=yes ;;
2569 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2570 See \`config.log' for more details." >&5
2571 echo "$as_me: error: no acceptable C compiler found in \$PATH
2572 See \`config.log' for more details." >&2;}
2573 { (exit 1); exit 1; }; }
2575 # Provide some information about the compiler.
2576 echo "$as_me:$LINENO: checking for C compiler version" >&5
2577 ac_compiler
=`set X $ac_compile; echo $2`
2578 { (ac_try
="$ac_compiler --version >&5"
2580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2581 *) ac_try_echo=$ac_try;;
2583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2584 (eval "$ac_compiler --version >&5") 2>&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }
2588 { (ac_try="$ac_compiler -v >&5"
2590 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2591 *) ac_try_echo
=$ac_try;;
2593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2594 (eval "$ac_compiler -v >&5") 2>&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); }
2598 { (ac_try
="$ac_compiler -V >&5"
2600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2601 *) ac_try_echo=$ac_try;;
2603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2604 (eval "$ac_compiler -V >&5") 2>&5
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }
2609 cat >conftest.$ac_ext <<_ACEOF
2612 cat confdefs.h >>conftest.$ac_ext
2613 cat >>conftest.$ac_ext <<_ACEOF
2614 /* end confdefs.h. */
2624 ac_clean_files_save=$ac_clean_files
2625 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2626 # Try to create an executable without -o first, disregard a.out.
2627 # It will help us diagnose broken compilers, and finding out an intuition
2629 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2630 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2631 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2633 # List of possible output files, starting from the most likely.
2634 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2635 # only as a last resort. b.out is created by i960 compilers.
2636 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2638 # The IRIX 6 linker writes into existing files which may not be
2639 # executable, retaining their permissions. Remove them first so a
2640 # subsequent execution test works.
2642 for ac_file in $ac_files
2645 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2646 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2651 if { (ac_try="$ac_link_default"
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2657 (eval "$ac_link_default") 2>&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; then
2661 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2662 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2663 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2664 # so that the user can short-circuit this test for compilers unknown to
2666 for ac_file
in $ac_files ''
2668 test -f "$ac_file" ||
continue
2670 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2673 # We found the default executable, but exeext='' is most
2677 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2679 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2681 # We set ac_cv_exeext here because the later test for it is not
2682 # safe: cross compilers may not add the suffix if given an `-o'
2683 # argument, so we may need to know it at that point already.
2684 # Even if this section looks crufty: it has the advantage of
2691 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2697 { echo "$as_me:$LINENO: result: $ac_file" >&5
2698 echo "${ECHO_T}$ac_file" >&6; }
2699 if test -z "$ac_file"; then
2700 echo "$as_me: failed program was:" >&5
2701 sed 's/^/| /' conftest.
$ac_ext >&5
2703 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2704 See \`config.log' for more details." >&5
2705 echo "$as_me: error: C compiler cannot create executables
2706 See \`config.log' for more details." >&2;}
2707 { (exit 77); exit 77; }; }
2710 ac_exeext
=$ac_cv_exeext
2712 # Check that the compiler produces executables we can run. If not, either
2713 # the compiler is broken, or we cross compile.
2714 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2715 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2716 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2717 # If not cross compiling, check that we can run a simple program.
2718 if test "$cross_compiling" != yes; then
2719 if { ac_try
='./$ac_file'
2720 { (case "(($ac_try" in
2721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2722 *) ac_try_echo=$ac_try;;
2724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2725 (eval "$ac_try") 2>&5
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); }; }; then
2731 if test "$cross_compiling" = maybe; then
2734 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2735 If you meant to cross compile, use \`--host'.
2736 See \`config.log' for more details.
" >&5
2737 echo "$as_me: error
: cannot run C compiled programs.
2738 If you meant to cross compile
, use \
`--host'.
2739 See \`config.log
' for more details." >&2;}
2740 { (exit 1); exit 1; }; }
2744 { echo "$as_me:$LINENO: result: yes" >&5
2745 echo "${ECHO_T}yes" >&6; }
2747 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2748 ac_clean_files=$ac_clean_files_save
2749 # Check that the compiler produces executables we can run. If not, either
2750 # the compiler is broken, or we cross compile.
2751 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2752 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2753 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2754 echo "${ECHO_T}$cross_compiling" >&6; }
2756 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2757 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2758 if { (ac_try="$ac_link"
2760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2761 *) ac_try_echo=$ac_try;;
2763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2764 (eval "$ac_link") 2>&5
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); }; then
2768 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2769 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2770 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2772 for ac_file
in conftest.exe conftest conftest.
*; do
2773 test -f "$ac_file" ||
continue
2775 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2776 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2782 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2783 See \`config.log' for more details." >&5
2784 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2785 See \`config.log' for more details." >&2;}
2786 { (exit 1); exit 1; }; }
2789 rm -f conftest
$ac_cv_exeext
2790 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2791 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2793 rm -f conftest.
$ac_ext
2794 EXEEXT
=$ac_cv_exeext
2796 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2797 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2798 if test "${ac_cv_objext+set}" = set; then
2799 echo $ECHO_N "(cached) $ECHO_C" >&6
2801 cat >conftest.
$ac_ext <<_ACEOF
2804 cat confdefs.h
>>conftest.
$ac_ext
2805 cat >>conftest.
$ac_ext <<_ACEOF
2806 /* end confdefs.h. */
2816 rm -f conftest.o conftest.obj
2817 if { (ac_try
="$ac_compile"
2819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2820 *) ac_try_echo=$ac_try;;
2822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2823 (eval "$ac_compile") 2>&5
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); }; then
2827 for ac_file in conftest.o conftest.obj conftest.*; do
2828 test -f "$ac_file" || continue;
2830 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2831 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2836 echo "$as_me: failed program was:" >&5
2837 sed 's/^/| /' conftest.$ac_ext >&5
2839 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2840 See \`config.log
' for more details." >&5
2841 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2842 See \`config.log' for more details.
" >&2;}
2843 { (exit 1); exit 1; }; }
2846 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2848 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2849 echo "${ECHO_T}$ac_cv_objext" >&6; }
2850 OBJEXT=$ac_cv_objext
2852 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2853 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2854 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2855 echo $ECHO_N "(cached
) $ECHO_C" >&6
2857 cat >conftest.$ac_ext <<_ACEOF
2860 cat confdefs.h >>conftest.$ac_ext
2861 cat >>conftest.$ac_ext <<_ACEOF
2862 /* end confdefs.h. */
2875 rm -f conftest.$ac_objext
2876 if { (ac_try="$ac_compile"
2878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2879 *) ac_try_echo=$ac_try;;
2881 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2882 (eval "$ac_compile") 2>conftest.er1
2884 grep -v '^ *+' conftest.er1 >conftest.err
2886 cat conftest.err >&5
2887 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2888 (exit $ac_status); } && {
2889 test -z "$ac_c_werror_flag" ||
2890 test ! -s conftest.err
2891 } && test -s conftest.$ac_objext; then
2894 echo "$as_me: failed program was
:" >&5
2895 sed 's/^/| /' conftest.$ac_ext >&5
2900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2901 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2904 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2905 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2906 GCC=`test $ac_compiler_gnu = yes && echo yes`
2907 ac_test_CFLAGS=${CFLAGS+set}
2908 ac_save_CFLAGS=$CFLAGS
2909 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2910 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2911 if test "${ac_cv_prog_cc_g+set}" = set; then
2912 echo $ECHO_N "(cached
) $ECHO_C" >&6
2914 ac_save_c_werror_flag=$ac_c_werror_flag
2915 ac_c_werror_flag=yes
2918 cat >conftest.$ac_ext <<_ACEOF
2921 cat confdefs.h >>conftest.$ac_ext
2922 cat >>conftest.$ac_ext <<_ACEOF
2923 /* end confdefs.h. */
2933 rm -f conftest.$ac_objext
2934 if { (ac_try="$ac_compile"
2936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2937 *) ac_try_echo=$ac_try;;
2939 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2940 (eval "$ac_compile") 2>conftest.er1
2942 grep -v '^ *+' conftest.er1 >conftest.err
2944 cat conftest.err >&5
2945 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2946 (exit $ac_status); } && {
2947 test -z "$ac_c_werror_flag" ||
2948 test ! -s conftest.err
2949 } && test -s conftest.$ac_objext; then
2952 echo "$as_me: failed program was
:" >&5
2953 sed 's/^/| /' conftest.$ac_ext >&5
2956 cat >conftest.$ac_ext <<_ACEOF
2959 cat confdefs.h >>conftest.$ac_ext
2960 cat >>conftest.$ac_ext <<_ACEOF
2961 /* end confdefs.h. */
2971 rm -f conftest.$ac_objext
2972 if { (ac_try="$ac_compile"
2974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2977 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2978 (eval "$ac_compile") 2>conftest.er1
2980 grep -v '^ *+' conftest.er1 >conftest.err
2982 cat conftest.err >&5
2983 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2984 (exit $ac_status); } && {
2985 test -z "$ac_c_werror_flag" ||
2986 test ! -s conftest.err
2987 } && test -s conftest.$ac_objext; then
2990 echo "$as_me: failed program was
:" >&5
2991 sed 's/^/| /' conftest.$ac_ext >&5
2993 ac_c_werror_flag=$ac_save_c_werror_flag
2995 cat >conftest.$ac_ext <<_ACEOF
2998 cat confdefs.h >>conftest.$ac_ext
2999 cat >>conftest.$ac_ext <<_ACEOF
3000 /* end confdefs.h. */
3010 rm -f conftest.$ac_objext
3011 if { (ac_try="$ac_compile"
3013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014 *) ac_try_echo=$ac_try;;
3016 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3017 (eval "$ac_compile") 2>conftest.er1
3019 grep -v '^ *+' conftest.er1 >conftest.err
3021 cat conftest.err >&5
3022 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3023 (exit $ac_status); } && {
3024 test -z "$ac_c_werror_flag" ||
3025 test ! -s conftest.err
3026 } && test -s conftest.$ac_objext; then
3029 echo "$as_me: failed program was
:" >&5
3030 sed 's/^/| /' conftest.$ac_ext >&5
3035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3042 ac_c_werror_flag=$ac_save_c_werror_flag
3044 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3045 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3046 if test "$ac_test_CFLAGS" = set; then
3047 CFLAGS=$ac_save_CFLAGS
3048 elif test $ac_cv_prog_cc_g = yes; then
3049 if test "$GCC" = yes; then
3055 if test "$GCC" = yes; then
3061 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3062 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3063 if test "${ac_cv_prog_cc_c89+set}" = set; then
3064 echo $ECHO_N "(cached
) $ECHO_C" >&6
3066 ac_cv_prog_cc_c89=no
3068 cat >conftest.$ac_ext <<_ACEOF
3071 cat confdefs.h >>conftest.$ac_ext
3072 cat >>conftest.$ac_ext <<_ACEOF
3073 /* end confdefs.h. */
3076 #include <sys/types.h>
3077 #include <sys/stat.h>
3078 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3079 struct buf { int x; };
3080 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3081 static char *e (p, i)
3087 static char *f (char * (*g) (char **, int), char **p, ...)
3092 s = g (p, va_arg (v,int));
3097 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3098 function prototypes and stuff, but not '\xHH' hex character constants.
3099 These don't provoke an error unfortunately, instead are silently treated
3100 as 'x'. The following induces an error, until -std is added to get
3101 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3102 array size at least. It's necessary to write '\x00'==0 to get something
3103 that's true only with -std. */
3104 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3106 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3107 inside strings and character constants. */
3109 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3111 int test (int i, double x);
3112 struct s1 {int (*f) (int a);};
3113 struct s2 {int (*f) (double a);};
3114 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3120 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3125 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3126 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3128 CC="$ac_save_CC $ac_arg"
3129 rm -f conftest.$ac_objext
3130 if { (ac_try="$ac_compile"
3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3135 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3136 (eval "$ac_compile") 2>conftest.er1
3138 grep -v '^ *+' conftest.er1 >conftest.err
3140 cat conftest.err >&5
3141 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3142 (exit $ac_status); } && {
3143 test -z "$ac_c_werror_flag" ||
3144 test ! -s conftest.err
3145 } && test -s conftest.$ac_objext; then
3146 ac_cv_prog_cc_c89=$ac_arg
3148 echo "$as_me: failed program was
:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3154 rm -f core conftest.err conftest.$ac_objext
3155 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3157 rm -f conftest.$ac_ext
3162 case "x
$ac_cv_prog_cc_c89" in
3164 { echo "$as_me:$LINENO: result
: none needed
" >&5
3165 echo "${ECHO_T}none needed
" >&6; } ;;
3167 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3168 echo "${ECHO_T}unsupported
" >&6; } ;;
3170 CC="$CC $ac_cv_prog_cc_c89"
3171 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3172 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3177 ac_cpp='$CPP $CPPFLAGS'
3178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3183 ac_cpp='$CXXCPP $CPPFLAGS'
3184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3187 if test -z "$CXX"; then
3188 if test -n "$CCC"; then
3191 if test -n "$ac_tool_prefix"; then
3192 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3194 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3195 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3196 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3197 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3198 if test "${ac_cv_prog_CXX+set}" = set; then
3199 echo $ECHO_N "(cached
) $ECHO_C" >&6
3201 if test -n "$CXX"; then
3202 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3208 test -z "$as_dir" && as_dir=.
3209 for ac_exec_ext in '' $ac_executable_extensions; do
3210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3211 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3212 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3222 if test -n "$CXX"; then
3223 { echo "$as_me:$LINENO: result
: $CXX" >&5
3224 echo "${ECHO_T}$CXX" >&6; }
3226 { echo "$as_me:$LINENO: result
: no
" >&5
3227 echo "${ECHO_T}no
" >&6; }
3231 test -n "$CXX" && break
3234 if test -z "$CXX"; then
3236 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3238 # Extract the first word of "$ac_prog", so it can be a program name with args.
3239 set dummy $ac_prog; ac_word=$2
3240 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3241 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3242 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3243 echo $ECHO_N "(cached
) $ECHO_C" >&6
3245 if test -n "$ac_ct_CXX"; then
3246 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3252 test -z "$as_dir" && as_dir=.
3253 for ac_exec_ext in '' $ac_executable_extensions; do
3254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3255 ac_cv_prog_ac_ct_CXX="$ac_prog"
3256 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3265 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3266 if test -n "$ac_ct_CXX"; then
3267 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3268 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3270 { echo "$as_me:$LINENO: result
: no
" >&5
3271 echo "${ECHO_T}no
" >&6; }
3275 test -n "$ac_ct_CXX" && break
3278 if test "x
$ac_ct_CXX" = x; then
3281 case $cross_compiling:$ac_tool_warned in
3283 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3284 whose name does not start with the
host triplet. If you think this
3285 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3286 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3287 whose name does not start with the
host triplet. If you think this
3288 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3289 ac_tool_warned=yes ;;
3297 # Provide some information about the compiler.
3298 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3299 ac_compiler=`set X $ac_compile; echo $2`
3300 { (ac_try="$ac_compiler --version >&5"
3302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3303 *) ac_try_echo=$ac_try;;
3305 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3306 (eval "$ac_compiler --version >&5") 2>&5
3308 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3309 (exit $ac_status); }
3310 { (ac_try="$ac_compiler -v >&5"
3312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3313 *) ac_try_echo=$ac_try;;
3315 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3316 (eval "$ac_compiler -v >&5") 2>&5
3318 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3319 (exit $ac_status); }
3320 { (ac_try="$ac_compiler -V >&5"
3322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3323 *) ac_try_echo=$ac_try;;
3325 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3326 (eval "$ac_compiler -V >&5") 2>&5
3328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3329 (exit $ac_status); }
3331 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3332 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3333 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3334 echo $ECHO_N "(cached
) $ECHO_C" >&6
3336 cat >conftest.$ac_ext <<_ACEOF
3339 cat confdefs.h >>conftest.$ac_ext
3340 cat >>conftest.$ac_ext <<_ACEOF
3341 /* end confdefs.h. */
3354 rm -f conftest.$ac_objext
3355 if { (ac_try="$ac_compile"
3357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358 *) ac_try_echo=$ac_try;;
3360 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3361 (eval "$ac_compile") 2>conftest.er1
3363 grep -v '^ *+' conftest.er1 >conftest.err
3365 cat conftest.err >&5
3366 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3367 (exit $ac_status); } && {
3368 test -z "$ac_cxx_werror_flag" ||
3369 test ! -s conftest.err
3370 } && test -s conftest.$ac_objext; then
3373 echo "$as_me: failed program was
:" >&5
3374 sed 's/^/| /' conftest.$ac_ext >&5
3379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3380 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3383 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3384 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3385 GXX=`test $ac_compiler_gnu = yes && echo yes`
3386 ac_test_CXXFLAGS=${CXXFLAGS+set}
3387 ac_save_CXXFLAGS=$CXXFLAGS
3388 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3389 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3390 if test "${ac_cv_prog_cxx_g+set}" = set; then
3391 echo $ECHO_N "(cached
) $ECHO_C" >&6
3393 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3394 ac_cxx_werror_flag=yes
3397 cat >conftest.$ac_ext <<_ACEOF
3400 cat confdefs.h >>conftest.$ac_ext
3401 cat >>conftest.$ac_ext <<_ACEOF
3402 /* end confdefs.h. */
3412 rm -f conftest.$ac_objext
3413 if { (ac_try="$ac_compile"
3415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3416 *) ac_try_echo=$ac_try;;
3418 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3419 (eval "$ac_compile") 2>conftest.er1
3421 grep -v '^ *+' conftest.er1 >conftest.err
3423 cat conftest.err >&5
3424 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3425 (exit $ac_status); } && {
3426 test -z "$ac_cxx_werror_flag" ||
3427 test ! -s conftest.err
3428 } && test -s conftest.$ac_objext; then
3429 ac_cv_prog_cxx_g=yes
3431 echo "$as_me: failed program was
:" >&5
3432 sed 's/^/| /' conftest.$ac_ext >&5
3435 cat >conftest.$ac_ext <<_ACEOF
3438 cat confdefs.h >>conftest.$ac_ext
3439 cat >>conftest.$ac_ext <<_ACEOF
3440 /* end confdefs.h. */
3450 rm -f conftest.$ac_objext
3451 if { (ac_try="$ac_compile"
3453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3454 *) ac_try_echo=$ac_try;;
3456 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3457 (eval "$ac_compile") 2>conftest.er1
3459 grep -v '^ *+' conftest.er1 >conftest.err
3461 cat conftest.err >&5
3462 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3463 (exit $ac_status); } && {
3464 test -z "$ac_cxx_werror_flag" ||
3465 test ! -s conftest.err
3466 } && test -s conftest.$ac_objext; then
3469 echo "$as_me: failed program was
:" >&5
3470 sed 's/^/| /' conftest.$ac_ext >&5
3472 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3474 cat >conftest.$ac_ext <<_ACEOF
3477 cat confdefs.h >>conftest.$ac_ext
3478 cat >>conftest.$ac_ext <<_ACEOF
3479 /* end confdefs.h. */
3489 rm -f conftest.$ac_objext
3490 if { (ac_try="$ac_compile"
3492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3493 *) ac_try_echo=$ac_try;;
3495 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3496 (eval "$ac_compile") 2>conftest.er1
3498 grep -v '^ *+' conftest.er1 >conftest.err
3500 cat conftest.err >&5
3501 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3502 (exit $ac_status); } && {
3503 test -z "$ac_cxx_werror_flag" ||
3504 test ! -s conftest.err
3505 } && test -s conftest.$ac_objext; then
3506 ac_cv_prog_cxx_g=yes
3508 echo "$as_me: failed program was
:" >&5
3509 sed 's/^/| /' conftest.$ac_ext >&5
3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3521 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3523 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3524 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3525 if test "$ac_test_CXXFLAGS" = set; then
3526 CXXFLAGS=$ac_save_CXXFLAGS
3527 elif test $ac_cv_prog_cxx_g = yes; then
3528 if test "$GXX" = yes; then
3534 if test "$GXX" = yes; then
3541 ac_cpp='$CPP $CPPFLAGS'
3542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3546 if test -n "$ac_tool_prefix"; then
3547 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3548 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3549 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3550 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3551 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3552 echo $ECHO_N "(cached
) $ECHO_C" >&6
3554 if test -n "$CPPBIN"; then
3555 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3561 test -z "$as_dir" && as_dir=.
3562 for ac_exec_ext in '' $ac_executable_extensions; do
3563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3564 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3565 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3574 CPPBIN=$ac_cv_prog_CPPBIN
3575 if test -n "$CPPBIN"; then
3576 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3577 echo "${ECHO_T}$CPPBIN" >&6; }
3579 { echo "$as_me:$LINENO: result
: no
" >&5
3580 echo "${ECHO_T}no
" >&6; }
3585 if test -z "$ac_cv_prog_CPPBIN"; then
3586 ac_ct_CPPBIN=$CPPBIN
3587 # Extract the first word of "cpp
", so it can be a program name with args.
3588 set dummy cpp; ac_word=$2
3589 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3590 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3591 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3592 echo $ECHO_N "(cached
) $ECHO_C" >&6
3594 if test -n "$ac_ct_CPPBIN"; then
3595 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3601 test -z "$as_dir" && as_dir=.
3602 for ac_exec_ext in '' $ac_executable_extensions; do
3603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3604 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3605 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3614 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3615 if test -n "$ac_ct_CPPBIN"; then
3616 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3617 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3619 { echo "$as_me:$LINENO: result
: no
" >&5
3620 echo "${ECHO_T}no
" >&6; }
3623 if test "x
$ac_ct_CPPBIN" = x; then
3626 case $cross_compiling:$ac_tool_warned in
3628 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3629 whose name does not start with the
host triplet. If you think this
3630 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3631 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3632 whose name does not start with the
host triplet. If you think this
3633 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3634 ac_tool_warned=yes ;;
3636 CPPBIN=$ac_ct_CPPBIN
3639 CPPBIN="$ac_cv_prog_CPPBIN"
3643 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3644 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3645 if test "${wine_cv_toolsdir+set}" = set; then
3646 echo $ECHO_N "(cached
) $ECHO_C" >&6
3648 if test -z "$with_wine_tools"; then
3649 if test "$cross_compiling" = "yes"; then
3650 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3651 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3652 { (exit 1); exit 1; }; }
3654 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3656 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3657 case $with_wine_tools in
3658 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3659 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3662 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3663 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3664 { (exit 1); exit 1; }; }
3667 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3668 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3669 TOOLSDIR=$wine_cv_toolsdir
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
3678 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3679 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3680 # On Suns, sometimes $CPP names a directory.
3681 if test -n "$CPP" && test -d "$CPP"; then
3684 if test -z "$CPP"; then
3685 if test "${ac_cv_prog_CPP+set}" = set; then
3686 echo $ECHO_N "(cached
) $ECHO_C" >&6
3688 # Double quotes because CPP needs to be expanded
3689 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3692 for ac_c_preproc_warn_flag in '' yes
3694 # Use a header file that comes with gcc, so configuring glibc
3695 # with a fresh cross-compiler works.
3696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3697 # <limits.h> exists even on freestanding compilers.
3698 # On the NeXT, cc -E runs the code through the compiler's parser,
3699 # not just through cpp. "Syntax error
" is here to catch this case.
3700 cat >conftest.$ac_ext <<_ACEOF
3703 cat confdefs.h >>conftest.$ac_ext
3704 cat >>conftest.$ac_ext <<_ACEOF
3705 /* end confdefs.h. */
3707 # include <limits.h>
3709 # include <assert.h>
3713 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3716 *) ac_try_echo=$ac_try;;
3718 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3719 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3721 grep -v '^ *+' conftest.er1 >conftest.err
3723 cat conftest.err >&5
3724 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3725 (exit $ac_status); } >/dev/null && {
3726 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3727 test ! -s conftest.err
3731 echo "$as_me: failed program was
:" >&5
3732 sed 's/^/| /' conftest.$ac_ext >&5
3734 # Broken: fails on valid input.
3738 rm -f conftest.err conftest.$ac_ext
3740 # OK, works on sane cases. Now check whether nonexistent headers
3741 # can be detected and how.
3742 cat >conftest.$ac_ext <<_ACEOF
3745 cat confdefs.h >>conftest.$ac_ext
3746 cat >>conftest.$ac_ext <<_ACEOF
3747 /* end confdefs.h. */
3748 #include <ac_nonexistent.h>
3750 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3753 *) ac_try_echo=$ac_try;;
3755 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3756 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3758 grep -v '^ *+' conftest.er1 >conftest.err
3760 cat conftest.err >&5
3761 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3762 (exit $ac_status); } >/dev/null && {
3763 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3764 test ! -s conftest.err
3766 # Broken: success on invalid input.
3769 echo "$as_me: failed program was
:" >&5
3770 sed 's/^/| /' conftest.$ac_ext >&5
3772 # Passes both tests.
3777 rm -f conftest.err conftest.$ac_ext
3780 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3781 rm -f conftest.err conftest.$ac_ext
3782 if $ac_preproc_ok; then
3794 { echo "$as_me:$LINENO: result
: $CPP" >&5
3795 echo "${ECHO_T}$CPP" >&6; }
3797 for ac_c_preproc_warn_flag in '' yes
3799 # Use a header file that comes with gcc, so configuring glibc
3800 # with a fresh cross-compiler works.
3801 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3802 # <limits.h> exists even on freestanding compilers.
3803 # On the NeXT, cc -E runs the code through the compiler's parser,
3804 # not just through cpp. "Syntax error
" is here to catch this case.
3805 cat >conftest.$ac_ext <<_ACEOF
3808 cat confdefs.h >>conftest.$ac_ext
3809 cat >>conftest.$ac_ext <<_ACEOF
3810 /* end confdefs.h. */
3812 # include <limits.h>
3814 # include <assert.h>
3818 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3821 *) ac_try_echo=$ac_try;;
3823 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3824 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3826 grep -v '^ *+' conftest.er1 >conftest.err
3828 cat conftest.err >&5
3829 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3830 (exit $ac_status); } >/dev/null && {
3831 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3832 test ! -s conftest.err
3836 echo "$as_me: failed program was
:" >&5
3837 sed 's/^/| /' conftest.$ac_ext >&5
3839 # Broken: fails on valid input.
3843 rm -f conftest.err conftest.$ac_ext
3845 # OK, works on sane cases. Now check whether nonexistent headers
3846 # can be detected and how.
3847 cat >conftest.$ac_ext <<_ACEOF
3850 cat confdefs.h >>conftest.$ac_ext
3851 cat >>conftest.$ac_ext <<_ACEOF
3852 /* end confdefs.h. */
3853 #include <ac_nonexistent.h>
3855 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3858 *) ac_try_echo=$ac_try;;
3860 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3861 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3863 grep -v '^ *+' conftest.er1 >conftest.err
3865 cat conftest.err >&5
3866 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3867 (exit $ac_status); } >/dev/null && {
3868 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3869 test ! -s conftest.err
3871 # Broken: success on invalid input.
3874 echo "$as_me: failed program was
:" >&5
3875 sed 's/^/| /' conftest.$ac_ext >&5
3877 # Passes both tests.
3882 rm -f conftest.err conftest.$ac_ext
3885 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3886 rm -f conftest.err conftest.$ac_ext
3887 if $ac_preproc_ok; then
3890 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3891 See \
`config.log' for more details." >&5
3892 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3893 See \`config.log
' for more details." >&2;}
3894 { (exit 1); exit 1; }; }
3898 ac_cpp='$CPP $CPPFLAGS'
3899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3900 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3904 { echo "$as_me:$LINENO: checking for X" >&5
3905 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3908 # Check whether --with-x was given.
3909 if test "${with_x+set}" = set; then
3913 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3914 if test "x$with_x" = xno; then
3915 # The user explicitly disabled X.
3918 case $x_includes,$x_libraries in #(
3919 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3920 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3921 { (exit 1); exit 1; }; };; #(
3922 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3923 echo $ECHO_N "(cached) $ECHO_C" >&6
3925 # One or both of the vars are not set, and there is no cached value.
3926 ac_x_includes=no ac_x_libraries=no
3927 rm -f -r conftest.dir
3928 if mkdir conftest.dir; then
3930 cat >Imakefile <<'_ACEOF'
3932 @echo incroot='${INCROOT}'
3934 @echo usrlibdir='${USRLIBDIR}'
3936 @echo libdir='${LIBDIR}'
3938 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3939 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3940 for ac_var in incroot usrlibdir libdir; do
3941 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3943 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3944 for ac_extension in a so sl; do
3945 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3946 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3947 ac_im_usrlibdir=$ac_im_libdir; break
3950 # Screen out bogus values from the imake configuration. They are
3951 # bogus both because they are the default anyway, and because
3952 # using them would break gcc on systems where it needs fixed includes.
3953 case $ac_im_incroot in
3954 /usr/include) ac_x_includes= ;;
3955 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3957 case $ac_im_usrlibdir in
3959 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3963 rm -f -r conftest.dir
3966 # Standard set of common directories for X headers.
3967 # Check X11 before X11Rn because it is often a symlink to the current release.
3979 /usr
/local
/X11
/include
3980 /usr
/local
/X11R
6/include
3981 /usr
/local
/X11R
5/include
3982 /usr
/local
/X11R
4/include
3984 /usr
/local
/include
/X11
3985 /usr
/local
/include
/X11R6
3986 /usr
/local
/include
/X11R5
3987 /usr
/local
/include
/X11R4
3991 /usr
/XFree86
/include
/X11
3995 /usr
/unsupported
/include
3997 /usr
/local
/x11r
5/include
3998 /usr
/lpp
/Xamples
/include
4000 /usr
/openwin
/include
4001 /usr
/openwin
/share
/include
'
4003 if test "$ac_x_includes" = no; then
4004 # Guess where to find include files, by looking for Xlib.h.
4005 # First, try using that file with no special directory specified.
4006 cat >conftest.$ac_ext <<_ACEOF
4009 cat confdefs.h >>conftest.$ac_ext
4010 cat >>conftest.$ac_ext <<_ACEOF
4011 /* end confdefs.h. */
4012 #include <X11/Xlib.h>
4014 if { (ac_try="$ac_cpp conftest.$ac_ext"
4016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4017 *) ac_try_echo=$ac_try;;
4019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4020 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4022 grep -v '^
*+' conftest.er1 >conftest.err
4024 cat conftest.err >&5
4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026 (exit $ac_status); } >/dev/null && {
4027 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4028 test ! -s conftest.err
4030 # We can compile using X headers with no special include directory.
4033 echo "$as_me: failed program was:" >&5
4034 sed 's
/^
/|
/' conftest.$ac_ext >&5
4036 for ac_dir in $ac_x_header_dirs; do
4037 if test -r "$ac_dir/X11/Xlib.h"; then
4038 ac_x_includes=$ac_dir
4044 rm -f conftest.err conftest.$ac_ext
4045 fi # $ac_x_includes = no
4047 if test "$ac_x_libraries" = no; then
4048 # Check for the libraries.
4049 # See if we find them without any special options.
4050 # Don't add to
$LIBS permanently.
4053 cat >conftest.
$ac_ext <<_ACEOF
4056 cat confdefs.h
>>conftest.
$ac_ext
4057 cat >>conftest.
$ac_ext <<_ACEOF
4058 /* end confdefs.h. */
4059 #include <X11/Xlib.h>
4068 rm -f conftest.
$ac_objext conftest
$ac_exeext
4069 if { (ac_try
="$ac_link"
4071 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4072 *) ac_try_echo=$ac_try;;
4074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4075 (eval "$ac_link") 2>conftest.er1
4077 grep -v '^ *+' conftest.er1 >conftest.err
4079 cat conftest.err >&5
4080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4081 (exit $ac_status); } && {
4082 test -z "$ac_c_werror_flag" ||
4083 test ! -s conftest.err
4084 } && test -s conftest$ac_exeext &&
4085 $as_test_x conftest$ac_exeext; then
4087 # We can link X programs with no special library path.
4090 echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.$ac_ext >&5
4094 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4096 # Don't even attempt the hair of trying to link an X program!
4097 for ac_extension in a so sl; do
4098 if test -r "$ac_dir/libX11.$ac_extension"; then
4099 ac_x_libraries=$ac_dir
4106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4107 conftest$ac_exeext conftest.$ac_ext
4108 fi # $ac_x_libraries = no
4110 case $ac_x_includes,$ac_x_libraries in #(
4112 # Didn't find X, or a directory has "'" in its name.
4113 ac_cv_have_x="have_x=no";; #(
4115 # Record where we found X for the cache.
4116 ac_cv_have_x="have_x=yes\
4117 ac_x_includes='$ac_x_includes'\
4118 ac_x_libraries='$ac_x_libraries'"
4124 eval "$ac_cv_have_x"
4127 if test "$have_x" != yes; then
4128 { echo "$as_me:$LINENO: result: $have_x" >&5
4129 echo "${ECHO_T}$have_x" >&6; }
4132 # If each of the values was on the command line, it overrides each guess.
4133 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4134 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4135 # Update the cache value to reflect the command line values.
4136 ac_cv_have_x="have_x=yes\
4137 ac_x_includes='$x_includes'\
4138 ac_x_libraries='$x_libraries'"
4139 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4140 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4143 if test "$no_x" = yes; then
4144 # Not all programs may use this symbol, but it does not hurt to define it.
4146 cat >>confdefs.h <<\_ACEOF
4147 #define X_DISPLAY_MISSING 1
4150 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4152 if test -n "$x_includes"; then
4153 X_CFLAGS="$X_CFLAGS -I$x_includes"
4156 # It would also be nice to do this for all -L options, not just this one.
4157 if test -n "$x_libraries"; then
4158 X_LIBS="$X_LIBS -L$x_libraries"
4159 # For Solaris; some versions of Sun CC require a space after -R and
4160 # others require no space. Words are not sufficient . . . .
4161 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4162 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4163 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4164 ac_xsave_c_werror_flag=$ac_c_werror_flag
4165 ac_c_werror_flag=yes
4166 cat >conftest.$ac_ext <<_ACEOF
4169 cat confdefs.h >>conftest.$ac_ext
4170 cat >>conftest.$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4181 rm -f conftest.$ac_objext conftest$ac_exeext
4182 if { (ac_try="$ac_link"
4184 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4185 *) ac_try_echo
=$ac_try;;
4187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4188 (eval "$ac_link") 2>conftest.er1
4190 grep -v '^ *+' conftest.er1
>conftest.err
4192 cat conftest.err
>&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); } && {
4195 test -z "$ac_c_werror_flag" ||
4196 test ! -s conftest.err
4197 } && test -s conftest
$ac_exeext &&
4198 $as_test_x conftest
$ac_exeext; then
4199 { echo "$as_me:$LINENO: result: no" >&5
4200 echo "${ECHO_T}no" >&6; }
4201 X_LIBS
="$X_LIBS -R$x_libraries"
4203 echo "$as_me: failed program was:" >&5
4204 sed 's/^/| /' conftest.
$ac_ext >&5
4206 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4207 cat >conftest.
$ac_ext <<_ACEOF
4210 cat confdefs.h
>>conftest.
$ac_ext
4211 cat >>conftest.
$ac_ext <<_ACEOF
4212 /* end confdefs.h. */
4222 rm -f conftest.
$ac_objext conftest
$ac_exeext
4223 if { (ac_try
="$ac_link"
4225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4226 *) ac_try_echo=$ac_try;;
4228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4229 (eval "$ac_link") 2>conftest.er1
4231 grep -v '^ *+' conftest.er1 >conftest.err
4233 cat conftest.err >&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); } && {
4236 test -z "$ac_c_werror_flag" ||
4237 test ! -s conftest.err
4238 } && test -s conftest$ac_exeext &&
4239 $as_test_x conftest$ac_exeext; then
4240 { echo "$as_me:$LINENO: result: yes" >&5
4241 echo "${ECHO_T}yes" >&6; }
4242 X_LIBS="$X_LIBS -R $x_libraries"
4244 echo "$as_me: failed program was:" >&5
4245 sed 's/^/| /' conftest.$ac_ext >&5
4247 { echo "$as_me:$LINENO: result: neither works" >&5
4248 echo "${ECHO_T}neither works" >&6; }
4251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4252 conftest$ac_exeext conftest.$ac_ext
4255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4256 conftest$ac_exeext conftest.$ac_ext
4257 ac_c_werror_flag=$ac_xsave_c_werror_flag
4261 # Check for system-dependent libraries X programs must link with.
4262 # Do this before checking for the system-independent R6 libraries
4263 # (-lICE), since we may need -lsocket or whatever for X linking.
4265 if test "$ISC" = yes; then
4266 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4268 # Martyn Johnson says this is needed for Ultrix, if the X
4269 # libraries were built with DECnet support. And Karl Berry says
4270 # the Alpha needs dnet_stub (dnet does not exist).
4271 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4272 cat >conftest.$ac_ext <<_ACEOF
4275 cat confdefs.h >>conftest.$ac_ext
4276 cat >>conftest.$ac_ext <<_ACEOF
4277 /* end confdefs.h. */
4279 /* Override any GCC internal prototype to avoid an error.
4280 Use char because int might match the return type of a GCC
4281 builtin and then its argument prototype would still apply. */
4285 char XOpenDisplay ();
4289 return XOpenDisplay ();
4294 rm -f conftest.$ac_objext conftest$ac_exeext
4295 if { (ac_try="$ac_link"
4297 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4298 *) ac_try_echo
=$ac_try;;
4300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4301 (eval "$ac_link") 2>conftest.er1
4303 grep -v '^ *+' conftest.er1
>conftest.err
4305 cat conftest.err
>&5
4306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4307 (exit $ac_status); } && {
4308 test -z "$ac_c_werror_flag" ||
4309 test ! -s conftest.err
4310 } && test -s conftest
$ac_exeext &&
4311 $as_test_x conftest
$ac_exeext; then
4314 echo "$as_me: failed program was:" >&5
4315 sed 's/^/| /' conftest.
$ac_ext >&5
4317 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4318 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4319 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4320 echo $ECHO_N "(cached) $ECHO_C" >&6
4322 ac_check_lib_save_LIBS
=$LIBS
4324 cat >conftest.
$ac_ext <<_ACEOF
4327 cat confdefs.h
>>conftest.
$ac_ext
4328 cat >>conftest.
$ac_ext <<_ACEOF
4329 /* end confdefs.h. */
4331 /* Override any GCC internal prototype to avoid an error.
4332 Use char because int might match the return type of a GCC
4333 builtin and then its argument prototype would still apply. */
4341 return dnet_ntoa ();
4346 rm -f conftest.
$ac_objext conftest
$ac_exeext
4347 if { (ac_try
="$ac_link"
4349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4350 *) ac_try_echo=$ac_try;;
4352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4353 (eval "$ac_link") 2>conftest.er1
4355 grep -v '^ *+' conftest.er1 >conftest.err
4357 cat conftest.err >&5
4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 (exit $ac_status); } && {
4360 test -z "$ac_c_werror_flag" ||
4361 test ! -s conftest.err
4362 } && test -s conftest$ac_exeext &&
4363 $as_test_x conftest$ac_exeext; then
4364 ac_cv_lib_dnet_dnet_ntoa=yes
4366 echo "$as_me: failed program was:" >&5
4367 sed 's/^/| /' conftest.$ac_ext >&5
4369 ac_cv_lib_dnet_dnet_ntoa=no
4372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4373 conftest$ac_exeext conftest.$ac_ext
4374 LIBS=$ac_check_lib_save_LIBS
4376 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4377 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4378 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4379 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4382 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4383 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4384 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4385 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4386 echo $ECHO_N "(cached) $ECHO_C" >&6
4388 ac_check_lib_save_LIBS=$LIBS
4389 LIBS="-ldnet_stub $LIBS"
4390 cat >conftest.$ac_ext <<_ACEOF
4393 cat confdefs.h >>conftest.$ac_ext
4394 cat >>conftest.$ac_ext <<_ACEOF
4395 /* end confdefs.h. */
4397 /* Override any GCC internal prototype to avoid an error.
4398 Use char because int might match the return type of a GCC
4399 builtin and then its argument prototype would still apply. */
4407 return dnet_ntoa ();
4412 rm -f conftest.$ac_objext conftest$ac_exeext
4413 if { (ac_try="$ac_link"
4415 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4416 *) ac_try_echo
=$ac_try;;
4418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4419 (eval "$ac_link") 2>conftest.er1
4421 grep -v '^ *+' conftest.er1
>conftest.err
4423 cat conftest.err
>&5
4424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); } && {
4426 test -z "$ac_c_werror_flag" ||
4427 test ! -s conftest.err
4428 } && test -s conftest
$ac_exeext &&
4429 $as_test_x conftest
$ac_exeext; then
4430 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4432 echo "$as_me: failed program was:" >&5
4433 sed 's/^/| /' conftest.
$ac_ext >&5
4435 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4438 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4439 conftest
$ac_exeext conftest.
$ac_ext
4440 LIBS
=$ac_check_lib_save_LIBS
4442 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4443 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4444 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4445 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4451 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4452 conftest
$ac_exeext conftest.
$ac_ext
4453 LIBS
="$ac_xsave_LIBS"
4455 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4456 # to get the SysV transport functions.
4457 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4459 # The nsl library prevents programs from opening the X display
4460 # on Irix 5.2, according to T.E. Dickey.
4461 # The functions gethostbyname, getservbyname, and inet_addr are
4462 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4463 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4464 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4465 if test "${ac_cv_func_gethostbyname+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 gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4476 #define gethostbyname innocuous_gethostbyname
4478 /* System header to define __stub macros and hopefully few prototypes,
4479 which can conflict with char gethostbyname (); 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>
4489 #undef gethostbyname
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. */
4497 char gethostbyname ();
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_gethostbyname || defined __stub___gethostbyname
4508 return gethostbyname ();
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_gethostbyname=yes
4533 echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.$ac_ext >&5
4536 ac_cv_func_gethostbyname=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_gethostbyname" >&5
4543 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4545 if test $ac_cv_func_gethostbyname = no; then
4546 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4547 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4548 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4551 ac_check_lib_save_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. */
4566 char gethostbyname ();
4570 return gethostbyname ();
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_nsl_gethostbyname
=yes
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.
$ac_ext >&5
4598 ac_cv_lib_nsl_gethostbyname
=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_nsl_gethostbyname" >&5
4606 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4607 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4608 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4611 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4612 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4613 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4614 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4615 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 ac_check_lib_save_LIBS
=$LIBS
4619 cat >conftest.
$ac_ext <<_ACEOF
4622 cat confdefs.h
>>conftest.
$ac_ext
4623 cat >>conftest.
$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4626 /* Override any GCC internal prototype to avoid an error.
4627 Use char because int might match the return type of a GCC
4628 builtin and then its argument prototype would still apply. */
4632 char gethostbyname ();
4636 return gethostbyname ();
4641 rm -f conftest.
$ac_objext conftest
$ac_exeext
4642 if { (ac_try
="$ac_link"
4644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4645 *) ac_try_echo=$ac_try;;
4647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4648 (eval "$ac_link") 2>conftest.er1
4650 grep -v '^ *+' conftest.er1 >conftest.err
4652 cat conftest.err >&5
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); } && {
4655 test -z "$ac_c_werror_flag" ||
4656 test ! -s conftest.err
4657 } && test -s conftest$ac_exeext &&
4658 $as_test_x conftest$ac_exeext; then
4659 ac_cv_lib_bsd_gethostbyname=yes
4661 echo "$as_me: failed program was:" >&5
4662 sed 's/^/| /' conftest.$ac_ext >&5
4664 ac_cv_lib_bsd_gethostbyname=no
4667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4668 conftest$ac_exeext conftest.$ac_ext
4669 LIBS=$ac_check_lib_save_LIBS
4671 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4672 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4673 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4674 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4680 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4681 # socket/setsockopt and other routines are undefined under SCO ODT
4682 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4683 # on later versions), says Simon Leinen: it contains gethostby*
4684 # variants that don't use the name server (or something). -lsocket
4685 # must be given before -lnsl if both are needed. We assume that
4686 # if connect needs -lnsl, so does gethostbyname.
4687 { echo "$as_me:$LINENO: checking for connect" >&5
4688 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4689 if test "${ac_cv_func_connect+set}" = set; then
4690 echo $ECHO_N "(cached) $ECHO_C" >&6
4692 cat >conftest.$ac_ext <<_ACEOF
4695 cat confdefs.h >>conftest.$ac_ext
4696 cat >>conftest.$ac_ext <<_ACEOF
4697 /* end confdefs.h. */
4698 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4700 #define connect innocuous_connect
4702 /* System header to define __stub macros and hopefully few prototypes,
4703 which can conflict with char connect (); below.
4704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4705 <limits.h> exists even on freestanding compilers. */
4708 # include <limits.h>
4710 # include <assert.h>
4715 /* Override any GCC internal prototype to avoid an error.
4716 Use char because int might match the return type of a GCC
4717 builtin and then its argument prototype would still apply. */
4722 /* The GNU C library defines this for functions which it implements
4723 to always fail with ENOSYS. Some functions are actually named
4724 something starting with __ and the normal name is an alias. */
4725 #if defined __stub_connect || defined __stub___connect
4737 rm -f conftest.$ac_objext conftest$ac_exeext
4738 if { (ac_try="$ac_link"
4740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4741 *) ac_try_echo
=$ac_try;;
4743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4744 (eval "$ac_link") 2>conftest.er1
4746 grep -v '^ *+' conftest.er1
>conftest.err
4748 cat conftest.err
>&5
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); } && {
4751 test -z "$ac_c_werror_flag" ||
4752 test ! -s conftest.err
4753 } && test -s conftest
$ac_exeext &&
4754 $as_test_x conftest
$ac_exeext; then
4755 ac_cv_func_connect
=yes
4757 echo "$as_me: failed program was:" >&5
4758 sed 's/^/| /' conftest.
$ac_ext >&5
4760 ac_cv_func_connect
=no
4763 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4764 conftest
$ac_exeext conftest.
$ac_ext
4766 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4767 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4769 if test $ac_cv_func_connect = no
; then
4770 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4771 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4772 if test "${ac_cv_lib_socket_connect+set}" = set; then
4773 echo $ECHO_N "(cached) $ECHO_C" >&6
4775 ac_check_lib_save_LIBS
=$LIBS
4776 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4777 cat >conftest.
$ac_ext <<_ACEOF
4780 cat confdefs.h
>>conftest.
$ac_ext
4781 cat >>conftest.
$ac_ext <<_ACEOF
4782 /* end confdefs.h. */
4784 /* Override any GCC internal prototype to avoid an error.
4785 Use char because int might match the return type of a GCC
4786 builtin and then its argument prototype would still apply. */
4799 rm -f conftest.
$ac_objext conftest
$ac_exeext
4800 if { (ac_try
="$ac_link"
4802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4803 *) ac_try_echo=$ac_try;;
4805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4806 (eval "$ac_link") 2>conftest.er1
4808 grep -v '^ *+' conftest.er1 >conftest.err
4810 cat conftest.err >&5
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); } && {
4813 test -z "$ac_c_werror_flag" ||
4814 test ! -s conftest.err
4815 } && test -s conftest$ac_exeext &&
4816 $as_test_x conftest$ac_exeext; then
4817 ac_cv_lib_socket_connect=yes
4819 echo "$as_me: failed program was:" >&5
4820 sed 's/^/| /' conftest.$ac_ext >&5
4822 ac_cv_lib_socket_connect=no
4825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4826 conftest$ac_exeext conftest.$ac_ext
4827 LIBS=$ac_check_lib_save_LIBS
4829 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4830 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4831 if test $ac_cv_lib_socket_connect = yes; then
4832 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4837 # Guillermo Gomez says -lposix is necessary on A/UX.
4838 { echo "$as_me:$LINENO: checking for remove" >&5
4839 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4840 if test "${ac_cv_func_remove+set}" = set; then
4841 echo $ECHO_N "(cached) $ECHO_C" >&6
4843 cat >conftest.$ac_ext <<_ACEOF
4846 cat confdefs.h >>conftest.$ac_ext
4847 cat >>conftest.$ac_ext <<_ACEOF
4848 /* end confdefs.h. */
4849 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4851 #define remove innocuous_remove
4853 /* System header to define __stub macros and hopefully few prototypes,
4854 which can conflict with char remove (); below.
4855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4856 <limits.h> exists even on freestanding compilers. */
4859 # include <limits.h>
4861 # include <assert.h>
4866 /* Override any GCC internal prototype to avoid an error.
4867 Use char because int might match the return type of a GCC
4868 builtin and then its argument prototype would still apply. */
4873 /* The GNU C library defines this for functions which it implements
4874 to always fail with ENOSYS. Some functions are actually named
4875 something starting with __ and the normal name is an alias. */
4876 #if defined __stub_remove || defined __stub___remove
4888 rm -f conftest.$ac_objext conftest$ac_exeext
4889 if { (ac_try="$ac_link"
4891 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4892 *) ac_try_echo
=$ac_try;;
4894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4895 (eval "$ac_link") 2>conftest.er1
4897 grep -v '^ *+' conftest.er1
>conftest.err
4899 cat conftest.err
>&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); } && {
4902 test -z "$ac_c_werror_flag" ||
4903 test ! -s conftest.err
4904 } && test -s conftest
$ac_exeext &&
4905 $as_test_x conftest
$ac_exeext; then
4906 ac_cv_func_remove
=yes
4908 echo "$as_me: failed program was:" >&5
4909 sed 's/^/| /' conftest.
$ac_ext >&5
4911 ac_cv_func_remove
=no
4914 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4915 conftest
$ac_exeext conftest.
$ac_ext
4917 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4918 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4920 if test $ac_cv_func_remove = no
; then
4921 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4922 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4923 if test "${ac_cv_lib_posix_remove+set}" = set; then
4924 echo $ECHO_N "(cached) $ECHO_C" >&6
4926 ac_check_lib_save_LIBS
=$LIBS
4927 LIBS
="-lposix $LIBS"
4928 cat >conftest.
$ac_ext <<_ACEOF
4931 cat confdefs.h
>>conftest.
$ac_ext
4932 cat >>conftest.
$ac_ext <<_ACEOF
4933 /* end confdefs.h. */
4935 /* Override any GCC internal prototype to avoid an error.
4936 Use char because int might match the return type of a GCC
4937 builtin and then its argument prototype would still apply. */
4950 rm -f conftest.
$ac_objext conftest
$ac_exeext
4951 if { (ac_try
="$ac_link"
4953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4954 *) ac_try_echo=$ac_try;;
4956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4957 (eval "$ac_link") 2>conftest.er1
4959 grep -v '^ *+' conftest.er1 >conftest.err
4961 cat conftest.err >&5
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); } && {
4964 test -z "$ac_c_werror_flag" ||
4965 test ! -s conftest.err
4966 } && test -s conftest$ac_exeext &&
4967 $as_test_x conftest$ac_exeext; then
4968 ac_cv_lib_posix_remove=yes
4970 echo "$as_me: failed program was:" >&5
4971 sed 's/^/| /' conftest.$ac_ext >&5
4973 ac_cv_lib_posix_remove=no
4976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4977 conftest$ac_exeext conftest.$ac_ext
4978 LIBS=$ac_check_lib_save_LIBS
4980 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4981 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4982 if test $ac_cv_lib_posix_remove = yes; then
4983 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4988 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4989 { echo "$as_me:$LINENO: checking for shmat" >&5
4990 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4991 if test "${ac_cv_func_shmat+set}" = set; then
4992 echo $ECHO_N "(cached) $ECHO_C" >&6
4994 cat >conftest.$ac_ext <<_ACEOF
4997 cat confdefs.h >>conftest.$ac_ext
4998 cat >>conftest.$ac_ext <<_ACEOF
4999 /* end confdefs.h. */
5000 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5002 #define shmat innocuous_shmat
5004 /* System header to define __stub macros and hopefully few prototypes,
5005 which can conflict with char shmat (); below.
5006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5007 <limits.h> exists even on freestanding compilers. */
5010 # include <limits.h>
5012 # include <assert.h>
5017 /* Override any GCC internal prototype to avoid an error.
5018 Use char because int might match the return type of a GCC
5019 builtin and then its argument prototype would still apply. */
5024 /* The GNU C library defines this for functions which it implements
5025 to always fail with ENOSYS. Some functions are actually named
5026 something starting with __ and the normal name is an alias. */
5027 #if defined __stub_shmat || defined __stub___shmat
5039 rm -f conftest.$ac_objext conftest$ac_exeext
5040 if { (ac_try="$ac_link"
5042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5043 *) ac_try_echo
=$ac_try;;
5045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5046 (eval "$ac_link") 2>conftest.er1
5048 grep -v '^ *+' conftest.er1
>conftest.err
5050 cat conftest.err
>&5
5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052 (exit $ac_status); } && {
5053 test -z "$ac_c_werror_flag" ||
5054 test ! -s conftest.err
5055 } && test -s conftest
$ac_exeext &&
5056 $as_test_x conftest
$ac_exeext; then
5057 ac_cv_func_shmat
=yes
5059 echo "$as_me: failed program was:" >&5
5060 sed 's/^/| /' conftest.
$ac_ext >&5
5065 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5066 conftest
$ac_exeext conftest.
$ac_ext
5068 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5069 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5071 if test $ac_cv_func_shmat = no
; then
5072 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5073 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5074 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6
5077 ac_check_lib_save_LIBS
=$LIBS
5079 cat >conftest.
$ac_ext <<_ACEOF
5082 cat confdefs.h
>>conftest.
$ac_ext
5083 cat >>conftest.
$ac_ext <<_ACEOF
5084 /* end confdefs.h. */
5086 /* Override any GCC internal prototype to avoid an error.
5087 Use char because int might match the return type of a GCC
5088 builtin and then its argument prototype would still apply. */
5101 rm -f conftest.
$ac_objext conftest
$ac_exeext
5102 if { (ac_try
="$ac_link"
5104 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5105 *) ac_try_echo=$ac_try;;
5107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5108 (eval "$ac_link") 2>conftest.er1
5110 grep -v '^ *+' conftest.er1 >conftest.err
5112 cat conftest.err >&5
5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); } && {
5115 test -z "$ac_c_werror_flag" ||
5116 test ! -s conftest.err
5117 } && test -s conftest$ac_exeext &&
5118 $as_test_x conftest$ac_exeext; then
5119 ac_cv_lib_ipc_shmat=yes
5121 echo "$as_me: failed program was:" >&5
5122 sed 's/^/| /' conftest.$ac_ext >&5
5124 ac_cv_lib_ipc_shmat=no
5127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5128 conftest$ac_exeext conftest.$ac_ext
5129 LIBS=$ac_check_lib_save_LIBS
5131 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5132 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5133 if test $ac_cv_lib_ipc_shmat = yes; then
5134 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5140 # Check for libraries that X11R6 Xt/Xaw programs need.
5141 ac_save_LDFLAGS=$LDFLAGS
5142 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5143 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5144 # check for ICE first), but we must link in the order -lSM -lICE or
5145 # we get undefined symbols. So assume we have SM if we have ICE.
5146 # These have to be linked with before -lX11, unlike the other
5147 # libraries we check for below, so use a different variable.
5148 # John Interrante, Karl Berry
5149 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5150 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5151 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5152 echo $ECHO_N "(cached) $ECHO_C" >&6
5154 ac_check_lib_save_LIBS=$LIBS
5155 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5156 cat >conftest.$ac_ext <<_ACEOF
5159 cat confdefs.h >>conftest.$ac_ext
5160 cat >>conftest.$ac_ext <<_ACEOF
5161 /* end confdefs.h. */
5163 /* Override any GCC internal prototype to avoid an error.
5164 Use char because int might match the return type of a GCC
5165 builtin and then its argument prototype would still apply. */
5169 char IceConnectionNumber ();
5173 return IceConnectionNumber ();
5178 rm -f conftest.$ac_objext conftest$ac_exeext
5179 if { (ac_try="$ac_link"
5181 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5182 *) ac_try_echo
=$ac_try;;
5184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5185 (eval "$ac_link") 2>conftest.er1
5187 grep -v '^ *+' conftest.er1
>conftest.err
5189 cat conftest.err
>&5
5190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5191 (exit $ac_status); } && {
5192 test -z "$ac_c_werror_flag" ||
5193 test ! -s conftest.err
5194 } && test -s conftest
$ac_exeext &&
5195 $as_test_x conftest
$ac_exeext; then
5196 ac_cv_lib_ICE_IceConnectionNumber
=yes
5198 echo "$as_me: failed program was:" >&5
5199 sed 's/^/| /' conftest.
$ac_ext >&5
5201 ac_cv_lib_ICE_IceConnectionNumber
=no
5204 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5205 conftest
$ac_exeext conftest.
$ac_ext
5206 LIBS
=$ac_check_lib_save_LIBS
5208 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5209 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5210 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5211 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5214 LDFLAGS
=$ac_save_LDFLAGS
5221 # Extract the first word of "$ac_prog", so it can be a program name with args.
5222 set dummy
$ac_prog; ac_word
=$2
5223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5225 if test "${ac_cv_prog_FLEX+set}" = set; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5228 if test -n "$FLEX"; then
5229 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5235 test -z "$as_dir" && as_dir
=.
5236 for ac_exec_ext
in '' $ac_executable_extensions; do
5237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5238 ac_cv_prog_FLEX
="$ac_prog"
5239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5248 FLEX
=$ac_cv_prog_FLEX
5249 if test -n "$FLEX"; then
5250 { echo "$as_me:$LINENO: result: $FLEX" >&5
5251 echo "${ECHO_T}$FLEX" >&6; }
5253 { echo "$as_me:$LINENO: result: no" >&5
5254 echo "${ECHO_T}no" >&6; }
5258 test -n "$FLEX" && break
5260 test -n "$FLEX" || FLEX
="none"
5262 if test "$FLEX" = "none"
5264 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5265 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5266 { (exit 1); exit 1; }; }
5269 for ac_prog
in bison
5271 # Extract the first word of "$ac_prog", so it can be a program name with args.
5272 set dummy
$ac_prog; ac_word
=$2
5273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5275 if test "${ac_cv_prog_BISON+set}" = set; then
5276 echo $ECHO_N "(cached) $ECHO_C" >&6
5278 if test -n "$BISON"; then
5279 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5285 test -z "$as_dir" && as_dir
=.
5286 for ac_exec_ext
in '' $ac_executable_extensions; do
5287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5288 ac_cv_prog_BISON
="$ac_prog"
5289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5298 BISON
=$ac_cv_prog_BISON
5299 if test -n "$BISON"; then
5300 { echo "$as_me:$LINENO: result: $BISON" >&5
5301 echo "${ECHO_T}$BISON" >&6; }
5303 { echo "$as_me:$LINENO: result: no" >&5
5304 echo "${ECHO_T}no" >&6; }
5308 test -n "$BISON" && break
5310 test -n "$BISON" || BISON
="none"
5312 if test "$BISON" = "none"
5314 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5315 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5316 { (exit 1); exit 1; }; }
5319 if test -n "$ac_tool_prefix"; then
5320 for ac_prog
in gas as
5322 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5323 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5326 if test "${ac_cv_prog_AS+set}" = set; then
5327 echo $ECHO_N "(cached) $ECHO_C" >&6
5329 if test -n "$AS"; then
5330 ac_cv_prog_AS
="$AS" # Let the user override the test.
5332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5336 test -z "$as_dir" && as_dir
=.
5337 for ac_exec_ext
in '' $ac_executable_extensions; do
5338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5339 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5350 if test -n "$AS"; then
5351 { echo "$as_me:$LINENO: result: $AS" >&5
5352 echo "${ECHO_T}$AS" >&6; }
5354 { echo "$as_me:$LINENO: result: no" >&5
5355 echo "${ECHO_T}no" >&6; }
5359 test -n "$AS" && break
5362 if test -z "$AS"; then
5364 for ac_prog
in gas as
5366 # Extract the first word of "$ac_prog", so it can be a program name with args.
5367 set dummy
$ac_prog; ac_word
=$2
5368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5370 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5371 echo $ECHO_N "(cached) $ECHO_C" >&6
5373 if test -n "$ac_ct_AS"; then
5374 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5380 test -z "$as_dir" && as_dir
=.
5381 for ac_exec_ext
in '' $ac_executable_extensions; do
5382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5383 ac_cv_prog_ac_ct_AS
="$ac_prog"
5384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5394 if test -n "$ac_ct_AS"; then
5395 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5396 echo "${ECHO_T}$ac_ct_AS" >&6; }
5398 { echo "$as_me:$LINENO: result: no" >&5
5399 echo "${ECHO_T}no" >&6; }
5403 test -n "$ac_ct_AS" && break
5406 if test "x$ac_ct_AS" = x
; then
5409 case $cross_compiling:$ac_tool_warned in
5411 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5412 whose name does not start with the host triplet. If you think this
5413 configuration is useful to you, please write to autoconf@gnu.org." >&5
5414 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5415 whose name does not start with the host triplet. If you think this
5416 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5417 ac_tool_warned
=yes ;;
5423 if test -n "$ac_tool_prefix"; then
5424 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5425 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5428 if test "${ac_cv_prog_LD+set}" = set; then
5429 echo $ECHO_N "(cached) $ECHO_C" >&6
5431 if test -n "$LD"; then
5432 ac_cv_prog_LD
="$LD" # Let the user override the test.
5434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5438 test -z "$as_dir" && as_dir
=.
5439 for ac_exec_ext
in '' $ac_executable_extensions; do
5440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5441 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 if test -n "$LD"; then
5453 { echo "$as_me:$LINENO: result: $LD" >&5
5454 echo "${ECHO_T}$LD" >&6; }
5456 { echo "$as_me:$LINENO: result: no" >&5
5457 echo "${ECHO_T}no" >&6; }
5462 if test -z "$ac_cv_prog_LD"; then
5464 # Extract the first word of "ld", so it can be a program name with args.
5465 set dummy ld
; ac_word
=$2
5466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5468 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5469 echo $ECHO_N "(cached) $ECHO_C" >&6
5471 if test -n "$ac_ct_LD"; then
5472 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5478 test -z "$as_dir" && as_dir
=.
5479 for ac_exec_ext
in '' $ac_executable_extensions; do
5480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5481 ac_cv_prog_ac_ct_LD
="ld"
5482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5491 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5492 if test -n "$ac_ct_LD"; then
5493 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5494 echo "${ECHO_T}$ac_ct_LD" >&6; }
5496 { echo "$as_me:$LINENO: result: no" >&5
5497 echo "${ECHO_T}no" >&6; }
5500 if test "x$ac_ct_LD" = x
; then
5503 case $cross_compiling:$ac_tool_warned in
5505 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5506 whose name does not start with the host triplet. If you think this
5507 configuration is useful to you, please write to autoconf@gnu.org." >&5
5508 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5509 whose name does not start with the host triplet. If you think this
5510 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5511 ac_tool_warned
=yes ;;
5519 if test -n "$ac_tool_prefix"; then
5520 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5521 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5524 if test "${ac_cv_prog_AR+set}" = set; then
5525 echo $ECHO_N "(cached) $ECHO_C" >&6
5527 if test -n "$AR"; then
5528 ac_cv_prog_AR
="$AR" # Let the user override the test.
5530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5534 test -z "$as_dir" && as_dir
=.
5535 for ac_exec_ext
in '' $ac_executable_extensions; do
5536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5537 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 if test -n "$AR"; then
5549 { echo "$as_me:$LINENO: result: $AR" >&5
5550 echo "${ECHO_T}$AR" >&6; }
5552 { echo "$as_me:$LINENO: result: no" >&5
5553 echo "${ECHO_T}no" >&6; }
5558 if test -z "$ac_cv_prog_AR"; then
5560 # Extract the first word of "ar", so it can be a program name with args.
5561 set dummy
ar; ac_word
=$2
5562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5564 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5565 echo $ECHO_N "(cached) $ECHO_C" >&6
5567 if test -n "$ac_ct_AR"; then
5568 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5574 test -z "$as_dir" && as_dir
=.
5575 for ac_exec_ext
in '' $ac_executable_extensions; do
5576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5577 ac_cv_prog_ac_ct_AR
="ar"
5578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5587 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5588 if test -n "$ac_ct_AR"; then
5589 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5590 echo "${ECHO_T}$ac_ct_AR" >&6; }
5592 { echo "$as_me:$LINENO: result: no" >&5
5593 echo "${ECHO_T}no" >&6; }
5596 if test "x$ac_ct_AR" = x
; then
5599 case $cross_compiling:$ac_tool_warned in
5601 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5602 whose name does not start with the host triplet. If you think this
5603 configuration is useful to you, please write to autoconf@gnu.org." >&5
5604 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5605 whose name does not start with the host triplet. If you think this
5606 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5607 ac_tool_warned
=yes ;;
5617 if test -n "$ac_tool_prefix"; then
5618 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5619 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5622 if test "${ac_cv_prog_RANLIB+set}" = set; then
5623 echo $ECHO_N "(cached) $ECHO_C" >&6
5625 if test -n "$RANLIB"; then
5626 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5632 test -z "$as_dir" && as_dir
=.
5633 for ac_exec_ext
in '' $ac_executable_extensions; do
5634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5635 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5645 RANLIB
=$ac_cv_prog_RANLIB
5646 if test -n "$RANLIB"; then
5647 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5648 echo "${ECHO_T}$RANLIB" >&6; }
5650 { echo "$as_me:$LINENO: result: no" >&5
5651 echo "${ECHO_T}no" >&6; }
5656 if test -z "$ac_cv_prog_RANLIB"; then
5657 ac_ct_RANLIB
=$RANLIB
5658 # Extract the first word of "ranlib", so it can be a program name with args.
5659 set dummy ranlib
; ac_word
=$2
5660 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5662 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5663 echo $ECHO_N "(cached) $ECHO_C" >&6
5665 if test -n "$ac_ct_RANLIB"; then
5666 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5672 test -z "$as_dir" && as_dir
=.
5673 for ac_exec_ext
in '' $ac_executable_extensions; do
5674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5675 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5686 if test -n "$ac_ct_RANLIB"; then
5687 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5688 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5690 { echo "$as_me:$LINENO: result: no" >&5
5691 echo "${ECHO_T}no" >&6; }
5694 if test "x$ac_ct_RANLIB" = x
; then
5697 case $cross_compiling:$ac_tool_warned in
5699 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5700 whose name does not start with the host triplet. If you think this
5701 configuration is useful to you, please write to autoconf@gnu.org." >&5
5702 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5703 whose name does not start with the host triplet. If you think this
5704 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5705 ac_tool_warned
=yes ;;
5707 RANLIB
=$ac_ct_RANLIB
5710 RANLIB
="$ac_cv_prog_RANLIB"
5713 if test -n "$ac_tool_prefix"; then
5714 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5715 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5718 if test "${ac_cv_prog_STRIP+set}" = set; then
5719 echo $ECHO_N "(cached) $ECHO_C" >&6
5721 if test -n "$STRIP"; then
5722 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5728 test -z "$as_dir" && as_dir
=.
5729 for ac_exec_ext
in '' $ac_executable_extensions; do
5730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5731 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5741 STRIP
=$ac_cv_prog_STRIP
5742 if test -n "$STRIP"; then
5743 { echo "$as_me:$LINENO: result: $STRIP" >&5
5744 echo "${ECHO_T}$STRIP" >&6; }
5746 { echo "$as_me:$LINENO: result: no" >&5
5747 echo "${ECHO_T}no" >&6; }
5752 if test -z "$ac_cv_prog_STRIP"; then
5754 # Extract the first word of "strip", so it can be a program name with args.
5755 set dummy strip
; ac_word
=$2
5756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5758 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5759 echo $ECHO_N "(cached) $ECHO_C" >&6
5761 if test -n "$ac_ct_STRIP"; then
5762 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5768 test -z "$as_dir" && as_dir
=.
5769 for ac_exec_ext
in '' $ac_executable_extensions; do
5770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5771 ac_cv_prog_ac_ct_STRIP
="strip"
5772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5781 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5782 if test -n "$ac_ct_STRIP"; then
5783 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5784 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5786 { echo "$as_me:$LINENO: result: no" >&5
5787 echo "${ECHO_T}no" >&6; }
5790 if test "x$ac_ct_STRIP" = x
; then
5793 case $cross_compiling:$ac_tool_warned in
5795 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5796 whose name does not start with the host triplet. If you think this
5797 configuration is useful to you, please write to autoconf@gnu.org." >&5
5798 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5799 whose name does not start with the host triplet. If you think this
5800 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5801 ac_tool_warned
=yes ;;
5806 STRIP
="$ac_cv_prog_STRIP"
5809 if test -n "$ac_tool_prefix"; then
5810 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5811 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5814 if test "${ac_cv_prog_WINDRES+set}" = set; then
5815 echo $ECHO_N "(cached) $ECHO_C" >&6
5817 if test -n "$WINDRES"; then
5818 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5824 test -z "$as_dir" && as_dir
=.
5825 for ac_exec_ext
in '' $ac_executable_extensions; do
5826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5827 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 WINDRES
=$ac_cv_prog_WINDRES
5838 if test -n "$WINDRES"; then
5839 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5840 echo "${ECHO_T}$WINDRES" >&6; }
5842 { echo "$as_me:$LINENO: result: no" >&5
5843 echo "${ECHO_T}no" >&6; }
5848 if test -z "$ac_cv_prog_WINDRES"; then
5849 ac_ct_WINDRES
=$WINDRES
5850 # Extract the first word of "windres", so it can be a program name with args.
5851 set dummy windres
; ac_word
=$2
5852 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5854 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5855 echo $ECHO_N "(cached) $ECHO_C" >&6
5857 if test -n "$ac_ct_WINDRES"; then
5858 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5864 test -z "$as_dir" && as_dir
=.
5865 for ac_exec_ext
in '' $ac_executable_extensions; do
5866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5867 ac_cv_prog_ac_ct_WINDRES
="windres"
5868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5877 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5878 if test -n "$ac_ct_WINDRES"; then
5879 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5880 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5882 { echo "$as_me:$LINENO: result: no" >&5
5883 echo "${ECHO_T}no" >&6; }
5886 if test "x$ac_ct_WINDRES" = x
; then
5889 case $cross_compiling:$ac_tool_warned in
5891 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5892 whose name does not start with the host triplet. If you think this
5893 configuration is useful to you, please write to autoconf@gnu.org." >&5
5894 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5895 whose name does not start with the host triplet. If you think this
5896 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5897 ac_tool_warned
=yes ;;
5899 WINDRES
=$ac_ct_WINDRES
5902 WINDRES
="$ac_cv_prog_WINDRES"
5905 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5906 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5908 if test "$LN_S" = "ln -s"; then
5909 { echo "$as_me:$LINENO: result: yes" >&5
5910 echo "${ECHO_T}yes" >&6; }
5912 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5913 echo "${ECHO_T}no, using $LN_S" >&6; }
5916 { echo "$as_me:$LINENO: checking whether ln works" >&5
5917 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5918 rm -f conf$$ conf$$.
file
5920 if ln conf$$.
file conf$$
2>/dev
/null
; then
5923 { echo "$as_me:$LINENO: result: yes" >&5
5924 echo "${ECHO_T}yes" >&6; }
5928 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5929 echo "${ECHO_T}no, using $LN" >&6; }
5931 rm -f conf$$ conf$$.
file
5932 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5933 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5934 if test "${ac_cv_path_GREP+set}" = set; then
5935 echo $ECHO_N "(cached) $ECHO_C" >&6
5937 # Extract the first word of "grep ggrep" to use in msg output
5938 if test -z "$GREP"; then
5939 set dummy
grep ggrep
; ac_prog_name
=$2
5940 if test "${ac_cv_path_GREP+set}" = set; then
5941 echo $ECHO_N "(cached) $ECHO_C" >&6
5943 ac_path_GREP_found
=false
5944 # Loop through the user's path and test for each of PROGNAME-LIST
5945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5946 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5949 test -z "$as_dir" && as_dir
=.
5950 for ac_prog
in grep ggrep
; do
5951 for ac_exec_ext
in '' $ac_executable_extensions; do
5952 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5953 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5954 # Check for GNU ac_path_GREP and select it if it is found.
5955 # Check for GNU $ac_path_GREP
5956 case `"$ac_path_GREP" --version 2>&1` in
5958 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5961 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5964 cat "conftest.in" "conftest.in" >"conftest.tmp"
5965 mv "conftest.tmp" "conftest.in"
5966 cp "conftest.in" "conftest.nl"
5967 echo 'GREP' >> "conftest.nl"
5968 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5969 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5970 ac_count
=`expr $ac_count + 1`
5971 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5972 # Best one so far, save it but keep looking for a better one
5973 ac_cv_path_GREP
="$ac_path_GREP"
5974 ac_path_GREP_max
=$ac_count
5976 # 10*(2^10) chars as input seems more than enough
5977 test $ac_count -gt 10 && break
5979 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5983 $ac_path_GREP_found && break 3
5993 GREP
="$ac_cv_path_GREP"
5994 if test -z "$GREP"; then
5995 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5996 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5997 { (exit 1); exit 1; }; }
6001 ac_cv_path_GREP
=$GREP
6006 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6007 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6008 GREP
="$ac_cv_path_GREP"
6011 { echo "$as_me:$LINENO: checking for egrep" >&5
6012 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6013 if test "${ac_cv_path_EGREP+set}" = set; then
6014 echo $ECHO_N "(cached) $ECHO_C" >&6
6016 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6017 then ac_cv_path_EGREP
="$GREP -E"
6019 # Extract the first word of "egrep" to use in msg output
6020 if test -z "$EGREP"; then
6021 set dummy
egrep; ac_prog_name
=$2
6022 if test "${ac_cv_path_EGREP+set}" = set; then
6023 echo $ECHO_N "(cached) $ECHO_C" >&6
6025 ac_path_EGREP_found
=false
6026 # Loop through the user's path and test for each of PROGNAME-LIST
6027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6028 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6031 test -z "$as_dir" && as_dir
=.
6032 for ac_prog
in egrep; do
6033 for ac_exec_ext
in '' $ac_executable_extensions; do
6034 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6035 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6036 # Check for GNU ac_path_EGREP and select it if it is found.
6037 # Check for GNU $ac_path_EGREP
6038 case `"$ac_path_EGREP" --version 2>&1` in
6040 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6043 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6046 cat "conftest.in" "conftest.in" >"conftest.tmp"
6047 mv "conftest.tmp" "conftest.in"
6048 cp "conftest.in" "conftest.nl"
6049 echo 'EGREP' >> "conftest.nl"
6050 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6051 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6052 ac_count
=`expr $ac_count + 1`
6053 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6054 # Best one so far, save it but keep looking for a better one
6055 ac_cv_path_EGREP
="$ac_path_EGREP"
6056 ac_path_EGREP_max
=$ac_count
6058 # 10*(2^10) chars as input seems more than enough
6059 test $ac_count -gt 10 && break
6061 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6065 $ac_path_EGREP_found && break 3
6075 EGREP
="$ac_cv_path_EGREP"
6076 if test -z "$EGREP"; then
6077 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6078 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6079 { (exit 1); exit 1; }; }
6083 ac_cv_path_EGREP
=$EGREP
6089 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6090 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6091 EGREP
="$ac_cv_path_EGREP"
6094 # Extract the first word of "ldconfig", so it can be a program name with args.
6095 set dummy ldconfig
; ac_word
=$2
6096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6098 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6099 echo $ECHO_N "(cached) $ECHO_C" >&6
6103 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6107 for as_dir
in /sbin
/usr
/sbin
$PATH
6110 test -z "$as_dir" && as_dir
=.
6111 for ac_exec_ext
in '' $ac_executable_extensions; do
6112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6113 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6121 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6125 LDCONFIG
=$ac_cv_path_LDCONFIG
6126 if test -n "$LDCONFIG"; then
6127 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6128 echo "${ECHO_T}$LDCONFIG" >&6; }
6130 { echo "$as_me:$LINENO: result: no" >&5
6131 echo "${ECHO_T}no" >&6; }
6135 # Find a good install program. We prefer a C program (faster),
6136 # so one script is as good as another. But avoid the broken or
6137 # incompatible versions:
6138 # SysV /etc/install, /usr/sbin/install
6139 # SunOS /usr/etc/install
6140 # IRIX /sbin/install
6142 # AmigaOS /C/install, which installs bootblocks on floppy discs
6143 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6144 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6145 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6146 # OS/2's system install, which has a completely different semantic
6147 # ./install, which can be erroneously created by make from ./install.sh.
6148 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6149 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6150 if test -z "$INSTALL"; then
6151 if test "${ac_cv_path_install+set}" = set; then
6152 echo $ECHO_N "(cached) $ECHO_C" >&6
6154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6158 test -z "$as_dir" && as_dir
=.
6159 # Account for people who put trailing slashes in PATH elements.
6161 .
/ | .
// |
/cC
/* | \
6162 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6163 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6166 # OSF1 and SCO ODT 3.0 have their own names for install.
6167 # Don't use installbsd from OSF since it installs stuff as root
6169 for ac_prog
in ginstall scoinst
install; do
6170 for ac_exec_ext
in '' $ac_executable_extensions; do
6171 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6172 if test $ac_prog = install &&
6173 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6174 # AIX install. It has an incompatible calling convention.
6176 elif test $ac_prog = install &&
6177 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6178 # program-specific install script used by HP pwplus--don't use.
6181 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6194 if test "${ac_cv_path_install+set}" = set; then
6195 INSTALL
=$ac_cv_path_install
6197 # As a last resort, use the slow shell script. Don't cache a
6198 # value for INSTALL within a source directory, because that will
6199 # break other packages using the cache if that directory is
6200 # removed, or if the value is a relative name.
6201 INSTALL
=$ac_install_sh
6204 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6205 echo "${ECHO_T}$INSTALL" >&6; }
6207 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6208 # It thinks the first close brace ends the variable substitution.
6209 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6211 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6213 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6216 [\\/$
]* | ?
:[\\/]* ) ;;
6217 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6220 for ac_prog
in lclint lint
6222 # Extract the first word of "$ac_prog", so it can be a program name with args.
6223 set dummy
$ac_prog; ac_word
=$2
6224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6226 if test "${ac_cv_prog_LINT+set}" = set; then
6227 echo $ECHO_N "(cached) $ECHO_C" >&6
6229 if test -n "$LINT"; then
6230 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6236 test -z "$as_dir" && as_dir
=.
6237 for ac_exec_ext
in '' $ac_executable_extensions; do
6238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6239 ac_cv_prog_LINT
="$ac_prog"
6240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6249 LINT
=$ac_cv_prog_LINT
6250 if test -n "$LINT"; then
6251 { echo "$as_me:$LINENO: result: $LINT" >&5
6252 echo "${ECHO_T}$LINT" >&6; }
6254 { echo "$as_me:$LINENO: result: no" >&5
6255 echo "${ECHO_T}no" >&6; }
6259 test -n "$LINT" && break
6262 if test "$LINT" = "lint"
6264 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6269 for ac_prog
in fontforge
6271 # Extract the first word of "$ac_prog", so it can be a program name with args.
6272 set dummy
$ac_prog; ac_word
=$2
6273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6275 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6276 echo $ECHO_N "(cached) $ECHO_C" >&6
6278 if test -n "$FONTFORGE"; then
6279 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6285 test -z "$as_dir" && as_dir
=.
6286 for ac_exec_ext
in '' $ac_executable_extensions; do
6287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6288 ac_cv_prog_FONTFORGE
="$ac_prog"
6289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6298 FONTFORGE
=$ac_cv_prog_FONTFORGE
6299 if test -n "$FONTFORGE"; then
6300 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6301 echo "${ECHO_T}$FONTFORGE" >&6; }
6303 { echo "$as_me:$LINENO: result: no" >&5
6304 echo "${ECHO_T}no" >&6; }
6308 test -n "$FONTFORGE" && break
6310 test -n "$FONTFORGE" || FONTFORGE
="false"
6312 for ac_prog
in pkg-config
6314 # Extract the first word of "$ac_prog", so it can be a program name with args.
6315 set dummy
$ac_prog; ac_word
=$2
6316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6318 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6319 echo $ECHO_N "(cached) $ECHO_C" >&6
6321 if test -n "$PKG_CONFIG"; then
6322 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6328 test -z "$as_dir" && as_dir
=.
6329 for ac_exec_ext
in '' $ac_executable_extensions; do
6330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6331 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6341 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6342 if test -n "$PKG_CONFIG"; then
6343 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6344 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6346 { echo "$as_me:$LINENO: result: no" >&5
6347 echo "${ECHO_T}no" >&6; }
6351 test -n "$PKG_CONFIG" && break
6353 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6358 # Extract the first word of "prelink", so it can be a program name with args.
6359 set dummy prelink
; ac_word
=$2
6360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6362 if test "${ac_cv_path_PRELINK+set}" = set; then
6363 echo $ECHO_N "(cached) $ECHO_C" >&6
6367 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6371 for as_dir
in /sbin
/usr
/sbin
$PATH
6374 test -z "$as_dir" && as_dir
=.
6375 for ac_exec_ext
in '' $ac_executable_extensions; do
6376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6377 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6385 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6389 PRELINK
=$ac_cv_path_PRELINK
6390 if test -n "$PRELINK"; then
6391 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6392 echo "${ECHO_T}$PRELINK" >&6; }
6394 { echo "$as_me:$LINENO: result: no" >&5
6395 echo "${ECHO_T}no" >&6; }
6404 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6405 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6406 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6407 echo $ECHO_N "(cached) $ECHO_C" >&6
6409 ac_check_lib_save_LIBS
=$LIBS
6411 cat >conftest.
$ac_ext <<_ACEOF
6414 cat confdefs.h
>>conftest.
$ac_ext
6415 cat >>conftest.
$ac_ext <<_ACEOF
6416 /* end confdefs.h. */
6418 /* Override any GCC internal prototype to avoid an error.
6419 Use char because int might match the return type of a GCC
6420 builtin and then its argument prototype would still apply. */
6424 char i386_set_ldt ();
6428 return i386_set_ldt ();
6433 rm -f conftest.
$ac_objext conftest
$ac_exeext
6434 if { (ac_try
="$ac_link"
6436 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6437 *) ac_try_echo=$ac_try;;
6439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6440 (eval "$ac_link") 2>conftest.er1
6442 grep -v '^ *+' conftest.er1 >conftest.err
6444 cat conftest.err >&5
6445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446 (exit $ac_status); } && {
6447 test -z "$ac_c_werror_flag" ||
6448 test ! -s conftest.err
6449 } && test -s conftest$ac_exeext &&
6450 $as_test_x conftest$ac_exeext; then
6451 ac_cv_lib_i386_i386_set_ldt=yes
6453 echo "$as_me: failed program was:" >&5
6454 sed 's/^/| /' conftest.$ac_ext >&5
6456 ac_cv_lib_i386_i386_set_ldt=no
6459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6460 conftest$ac_exeext conftest.$ac_ext
6461 LIBS=$ac_check_lib_save_LIBS
6463 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6464 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6465 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6466 cat >>confdefs.h <<_ACEOF
6467 #define HAVE_LIBI386 1
6475 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6476 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6477 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6478 echo $ECHO_N "(cached) $ECHO_C" >&6
6480 ac_check_lib_save_LIBS=$LIBS
6481 LIBS="-lossaudio $LIBS"
6482 cat >conftest.$ac_ext <<_ACEOF
6485 cat confdefs.h >>conftest.$ac_ext
6486 cat >>conftest.$ac_ext <<_ACEOF
6487 /* end confdefs.h. */
6489 /* Override any GCC internal prototype to avoid an error.
6490 Use char because int might match the return type of a GCC
6491 builtin and then its argument prototype would still apply. */
6499 return _oss_ioctl ();
6504 rm -f conftest.$ac_objext conftest$ac_exeext
6505 if { (ac_try="$ac_link"
6507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6508 *) ac_try_echo
=$ac_try;;
6510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6511 (eval "$ac_link") 2>conftest.er1
6513 grep -v '^ *+' conftest.er1
>conftest.err
6515 cat conftest.err
>&5
6516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517 (exit $ac_status); } && {
6518 test -z "$ac_c_werror_flag" ||
6519 test ! -s conftest.err
6520 } && test -s conftest
$ac_exeext &&
6521 $as_test_x conftest
$ac_exeext; then
6522 ac_cv_lib_ossaudio__oss_ioctl
=yes
6524 echo "$as_me: failed program was:" >&5
6525 sed 's/^/| /' conftest.
$ac_ext >&5
6527 ac_cv_lib_ossaudio__oss_ioctl
=no
6530 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6531 conftest
$ac_exeext conftest.
$ac_ext
6532 LIBS
=$ac_check_lib_save_LIBS
6534 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6535 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6536 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6537 cat >>confdefs.h
<<_ACEOF
6538 #define HAVE_LIBOSSAUDIO 1
6541 LIBS
="-lossaudio $LIBS"
6545 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6546 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6547 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6548 echo $ECHO_N "(cached) $ECHO_C" >&6
6550 ac_check_lib_save_LIBS
=$LIBS
6551 LIBS
="-lpthread $LIBS"
6552 cat >conftest.
$ac_ext <<_ACEOF
6555 cat confdefs.h
>>conftest.
$ac_ext
6556 cat >>conftest.
$ac_ext <<_ACEOF
6557 /* end confdefs.h. */
6559 /* Override any GCC internal prototype to avoid an error.
6560 Use char because int might match the return type of a GCC
6561 builtin and then its argument prototype would still apply. */
6565 char pthread_create ();
6569 return pthread_create ();
6574 rm -f conftest.
$ac_objext conftest
$ac_exeext
6575 if { (ac_try
="$ac_link"
6577 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6578 *) ac_try_echo=$ac_try;;
6580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6581 (eval "$ac_link") 2>conftest.er1
6583 grep -v '^ *+' conftest.er1 >conftest.err
6585 cat conftest.err >&5
6586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); } && {
6588 test -z "$ac_c_werror_flag" ||
6589 test ! -s conftest.err
6590 } && test -s conftest$ac_exeext &&
6591 $as_test_x conftest$ac_exeext; then
6592 ac_cv_lib_pthread_pthread_create=yes
6594 echo "$as_me: failed program was:" >&5
6595 sed 's/^/| /' conftest.$ac_ext >&5
6597 ac_cv_lib_pthread_pthread_create=no
6600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6601 conftest$ac_exeext conftest.$ac_ext
6602 LIBS=$ac_check_lib_save_LIBS
6604 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6605 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6606 if test $ac_cv_lib_pthread_pthread_create = yes; then
6607 LIBPTHREAD="-lpthread"
6626 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6627 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6628 if test "${ac_cv_header_stdc+set}" = set; then
6629 echo $ECHO_N "(cached) $ECHO_C" >&6
6631 cat >conftest.$ac_ext <<_ACEOF
6634 cat confdefs.h >>conftest.$ac_ext
6635 cat >>conftest.$ac_ext <<_ACEOF
6636 /* end confdefs.h. */
6650 rm -f conftest.$ac_objext
6651 if { (ac_try="$ac_compile"
6653 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6654 *) ac_try_echo
=$ac_try;;
6656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6657 (eval "$ac_compile") 2>conftest.er1
6659 grep -v '^ *+' conftest.er1
>conftest.err
6661 cat conftest.err
>&5
6662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6663 (exit $ac_status); } && {
6664 test -z "$ac_c_werror_flag" ||
6665 test ! -s conftest.err
6666 } && test -s conftest.
$ac_objext; then
6667 ac_cv_header_stdc
=yes
6669 echo "$as_me: failed program was:" >&5
6670 sed 's/^/| /' conftest.
$ac_ext >&5
6672 ac_cv_header_stdc
=no
6675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6677 if test $ac_cv_header_stdc = yes; then
6678 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6679 cat >conftest.
$ac_ext <<_ACEOF
6682 cat confdefs.h
>>conftest.
$ac_ext
6683 cat >>conftest.
$ac_ext <<_ACEOF
6684 /* end confdefs.h. */
6688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6689 $EGREP "memchr" >/dev
/null
2>&1; then
6692 ac_cv_header_stdc
=no
6698 if test $ac_cv_header_stdc = yes; then
6699 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6700 cat >conftest.
$ac_ext <<_ACEOF
6703 cat confdefs.h
>>conftest.
$ac_ext
6704 cat >>conftest.
$ac_ext <<_ACEOF
6705 /* end confdefs.h. */
6709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6710 $EGREP "free" >/dev
/null
2>&1; then
6713 ac_cv_header_stdc
=no
6719 if test $ac_cv_header_stdc = yes; then
6720 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6721 if test "$cross_compiling" = yes; then
6724 cat >conftest.
$ac_ext <<_ACEOF
6727 cat confdefs.h
>>conftest.
$ac_ext
6728 cat >>conftest.
$ac_ext <<_ACEOF
6729 /* end confdefs.h. */
6732 #if ((' ' & 0x0FF) == 0x020)
6733 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6734 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6736 # define ISLOWER(c) \
6737 (('a' <= (c) && (c) <= 'i') \
6738 || ('j' <= (c) && (c) <= 'r') \
6739 || ('s' <= (c) && (c) <= 'z'))
6740 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6743 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6748 for (i = 0; i < 256; i++)
6749 if (XOR (islower (i), ISLOWER (i))
6750 || toupper (i) != TOUPPER (i))
6755 rm -f conftest
$ac_exeext
6756 if { (ac_try
="$ac_link"
6758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6759 *) ac_try_echo=$ac_try;;
6761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6762 (eval "$ac_link") 2>&5
6764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6766 { (case "(($ac_try" in
6767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6768 *) ac_try_echo
=$ac_try;;
6770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6771 (eval "$ac_try") 2>&5
6773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6774 (exit $ac_status); }; }; then
6777 echo "$as_me: program exited with status $ac_status" >&5
6778 echo "$as_me: failed program was:" >&5
6779 sed 's/^/| /' conftest.
$ac_ext >&5
6782 ac_cv_header_stdc
=no
6784 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6790 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6791 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6792 if test $ac_cv_header_stdc = yes; then
6794 cat >>confdefs.h
<<\_ACEOF
6795 #define STDC_HEADERS 1
6800 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6810 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6811 inttypes.h stdint.h unistd.h
6813 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6814 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6816 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6817 echo $ECHO_N "(cached) $ECHO_C" >&6
6819 cat >conftest.
$ac_ext <<_ACEOF
6822 cat confdefs.h
>>conftest.
$ac_ext
6823 cat >>conftest.
$ac_ext <<_ACEOF
6824 /* end confdefs.h. */
6825 $ac_includes_default
6827 #include <$ac_header>
6829 rm -f conftest.
$ac_objext
6830 if { (ac_try
="$ac_compile"
6832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6833 *) ac_try_echo=$ac_try;;
6835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6836 (eval "$ac_compile") 2>conftest.er1
6838 grep -v '^ *+' conftest.er1 >conftest.err
6840 cat conftest.err >&5
6841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842 (exit $ac_status); } && {
6843 test -z "$ac_c_werror_flag" ||
6844 test ! -s conftest.err
6845 } && test -s conftest.$ac_objext; then
6846 eval "$as_ac_Header=yes"
6848 echo "$as_me: failed program was:" >&5
6849 sed 's/^/| /' conftest.$ac_ext >&5
6851 eval "$as_ac_Header=no"
6854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6856 ac_res=`eval echo '${'$as_ac_Header'}'`
6857 { echo "$as_me:$LINENO: result: $ac_res" >&5
6858 echo "${ECHO_T}$ac_res" >&6; }
6859 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6860 cat >>confdefs.h <<_ACEOF
6861 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6980 AudioUnit/AudioUnit.h \
6982 CoreAudio/CoreAudio.h \
6983 DiskArbitration/DiskArbitration.h \
6996 fontconfig/fontconfig.h \
7022 machine/soundcard.h \
7027 netinet/in_systm.h \
7092 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7093 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7094 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7096 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7097 echo $ECHO_N "(cached) $ECHO_C" >&6
7099 ac_res=`eval echo '${'$as_ac_Header'}'`
7100 { echo "$as_me:$LINENO: result: $ac_res" >&5
7101 echo "${ECHO_T}$ac_res" >&6; }
7103 # Is the header compilable?
7104 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7105 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7106 cat >conftest.$ac_ext <<_ACEOF
7109 cat confdefs.h >>conftest.$ac_ext
7110 cat >>conftest.$ac_ext <<_ACEOF
7111 /* end confdefs.h. */
7112 $ac_includes_default
7113 #include <$ac_header>
7115 rm -f conftest.$ac_objext
7116 if { (ac_try="$ac_compile"
7118 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7119 *) ac_try_echo
=$ac_try;;
7121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7122 (eval "$ac_compile") 2>conftest.er1
7124 grep -v '^ *+' conftest.er1
>conftest.err
7126 cat conftest.err
>&5
7127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128 (exit $ac_status); } && {
7129 test -z "$ac_c_werror_flag" ||
7130 test ! -s conftest.err
7131 } && test -s conftest.
$ac_objext; then
7132 ac_header_compiler
=yes
7134 echo "$as_me: failed program was:" >&5
7135 sed 's/^/| /' conftest.
$ac_ext >&5
7137 ac_header_compiler
=no
7140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7141 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7142 echo "${ECHO_T}$ac_header_compiler" >&6; }
7144 # Is the header present?
7145 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7146 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7147 cat >conftest.
$ac_ext <<_ACEOF
7150 cat confdefs.h
>>conftest.
$ac_ext
7151 cat >>conftest.
$ac_ext <<_ACEOF
7152 /* end confdefs.h. */
7153 #include <$ac_header>
7155 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7157 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7158 *) ac_try_echo=$ac_try;;
7160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7161 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7163 grep -v '^ *+' conftest.er1 >conftest.err
7165 cat conftest.err >&5
7166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7167 (exit $ac_status); } >/dev/null && {
7168 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7169 test ! -s conftest.err
7171 ac_header_preproc=yes
7173 echo "$as_me: failed program was:" >&5
7174 sed 's/^/| /' conftest.$ac_ext >&5
7176 ac_header_preproc=no
7179 rm -f conftest.err conftest.$ac_ext
7180 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7181 echo "${ECHO_T}$ac_header_preproc" >&6; }
7183 # So? What about this header?
7184 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7186 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7187 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7189 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7190 ac_header_preproc=yes
7193 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7194 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7195 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7196 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7197 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7198 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7199 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7200 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7202 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7203 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7204 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7206 ## ------------------------------------ ##
7207 ## Report this to wine-devel@winehq.org ##
7208 ## ------------------------------------ ##
7210 ) | sed "s/^/$as_me: WARNING: /" >&2
7213 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7215 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7216 echo $ECHO_N "(cached) $ECHO_C" >&6
7218 eval "$as_ac_Header=\$ac_header_preproc"
7220 ac_res=`eval echo '${'$as_ac_Header'}'`
7221 { echo "$as_me:$LINENO: result: $ac_res" >&5
7222 echo "${ECHO_T}$ac_res" >&6; }
7225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7226 cat >>confdefs.h <<_ACEOF
7227 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7234 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7235 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7236 if test "${ac_cv_header_stat_broken+set}" = set; then
7237 echo $ECHO_N "(cached) $ECHO_C" >&6
7239 cat >conftest.$ac_ext <<_ACEOF
7242 cat confdefs.h >>conftest.$ac_ext
7243 cat >>conftest.$ac_ext <<_ACEOF
7244 /* end confdefs.h. */
7245 #include <sys/types.h>
7246 #include <sys/stat.h>
7248 #if defined S_ISBLK && defined S_IFDIR
7249 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7252 #if defined S_ISBLK && defined S_IFCHR
7253 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7256 #if defined S_ISLNK && defined S_IFREG
7257 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7260 #if defined S_ISSOCK && defined S_IFREG
7261 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7265 rm -f conftest.$ac_objext
7266 if { (ac_try="$ac_compile"
7268 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7269 *) ac_try_echo
=$ac_try;;
7271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7272 (eval "$ac_compile") 2>conftest.er1
7274 grep -v '^ *+' conftest.er1
>conftest.err
7276 cat conftest.err
>&5
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); } && {
7279 test -z "$ac_c_werror_flag" ||
7280 test ! -s conftest.err
7281 } && test -s conftest.
$ac_objext; then
7282 ac_cv_header_stat_broken
=no
7284 echo "$as_me: failed program was:" >&5
7285 sed 's/^/| /' conftest.
$ac_ext >&5
7287 ac_cv_header_stat_broken
=yes
7290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7292 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7293 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7294 if test $ac_cv_header_stat_broken = yes; then
7296 cat >>confdefs.h
<<\_ACEOF
7297 #define STAT_MACROS_BROKEN 1
7308 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7310 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7311 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7313 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7314 echo $ECHO_N "(cached) $ECHO_C" >&6
7316 cat >conftest.
$ac_ext <<_ACEOF
7319 cat confdefs.h
>>conftest.
$ac_ext
7320 cat >>conftest.
$ac_ext <<_ACEOF
7321 /* end confdefs.h. */
7322 #include <sys/types.h>
7323 #ifdef HAVE_SYS_PARAM_H
7324 # include <sys/param.h>
7327 #include <$ac_header>
7329 rm -f conftest.
$ac_objext
7330 if { (ac_try
="$ac_compile"
7332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7333 *) ac_try_echo=$ac_try;;
7335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7336 (eval "$ac_compile") 2>conftest.er1
7338 grep -v '^ *+' conftest.er1 >conftest.err
7340 cat conftest.err >&5
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); } && {
7343 test -z "$ac_c_werror_flag" ||
7344 test ! -s conftest.err
7345 } && test -s conftest.$ac_objext; then
7346 eval "$as_ac_Header=yes"
7348 echo "$as_me: failed program was:" >&5
7349 sed 's/^/| /' conftest.$ac_ext >&5
7351 eval "$as_ac_Header=no"
7354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7356 ac_res=`eval echo '${'$as_ac_Header'}'`
7357 { echo "$as_me:$LINENO: result: $ac_res" >&5
7358 echo "${ECHO_T}$ac_res" >&6; }
7359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7360 cat >>confdefs.h <<_ACEOF
7361 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7377 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
7379 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7380 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7382 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7383 echo $ECHO_N "(cached) $ECHO_C" >&6
7385 cat >conftest.$ac_ext <<_ACEOF
7388 cat confdefs.h >>conftest.$ac_ext
7389 cat >>conftest.$ac_ext <<_ACEOF
7390 /* end confdefs.h. */
7391 #include <sys/types.h>
7392 #ifdef HAVE_SYS_SOCKET_H
7393 # include <sys/socket.h>
7395 #ifdef HAVE_SYS_SOCKETVAR_H
7396 # include <sys/socketvar.h>
7398 #ifdef HAVE_NETINET_IN_H
7399 # include <netinet/in.h>
7402 #include <$ac_header>
7404 rm -f conftest.$ac_objext
7405 if { (ac_try="$ac_compile"
7407 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7408 *) ac_try_echo
=$ac_try;;
7410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7411 (eval "$ac_compile") 2>conftest.er1
7413 grep -v '^ *+' conftest.er1
>conftest.err
7415 cat conftest.err
>&5
7416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7417 (exit $ac_status); } && {
7418 test -z "$ac_c_werror_flag" ||
7419 test ! -s conftest.err
7420 } && test -s conftest.
$ac_objext; then
7421 eval "$as_ac_Header=yes"
7423 echo "$as_me: failed program was:" >&5
7424 sed 's/^/| /' conftest.
$ac_ext >&5
7426 eval "$as_ac_Header=no"
7429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7431 ac_res
=`eval echo '${'$as_ac_Header'}'`
7432 { echo "$as_me:$LINENO: result: $ac_res" >&5
7433 echo "${ECHO_T}$ac_res" >&6; }
7434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7435 cat >>confdefs.h
<<_ACEOF
7436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7445 for ac_header
in netinet
/tcp_var.h
7447 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7448 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7450 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7451 echo $ECHO_N "(cached) $ECHO_C" >&6
7453 cat >conftest.
$ac_ext <<_ACEOF
7456 cat confdefs.h
>>conftest.
$ac_ext
7457 cat >>conftest.
$ac_ext <<_ACEOF
7458 /* end confdefs.h. */
7459 #include <sys/types.h>
7460 #ifdef HAVE_SYS_SOCKET_H
7461 # include <sys/socket.h>
7463 #ifdef HAVE_SYS_SOCKETVAR_H
7464 # include <sys/socketvar.h>
7466 #ifdef HAVE_NETINET_IN_H
7467 # include <netinet/in.h>
7469 #ifdef HAVE_NETINET_TCP_H
7470 # include <netinet/tcp.h>
7473 #include <$ac_header>
7475 rm -f conftest.
$ac_objext
7476 if { (ac_try
="$ac_compile"
7478 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7479 *) ac_try_echo=$ac_try;;
7481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7482 (eval "$ac_compile") 2>conftest.er1
7484 grep -v '^ *+' conftest.er1 >conftest.err
7486 cat conftest.err >&5
7487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7488 (exit $ac_status); } && {
7489 test -z "$ac_c_werror_flag" ||
7490 test ! -s conftest.err
7491 } && test -s conftest.$ac_objext; then
7492 eval "$as_ac_Header=yes"
7494 echo "$as_me: failed program was:" >&5
7495 sed 's/^/| /' conftest.$ac_ext >&5
7497 eval "$as_ac_Header=no"
7500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7502 ac_res=`eval echo '${'$as_ac_Header'}'`
7503 { echo "$as_me:$LINENO: result: $ac_res" >&5
7504 echo "${ECHO_T}$ac_res" >&6; }
7505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7506 cat >>confdefs.h <<_ACEOF
7507 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7516 for ac_header in linux/ipx.h
7518 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7519 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7521 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7522 echo $ECHO_N "(cached) $ECHO_C" >&6
7524 cat >conftest.$ac_ext <<_ACEOF
7527 cat confdefs.h >>conftest.$ac_ext
7528 cat >>conftest.$ac_ext <<_ACEOF
7529 /* end confdefs.h. */
7530 #include <sys/types.h>
7531 #ifdef HAVE_ASM_TYPES_H
7532 # include <asm/types.h>
7534 #ifdef HAVE_SYS_SOCKET_H
7535 # include <sys/socket.h>
7538 #include <$ac_header>
7540 rm -f conftest.$ac_objext
7541 if { (ac_try="$ac_compile"
7543 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7544 *) ac_try_echo
=$ac_try;;
7546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7547 (eval "$ac_compile") 2>conftest.er1
7549 grep -v '^ *+' conftest.er1
>conftest.err
7551 cat conftest.err
>&5
7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); } && {
7554 test -z "$ac_c_werror_flag" ||
7555 test ! -s conftest.err
7556 } && test -s conftest.
$ac_objext; then
7557 eval "$as_ac_Header=yes"
7559 echo "$as_me: failed program was:" >&5
7560 sed 's/^/| /' conftest.
$ac_ext >&5
7562 eval "$as_ac_Header=no"
7565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7567 ac_res
=`eval echo '${'$as_ac_Header'}'`
7568 { echo "$as_me:$LINENO: result: $ac_res" >&5
7569 echo "${ECHO_T}$ac_res" >&6; }
7570 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7571 cat >>confdefs.h
<<_ACEOF
7572 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7581 for ac_header
in resolv.h
7583 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7584 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7586 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7587 echo $ECHO_N "(cached) $ECHO_C" >&6
7589 cat >conftest.
$ac_ext <<_ACEOF
7592 cat confdefs.h
>>conftest.
$ac_ext
7593 cat >>conftest.
$ac_ext <<_ACEOF
7594 /* end confdefs.h. */
7595 #include <sys/types.h>
7596 #ifdef HAVE_SYS_SOCKET_H
7597 # include <sys/socket.h>
7599 #ifdef HAVE_NETINET_IN_H
7600 # include <netinet/in.h>
7602 #ifdef HAVE_ARPA_NAMESER_H
7603 # include <arpa/nameser.h>
7606 #include <$ac_header>
7608 rm -f conftest.
$ac_objext
7609 if { (ac_try
="$ac_compile"
7611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7612 *) ac_try_echo=$ac_try;;
7614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7615 (eval "$ac_compile") 2>conftest.er1
7617 grep -v '^ *+' conftest.er1 >conftest.err
7619 cat conftest.err >&5
7620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7621 (exit $ac_status); } && {
7622 test -z "$ac_c_werror_flag" ||
7623 test ! -s conftest.err
7624 } && test -s conftest.$ac_objext; then
7625 eval "$as_ac_Header=yes"
7627 echo "$as_me: failed program was:" >&5
7628 sed 's/^/| /' conftest.$ac_ext >&5
7630 eval "$as_ac_Header=no"
7633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7635 ac_res=`eval echo '${'$as_ac_Header'}'`
7636 { echo "$as_me:$LINENO: result: $ac_res" >&5
7637 echo "${ECHO_T}$ac_res" >&6; }
7638 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7639 cat >>confdefs.h <<_ACEOF
7640 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7649 for ac_header in ucontext.h
7651 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7652 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7654 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7655 echo $ECHO_N "(cached) $ECHO_C" >&6
7657 cat >conftest.$ac_ext <<_ACEOF
7660 cat confdefs.h >>conftest.$ac_ext
7661 cat >>conftest.$ac_ext <<_ACEOF
7662 /* end confdefs.h. */
7665 #include <$ac_header>
7667 rm -f conftest.$ac_objext
7668 if { (ac_try="$ac_compile"
7670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7671 *) ac_try_echo
=$ac_try;;
7673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7674 (eval "$ac_compile") 2>conftest.er1
7676 grep -v '^ *+' conftest.er1
>conftest.err
7678 cat conftest.err
>&5
7679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7680 (exit $ac_status); } && {
7681 test -z "$ac_c_werror_flag" ||
7682 test ! -s conftest.err
7683 } && test -s conftest.
$ac_objext; then
7684 eval "$as_ac_Header=yes"
7686 echo "$as_me: failed program was:" >&5
7687 sed 's/^/| /' conftest.
$ac_ext >&5
7689 eval "$as_ac_Header=no"
7692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7694 ac_res
=`eval echo '${'$as_ac_Header'}'`
7695 { echo "$as_me:$LINENO: result: $ac_res" >&5
7696 echo "${ECHO_T}$ac_res" >&6; }
7697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7698 cat >>confdefs.h
<<_ACEOF
7699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7708 for ac_header
in sys
/thr.h
7710 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7711 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7713 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7714 echo $ECHO_N "(cached) $ECHO_C" >&6
7716 cat >conftest.
$ac_ext <<_ACEOF
7719 cat confdefs.h
>>conftest.
$ac_ext
7720 cat >>conftest.
$ac_ext <<_ACEOF
7721 /* end confdefs.h. */
7722 #include <sys/types.h>
7723 #ifdef HAVE_UCONTEXT_H
7724 #include <ucontext.h>
7727 #include <$ac_header>
7729 rm -f conftest.
$ac_objext
7730 if { (ac_try
="$ac_compile"
7732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7733 *) ac_try_echo=$ac_try;;
7735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7736 (eval "$ac_compile") 2>conftest.er1
7738 grep -v '^ *+' conftest.er1 >conftest.err
7740 cat conftest.err >&5
7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742 (exit $ac_status); } && {
7743 test -z "$ac_c_werror_flag" ||
7744 test ! -s conftest.err
7745 } && test -s conftest.$ac_objext; then
7746 eval "$as_ac_Header=yes"
7748 echo "$as_me: failed program was:" >&5
7749 sed 's/^/| /' conftest.$ac_ext >&5
7751 eval "$as_ac_Header=no"
7754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7756 ac_res=`eval echo '${'$as_ac_Header'}'`
7757 { echo "$as_me:$LINENO: result: $ac_res" >&5
7758 echo "${ECHO_T}$ac_res" >&6; }
7759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7760 cat >>confdefs.h <<_ACEOF
7761 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7770 for ac_header in pthread_np.h
7772 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7773 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7775 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7776 echo $ECHO_N "(cached) $ECHO_C" >&6
7778 cat >conftest.$ac_ext <<_ACEOF
7781 cat confdefs.h >>conftest.$ac_ext
7782 cat >>conftest.$ac_ext <<_ACEOF
7783 /* end confdefs.h. */
7784 #ifdef HAVE_PTHREAD_H
7785 #include <pthread.h>
7788 #include <$ac_header>
7790 rm -f conftest.$ac_objext
7791 if { (ac_try="$ac_compile"
7793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7794 *) ac_try_echo
=$ac_try;;
7796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7797 (eval "$ac_compile") 2>conftest.er1
7799 grep -v '^ *+' conftest.er1
>conftest.err
7801 cat conftest.err
>&5
7802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7803 (exit $ac_status); } && {
7804 test -z "$ac_c_werror_flag" ||
7805 test ! -s conftest.err
7806 } && test -s conftest.
$ac_objext; then
7807 eval "$as_ac_Header=yes"
7809 echo "$as_me: failed program was:" >&5
7810 sed 's/^/| /' conftest.
$ac_ext >&5
7812 eval "$as_ac_Header=no"
7815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7817 ac_res
=`eval echo '${'$as_ac_Header'}'`
7818 { echo "$as_me:$LINENO: result: $ac_res" >&5
7819 echo "${ECHO_T}$ac_res" >&6; }
7820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7821 cat >>confdefs.h
<<_ACEOF
7822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7831 for ac_header
in linux
/videodev.h
7833 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7834 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7836 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7837 echo $ECHO_N "(cached) $ECHO_C" >&6
7839 cat >conftest.
$ac_ext <<_ACEOF
7842 cat confdefs.h
>>conftest.
$ac_ext
7843 cat >>conftest.
$ac_ext <<_ACEOF
7844 /* end confdefs.h. */
7845 #ifdef HAVE_SYS_TIME_H
7846 #include <sys/time.h>
7848 #include <sys/types.h>
7849 #ifdef HAVE_ASM_TYPES_H
7850 #include <asm/types.h>
7853 #include <$ac_header>
7855 rm -f conftest.
$ac_objext
7856 if { (ac_try
="$ac_compile"
7858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7859 *) ac_try_echo=$ac_try;;
7861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7862 (eval "$ac_compile") 2>conftest.er1
7864 grep -v '^ *+' conftest.er1 >conftest.err
7866 cat conftest.err >&5
7867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7868 (exit $ac_status); } && {
7869 test -z "$ac_c_werror_flag" ||
7870 test ! -s conftest.err
7871 } && test -s conftest.$ac_objext; then
7872 eval "$as_ac_Header=yes"
7874 echo "$as_me: failed program was:" >&5
7875 sed 's/^/| /' conftest.$ac_ext >&5
7877 eval "$as_ac_Header=no"
7880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7882 ac_res=`eval echo '${'$as_ac_Header'}'`
7883 { echo "$as_me:$LINENO: result: $ac_res" >&5
7884 echo "${ECHO_T}$ac_res" >&6; }
7885 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7886 cat >>confdefs.h <<_ACEOF
7887 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7896 for ac_header in linux/capi.h
7898 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7899 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7901 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7902 echo $ECHO_N "(cached) $ECHO_C" >&6
7904 cat >conftest.$ac_ext <<_ACEOF
7907 cat confdefs.h >>conftest.$ac_ext
7908 cat >>conftest.$ac_ext <<_ACEOF
7909 /* end confdefs.h. */
7912 #include <$ac_header>
7914 rm -f conftest.$ac_objext
7915 if { (ac_try="$ac_compile"
7917 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7918 *) ac_try_echo
=$ac_try;;
7920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7921 (eval "$ac_compile") 2>conftest.er1
7923 grep -v '^ *+' conftest.er1
>conftest.err
7925 cat conftest.err
>&5
7926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7927 (exit $ac_status); } && {
7928 test -z "$ac_c_werror_flag" ||
7929 test ! -s conftest.err
7930 } && test -s conftest.
$ac_objext; then
7931 eval "$as_ac_Header=yes"
7933 echo "$as_me: failed program was:" >&5
7934 sed 's/^/| /' conftest.
$ac_ext >&5
7936 eval "$as_ac_Header=no"
7939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7941 ac_res
=`eval echo '${'$as_ac_Header'}'`
7942 { echo "$as_me:$LINENO: result: $ac_res" >&5
7943 echo "${ECHO_T}$ac_res" >&6; }
7944 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7945 cat >>confdefs.h
<<_ACEOF
7946 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7957 DLLFLAGS
="-D_REENTRANT"
7971 # Extract the first word of "ldd", so it can be a program name with args.
7972 set dummy ldd
; ac_word
=$2
7973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7975 if test "${ac_cv_path_LDD+set}" = set; then
7976 echo $ECHO_N "(cached) $ECHO_C" >&6
7980 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7984 as_dummy
="/sbin:/usr/sbin:$PATH"
7985 for as_dir
in $as_dummy
7988 test -z "$as_dir" && as_dir
=.
7989 for ac_exec_ext
in '' $ac_executable_extensions; do
7990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7991 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7999 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
8004 if test -n "$LDD"; then
8005 { echo "$as_me:$LINENO: result: $LDD" >&5
8006 echo "${ECHO_T}$LDD" >&6; }
8008 { echo "$as_me:$LINENO: result: no" >&5
8009 echo "${ECHO_T}no" >&6; }
8016 if test -n "$ac_tool_prefix"; then
8017 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8018 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8021 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8022 echo $ECHO_N "(cached) $ECHO_C" >&6
8024 if test -n "$DLLTOOL"; then
8025 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8031 test -z "$as_dir" && as_dir
=.
8032 for ac_exec_ext
in '' $ac_executable_extensions; do
8033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8034 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8044 DLLTOOL
=$ac_cv_prog_DLLTOOL
8045 if test -n "$DLLTOOL"; then
8046 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8047 echo "${ECHO_T}$DLLTOOL" >&6; }
8049 { echo "$as_me:$LINENO: result: no" >&5
8050 echo "${ECHO_T}no" >&6; }
8055 if test -z "$ac_cv_prog_DLLTOOL"; then
8056 ac_ct_DLLTOOL
=$DLLTOOL
8057 # Extract the first word of "dlltool", so it can be a program name with args.
8058 set dummy dlltool
; ac_word
=$2
8059 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8061 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8062 echo $ECHO_N "(cached) $ECHO_C" >&6
8064 if test -n "$ac_ct_DLLTOOL"; then
8065 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8071 test -z "$as_dir" && as_dir
=.
8072 for ac_exec_ext
in '' $ac_executable_extensions; do
8073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8074 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8084 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8085 if test -n "$ac_ct_DLLTOOL"; then
8086 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8087 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8089 { echo "$as_me:$LINENO: result: no" >&5
8090 echo "${ECHO_T}no" >&6; }
8093 if test "x$ac_ct_DLLTOOL" = x
; then
8096 case $cross_compiling:$ac_tool_warned in
8098 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8099 whose name does not start with the host triplet. If you think this
8100 configuration is useful to you, please write to autoconf@gnu.org." >&5
8101 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8102 whose name does not start with the host triplet. If you think this
8103 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8104 ac_tool_warned
=yes ;;
8106 DLLTOOL
=$ac_ct_DLLTOOL
8109 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8112 if test -n "$ac_tool_prefix"; then
8113 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8114 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
8115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8117 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8118 echo $ECHO_N "(cached) $ECHO_C" >&6
8120 if test -n "$DLLWRAP"; then
8121 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
8123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8127 test -z "$as_dir" && as_dir
=.
8128 for ac_exec_ext
in '' $ac_executable_extensions; do
8129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8130 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
8131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8140 DLLWRAP
=$ac_cv_prog_DLLWRAP
8141 if test -n "$DLLWRAP"; then
8142 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8143 echo "${ECHO_T}$DLLWRAP" >&6; }
8145 { echo "$as_me:$LINENO: result: no" >&5
8146 echo "${ECHO_T}no" >&6; }
8151 if test -z "$ac_cv_prog_DLLWRAP"; then
8152 ac_ct_DLLWRAP
=$DLLWRAP
8153 # Extract the first word of "dllwrap", so it can be a program name with args.
8154 set dummy dllwrap
; ac_word
=$2
8155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8157 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8158 echo $ECHO_N "(cached) $ECHO_C" >&6
8160 if test -n "$ac_ct_DLLWRAP"; then
8161 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
8163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8167 test -z "$as_dir" && as_dir
=.
8168 for ac_exec_ext
in '' $ac_executable_extensions; do
8169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8170 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
8171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8180 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
8181 if test -n "$ac_ct_DLLWRAP"; then
8182 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8183 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8185 { echo "$as_me:$LINENO: result: no" >&5
8186 echo "${ECHO_T}no" >&6; }
8189 if test "x$ac_ct_DLLWRAP" = x
; then
8192 case $cross_compiling:$ac_tool_warned in
8194 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8195 whose name does not start with the host triplet. If you think this
8196 configuration is useful to you, please write to autoconf@gnu.org." >&5
8197 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8198 whose name does not start with the host triplet. If you think this
8199 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8200 ac_tool_warned
=yes ;;
8202 DLLWRAP
=$ac_ct_DLLWRAP
8205 DLLWRAP
="$ac_cv_prog_DLLWRAP"
8208 if test -n "$ac_tool_prefix"; then
8209 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8210 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8211 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8213 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8214 echo $ECHO_N "(cached) $ECHO_C" >&6
8216 if test -n "$MINGWAR"; then
8217 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8223 test -z "$as_dir" && as_dir
=.
8224 for ac_exec_ext
in '' $ac_executable_extensions; do
8225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8226 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8236 MINGWAR
=$ac_cv_prog_MINGWAR
8237 if test -n "$MINGWAR"; then
8238 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8239 echo "${ECHO_T}$MINGWAR" >&6; }
8241 { echo "$as_me:$LINENO: result: no" >&5
8242 echo "${ECHO_T}no" >&6; }
8247 if test -z "$ac_cv_prog_MINGWAR"; then
8248 ac_ct_MINGWAR
=$MINGWAR
8249 # Extract the first word of "ar", so it can be a program name with args.
8250 set dummy
ar; ac_word
=$2
8251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8253 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8254 echo $ECHO_N "(cached) $ECHO_C" >&6
8256 if test -n "$ac_ct_MINGWAR"; then
8257 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8263 test -z "$as_dir" && as_dir
=.
8264 for ac_exec_ext
in '' $ac_executable_extensions; do
8265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8266 ac_cv_prog_ac_ct_MINGWAR
="ar"
8267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8276 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8277 if test -n "$ac_ct_MINGWAR"; then
8278 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8279 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8281 { echo "$as_me:$LINENO: result: no" >&5
8282 echo "${ECHO_T}no" >&6; }
8285 if test "x$ac_ct_MINGWAR" = x
; then
8288 case $cross_compiling:$ac_tool_warned in
8290 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8291 whose name does not start with the host triplet. If you think this
8292 configuration is useful to you, please write to autoconf@gnu.org." >&5
8293 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8294 whose name does not start with the host triplet. If you think this
8295 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8296 ac_tool_warned
=yes ;;
8298 MINGWAR
=$ac_ct_MINGWAR
8301 MINGWAR
="$ac_cv_prog_MINGWAR"
8304 if test "$DLLWRAP" = "false"; then
8316 DLLFLAGS
="$DLLFLAGS -fPIC"
8317 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8318 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8319 LDSHARED
="\$(CC) -dynamiclib"
8321 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8322 SECURITYLIB
="-framework Security -framework CoreFoundation"
8324 COREFOUNDATIONLIB
="-framework CoreFoundation"
8326 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8328 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8330 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8332 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8335 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8337 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8342 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8344 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8346 CARBONLIB
="-framework Carbon"
8348 QUARTZFILES
='$(QUARTZFILES)'
8352 DLLFLAGS
="$DLLFLAGS -fPIC"
8354 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8355 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8356 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8357 echo $ECHO_N "(cached) $ECHO_C" >&6
8359 ac_wine_try_cflags_saved
=$CFLAGS
8360 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8361 cat >conftest.
$ac_ext <<_ACEOF
8364 rm -f conftest.
$ac_objext conftest
$ac_exeext
8365 if { (ac_try
="$ac_link"
8367 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8368 *) ac_try_echo=$ac_try;;
8370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8371 (eval "$ac_link") 2>conftest.er1
8373 grep -v '^ *+' conftest.er1 >conftest.err
8375 cat conftest.err >&5
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); } && {
8378 test -z "$ac_c_werror_flag" ||
8379 test ! -s conftest.err
8380 } && test -s conftest$ac_exeext &&
8381 $as_test_x conftest$ac_exeext; then
8382 ac_cv_c_dll_gnuelf="yes"
8384 echo "$as_me: failed program was:" >&5
8385 sed 's/^/| /' conftest.$ac_ext >&5
8387 ac_cv_c_dll_gnuelf="no"
8390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8391 conftest$ac_exeext conftest.$ac_ext
8392 CFLAGS=$ac_wine_try_cflags_saved
8394 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8395 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8396 if test "$ac_cv_c_dll_gnuelf" = "yes"
8398 LDSHARED="\$(CC) -shared"
8399 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8400 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8401 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8402 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8403 echo $ECHO_N "(cached) $ECHO_C" >&6
8405 ac_wine_try_cflags_saved=$CFLAGS
8406 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8407 cat >conftest.$ac_ext <<_ACEOF
8410 cat confdefs.h >>conftest.$ac_ext
8411 cat >>conftest.$ac_ext <<_ACEOF
8412 /* end confdefs.h. */
8422 rm -f conftest.$ac_objext conftest$ac_exeext
8423 if { (ac_try="$ac_link"
8425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8426 *) ac_try_echo
=$ac_try;;
8428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8429 (eval "$ac_link") 2>conftest.er1
8431 grep -v '^ *+' conftest.er1
>conftest.err
8433 cat conftest.err
>&5
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); } && {
8436 test -z "$ac_c_werror_flag" ||
8437 test ! -s conftest.err
8438 } && test -s conftest
$ac_exeext &&
8439 $as_test_x conftest
$ac_exeext; then
8440 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8442 echo "$as_me: failed program was:" >&5
8443 sed 's/^/| /' conftest.
$ac_ext >&5
8445 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8448 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8449 conftest
$ac_exeext conftest.
$ac_ext
8450 CFLAGS
=$ac_wine_try_cflags_saved
8452 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8453 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8454 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8455 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8457 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8458 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8459 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8460 echo $ECHO_N "(cached) $ECHO_C" >&6
8462 ac_wine_try_cflags_saved
=$CFLAGS
8463 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8464 cat >conftest.
$ac_ext <<_ACEOF
8467 cat confdefs.h
>>conftest.
$ac_ext
8468 cat >>conftest.
$ac_ext <<_ACEOF
8469 /* end confdefs.h. */
8479 rm -f conftest.
$ac_objext conftest
$ac_exeext
8480 if { (ac_try
="$ac_link"
8482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8483 *) ac_try_echo=$ac_try;;
8485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8486 (eval "$ac_link") 2>conftest.er1
8488 grep -v '^ *+' conftest.er1 >conftest.err
8490 cat conftest.err >&5
8491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492 (exit $ac_status); } && {
8493 test -z "$ac_c_werror_flag" ||
8494 test ! -s conftest.err
8495 } && test -s conftest$ac_exeext &&
8496 $as_test_x conftest$ac_exeext; then
8497 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8499 echo "$as_me: failed program was:" >&5
8500 sed 's/^/| /' conftest.$ac_ext >&5
8502 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8506 conftest$ac_exeext conftest.$ac_ext
8507 CFLAGS=$ac_wine_try_cflags_saved
8509 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8510 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8511 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8512 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8518 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8519 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8520 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8521 echo $ECHO_N "(cached) $ECHO_C" >&6
8523 ac_wine_try_cflags_saved=$CFLAGS
8524 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8525 cat >conftest.$ac_ext <<_ACEOF
8528 cat confdefs.h >>conftest.$ac_ext
8529 cat >>conftest.$ac_ext <<_ACEOF
8530 /* end confdefs.h. */
8540 rm -f conftest.$ac_objext conftest$ac_exeext
8541 if { (ac_try="$ac_link"
8543 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8544 *) ac_try_echo
=$ac_try;;
8546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8547 (eval "$ac_link") 2>conftest.er1
8549 grep -v '^ *+' conftest.er1
>conftest.err
8551 cat conftest.err
>&5
8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 (exit $ac_status); } && {
8554 test -z "$ac_c_werror_flag" ||
8555 test ! -s conftest.err
8556 } && test -s conftest
$ac_exeext &&
8557 $as_test_x conftest
$ac_exeext; then
8558 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8560 echo "$as_me: failed program was:" >&5
8561 sed 's/^/| /' conftest.
$ac_ext >&5
8563 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8566 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8567 conftest
$ac_exeext conftest.
$ac_ext
8568 CFLAGS
=$ac_wine_try_cflags_saved
8570 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8571 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8572 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8573 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8577 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8578 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8579 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8580 echo $ECHO_N "(cached) $ECHO_C" >&6
8582 ac_wine_try_cflags_saved
=$CFLAGS
8583 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8584 cat >conftest.
$ac_ext <<_ACEOF
8587 cat confdefs.h
>>conftest.
$ac_ext
8588 cat >>conftest.
$ac_ext <<_ACEOF
8589 /* end confdefs.h. */
8599 rm -f conftest.
$ac_objext conftest
$ac_exeext
8600 if { (ac_try
="$ac_link"
8602 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8603 *) ac_try_echo=$ac_try;;
8605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8606 (eval "$ac_link") 2>conftest.er1
8608 grep -v '^ *+' conftest.er1 >conftest.err
8610 cat conftest.err >&5
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); } && {
8613 test -z "$ac_c_werror_flag" ||
8614 test ! -s conftest.err
8615 } && test -s conftest$ac_exeext &&
8616 $as_test_x conftest$ac_exeext; then
8617 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8619 echo "$as_me: failed program was:" >&5
8620 sed 's/^/| /' conftest.$ac_ext >&5
8622 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8626 conftest$ac_exeext conftest.$ac_ext
8627 CFLAGS=$ac_wine_try_cflags_saved
8629 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8630 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8631 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8632 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8636 echo '{ global: *; };' >conftest.map
8637 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8638 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8639 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8640 echo $ECHO_N "(cached) $ECHO_C" >&6
8642 ac_wine_try_cflags_saved=$CFLAGS
8643 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8644 cat >conftest.$ac_ext <<_ACEOF
8647 cat confdefs.h >>conftest.$ac_ext
8648 cat >>conftest.$ac_ext <<_ACEOF
8649 /* end confdefs.h. */
8659 rm -f conftest.$ac_objext conftest$ac_exeext
8660 if { (ac_try="$ac_link"
8662 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8663 *) ac_try_echo
=$ac_try;;
8665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8666 (eval "$ac_link") 2>conftest.er1
8668 grep -v '^ *+' conftest.er1
>conftest.err
8670 cat conftest.err
>&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); } && {
8673 test -z "$ac_c_werror_flag" ||
8674 test ! -s conftest.err
8675 } && test -s conftest
$ac_exeext &&
8676 $as_test_x conftest
$ac_exeext; then
8677 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8679 echo "$as_me: failed program was:" >&5
8680 sed 's/^/| /' conftest.
$ac_ext >&5
8682 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8685 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8686 conftest
$ac_exeext conftest.
$ac_ext
8687 CFLAGS
=$ac_wine_try_cflags_saved
8689 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8690 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8691 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8692 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8697 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8698 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8699 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8700 echo $ECHO_N "(cached) $ECHO_C" >&6
8702 ac_wine_try_cflags_saved
=$CFLAGS
8703 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8704 cat >conftest.
$ac_ext <<_ACEOF
8707 cat confdefs.h
>>conftest.
$ac_ext
8708 cat >>conftest.
$ac_ext <<_ACEOF
8709 /* end confdefs.h. */
8719 rm -f conftest.
$ac_objext conftest
$ac_exeext
8720 if { (ac_try
="$ac_link"
8722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8723 *) ac_try_echo=$ac_try;;
8725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8726 (eval "$ac_link") 2>conftest.er1
8728 grep -v '^ *+' conftest.er1 >conftest.err
8730 cat conftest.err >&5
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); } && {
8733 test -z "$ac_c_werror_flag" ||
8734 test ! -s conftest.err
8735 } && test -s conftest$ac_exeext &&
8736 $as_test_x conftest$ac_exeext; then
8737 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8739 echo "$as_me: failed program was:" >&5
8740 sed 's/^/| /' conftest.$ac_ext >&5
8742 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8746 conftest$ac_exeext conftest.$ac_ext
8747 CFLAGS=$ac_wine_try_cflags_saved
8749 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8750 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8751 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8752 LDEXECFLAGS="-Wl,--export-dynamic"
8757 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
8758 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8759 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8760 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8761 echo $ECHO_N "(cached) $ECHO_C" >&6
8763 ac_wine_try_cflags_saved=$CFLAGS
8764 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8765 cat >conftest.$ac_ext <<_ACEOF
8768 cat confdefs.h >>conftest.$ac_ext
8769 cat >>conftest.$ac_ext <<_ACEOF
8770 /* end confdefs.h. */
8780 rm -f conftest.$ac_objext conftest$ac_exeext
8781 if { (ac_try="$ac_link"
8783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8784 *) ac_try_echo
=$ac_try;;
8786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8787 (eval "$ac_link") 2>conftest.er1
8789 grep -v '^ *+' conftest.er1
>conftest.err
8791 cat conftest.err
>&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); } && {
8794 test -z "$ac_c_werror_flag" ||
8795 test ! -s conftest.err
8796 } && test -s conftest
$ac_exeext &&
8797 $as_test_x conftest
$ac_exeext; then
8798 eval "$as_ac_var=yes"
8800 echo "$as_me: failed program was:" >&5
8801 sed 's/^/| /' conftest.
$ac_ext >&5
8803 eval "$as_ac_var=no"
8806 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8807 conftest
$ac_exeext conftest.
$ac_ext
8808 CFLAGS
=$ac_wine_try_cflags_saved
8810 ac_res
=`eval echo '${'$as_ac_var'}'`
8811 { echo "$as_me:$LINENO: result: $ac_res" >&5
8812 echo "${ECHO_T}$ac_res" >&6; }
8813 if test `eval echo '${'$as_ac_var'}'` = yes; then
8814 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8815 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8817 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8818 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8819 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8820 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8821 echo $ECHO_N "(cached) $ECHO_C" >&6
8823 ac_wine_try_cflags_saved
=$CFLAGS
8824 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8825 cat >conftest.
$ac_ext <<_ACEOF
8828 cat confdefs.h
>>conftest.
$ac_ext
8829 cat >>conftest.
$ac_ext <<_ACEOF
8830 /* end confdefs.h. */
8840 rm -f conftest.
$ac_objext conftest
$ac_exeext
8841 if { (ac_try
="$ac_link"
8843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8844 *) ac_try_echo=$ac_try;;
8846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8847 (eval "$ac_link") 2>conftest.er1
8849 grep -v '^ *+' conftest.er1 >conftest.err
8851 cat conftest.err >&5
8852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8853 (exit $ac_status); } && {
8854 test -z "$ac_c_werror_flag" ||
8855 test ! -s conftest.err
8856 } && test -s conftest$ac_exeext &&
8857 $as_test_x conftest$ac_exeext; then
8858 eval "$as_ac_var=yes"
8860 echo "$as_me: failed program was:" >&5
8861 sed 's/^/| /' conftest.$ac_ext >&5
8863 eval "$as_ac_var=no"
8866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8867 conftest$ac_exeext conftest.$ac_ext
8868 CFLAGS=$ac_wine_try_cflags_saved
8870 ac_res=`eval echo '${'$as_ac_var'}'`
8871 { echo "$as_me:$LINENO: result: $ac_res" >&5
8872 echo "${ECHO_T}$ac_res" >&6; }
8873 if test `eval echo '${'$as_ac_var'}'` = yes; then
8874 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
8875 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8881 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8882 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8883 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8884 echo $ECHO_N "(cached) $ECHO_C" >&6
8886 ac_wine_try_cflags_saved=$CFLAGS
8887 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8888 cat >conftest.$ac_ext <<_ACEOF
8891 cat confdefs.h >>conftest.$ac_ext
8892 cat >>conftest.$ac_ext <<_ACEOF
8893 /* end confdefs.h. */
8903 rm -f conftest.$ac_objext conftest$ac_exeext
8904 if { (ac_try="$ac_link"
8906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8907 *) ac_try_echo
=$ac_try;;
8909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8910 (eval "$ac_link") 2>conftest.er1
8912 grep -v '^ *+' conftest.er1
>conftest.err
8914 cat conftest.err
>&5
8915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 (exit $ac_status); } && {
8917 test -z "$ac_c_werror_flag" ||
8918 test ! -s conftest.err
8919 } && test -s conftest
$ac_exeext &&
8920 $as_test_x conftest
$ac_exeext; then
8921 ac_cv_cflags__Wl___enable_new_dtags
=yes
8923 echo "$as_me: failed program was:" >&5
8924 sed 's/^/| /' conftest.
$ac_ext >&5
8926 ac_cv_cflags__Wl___enable_new_dtags
=no
8929 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8930 conftest
$ac_exeext conftest.
$ac_ext
8931 CFLAGS
=$ac_wine_try_cflags_saved
8933 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8934 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8935 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8936 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8941 *i
[3456789]86* | x86_64
)
8942 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8943 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8944 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8945 echo $ECHO_N "(cached) $ECHO_C" >&6
8947 ac_wine_try_cflags_saved
=$CFLAGS
8948 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8949 cat >conftest.
$ac_ext <<_ACEOF
8952 cat confdefs.h
>>conftest.
$ac_ext
8953 cat >>conftest.
$ac_ext <<_ACEOF
8954 /* end confdefs.h. */
8964 rm -f conftest.
$ac_objext conftest
$ac_exeext
8965 if { (ac_try
="$ac_link"
8967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8968 *) ac_try_echo=$ac_try;;
8970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8971 (eval "$ac_link") 2>conftest.er1
8973 grep -v '^ *+' conftest.er1 >conftest.err
8975 cat conftest.err >&5
8976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8977 (exit $ac_status); } && {
8978 test -z "$ac_c_werror_flag" ||
8979 test ! -s conftest.err
8980 } && test -s conftest$ac_exeext &&
8981 $as_test_x conftest$ac_exeext; then
8982 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8984 echo "$as_me: failed program was:" >&5
8985 sed 's/^/| /' conftest.$ac_ext >&5
8987 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8991 conftest$ac_exeext conftest.$ac_ext
8992 CFLAGS=$ac_wine_try_cflags_saved
8994 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8995 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8996 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8997 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9004 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9005 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9006 if test "${ac_cv_c_dll_unixware+set}" = set; then
9007 echo $ECHO_N "(cached) $ECHO_C" >&6
9009 ac_wine_try_cflags_saved=$CFLAGS
9010 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9011 cat >conftest.$ac_ext <<_ACEOF
9014 rm -f conftest.$ac_objext conftest$ac_exeext
9015 if { (ac_try="$ac_link"
9017 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9018 *) ac_try_echo
=$ac_try;;
9020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9021 (eval "$ac_link") 2>conftest.er1
9023 grep -v '^ *+' conftest.er1
>conftest.err
9025 cat conftest.err
>&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 (exit $ac_status); } && {
9028 test -z "$ac_c_werror_flag" ||
9029 test ! -s conftest.err
9030 } && test -s conftest
$ac_exeext &&
9031 $as_test_x conftest
$ac_exeext; then
9032 ac_cv_c_dll_unixware
="yes"
9034 echo "$as_me: failed program was:" >&5
9035 sed 's/^/| /' conftest.
$ac_ext >&5
9037 ac_cv_c_dll_unixware
="no"
9040 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9041 conftest
$ac_exeext conftest.
$ac_ext
9042 CFLAGS
=$ac_wine_try_cflags_saved
9044 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9045 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9046 if test "$ac_cv_c_dll_unixware" = "yes"
9048 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9049 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
9052 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9053 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9054 if test "${ac_cv_c_dll_hpux+set}" = set; then
9055 echo $ECHO_N "(cached) $ECHO_C" >&6
9057 ac_wine_try_cflags_saved
=$CFLAGS
9058 CFLAGS
="$CFLAGS -shared"
9059 cat >conftest.
$ac_ext <<_ACEOF
9062 rm -f conftest.
$ac_objext conftest
$ac_exeext
9063 if { (ac_try
="$ac_link"
9065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9066 *) ac_try_echo=$ac_try;;
9068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9069 (eval "$ac_link") 2>conftest.er1
9071 grep -v '^ *+' conftest.er1 >conftest.err
9073 cat conftest.err >&5
9074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9075 (exit $ac_status); } && {
9076 test -z "$ac_c_werror_flag" ||
9077 test ! -s conftest.err
9078 } && test -s conftest$ac_exeext &&
9079 $as_test_x conftest$ac_exeext; then
9080 ac_cv_c_dll_hpux="yes"
9082 echo "$as_me: failed program was:" >&5
9083 sed 's/^/| /' conftest.$ac_ext >&5
9085 ac_cv_c_dll_hpux="no"
9088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9089 conftest$ac_exeext conftest.$ac_ext
9090 CFLAGS=$ac_wine_try_cflags_saved
9092 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9093 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9094 if test "$ac_cv_c_dll_hpux" = "yes"
9098 LDDLLFLAGS="-shared -fPIC"
9099 LDSHARED="\$(CC) -shared"
9106 if test "$cross_compiling" = "no"
9108 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9110 # Extract the first word of "$ac_prog", so it can be a program name with args.
9111 set dummy $ac_prog; ac_word=$2
9112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9114 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9115 echo $ECHO_N "(cached) $ECHO_C" >&6
9117 if test -n "$CROSSCC"; then
9118 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9124 test -z "$as_dir" && as_dir=.
9125 for ac_exec_ext in '' $ac_executable_extensions; do
9126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9127 ac_cv_prog_CROSSCC="$ac_prog"
9128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9137 CROSSCC=$ac_cv_prog_CROSSCC
9138 if test -n "$CROSSCC"; then
9139 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9140 echo "${ECHO_T}$CROSSCC" >&6; }
9142 { echo "$as_me:$LINENO: result: no" >&5
9143 echo "${ECHO_T}no" >&6; }
9147 test -n "$CROSSCC" && break
9149 test -n "$CROSSCC" || CROSSCC="false"
9151 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9153 # Extract the first word of "$ac_prog", so it can be a program name with args.
9154 set dummy $ac_prog; ac_word=$2
9155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9157 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9158 echo $ECHO_N "(cached) $ECHO_C" >&6
9160 if test -n "$DLLTOOL"; then
9161 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9167 test -z "$as_dir" && as_dir=.
9168 for ac_exec_ext in '' $ac_executable_extensions; do
9169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9170 ac_cv_prog_DLLTOOL="$ac_prog"
9171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9180 DLLTOOL=$ac_cv_prog_DLLTOOL
9181 if test -n "$DLLTOOL"; then
9182 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9183 echo "${ECHO_T}$DLLTOOL" >&6; }
9185 { echo "$as_me:$LINENO: result: no" >&5
9186 echo "${ECHO_T}no" >&6; }
9190 test -n "$DLLTOOL" && break
9192 test -n "$DLLTOOL" || DLLTOOL="false"
9194 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9196 # Extract the first word of "$ac_prog", so it can be a program name with args.
9197 set dummy $ac_prog; ac_word=$2
9198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9200 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9201 echo $ECHO_N "(cached) $ECHO_C" >&6
9203 if test -n "$CROSSWINDRES"; then
9204 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9210 test -z "$as_dir" && as_dir=.
9211 for ac_exec_ext in '' $ac_executable_extensions; do
9212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9213 ac_cv_prog_CROSSWINDRES="$ac_prog"
9214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9223 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9224 if test -n "$CROSSWINDRES"; then
9225 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9226 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9228 { echo "$as_me:$LINENO: result: no" >&5
9229 echo "${ECHO_T}no" >&6; }
9233 test -n "$CROSSWINDRES" && break
9235 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9237 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9239 # Extract the first word of "$ac_prog", so it can be a program name with args.
9240 set dummy $ac_prog; ac_word=$2
9241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9243 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9244 echo $ECHO_N "(cached) $ECHO_C" >&6
9246 if test -n "$MINGWAR"; then
9247 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9253 test -z "$as_dir" && as_dir=.
9254 for ac_exec_ext in '' $ac_executable_extensions; do
9255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9256 ac_cv_prog_MINGWAR="$ac_prog"
9257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9266 MINGWAR=$ac_cv_prog_MINGWAR
9267 if test -n "$MINGWAR"; then
9268 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9269 echo "${ECHO_T}$MINGWAR" >&6; }
9271 { echo "$as_me:$LINENO: result: no" >&5
9272 echo "${ECHO_T}no" >&6; }
9276 test -n "$MINGWAR" && break
9278 test -n "$MINGWAR" || MINGWAR="false"
9280 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9285 if test "$LIBEXT" = "a"; then
9286 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9287 It is currently not possible to build Wine without shared library
9288 (.so) support to allow transparent switch between .so and .dll files.
9289 If you are using Linux, you will need a newer binutils.
9291 echo "$as_me: error: could not find a way to build shared libraries.
9292 It is currently not possible to build Wine without shared library
9293 (.so) support to allow transparent switch between .so and .dll files.
9294 If you are using Linux, you will need a newer binutils.
9296 { (exit 1); exit 1; }; }
9300 if test "$have_x" = "yes"
9303 ac_save_CPPFLAGS="$CPPFLAGS"
9304 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9306 { echo "$as_me:$LINENO: checking for -lX11" >&5
9307 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9308 if test "${ac_cv_lib_soname_X11+set}" = set; then
9309 echo $ECHO_N "(cached) $ECHO_C" >&6
9311 ac_check_soname_save_LIBS=$LIBS
9312 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9313 cat >conftest.$ac_ext <<_ACEOF
9316 cat confdefs.h >>conftest.$ac_ext
9317 cat >>conftest.$ac_ext <<_ACEOF
9318 /* end confdefs.h. */
9320 /* Override any GCC internal prototype to avoid an error.
9321 Use char because int might match the return type of a GCC
9322 builtin and then its argument prototype would still apply. */
9326 char XCreateWindow ();
9330 return XCreateWindow ();
9335 rm -f conftest.$ac_objext conftest$ac_exeext
9336 if { (ac_try="$ac_link"
9338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9339 *) ac_try_echo
=$ac_try;;
9341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9342 (eval "$ac_link") 2>conftest.er1
9344 grep -v '^ *+' conftest.er1
>conftest.err
9346 cat conftest.err
>&5
9347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9348 (exit $ac_status); } && {
9349 test -z "$ac_c_werror_flag" ||
9350 test ! -s conftest.err
9351 } && test -s conftest
$ac_exeext &&
9352 $as_test_x conftest
$ac_exeext; then
9355 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'` ;;
9356 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9359 echo "$as_me: failed program was:" >&5
9360 sed 's/^/| /' conftest.
$ac_ext >&5
9365 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9366 conftest
$ac_exeext conftest.
$ac_ext
9367 LIBS
=$ac_check_soname_save_LIBS
9369 if test "x$ac_cv_lib_soname_X11" = "x"; then
9370 { echo "$as_me:$LINENO: result: not found" >&5
9371 echo "${ECHO_T}not found" >&6; }
9374 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9375 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9377 cat >>confdefs.h
<<_ACEOF
9378 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9384 { echo "$as_me:$LINENO: checking for -lXext" >&5
9385 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9386 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9387 echo $ECHO_N "(cached) $ECHO_C" >&6
9389 ac_check_soname_save_LIBS
=$LIBS
9390 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9391 cat >conftest.
$ac_ext <<_ACEOF
9394 cat confdefs.h
>>conftest.
$ac_ext
9395 cat >>conftest.
$ac_ext <<_ACEOF
9396 /* end confdefs.h. */
9398 /* Override any GCC internal prototype to avoid an error.
9399 Use char because int might match the return type of a GCC
9400 builtin and then its argument prototype would still apply. */
9404 char XextCreateExtension ();
9408 return XextCreateExtension ();
9413 rm -f conftest.
$ac_objext conftest
$ac_exeext
9414 if { (ac_try
="$ac_link"
9416 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9417 *) ac_try_echo=$ac_try;;
9419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9420 (eval "$ac_link") 2>conftest.er1
9422 grep -v '^ *+' conftest.er1 >conftest.err
9424 cat conftest.err >&5
9425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9426 (exit $ac_status); } && {
9427 test -z "$ac_c_werror_flag" ||
9428 test ! -s conftest.err
9429 } && test -s conftest$ac_exeext &&
9430 $as_test_x conftest$ac_exeext; then
9433 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'` ;;
9434 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9437 echo "$as_me: failed program was:" >&5
9438 sed 's/^/| /' conftest.$ac_ext >&5
9443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9444 conftest$ac_exeext conftest.$ac_ext
9445 LIBS=$ac_check_soname_save_LIBS
9447 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9448 { echo "$as_me:$LINENO: result: not found" >&5
9449 echo "${ECHO_T}not found" >&6; }
9452 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9453 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9455 cat >>confdefs.h <<_ACEOF
9456 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9475 for ac_header in X11/Xlib.h \
9478 X11/Xcursor/Xcursor.h \
9479 X11/extensions/shape.h \
9480 X11/extensions/XInput.h \
9481 X11/extensions/XShm.h \
9482 X11/extensions/Xcomposite.h \
9483 X11/extensions/Xinerama.h \
9484 X11/extensions/Xrandr.h \
9485 X11/extensions/Xrender.h \
9486 X11/extensions/xf86vmode.h
9488 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9492 echo $ECHO_N "(cached) $ECHO_C" >&6
9494 cat >conftest.$ac_ext <<_ACEOF
9497 cat confdefs.h >>conftest.$ac_ext
9498 cat >>conftest.$ac_ext <<_ACEOF
9499 /* end confdefs.h. */
9500 #ifdef HAVE_X11_XLIB_H
9501 # include <X11/Xlib.h>
9503 #ifdef HAVE_X11_XUTIL_H
9504 # include <X11/Xutil.h>
9507 #include <$ac_header>
9509 rm -f conftest.$ac_objext
9510 if { (ac_try="$ac_compile"
9512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9513 *) ac_try_echo
=$ac_try;;
9515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9516 (eval "$ac_compile") 2>conftest.er1
9518 grep -v '^ *+' conftest.er1
>conftest.err
9520 cat conftest.err
>&5
9521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9522 (exit $ac_status); } && {
9523 test -z "$ac_c_werror_flag" ||
9524 test ! -s conftest.err
9525 } && test -s conftest.
$ac_objext; then
9526 eval "$as_ac_Header=yes"
9528 echo "$as_me: failed program was:" >&5
9529 sed 's/^/| /' conftest.
$ac_ext >&5
9531 eval "$as_ac_Header=no"
9534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9536 ac_res
=`eval echo '${'$as_ac_Header'}'`
9537 { echo "$as_me:$LINENO: result: $ac_res" >&5
9538 echo "${ECHO_T}$ac_res" >&6; }
9539 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9540 cat >>confdefs.h
<<_ACEOF
9541 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9549 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9551 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9552 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9553 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9554 echo $ECHO_N "(cached) $ECHO_C" >&6
9556 ac_check_lib_save_LIBS
=$LIBS
9557 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9558 cat >conftest.
$ac_ext <<_ACEOF
9561 cat confdefs.h
>>conftest.
$ac_ext
9562 cat >>conftest.
$ac_ext <<_ACEOF
9563 /* end confdefs.h. */
9565 /* Override any GCC internal prototype to avoid an error.
9566 Use char because int might match the return type of a GCC
9567 builtin and then its argument prototype would still apply. */
9571 char XkbQueryExtension ();
9575 return XkbQueryExtension ();
9580 rm -f conftest.
$ac_objext conftest
$ac_exeext
9581 if { (ac_try
="$ac_link"
9583 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9584 *) ac_try_echo=$ac_try;;
9586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9587 (eval "$ac_link") 2>conftest.er1
9589 grep -v '^ *+' conftest.er1 >conftest.err
9591 cat conftest.err >&5
9592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9593 (exit $ac_status); } && {
9594 test -z "$ac_c_werror_flag" ||
9595 test ! -s conftest.err
9596 } && test -s conftest$ac_exeext &&
9597 $as_test_x conftest$ac_exeext; then
9598 ac_cv_lib_X11_XkbQueryExtension=yes
9600 echo "$as_me: failed program was:" >&5
9601 sed 's/^/| /' conftest.$ac_ext >&5
9603 ac_cv_lib_X11_XkbQueryExtension=no
9606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9607 conftest$ac_exeext conftest.$ac_ext
9608 LIBS=$ac_check_lib_save_LIBS
9610 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9611 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9612 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9614 cat >>confdefs.h <<\_ACEOF
9622 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9624 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9625 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9626 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9627 echo $ECHO_N "(cached) $ECHO_C" >&6
9629 ac_check_soname_save_LIBS=$LIBS
9630 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9631 cat >conftest.$ac_ext <<_ACEOF
9634 cat confdefs.h >>conftest.$ac_ext
9635 cat >>conftest.$ac_ext <<_ACEOF
9636 /* end confdefs.h. */
9638 /* Override any GCC internal prototype to avoid an error.
9639 Use char because int might match the return type of a GCC
9640 builtin and then its argument prototype would still apply. */
9644 char XcursorImageLoadCursor ();
9648 return XcursorImageLoadCursor ();
9653 rm -f conftest.$ac_objext conftest$ac_exeext
9654 if { (ac_try="$ac_link"
9656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9657 *) ac_try_echo
=$ac_try;;
9659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9660 (eval "$ac_link") 2>conftest.er1
9662 grep -v '^ *+' conftest.er1
>conftest.err
9664 cat conftest.err
>&5
9665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9666 (exit $ac_status); } && {
9667 test -z "$ac_c_werror_flag" ||
9668 test ! -s conftest.err
9669 } && test -s conftest
$ac_exeext &&
9670 $as_test_x conftest
$ac_exeext; then
9673 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'` ;;
9674 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9677 echo "$as_me: failed program was:" >&5
9678 sed 's/^/| /' conftest.
$ac_ext >&5
9683 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9684 conftest
$ac_exeext conftest.
$ac_ext
9685 LIBS
=$ac_check_soname_save_LIBS
9687 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9688 { echo "$as_me:$LINENO: result: not found" >&5
9689 echo "${ECHO_T}not found" >&6; }
9692 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9693 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9695 cat >>confdefs.h
<<_ACEOF
9696 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9703 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9704 case "x$with_xcursor" in
9705 x
) wine_notices
="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9707 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9708 This is an error since --with-xcursor was requested." >&5
9709 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9710 This is an error since --with-xcursor was requested." >&2;}
9711 { (exit 1); exit 1; }; } ;;
9716 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9718 { echo "$as_me:$LINENO: checking for -lXi" >&5
9719 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9720 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9721 echo $ECHO_N "(cached) $ECHO_C" >&6
9723 ac_check_soname_save_LIBS
=$LIBS
9724 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9725 cat >conftest.
$ac_ext <<_ACEOF
9728 cat confdefs.h
>>conftest.
$ac_ext
9729 cat >>conftest.
$ac_ext <<_ACEOF
9730 /* end confdefs.h. */
9732 /* Override any GCC internal prototype to avoid an error.
9733 Use char because int might match the return type of a GCC
9734 builtin and then its argument prototype would still apply. */
9738 char XOpenDevice ();
9742 return XOpenDevice ();
9747 rm -f conftest.
$ac_objext conftest
$ac_exeext
9748 if { (ac_try
="$ac_link"
9750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9751 *) ac_try_echo=$ac_try;;
9753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9754 (eval "$ac_link") 2>conftest.er1
9756 grep -v '^ *+' conftest.er1 >conftest.err
9758 cat conftest.err >&5
9759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760 (exit $ac_status); } && {
9761 test -z "$ac_c_werror_flag" ||
9762 test ! -s conftest.err
9763 } && test -s conftest$ac_exeext &&
9764 $as_test_x conftest$ac_exeext; then
9767 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'` ;;
9768 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9771 echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.$ac_ext >&5
9777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9778 conftest$ac_exeext conftest.$ac_ext
9779 LIBS=$ac_check_soname_save_LIBS
9781 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9782 { echo "$as_me:$LINENO: result: not found" >&5
9783 echo "${ECHO_T}not found" >&6; }
9786 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9787 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9789 cat >>confdefs.h <<_ACEOF
9790 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9797 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9798 case "x$with_xinput" in
9799 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9801 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9802 This is an error since --with-xinput was requested." >&5
9803 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9804 This is an error since --with-xinput was requested." >&2;}
9805 { (exit 1); exit 1; }; } ;;
9810 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9812 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9813 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9814 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9815 echo $ECHO_N "(cached) $ECHO_C" >&6
9817 ac_check_lib_save_LIBS=$LIBS
9818 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9819 cat >conftest.$ac_ext <<_ACEOF
9822 cat confdefs.h >>conftest.$ac_ext
9823 cat >>conftest.$ac_ext <<_ACEOF
9824 /* end confdefs.h. */
9826 /* Override any GCC internal prototype to avoid an error.
9827 Use char because int might match the return type of a GCC
9828 builtin and then its argument prototype would still apply. */
9832 char XShmQueryExtension ();
9836 return XShmQueryExtension ();
9841 rm -f conftest.$ac_objext conftest$ac_exeext
9842 if { (ac_try="$ac_link"
9844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9845 *) ac_try_echo
=$ac_try;;
9847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9848 (eval "$ac_link") 2>conftest.er1
9850 grep -v '^ *+' conftest.er1
>conftest.err
9852 cat conftest.err
>&5
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); } && {
9855 test -z "$ac_c_werror_flag" ||
9856 test ! -s conftest.err
9857 } && test -s conftest
$ac_exeext &&
9858 $as_test_x conftest
$ac_exeext; then
9859 ac_cv_lib_Xext_XShmQueryExtension
=yes
9861 echo "$as_me: failed program was:" >&5
9862 sed 's/^/| /' conftest.
$ac_ext >&5
9864 ac_cv_lib_Xext_XShmQueryExtension
=no
9867 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9868 conftest
$ac_exeext conftest.
$ac_ext
9869 LIBS
=$ac_check_lib_save_LIBS
9871 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9872 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9873 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9875 cat >>confdefs.h
<<\_ACEOF
9876 #define HAVE_LIBXXSHM 1
9882 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9883 case "x$with_xshm" in
9884 x
) wine_notices
="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9886 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9887 This is an error since --with-xshm was requested." >&5
9888 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9889 This is an error since --with-xshm was requested." >&2;}
9890 { (exit 1); exit 1; }; } ;;
9895 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9897 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9898 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9899 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9900 echo $ECHO_N "(cached) $ECHO_C" >&6
9902 ac_check_lib_save_LIBS
=$LIBS
9903 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9904 cat >conftest.
$ac_ext <<_ACEOF
9907 cat confdefs.h
>>conftest.
$ac_ext
9908 cat >>conftest.
$ac_ext <<_ACEOF
9909 /* end confdefs.h. */
9911 /* Override any GCC internal prototype to avoid an error.
9912 Use char because int might match the return type of a GCC
9913 builtin and then its argument prototype would still apply. */
9917 char XShapeQueryExtension ();
9921 return XShapeQueryExtension ();
9926 rm -f conftest.
$ac_objext conftest
$ac_exeext
9927 if { (ac_try
="$ac_link"
9929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9930 *) ac_try_echo=$ac_try;;
9932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9933 (eval "$ac_link") 2>conftest.er1
9935 grep -v '^ *+' conftest.er1 >conftest.err
9937 cat conftest.err >&5
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 (exit $ac_status); } && {
9940 test -z "$ac_c_werror_flag" ||
9941 test ! -s conftest.err
9942 } && test -s conftest$ac_exeext &&
9943 $as_test_x conftest$ac_exeext; then
9944 ac_cv_lib_Xext_XShapeQueryExtension=yes
9946 echo "$as_me: failed program was:" >&5
9947 sed 's/^/| /' conftest.$ac_ext >&5
9949 ac_cv_lib_Xext_XShapeQueryExtension=no
9952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9953 conftest$ac_exeext conftest.$ac_ext
9954 LIBS=$ac_check_lib_save_LIBS
9956 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9957 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9958 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9960 cat >>confdefs.h <<\_ACEOF
9961 #define HAVE_LIBXSHAPE 1
9967 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9968 case "x$with_xshape" in
9969 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
9971 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
9972 This is an error since --with-xshape was requested." >&5
9973 echo "$as_me: error: XShape development files not found, XShape won't be supported.
9974 This is an error since --with-xshape was requested." >&2;}
9975 { (exit 1); exit 1; }; } ;;
9980 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9982 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9983 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9984 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9985 echo $ECHO_N "(cached) $ECHO_C" >&6
9987 ac_check_lib_save_LIBS=$LIBS
9988 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9989 cat >conftest.$ac_ext <<_ACEOF
9992 cat confdefs.h >>conftest.$ac_ext
9993 cat >>conftest.$ac_ext <<_ACEOF
9994 /* end confdefs.h. */
9996 /* Override any GCC internal prototype to avoid an error.
9997 Use char because int might match the return type of a GCC
9998 builtin and then its argument prototype would still apply. */
10002 char XF86VidModeQueryExtension ();
10006 return XF86VidModeQueryExtension ();
10011 rm -f conftest.$ac_objext conftest$ac_exeext
10012 if { (ac_try="$ac_link"
10013 case "(($ac_try" in
10014 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10015 *) ac_try_echo
=$ac_try;;
10017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10018 (eval "$ac_link") 2>conftest.er1
10020 grep -v '^ *+' conftest.er1
>conftest.err
10022 cat conftest.err
>&5
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); } && {
10025 test -z "$ac_c_werror_flag" ||
10026 test ! -s conftest.err
10027 } && test -s conftest
$ac_exeext &&
10028 $as_test_x conftest
$ac_exeext; then
10029 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
10031 echo "$as_me: failed program was:" >&5
10032 sed 's/^/| /' conftest.
$ac_ext >&5
10034 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
10037 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10038 conftest
$ac_exeext conftest.
$ac_ext
10039 LIBS
=$ac_check_lib_save_LIBS
10041 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10042 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10043 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10045 cat >>confdefs.h
<<\_ACEOF
10046 #define HAVE_LIBXXF86VM 1
10049 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
10054 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10055 case "x$with_xvidmode" in
10056 x
) wine_notices
="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10058 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10059 This is an error since --with-xvidmode was requested." >&5
10060 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10061 This is an error since --with-xvidmode was requested." >&2;}
10062 { (exit 1); exit 1; }; } ;;
10067 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"
10069 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10070 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10071 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10072 echo $ECHO_N "(cached) $ECHO_C" >&6
10074 ac_check_soname_save_LIBS
=$LIBS
10075 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10076 cat >conftest.
$ac_ext <<_ACEOF
10079 cat confdefs.h
>>conftest.
$ac_ext
10080 cat >>conftest.
$ac_ext <<_ACEOF
10081 /* end confdefs.h. */
10083 /* Override any GCC internal prototype to avoid an error.
10084 Use char because int might match the return type of a GCC
10085 builtin and then its argument prototype would still apply. */
10089 char XRenderQueryExtension ();
10093 return XRenderQueryExtension ();
10098 rm -f conftest.
$ac_objext conftest
$ac_exeext
10099 if { (ac_try
="$ac_link"
10100 case "(($ac_try" in
10101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10102 *) ac_try_echo=$ac_try;;
10104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10105 (eval "$ac_link") 2>conftest.er1
10107 grep -v '^ *+' conftest.er1 >conftest.err
10109 cat conftest.err >&5
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); } && {
10112 test -z "$ac_c_werror_flag" ||
10113 test ! -s conftest.err
10114 } && test -s conftest$ac_exeext &&
10115 $as_test_x conftest$ac_exeext; then
10118 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'` ;;
10119 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10122 echo "$as_me: failed program was:" >&5
10123 sed 's/^/| /' conftest.$ac_ext >&5
10128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10129 conftest$ac_exeext conftest.$ac_ext
10130 LIBS=$ac_check_soname_save_LIBS
10132 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10133 { echo "$as_me:$LINENO: result: not found" >&5
10134 echo "${ECHO_T}not found" >&6; }
10137 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10138 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10140 cat >>confdefs.h <<_ACEOF
10141 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10144 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10145 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10146 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10147 echo $ECHO_N "(cached) $ECHO_C" >&6
10149 ac_check_lib_save_LIBS=$LIBS
10150 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10151 cat >conftest.$ac_ext <<_ACEOF
10154 cat confdefs.h >>conftest.$ac_ext
10155 cat >>conftest.$ac_ext <<_ACEOF
10156 /* end confdefs.h. */
10158 /* Override any GCC internal prototype to avoid an error.
10159 Use char because int might match the return type of a GCC
10160 builtin and then its argument prototype would still apply. */
10164 char XRenderSetPictureTransform ();
10168 return XRenderSetPictureTransform ();
10173 rm -f conftest.$ac_objext conftest$ac_exeext
10174 if { (ac_try="$ac_link"
10175 case "(($ac_try" in
10176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10177 *) ac_try_echo
=$ac_try;;
10179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10180 (eval "$ac_link") 2>conftest.er1
10182 grep -v '^ *+' conftest.er1
>conftest.err
10184 cat conftest.err
>&5
10185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10186 (exit $ac_status); } && {
10187 test -z "$ac_c_werror_flag" ||
10188 test ! -s conftest.err
10189 } && test -s conftest
$ac_exeext &&
10190 $as_test_x conftest
$ac_exeext; then
10191 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10193 echo "$as_me: failed program was:" >&5
10194 sed 's/^/| /' conftest.
$ac_ext >&5
10196 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10199 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10200 conftest
$ac_exeext conftest.
$ac_ext
10201 LIBS
=$ac_check_lib_save_LIBS
10203 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10204 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10205 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10207 cat >>confdefs.h
<<\_ACEOF
10208 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10217 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10218 case "x$with_xrender" in
10219 x
) wine_notices
="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10221 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10222 This is an error since --with-xrender was requested." >&5
10223 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10224 This is an error since --with-xrender was requested." >&2;}
10225 { (exit 1); exit 1; }; } ;;
10230 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10232 cat >conftest.
$ac_ext <<_ACEOF
10235 cat confdefs.h
>>conftest.
$ac_ext
10236 cat >>conftest.
$ac_ext <<_ACEOF
10237 /* end confdefs.h. */
10238 #include <X11/Xlib.h>
10239 #include <X11/extensions/Xrandr.h>
10243 static typeof(XRRSetScreenConfigAndRate) * func;
10248 rm -f conftest.
$ac_objext
10249 if { (ac_try
="$ac_compile"
10250 case "(($ac_try" in
10251 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10252 *) ac_try_echo=$ac_try;;
10254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10255 (eval "$ac_compile") 2>conftest.er1
10257 grep -v '^ *+' conftest.er1 >conftest.err
10259 cat conftest.err >&5
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); } && {
10262 test -z "$ac_c_werror_flag" ||
10263 test ! -s conftest.err
10264 } && test -s conftest.$ac_objext; then
10265 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10266 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10267 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10268 echo $ECHO_N "(cached) $ECHO_C" >&6
10270 ac_check_soname_save_LIBS=$LIBS
10271 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10272 cat >conftest.$ac_ext <<_ACEOF
10275 cat confdefs.h >>conftest.$ac_ext
10276 cat >>conftest.$ac_ext <<_ACEOF
10277 /* end confdefs.h. */
10279 /* Override any GCC internal prototype to avoid an error.
10280 Use char because int might match the return type of a GCC
10281 builtin and then its argument prototype would still apply. */
10285 char XRRQueryExtension ();
10289 return XRRQueryExtension ();
10294 rm -f conftest.$ac_objext conftest$ac_exeext
10295 if { (ac_try="$ac_link"
10296 case "(($ac_try" in
10297 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10298 *) ac_try_echo
=$ac_try;;
10300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10301 (eval "$ac_link") 2>conftest.er1
10303 grep -v '^ *+' conftest.er1
>conftest.err
10305 cat conftest.err
>&5
10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 (exit $ac_status); } && {
10308 test -z "$ac_c_werror_flag" ||
10309 test ! -s conftest.err
10310 } && test -s conftest
$ac_exeext &&
10311 $as_test_x conftest
$ac_exeext; then
10314 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'` ;;
10315 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10318 echo "$as_me: failed program was:" >&5
10319 sed 's/^/| /' conftest.
$ac_ext >&5
10324 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10325 conftest
$ac_exeext conftest.
$ac_ext
10326 LIBS
=$ac_check_soname_save_LIBS
10328 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10329 { echo "$as_me:$LINENO: result: not found" >&5
10330 echo "${ECHO_T}not found" >&6; }
10333 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10334 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10336 cat >>confdefs.h
<<_ACEOF
10337 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10344 echo "$as_me: failed program was:" >&5
10345 sed 's/^/| /' conftest.
$ac_ext >&5
10350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10352 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10353 case "x$with_xrandr" in
10354 x
) wine_notices
="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10356 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10357 This is an error since --with-xrandr was requested." >&5
10358 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10359 This is an error since --with-xrandr was requested." >&2;}
10360 { (exit 1); exit 1; }; } ;;
10365 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10367 cat >conftest.
$ac_ext <<_ACEOF
10370 cat confdefs.h
>>conftest.
$ac_ext
10371 cat >>conftest.
$ac_ext <<_ACEOF
10372 /* end confdefs.h. */
10373 #include <X11/Xlib.h>
10374 #include <X11/extensions/Xinerama.h>
10378 static typeof(XineramaQueryScreens) * func;
10383 rm -f conftest.
$ac_objext
10384 if { (ac_try
="$ac_compile"
10385 case "(($ac_try" in
10386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10387 *) ac_try_echo=$ac_try;;
10389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10390 (eval "$ac_compile") 2>conftest.er1
10392 grep -v '^ *+' conftest.er1 >conftest.err
10394 cat conftest.err >&5
10395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396 (exit $ac_status); } && {
10397 test -z "$ac_c_werror_flag" ||
10398 test ! -s conftest.err
10399 } && test -s conftest.$ac_objext; then
10400 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10401 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10402 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10403 echo $ECHO_N "(cached) $ECHO_C" >&6
10405 ac_check_soname_save_LIBS=$LIBS
10406 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10407 cat >conftest.$ac_ext <<_ACEOF
10410 cat confdefs.h >>conftest.$ac_ext
10411 cat >>conftest.$ac_ext <<_ACEOF
10412 /* end confdefs.h. */
10414 /* Override any GCC internal prototype to avoid an error.
10415 Use char because int might match the return type of a GCC
10416 builtin and then its argument prototype would still apply. */
10420 char XineramaQueryScreens ();
10424 return XineramaQueryScreens ();
10429 rm -f conftest.$ac_objext conftest$ac_exeext
10430 if { (ac_try="$ac_link"
10431 case "(($ac_try" in
10432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10433 *) ac_try_echo
=$ac_try;;
10435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10436 (eval "$ac_link") 2>conftest.er1
10438 grep -v '^ *+' conftest.er1
>conftest.err
10440 cat conftest.err
>&5
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); } && {
10443 test -z "$ac_c_werror_flag" ||
10444 test ! -s conftest.err
10445 } && test -s conftest
$ac_exeext &&
10446 $as_test_x conftest
$ac_exeext; then
10449 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'` ;;
10450 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10453 echo "$as_me: failed program was:" >&5
10454 sed 's/^/| /' conftest.
$ac_ext >&5
10459 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10460 conftest
$ac_exeext conftest.
$ac_ext
10461 LIBS
=$ac_check_soname_save_LIBS
10463 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10464 { echo "$as_me:$LINENO: result: not found" >&5
10465 echo "${ECHO_T}not found" >&6; }
10468 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10469 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10471 cat >>confdefs.h
<<_ACEOF
10472 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10479 echo "$as_me: failed program was:" >&5
10480 sed 's/^/| /' conftest.
$ac_ext >&5
10485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10487 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10488 case "x$with_xinerama" in
10489 x
) wine_notices
="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10491 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10492 This is an error since --with-xinerama was requested." >&5
10493 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10494 This is an error since --with-xinerama was requested." >&2;}
10495 { (exit 1); exit 1; }; } ;;
10500 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10502 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10503 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10504 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10505 echo $ECHO_N "(cached) $ECHO_C" >&6
10507 ac_check_soname_save_LIBS
=$LIBS
10508 LIBS
="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10509 cat >conftest.
$ac_ext <<_ACEOF
10512 cat confdefs.h
>>conftest.
$ac_ext
10513 cat >>conftest.
$ac_ext <<_ACEOF
10514 /* end confdefs.h. */
10516 /* Override any GCC internal prototype to avoid an error.
10517 Use char because int might match the return type of a GCC
10518 builtin and then its argument prototype would still apply. */
10522 char XCompositeRedirectWindow ();
10526 return XCompositeRedirectWindow ();
10531 rm -f conftest.
$ac_objext conftest
$ac_exeext
10532 if { (ac_try
="$ac_link"
10533 case "(($ac_try" in
10534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10535 *) ac_try_echo=$ac_try;;
10537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10538 (eval "$ac_link") 2>conftest.er1
10540 grep -v '^ *+' conftest.er1 >conftest.err
10542 cat conftest.err >&5
10543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544 (exit $ac_status); } && {
10545 test -z "$ac_c_werror_flag" ||
10546 test ! -s conftest.err
10547 } && test -s conftest$ac_exeext &&
10548 $as_test_x conftest$ac_exeext; then
10551 dylib) ac_cv_lib_soname_Xcomposite=`otool
-L conftest
$ac_exeext |
grep "libXcomposite\\.[0-9A-Za-z.]*dylib" |
sed -e "s/^.*\/\(libXcomposite\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10552 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXcomposite\\.$LIBEXT" |
sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10555 echo "$as_me: failed program was:" >&5
10556 sed 's/^/| /' conftest.$ac_ext >&5
10561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10562 conftest$ac_exeext conftest.$ac_ext
10563 LIBS=$ac_check_soname_save_LIBS
10565 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10566 { echo "$as_me:$LINENO: result: not found" >&5
10567 echo "${ECHO_T}not found" >&6; }
10570 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10571 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10573 cat >>confdefs.h <<_ACEOF
10574 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10581 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10582 case "x$with_xcomposite" in
10583 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10585 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10586 This is an error since --with-xcomposite was requested." >&5
10587 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10588 This is an error since --with-xcomposite was requested." >&2;}
10589 { (exit 1); exit 1; }; } ;;
10596 if test "x$with_opengl" != "xno"
10602 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10604 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10605 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10607 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10608 echo $ECHO_N "(cached) $ECHO_C" >&6
10610 cat >conftest.$ac_ext <<_ACEOF
10613 cat confdefs.h >>conftest.$ac_ext
10614 cat >>conftest.$ac_ext <<_ACEOF
10615 /* end confdefs.h. */
10616 #ifdef HAVE_GL_GLX_H
10617 # include <GL/glx.h>
10620 #include <$ac_header>
10622 rm -f conftest.$ac_objext
10623 if { (ac_try="$ac_compile"
10624 case "(($ac_try" in
10625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10626 *) ac_try_echo
=$ac_try;;
10628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10629 (eval "$ac_compile") 2>conftest.er1
10631 grep -v '^ *+' conftest.er1
>conftest.err
10633 cat conftest.err
>&5
10634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10635 (exit $ac_status); } && {
10636 test -z "$ac_c_werror_flag" ||
10637 test ! -s conftest.err
10638 } && test -s conftest.
$ac_objext; then
10639 eval "$as_ac_Header=yes"
10641 echo "$as_me: failed program was:" >&5
10642 sed 's/^/| /' conftest.
$ac_ext >&5
10644 eval "$as_ac_Header=no"
10647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10649 ac_res
=`eval echo '${'$as_ac_Header'}'`
10650 { echo "$as_me:$LINENO: result: $ac_res" >&5
10651 echo "${ECHO_T}$ac_res" >&6; }
10652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10653 cat >>confdefs.h
<<_ACEOF
10654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10661 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10663 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10664 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10665 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10666 echo $ECHO_N "(cached) $ECHO_C" >&6
10668 cat >conftest.
$ac_ext <<_ACEOF
10671 cat confdefs.h
>>conftest.
$ac_ext
10672 cat >>conftest.
$ac_ext <<_ACEOF
10673 /* end confdefs.h. */
10678 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10683 rm -f conftest.
$ac_objext
10684 if { (ac_try
="$ac_compile"
10685 case "(($ac_try" in
10686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10687 *) ac_try_echo=$ac_try;;
10689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10690 (eval "$ac_compile") 2>conftest.er1
10692 grep -v '^ *+' conftest.er1 >conftest.err
10694 cat conftest.err >&5
10695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10696 (exit $ac_status); } && {
10697 test -z "$ac_c_werror_flag" ||
10698 test ! -s conftest.err
10699 } && test -s conftest.$ac_objext; then
10700 wine_cv_opengl_header_version_OK="yes"
10702 echo "$as_me: failed program was:" >&5
10703 sed 's/^/| /' conftest.$ac_ext >&5
10705 wine_cv_opengl_header_version_OK="no"
10708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10710 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10711 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10713 if test "$wine_cv_opengl_header_version_OK" = "yes"
10715 { echo "$as_me:$LINENO: checking for -lGL" >&5
10716 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10717 if test "${ac_cv_lib_soname_GL+set}" = set; then
10718 echo $ECHO_N "(cached) $ECHO_C" >&6
10720 ac_check_soname_save_LIBS=$LIBS
10721 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10722 cat >conftest.$ac_ext <<_ACEOF
10725 cat confdefs.h >>conftest.$ac_ext
10726 cat >>conftest.$ac_ext <<_ACEOF
10727 /* end confdefs.h. */
10729 /* Override any GCC internal prototype to avoid an error.
10730 Use char because int might match the return type of a GCC
10731 builtin and then its argument prototype would still apply. */
10735 char glXCreateContext ();
10739 return glXCreateContext ();
10744 rm -f conftest.$ac_objext conftest$ac_exeext
10745 if { (ac_try="$ac_link"
10746 case "(($ac_try" in
10747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10748 *) ac_try_echo
=$ac_try;;
10750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10751 (eval "$ac_link") 2>conftest.er1
10753 grep -v '^ *+' conftest.er1
>conftest.err
10755 cat conftest.err
>&5
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); } && {
10758 test -z "$ac_c_werror_flag" ||
10759 test ! -s conftest.err
10760 } && test -s conftest
$ac_exeext &&
10761 $as_test_x conftest
$ac_exeext; then
10764 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'` ;;
10765 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10768 echo "$as_me: failed program was:" >&5
10769 sed 's/^/| /' conftest.
$ac_ext >&5
10774 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10775 conftest
$ac_exeext conftest.
$ac_ext
10776 LIBS
=$ac_check_soname_save_LIBS
10778 if test "x$ac_cv_lib_soname_GL" = "x"; then
10779 { echo "$as_me:$LINENO: result: not found" >&5
10780 echo "${ECHO_T}not found" >&6; }
10781 { echo "$as_me:$LINENO: checking for -lGL" >&5
10782 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10783 if test "${ac_cv_lib_soname_GL+set}" = set; then
10784 echo $ECHO_N "(cached) $ECHO_C" >&6
10786 ac_check_soname_save_LIBS
=$LIBS
10787 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
10788 cat >conftest.
$ac_ext <<_ACEOF
10791 cat confdefs.h
>>conftest.
$ac_ext
10792 cat >>conftest.
$ac_ext <<_ACEOF
10793 /* end confdefs.h. */
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10801 char glXCreateContext ();
10805 return glXCreateContext ();
10810 rm -f conftest.
$ac_objext conftest
$ac_exeext
10811 if { (ac_try
="$ac_link"
10812 case "(($ac_try" in
10813 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10814 *) ac_try_echo=$ac_try;;
10816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10817 (eval "$ac_link") 2>conftest.er1
10819 grep -v '^ *+' conftest.er1 >conftest.err
10821 cat conftest.err >&5
10822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10823 (exit $ac_status); } && {
10824 test -z "$ac_c_werror_flag" ||
10825 test ! -s conftest.err
10826 } && test -s conftest$ac_exeext &&
10827 $as_test_x conftest$ac_exeext; then
10830 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'` ;;
10831 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libGL\\.$LIBEXT" |
sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10834 echo "$as_me: failed program was:" >&5
10835 sed 's/^/| /' conftest.$ac_ext >&5
10840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10841 conftest$ac_exeext conftest.$ac_ext
10842 LIBS=$ac_check_soname_save_LIBS
10844 if test "x$ac_cv_lib_soname_GL" = "x"; then
10845 { echo "$as_me:$LINENO: result: not found" >&5
10846 echo "${ECHO_T}not found" >&6; }
10847 if test -f /usr/X11R6/lib/libGL.a
10849 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10850 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10852 opengl_msg="No OpenGL library found on this system."
10855 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10856 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10858 cat >>confdefs.h <<_ACEOF
10859 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10862 OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
10863 OPENGLFILES='$(OPENGLFILES)'
10865 cat >>confdefs.h <<\_ACEOF
10866 #define HAVE_OPENGL 1
10872 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10873 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10875 cat >>confdefs.h <<_ACEOF
10876 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10880 OPENGLFILES='$(OPENGLFILES)'
10882 cat >>confdefs.h <<\_ACEOF
10883 #define HAVE_OPENGL 1
10889 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10890 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10891 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10892 echo $ECHO_N "(cached) $ECHO_C" >&6
10894 ac_check_lib_save_LIBS=$LIBS
10895 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10896 cat >conftest.$ac_ext <<_ACEOF
10899 cat confdefs.h >>conftest.$ac_ext
10900 cat >>conftest.$ac_ext <<_ACEOF
10901 /* end confdefs.h. */
10903 /* Override any GCC internal prototype to avoid an error.
10904 Use char because int might match the return type of a GCC
10905 builtin and then its argument prototype would still apply. */
10913 return gluLookAt ();
10918 rm -f conftest.$ac_objext conftest$ac_exeext
10919 if { (ac_try="$ac_link"
10920 case "(($ac_try" in
10921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10922 *) ac_try_echo
=$ac_try;;
10924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10925 (eval "$ac_link") 2>conftest.er1
10927 grep -v '^ *+' conftest.er1
>conftest.err
10929 cat conftest.err
>&5
10930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10931 (exit $ac_status); } && {
10932 test -z "$ac_c_werror_flag" ||
10933 test ! -s conftest.err
10934 } && test -s conftest
$ac_exeext &&
10935 $as_test_x conftest
$ac_exeext; then
10936 ac_cv_lib_GLU_gluLookAt
=yes
10938 echo "$as_me: failed program was:" >&5
10939 sed 's/^/| /' conftest.
$ac_ext >&5
10941 ac_cv_lib_GLU_gluLookAt
=no
10944 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10945 conftest
$ac_exeext conftest.
$ac_ext
10946 LIBS
=$ac_check_lib_save_LIBS
10948 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10949 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10950 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10951 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
10952 GLU32FILES
='$(GLU32FILES)'
10957 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
10960 opengl_msg
="OpenGL development headers not found."
10963 if test -n "$opengl_msg"; then
10964 case "x$with_opengl" in
10965 x
) wine_warnings
="$wine_warnings|$opengl_msg
10966 OpenGL and Direct3D won't be supported." ;;
10968 *) { { echo "$as_me:$LINENO: error: $opengl_msg
10969 OpenGL and Direct3D won't be supported.
10970 This is an error since --with-opengl was requested." >&5
10971 echo "$as_me: error: $opengl_msg
10972 OpenGL and Direct3D won't be supported.
10973 This is an error since --with-opengl was requested." >&2;}
10974 { (exit 1); exit 1; }; } ;;
10982 for ac_header
in audio
/audiolib.h
10984 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10985 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10986 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10988 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10989 echo $ECHO_N "(cached) $ECHO_C" >&6
10991 ac_res
=`eval echo '${'$as_ac_Header'}'`
10992 { echo "$as_me:$LINENO: result: $ac_res" >&5
10993 echo "${ECHO_T}$ac_res" >&6; }
10995 # Is the header compilable?
10996 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10997 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10998 cat >conftest.
$ac_ext <<_ACEOF
11001 cat confdefs.h
>>conftest.
$ac_ext
11002 cat >>conftest.
$ac_ext <<_ACEOF
11003 /* end confdefs.h. */
11004 $ac_includes_default
11005 #include <$ac_header>
11007 rm -f conftest.
$ac_objext
11008 if { (ac_try
="$ac_compile"
11009 case "(($ac_try" in
11010 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11011 *) ac_try_echo=$ac_try;;
11013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11014 (eval "$ac_compile") 2>conftest.er1
11016 grep -v '^ *+' conftest.er1 >conftest.err
11018 cat conftest.err >&5
11019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11020 (exit $ac_status); } && {
11021 test -z "$ac_c_werror_flag" ||
11022 test ! -s conftest.err
11023 } && test -s conftest.$ac_objext; then
11024 ac_header_compiler=yes
11026 echo "$as_me: failed program was:" >&5
11027 sed 's/^/| /' conftest.$ac_ext >&5
11029 ac_header_compiler=no
11032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11033 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11034 echo "${ECHO_T}$ac_header_compiler" >&6; }
11036 # Is the header present?
11037 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11038 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11039 cat >conftest.$ac_ext <<_ACEOF
11042 cat confdefs.h >>conftest.$ac_ext
11043 cat >>conftest.$ac_ext <<_ACEOF
11044 /* end confdefs.h. */
11045 #include <$ac_header>
11047 if { (ac_try="$ac_cpp conftest.$ac_ext"
11048 case "(($ac_try" in
11049 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11050 *) ac_try_echo
=$ac_try;;
11052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11053 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11055 grep -v '^ *+' conftest.er1
>conftest.err
11057 cat conftest.err
>&5
11058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11059 (exit $ac_status); } >/dev
/null
&& {
11060 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11061 test ! -s conftest.err
11063 ac_header_preproc
=yes
11065 echo "$as_me: failed program was:" >&5
11066 sed 's/^/| /' conftest.
$ac_ext >&5
11068 ac_header_preproc
=no
11071 rm -f conftest.err conftest.
$ac_ext
11072 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11073 echo "${ECHO_T}$ac_header_preproc" >&6; }
11075 # So? What about this header?
11076 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11078 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11079 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11081 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11082 ac_header_preproc
=yes
11085 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11086 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11087 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11088 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11089 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11090 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11091 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11092 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11094 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11095 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11096 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11098 ## ------------------------------------ ##
11099 ## Report this to wine-devel@winehq.org ##
11100 ## ------------------------------------ ##
11102 ) |
sed "s/^/$as_me: WARNING: /" >&2
11105 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11107 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11108 echo $ECHO_N "(cached) $ECHO_C" >&6
11110 eval "$as_ac_Header=\$ac_header_preproc"
11112 ac_res
=`eval echo '${'$as_ac_Header'}'`
11113 { echo "$as_me:$LINENO: result: $ac_res" >&5
11114 echo "${ECHO_T}$ac_res" >&6; }
11117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11118 cat >>confdefs.h
<<_ACEOF
11119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11122 for ac_header
in audio
/soundlib.h
11124 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11125 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11127 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11128 echo $ECHO_N "(cached) $ECHO_C" >&6
11130 cat >conftest.
$ac_ext <<_ACEOF
11133 cat confdefs.h
>>conftest.
$ac_ext
11134 cat >>conftest.
$ac_ext <<_ACEOF
11135 /* end confdefs.h. */
11136 #include <audio/audiolib.h>
11138 #include <$ac_header>
11140 rm -f conftest.
$ac_objext
11141 if { (ac_try
="$ac_compile"
11142 case "(($ac_try" in
11143 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11144 *) ac_try_echo=$ac_try;;
11146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11147 (eval "$ac_compile") 2>conftest.er1
11149 grep -v '^ *+' conftest.er1 >conftest.err
11151 cat conftest.err >&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); } && {
11154 test -z "$ac_c_werror_flag" ||
11155 test ! -s conftest.err
11156 } && test -s conftest.$ac_objext; then
11157 eval "$as_ac_Header=yes"
11159 echo "$as_me: failed program was:" >&5
11160 sed 's/^/| /' conftest.$ac_ext >&5
11162 eval "$as_ac_Header=no"
11165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11167 ac_res=`eval echo '${'$as_ac_Header'}'`
11168 { echo "$as_me:$LINENO: result: $ac_res" >&5
11169 echo "${ECHO_T}$ac_res" >&6; }
11170 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11171 cat >>confdefs.h <<_ACEOF
11172 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11179 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11180 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11181 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11182 echo $ECHO_N "(cached) $ECHO_C" >&6
11184 ac_check_lib_save_LIBS=$LIBS
11185 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11186 cat >conftest.$ac_ext <<_ACEOF
11189 cat confdefs.h >>conftest.$ac_ext
11190 cat >>conftest.$ac_ext <<_ACEOF
11191 /* end confdefs.h. */
11193 /* Override any GCC internal prototype to avoid an error.
11194 Use char because int might match the return type of a GCC
11195 builtin and then its argument prototype would still apply. */
11199 char AuCreateFlow ();
11203 return AuCreateFlow ();
11208 rm -f conftest.$ac_objext conftest$ac_exeext
11209 if { (ac_try="$ac_link"
11210 case "(($ac_try" in
11211 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11212 *) ac_try_echo
=$ac_try;;
11214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11215 (eval "$ac_link") 2>conftest.er1
11217 grep -v '^ *+' conftest.er1
>conftest.err
11219 cat conftest.err
>&5
11220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221 (exit $ac_status); } && {
11222 test -z "$ac_c_werror_flag" ||
11223 test ! -s conftest.err
11224 } && test -s conftest
$ac_exeext &&
11225 $as_test_x conftest
$ac_exeext; then
11226 ac_cv_lib_audio_AuCreateFlow
=yes
11228 echo "$as_me: failed program was:" >&5
11229 sed 's/^/| /' conftest.
$ac_ext >&5
11231 ac_cv_lib_audio_AuCreateFlow
=no
11234 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11235 conftest
$ac_exeext conftest.
$ac_ext
11236 LIBS
=$ac_check_lib_save_LIBS
11238 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11239 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11240 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11242 cat >>confdefs.h
<<\_ACEOF
11246 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11247 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11248 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11249 echo $ECHO_N "(cached) $ECHO_C" >&6
11251 ac_check_lib_save_LIBS
=$LIBS
11252 LIBS
="-lXau $X_LIBS $LIBS"
11253 cat >conftest.
$ac_ext <<_ACEOF
11256 cat confdefs.h
>>conftest.
$ac_ext
11257 cat >>conftest.
$ac_ext <<_ACEOF
11258 /* end confdefs.h. */
11260 /* Override any GCC internal prototype to avoid an error.
11261 Use char because int might match the return type of a GCC
11262 builtin and then its argument prototype would still apply. */
11266 char XauGetBestAuthByAddr ();
11270 return XauGetBestAuthByAddr ();
11275 rm -f conftest.
$ac_objext conftest
$ac_exeext
11276 if { (ac_try
="$ac_link"
11277 case "(($ac_try" in
11278 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11279 *) ac_try_echo=$ac_try;;
11281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11282 (eval "$ac_link") 2>conftest.er1
11284 grep -v '^ *+' conftest.er1 >conftest.err
11286 cat conftest.err >&5
11287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288 (exit $ac_status); } && {
11289 test -z "$ac_c_werror_flag" ||
11290 test ! -s conftest.err
11291 } && test -s conftest$ac_exeext &&
11292 $as_test_x conftest$ac_exeext; then
11293 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11295 echo "$as_me: failed program was:" >&5
11296 sed 's/^/| /' conftest.$ac_ext >&5
11298 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11302 conftest$ac_exeext conftest.$ac_ext
11303 LIBS=$ac_check_lib_save_LIBS
11305 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11306 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11307 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11308 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11310 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11321 CPPFLAGS="$ac_save_CPPFLAGS"
11328 if test "x$XLIB" = "x"; then
11330 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11331 without X support, which probably isn't what you want. You will need to install
11332 development packages of Xlib/Xfree86 at the very least." ;;
11334 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11335 without X support, which probably isn't what you want. You will need to install
11336 development packages of Xlib/Xfree86 at the very least.
11337 This is an error since --with-x was requested." >&5
11338 echo "$as_me: error: X development files not found. Wine will be built
11339 without X support, which probably isn't what you want. You will need to install
11340 development packages of Xlib/Xfree86 at the very least.
11341 This is an error since --with-x was requested." >&2;}
11342 { (exit 1); exit 1; }; } ;;
11356 if test "x$with_xml" != "xno"
11358 ac_save_CPPFLAGS="$CPPFLAGS"
11359 if test "$PKG_CONFIG" != "false"
11361 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
11362 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
11364 ac_xml_libs="`xml2-config
--libs 2>/dev
/null
`"
11365 ac_xml_cflags="`xml2-config
--cflags 2>/dev
/null
`"
11367 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11369 for ac_header in libxml/parser.h
11371 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11372 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11373 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11375 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11376 echo $ECHO_N "(cached) $ECHO_C" >&6
11378 ac_res=`eval echo '${'$as_ac_Header'}'`
11379 { echo "$as_me:$LINENO: result: $ac_res" >&5
11380 echo "${ECHO_T}$ac_res" >&6; }
11382 # Is the header compilable?
11383 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11384 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11385 cat >conftest.$ac_ext <<_ACEOF
11388 cat confdefs.h >>conftest.$ac_ext
11389 cat >>conftest.$ac_ext <<_ACEOF
11390 /* end confdefs.h. */
11391 $ac_includes_default
11392 #include <$ac_header>
11394 rm -f conftest.$ac_objext
11395 if { (ac_try="$ac_compile"
11396 case "(($ac_try" in
11397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11398 *) ac_try_echo
=$ac_try;;
11400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11401 (eval "$ac_compile") 2>conftest.er1
11403 grep -v '^ *+' conftest.er1
>conftest.err
11405 cat conftest.err
>&5
11406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11407 (exit $ac_status); } && {
11408 test -z "$ac_c_werror_flag" ||
11409 test ! -s conftest.err
11410 } && test -s conftest.
$ac_objext; then
11411 ac_header_compiler
=yes
11413 echo "$as_me: failed program was:" >&5
11414 sed 's/^/| /' conftest.
$ac_ext >&5
11416 ac_header_compiler
=no
11419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11420 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11421 echo "${ECHO_T}$ac_header_compiler" >&6; }
11423 # Is the header present?
11424 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11425 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11426 cat >conftest.
$ac_ext <<_ACEOF
11429 cat confdefs.h
>>conftest.
$ac_ext
11430 cat >>conftest.
$ac_ext <<_ACEOF
11431 /* end confdefs.h. */
11432 #include <$ac_header>
11434 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11435 case "(($ac_try" in
11436 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11437 *) ac_try_echo=$ac_try;;
11439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11440 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11442 grep -v '^ *+' conftest.er1 >conftest.err
11444 cat conftest.err >&5
11445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11446 (exit $ac_status); } >/dev/null && {
11447 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11448 test ! -s conftest.err
11450 ac_header_preproc=yes
11452 echo "$as_me: failed program was:" >&5
11453 sed 's/^/| /' conftest.$ac_ext >&5
11455 ac_header_preproc=no
11458 rm -f conftest.err conftest.$ac_ext
11459 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11460 echo "${ECHO_T}$ac_header_preproc" >&6; }
11462 # So? What about this header?
11463 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11465 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11466 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11467 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11468 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11469 ac_header_preproc=yes
11472 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11473 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11474 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11475 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11476 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11477 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11478 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11479 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11481 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11482 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11483 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11485 ## ------------------------------------ ##
11486 ## Report this to wine-devel@winehq.org ##
11487 ## ------------------------------------ ##
11489 ) | sed "s/^/$as_me: WARNING: /" >&2
11492 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11494 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11495 echo $ECHO_N "(cached) $ECHO_C" >&6
11497 eval "$as_ac_Header=\$ac_header_preproc"
11499 ac_res=`eval echo '${'$as_ac_Header'}'`
11500 { echo "$as_me:$LINENO: result: $ac_res" >&5
11501 echo "${ECHO_T}$ac_res" >&6; }
11504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11505 cat >>confdefs.h <<_ACEOF
11506 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11508 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11509 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11510 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11511 echo $ECHO_N "(cached) $ECHO_C" >&6
11513 ac_check_lib_save_LIBS=$LIBS
11514 LIBS="-lxml2 $ac_xml_libs $LIBS"
11515 cat >conftest.$ac_ext <<_ACEOF
11518 cat confdefs.h >>conftest.$ac_ext
11519 cat >>conftest.$ac_ext <<_ACEOF
11520 /* end confdefs.h. */
11522 /* Override any GCC internal prototype to avoid an error.
11523 Use char because int might match the return type of a GCC
11524 builtin and then its argument prototype would still apply. */
11528 char xmlParseMemory ();
11532 return xmlParseMemory ();
11537 rm -f conftest.$ac_objext conftest$ac_exeext
11538 if { (ac_try="$ac_link"
11539 case "(($ac_try" in
11540 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11541 *) ac_try_echo
=$ac_try;;
11543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11544 (eval "$ac_link") 2>conftest.er1
11546 grep -v '^ *+' conftest.er1
>conftest.err
11548 cat conftest.err
>&5
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); } && {
11551 test -z "$ac_c_werror_flag" ||
11552 test ! -s conftest.err
11553 } && test -s conftest
$ac_exeext &&
11554 $as_test_x conftest
$ac_exeext; then
11555 ac_cv_lib_xml2_xmlParseMemory
=yes
11557 echo "$as_me: failed program was:" >&5
11558 sed 's/^/| /' conftest.
$ac_ext >&5
11560 ac_cv_lib_xml2_xmlParseMemory
=no
11563 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11564 conftest
$ac_exeext conftest.
$ac_ext
11565 LIBS
=$ac_check_lib_save_LIBS
11567 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11568 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11569 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11571 cat >>confdefs.h
<<\_ACEOF
11572 #define HAVE_LIBXML2 1
11575 XML2LIBS
="$ac_xml_libs"
11576 XML2INCL
="$ac_xml_cflags"
11579 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11580 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11581 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11582 echo $ECHO_N "(cached) $ECHO_C" >&6
11584 ac_check_lib_save_LIBS
=$LIBS
11585 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11586 cat >conftest.
$ac_ext <<_ACEOF
11589 cat confdefs.h
>>conftest.
$ac_ext
11590 cat >>conftest.
$ac_ext <<_ACEOF
11591 /* end confdefs.h. */
11593 /* Override any GCC internal prototype to avoid an error.
11594 Use char because int might match the return type of a GCC
11595 builtin and then its argument prototype would still apply. */
11599 char xmlReadMemory ();
11603 return xmlReadMemory ();
11608 rm -f conftest.
$ac_objext conftest
$ac_exeext
11609 if { (ac_try
="$ac_link"
11610 case "(($ac_try" in
11611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11612 *) ac_try_echo=$ac_try;;
11614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11615 (eval "$ac_link") 2>conftest.er1
11617 grep -v '^ *+' conftest.er1 >conftest.err
11619 cat conftest.err >&5
11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621 (exit $ac_status); } && {
11622 test -z "$ac_c_werror_flag" ||
11623 test ! -s conftest.err
11624 } && test -s conftest$ac_exeext &&
11625 $as_test_x conftest$ac_exeext; then
11626 ac_cv_lib_xml2_xmlReadMemory=yes
11628 echo "$as_me: failed program was:" >&5
11629 sed 's/^/| /' conftest.$ac_ext >&5
11631 ac_cv_lib_xml2_xmlReadMemory=no
11634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11635 conftest$ac_exeext conftest.$ac_ext
11636 LIBS=$ac_check_lib_save_LIBS
11638 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11639 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11640 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11642 cat >>confdefs.h <<\_ACEOF
11643 #define HAVE_XMLREADMEMORY 1
11648 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11649 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11650 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11651 echo $ECHO_N "(cached) $ECHO_C" >&6
11653 ac_check_lib_save_LIBS=$LIBS
11654 LIBS="-lxml2 $ac_xml_libs $LIBS"
11655 cat >conftest.$ac_ext <<_ACEOF
11658 cat confdefs.h >>conftest.$ac_ext
11659 cat >>conftest.$ac_ext <<_ACEOF
11660 /* end confdefs.h. */
11662 /* Override any GCC internal prototype to avoid an error.
11663 Use char because int might match the return type of a GCC
11664 builtin and then its argument prototype would still apply. */
11668 char xmlNewDocPI ();
11672 return xmlNewDocPI ();
11677 rm -f conftest.$ac_objext conftest$ac_exeext
11678 if { (ac_try="$ac_link"
11679 case "(($ac_try" in
11680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11681 *) ac_try_echo
=$ac_try;;
11683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11684 (eval "$ac_link") 2>conftest.er1
11686 grep -v '^ *+' conftest.er1
>conftest.err
11688 cat conftest.err
>&5
11689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11690 (exit $ac_status); } && {
11691 test -z "$ac_c_werror_flag" ||
11692 test ! -s conftest.err
11693 } && test -s conftest
$ac_exeext &&
11694 $as_test_x conftest
$ac_exeext; then
11695 ac_cv_lib_xml2_xmlNewDocPI
=yes
11697 echo "$as_me: failed program was:" >&5
11698 sed 's/^/| /' conftest.
$ac_ext >&5
11700 ac_cv_lib_xml2_xmlNewDocPI
=no
11703 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11704 conftest
$ac_exeext conftest.
$ac_ext
11705 LIBS
=$ac_check_lib_save_LIBS
11707 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11708 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11709 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11711 cat >>confdefs.h
<<\_ACEOF
11712 #define HAVE_XMLNEWDOCPI 1
11722 CPPFLAGS
="$ac_save_CPPFLAGS"
11724 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11725 case "x$with_xml" in
11726 x
) wine_notices
="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11728 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11729 This is an error since --with-xml was requested." >&5
11730 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11731 This is an error since --with-xml was requested." >&2;}
11732 { (exit 1); exit 1; }; } ;;
11737 if test "x$with_xslt" != "xno"
11739 if test "$PKG_CONFIG" != "false"
11741 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11742 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11744 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
11745 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
11747 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
11750 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11752 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11753 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11755 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11756 echo $ECHO_N "(cached) $ECHO_C" >&6
11758 cat >conftest.
$ac_ext <<_ACEOF
11761 cat confdefs.h
>>conftest.
$ac_ext
11762 cat >>conftest.
$ac_ext <<_ACEOF
11763 /* end confdefs.h. */
11764 #ifdef HAVE_LIBXSLT_PATTERN_H
11765 # include <libxslt/pattern.h>
11768 #include <$ac_header>
11770 rm -f conftest.
$ac_objext
11771 if { (ac_try
="$ac_compile"
11772 case "(($ac_try" in
11773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11774 *) ac_try_echo=$ac_try;;
11776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11777 (eval "$ac_compile") 2>conftest.er1
11779 grep -v '^ *+' conftest.er1 >conftest.err
11781 cat conftest.err >&5
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); } && {
11784 test -z "$ac_c_werror_flag" ||
11785 test ! -s conftest.err
11786 } && test -s conftest.$ac_objext; then
11787 eval "$as_ac_Header=yes"
11789 echo "$as_me: failed program was:" >&5
11790 sed 's/^/| /' conftest.$ac_ext >&5
11792 eval "$as_ac_Header=no"
11795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11797 ac_res=`eval echo '${'$as_ac_Header'}'`
11798 { echo "$as_me:$LINENO: result: $ac_res" >&5
11799 echo "${ECHO_T}$ac_res" >&6; }
11800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11801 cat >>confdefs.h <<_ACEOF
11802 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11804 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11805 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11806 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11807 echo $ECHO_N "(cached) $ECHO_C" >&6
11809 ac_check_lib_save_LIBS=$LIBS
11810 LIBS="-lxslt $ac_xslt_libs $LIBS"
11811 cat >conftest.$ac_ext <<_ACEOF
11814 cat confdefs.h >>conftest.$ac_ext
11815 cat >>conftest.$ac_ext <<_ACEOF
11816 /* end confdefs.h. */
11818 /* Override any GCC internal prototype to avoid an error.
11819 Use char because int might match the return type of a GCC
11820 builtin and then its argument prototype would still apply. */
11824 char xsltCompilePattern ();
11828 return xsltCompilePattern ();
11833 rm -f conftest.$ac_objext conftest$ac_exeext
11834 if { (ac_try="$ac_link"
11835 case "(($ac_try" in
11836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11837 *) ac_try_echo
=$ac_try;;
11839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11840 (eval "$ac_link") 2>conftest.er1
11842 grep -v '^ *+' conftest.er1
>conftest.err
11844 cat conftest.err
>&5
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); } && {
11847 test -z "$ac_c_werror_flag" ||
11848 test ! -s conftest.err
11849 } && test -s conftest
$ac_exeext &&
11850 $as_test_x conftest
$ac_exeext; then
11851 ac_cv_lib_xslt_xsltCompilePattern
=yes
11853 echo "$as_me: failed program was:" >&5
11854 sed 's/^/| /' conftest.
$ac_ext >&5
11856 ac_cv_lib_xslt_xsltCompilePattern
=no
11859 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11860 conftest
$ac_exeext conftest.
$ac_ext
11861 LIBS
=$ac_check_lib_save_LIBS
11863 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11864 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11865 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11867 cat >>confdefs.h
<<\_ACEOF
11868 #define HAVE_LIBXSLT 1
11871 XSLTLIBS
="$ac_xslt_libs"
11872 XSLTINCL
="$ac_xslt_cflags"
11880 CPPFLAGS
="$ac_save_CPPFLAGS"
11882 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11883 case "x$with_xslt" in
11884 x
) wine_notices
="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
11886 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
11887 This is an error since --with-xslt was requested." >&5
11888 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
11889 This is an error since --with-xslt was requested." >&2;}
11890 { (exit 1); exit 1; }; } ;;
11897 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
11899 ac_save_CPPFLAGS
="$CPPFLAGS"
11900 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
11901 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11902 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
11905 for ac_header
in dbus
/dbus.h hal
/libhal.h
11907 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11908 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11909 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11911 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11912 echo $ECHO_N "(cached) $ECHO_C" >&6
11914 ac_res
=`eval echo '${'$as_ac_Header'}'`
11915 { echo "$as_me:$LINENO: result: $ac_res" >&5
11916 echo "${ECHO_T}$ac_res" >&6; }
11918 # Is the header compilable?
11919 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11920 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11921 cat >conftest.
$ac_ext <<_ACEOF
11924 cat confdefs.h
>>conftest.
$ac_ext
11925 cat >>conftest.
$ac_ext <<_ACEOF
11926 /* end confdefs.h. */
11927 $ac_includes_default
11928 #include <$ac_header>
11930 rm -f conftest.
$ac_objext
11931 if { (ac_try
="$ac_compile"
11932 case "(($ac_try" in
11933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11934 *) ac_try_echo=$ac_try;;
11936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11937 (eval "$ac_compile") 2>conftest.er1
11939 grep -v '^ *+' conftest.er1 >conftest.err
11941 cat conftest.err >&5
11942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11943 (exit $ac_status); } && {
11944 test -z "$ac_c_werror_flag" ||
11945 test ! -s conftest.err
11946 } && test -s conftest.$ac_objext; then
11947 ac_header_compiler=yes
11949 echo "$as_me: failed program was:" >&5
11950 sed 's/^/| /' conftest.$ac_ext >&5
11952 ac_header_compiler=no
11955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11956 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11957 echo "${ECHO_T}$ac_header_compiler" >&6; }
11959 # Is the header present?
11960 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11961 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11962 cat >conftest.$ac_ext <<_ACEOF
11965 cat confdefs.h >>conftest.$ac_ext
11966 cat >>conftest.$ac_ext <<_ACEOF
11967 /* end confdefs.h. */
11968 #include <$ac_header>
11970 if { (ac_try="$ac_cpp conftest.$ac_ext"
11971 case "(($ac_try" in
11972 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11973 *) ac_try_echo
=$ac_try;;
11975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11976 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11978 grep -v '^ *+' conftest.er1
>conftest.err
11980 cat conftest.err
>&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); } >/dev
/null
&& {
11983 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11984 test ! -s conftest.err
11986 ac_header_preproc
=yes
11988 echo "$as_me: failed program was:" >&5
11989 sed 's/^/| /' conftest.
$ac_ext >&5
11991 ac_header_preproc
=no
11994 rm -f conftest.err conftest.
$ac_ext
11995 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11996 echo "${ECHO_T}$ac_header_preproc" >&6; }
11998 # So? What about this header?
11999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12001 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12002 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12004 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12005 ac_header_preproc
=yes
12008 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12009 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12010 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12011 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12012 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12013 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12014 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12015 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12017 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12018 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12019 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12021 ## ------------------------------------ ##
12022 ## Report this to wine-devel@winehq.org ##
12023 ## ------------------------------------ ##
12025 ) |
sed "s/^/$as_me: WARNING: /" >&2
12028 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12030 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12031 echo $ECHO_N "(cached) $ECHO_C" >&6
12033 eval "$as_ac_Header=\$ac_header_preproc"
12035 ac_res
=`eval echo '${'$as_ac_Header'}'`
12036 { echo "$as_me:$LINENO: result: $ac_res" >&5
12037 echo "${ECHO_T}$ac_res" >&6; }
12040 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12041 cat >>confdefs.h
<<_ACEOF
12042 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12049 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12051 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12052 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12053 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12054 echo $ECHO_N "(cached) $ECHO_C" >&6
12056 ac_check_lib_save_LIBS
=$LIBS
12057 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
12058 cat >conftest.
$ac_ext <<_ACEOF
12061 cat confdefs.h
>>conftest.
$ac_ext
12062 cat >>conftest.
$ac_ext <<_ACEOF
12063 /* end confdefs.h. */
12065 /* Override any GCC internal prototype to avoid an error.
12066 Use char because int might match the return type of a GCC
12067 builtin and then its argument prototype would still apply. */
12071 char dbus_connection_close ();
12075 return dbus_connection_close ();
12080 rm -f conftest.
$ac_objext conftest
$ac_exeext
12081 if { (ac_try
="$ac_link"
12082 case "(($ac_try" in
12083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12084 *) ac_try_echo=$ac_try;;
12086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12087 (eval "$ac_link") 2>conftest.er1
12089 grep -v '^ *+' conftest.er1 >conftest.err
12091 cat conftest.err >&5
12092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12093 (exit $ac_status); } && {
12094 test -z "$ac_c_werror_flag" ||
12095 test ! -s conftest.err
12096 } && test -s conftest$ac_exeext &&
12097 $as_test_x conftest$ac_exeext; then
12098 ac_cv_lib_dbus_1_dbus_connection_close=yes
12100 echo "$as_me: failed program was:" >&5
12101 sed 's/^/| /' conftest.$ac_ext >&5
12103 ac_cv_lib_dbus_1_dbus_connection_close=no
12106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12107 conftest$ac_exeext conftest.$ac_ext
12108 LIBS=$ac_check_lib_save_LIBS
12110 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12111 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12112 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12113 { echo "$as_me:$LINENO: checking for -lhal" >&5
12114 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12115 if test "${ac_cv_lib_soname_hal+set}" = set; then
12116 echo $ECHO_N "(cached) $ECHO_C" >&6
12118 ac_check_soname_save_LIBS=$LIBS
12119 LIBS="-lhal $ac_hal_libs $LIBS"
12120 cat >conftest.$ac_ext <<_ACEOF
12123 cat confdefs.h >>conftest.$ac_ext
12124 cat >>conftest.$ac_ext <<_ACEOF
12125 /* end confdefs.h. */
12127 /* Override any GCC internal prototype to avoid an error.
12128 Use char because int might match the return type of a GCC
12129 builtin and then its argument prototype would still apply. */
12133 char libhal_ctx_new ();
12137 return libhal_ctx_new ();
12142 rm -f conftest.$ac_objext conftest$ac_exeext
12143 if { (ac_try="$ac_link"
12144 case "(($ac_try" in
12145 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12146 *) ac_try_echo
=$ac_try;;
12148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12149 (eval "$ac_link") 2>conftest.er1
12151 grep -v '^ *+' conftest.er1
>conftest.err
12153 cat conftest.err
>&5
12154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12155 (exit $ac_status); } && {
12156 test -z "$ac_c_werror_flag" ||
12157 test ! -s conftest.err
12158 } && test -s conftest
$ac_exeext &&
12159 $as_test_x conftest
$ac_exeext; then
12162 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'` ;;
12163 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12166 echo "$as_me: failed program was:" >&5
12167 sed 's/^/| /' conftest.
$ac_ext >&5
12172 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12173 conftest
$ac_exeext conftest.
$ac_ext
12174 LIBS
=$ac_check_soname_save_LIBS
12176 if test "x$ac_cv_lib_soname_hal" = "x"; then
12177 { echo "$as_me:$LINENO: result: not found" >&5
12178 echo "${ECHO_T}not found" >&6; }
12181 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12182 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12184 cat >>confdefs.h
<<_ACEOF
12185 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12188 HALINCL
="$ac_hal_cflags"
12194 CPPFLAGS
="$ac_save_CPPFLAGS"
12196 if test "x$ac_cv_lib_soname_hal" = "x"; then
12197 case "x$with_hal" in
12198 x
) wine_notices
="$wine_notices|libhal development files not found, no dynamic device support." ;;
12200 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12201 This is an error since --with-hal was requested." >&5
12202 echo "$as_me: error: libhal development files not found, no dynamic device support.
12203 This is an error since --with-hal was requested." >&2;}
12204 { (exit 1); exit 1; }; } ;;
12210 if test "$ac_cv_header_ncurses_h" = "yes"
12212 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12213 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12214 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12215 echo $ECHO_N "(cached) $ECHO_C" >&6
12217 ac_check_soname_save_LIBS
=$LIBS
12218 LIBS
="-lncurses $LIBS"
12219 cat >conftest.
$ac_ext <<_ACEOF
12222 cat confdefs.h
>>conftest.
$ac_ext
12223 cat >>conftest.
$ac_ext <<_ACEOF
12224 /* end confdefs.h. */
12226 /* Override any GCC internal prototype to avoid an error.
12227 Use char because int might match the return type of a GCC
12228 builtin and then its argument prototype would still apply. */
12241 rm -f conftest.
$ac_objext conftest
$ac_exeext
12242 if { (ac_try
="$ac_link"
12243 case "(($ac_try" in
12244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12245 *) ac_try_echo=$ac_try;;
12247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12248 (eval "$ac_link") 2>conftest.er1
12250 grep -v '^ *+' conftest.er1 >conftest.err
12252 cat conftest.err >&5
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); } && {
12255 test -z "$ac_c_werror_flag" ||
12256 test ! -s conftest.err
12257 } && test -s conftest$ac_exeext &&
12258 $as_test_x conftest$ac_exeext; then
12261 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'` ;;
12262 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libncurses\\.$LIBEXT" |
sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12265 echo "$as_me: failed program was:" >&5
12266 sed 's/^/| /' conftest.$ac_ext >&5
12271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12272 conftest$ac_exeext conftest.$ac_ext
12273 LIBS=$ac_check_soname_save_LIBS
12275 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12276 { echo "$as_me:$LINENO: result: not found" >&5
12277 echo "${ECHO_T}not found" >&6; }
12280 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12281 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12283 cat >>confdefs.h <<_ACEOF
12284 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12287 CURSESLIBS="-lncurses"
12290 elif test "$ac_cv_header_curses_h" = "yes"
12292 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12293 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12294 if test "${ac_cv_lib_soname_curses+set}" = set; then
12295 echo $ECHO_N "(cached) $ECHO_C" >&6
12297 ac_check_soname_save_LIBS=$LIBS
12298 LIBS="-lcurses $LIBS"
12299 cat >conftest.$ac_ext <<_ACEOF
12302 cat confdefs.h >>conftest.$ac_ext
12303 cat >>conftest.$ac_ext <<_ACEOF
12304 /* end confdefs.h. */
12306 /* Override any GCC internal prototype to avoid an error.
12307 Use char because int might match the return type of a GCC
12308 builtin and then its argument prototype would still apply. */
12321 rm -f conftest.$ac_objext conftest$ac_exeext
12322 if { (ac_try="$ac_link"
12323 case "(($ac_try" in
12324 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12325 *) ac_try_echo
=$ac_try;;
12327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12328 (eval "$ac_link") 2>conftest.er1
12330 grep -v '^ *+' conftest.er1
>conftest.err
12332 cat conftest.err
>&5
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); } && {
12335 test -z "$ac_c_werror_flag" ||
12336 test ! -s conftest.err
12337 } && test -s conftest
$ac_exeext &&
12338 $as_test_x conftest
$ac_exeext; then
12341 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'` ;;
12342 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12345 echo "$as_me: failed program was:" >&5
12346 sed 's/^/| /' conftest.
$ac_ext >&5
12351 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12352 conftest
$ac_exeext conftest.
$ac_ext
12353 LIBS
=$ac_check_soname_save_LIBS
12355 if test "x$ac_cv_lib_soname_curses" = "x"; then
12356 { echo "$as_me:$LINENO: result: not found" >&5
12357 echo "${ECHO_T}not found" >&6; }
12360 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12361 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12363 cat >>confdefs.h
<<_ACEOF
12364 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12367 CURSESLIBS
="-lcurses"
12371 ac_save_LIBS
="$LIBS"
12372 LIBS
="$LIBS $CURSESLIBS"
12374 for ac_func
in mousemask
12376 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12377 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12379 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12380 echo $ECHO_N "(cached) $ECHO_C" >&6
12382 cat >conftest.
$ac_ext <<_ACEOF
12385 cat confdefs.h
>>conftest.
$ac_ext
12386 cat >>conftest.
$ac_ext <<_ACEOF
12387 /* end confdefs.h. */
12388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12390 #define $ac_func innocuous_$ac_func
12392 /* System header to define __stub macros and hopefully few prototypes,
12393 which can conflict with char $ac_func (); below.
12394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12395 <limits.h> exists even on freestanding compilers. */
12398 # include <limits.h>
12400 # include <assert.h>
12405 /* Override any GCC internal prototype to avoid an error.
12406 Use char because int might match the return type of a GCC
12407 builtin and then its argument prototype would still apply. */
12412 /* The GNU C library defines this for functions which it implements
12413 to always fail with ENOSYS. Some functions are actually named
12414 something starting with __ and the normal name is an alias. */
12415 #if defined __stub_$ac_func || defined __stub___$ac_func
12422 return $ac_func ();
12427 rm -f conftest.
$ac_objext conftest
$ac_exeext
12428 if { (ac_try
="$ac_link"
12429 case "(($ac_try" in
12430 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12431 *) ac_try_echo=$ac_try;;
12433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12434 (eval "$ac_link") 2>conftest.er1
12436 grep -v '^ *+' conftest.er1 >conftest.err
12438 cat conftest.err >&5
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); } && {
12441 test -z "$ac_c_werror_flag" ||
12442 test ! -s conftest.err
12443 } && test -s conftest$ac_exeext &&
12444 $as_test_x conftest$ac_exeext; then
12445 eval "$as_ac_var=yes"
12447 echo "$as_me: failed program was:" >&5
12448 sed 's/^/| /' conftest.$ac_ext >&5
12450 eval "$as_ac_var=no"
12453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12454 conftest$ac_exeext conftest.$ac_ext
12456 ac_res=`eval echo '${'$as_ac_var'}'`
12457 { echo "$as_me:$LINENO: result: $ac_res" >&5
12458 echo "${ECHO_T}$ac_res" >&6; }
12459 if test `eval echo '${'$as_ac_var'}'` = yes; then
12460 cat >>confdefs.h <<_ACEOF
12461 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12467 LIBS="$ac_save_LIBS"
12468 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12469 case "x$with_curses" in
12470 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12472 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12473 This is an error since --with-curses was requested." >&5
12474 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12475 This is an error since --with-curses was requested." >&2;}
12476 { (exit 1); exit 1; }; } ;;
12481 # Extract the first word of "sane-config", so it can be a program name with args.
12482 set dummy sane-config; ac_word=$2
12483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12485 if test "${ac_cv_prog_sane_devel+set}" = set; then
12486 echo $ECHO_N "(cached) $ECHO_C" >&6
12488 if test -n "$sane_devel"; then
12489 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12492 for as_dir in $PATH
12495 test -z "$as_dir" && as_dir=.
12496 for ac_exec_ext in '' $ac_executable_extensions; do
12497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12498 ac_cv_prog_sane_devel="sane-config"
12499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12506 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12509 sane_devel=$ac_cv_prog_sane_devel
12510 if test -n "$sane_devel"; then
12511 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12512 echo "${ECHO_T}$sane_devel" >&6; }
12514 { echo "$as_me:$LINENO: result: no" >&5
12515 echo "${ECHO_T}no" >&6; }
12519 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12521 ac_sane_incl="`$sane_devel --cflags`"
12522 ac_save_CPPFLAGS="$CPPFLAGS"
12523 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12524 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12525 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12526 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12527 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12528 echo $ECHO_N "(cached) $ECHO_C" >&6
12530 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12531 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12533 # Is the header compilable?
12534 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12535 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12536 cat >conftest.$ac_ext <<_ACEOF
12539 cat confdefs.h >>conftest.$ac_ext
12540 cat >>conftest.$ac_ext <<_ACEOF
12541 /* end confdefs.h. */
12542 $ac_includes_default
12543 #include <sane/sane.h>
12545 rm -f conftest.$ac_objext
12546 if { (ac_try="$ac_compile"
12547 case "(($ac_try" in
12548 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12549 *) ac_try_echo
=$ac_try;;
12551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12552 (eval "$ac_compile") 2>conftest.er1
12554 grep -v '^ *+' conftest.er1
>conftest.err
12556 cat conftest.err
>&5
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); } && {
12559 test -z "$ac_c_werror_flag" ||
12560 test ! -s conftest.err
12561 } && test -s conftest.
$ac_objext; then
12562 ac_header_compiler
=yes
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.
$ac_ext >&5
12567 ac_header_compiler
=no
12570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12571 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12572 echo "${ECHO_T}$ac_header_compiler" >&6; }
12574 # Is the header present?
12575 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12576 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12577 cat >conftest.
$ac_ext <<_ACEOF
12580 cat confdefs.h
>>conftest.
$ac_ext
12581 cat >>conftest.
$ac_ext <<_ACEOF
12582 /* end confdefs.h. */
12583 #include <sane/sane.h>
12585 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12586 case "(($ac_try" in
12587 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12588 *) ac_try_echo=$ac_try;;
12590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12591 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12593 grep -v '^ *+' conftest.er1 >conftest.err
12595 cat conftest.err >&5
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); } >/dev/null && {
12598 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12599 test ! -s conftest.err
12601 ac_header_preproc=yes
12603 echo "$as_me: failed program was:" >&5
12604 sed 's/^/| /' conftest.$ac_ext >&5
12606 ac_header_preproc=no
12609 rm -f conftest.err conftest.$ac_ext
12610 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12611 echo "${ECHO_T}$ac_header_preproc" >&6; }
12613 # So? What about this header?
12614 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12616 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12617 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12618 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12619 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12620 ac_header_preproc=yes
12623 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12624 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12625 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12626 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12627 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12628 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12629 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12630 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12631 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12632 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12633 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12634 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12636 ## ------------------------------------ ##
12637 ## Report this to wine-devel@winehq.org ##
12638 ## ------------------------------------ ##
12640 ) | sed "s/^/$as_me: WARNING: /" >&2
12643 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12644 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12645 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12646 echo $ECHO_N "(cached) $ECHO_C" >&6
12648 ac_cv_header_sane_sane_h=$ac_header_preproc
12650 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12651 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12654 if test $ac_cv_header_sane_sane_h = yes; then
12655 { echo "$as_me:$LINENO: checking for -lsane" >&5
12656 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12657 if test "${ac_cv_lib_soname_sane+set}" = set; then
12658 echo $ECHO_N "(cached) $ECHO_C" >&6
12660 ac_check_soname_save_LIBS=$LIBS
12661 LIBS="-lsane $LIBS"
12662 cat >conftest.$ac_ext <<_ACEOF
12665 cat confdefs.h >>conftest.$ac_ext
12666 cat >>conftest.$ac_ext <<_ACEOF
12667 /* end confdefs.h. */
12669 /* Override any GCC internal prototype to avoid an error.
12670 Use char because int might match the return type of a GCC
12671 builtin and then its argument prototype would still apply. */
12679 return sane_init ();
12684 rm -f conftest.$ac_objext conftest$ac_exeext
12685 if { (ac_try="$ac_link"
12686 case "(($ac_try" in
12687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12688 *) ac_try_echo
=$ac_try;;
12690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12691 (eval "$ac_link") 2>conftest.er1
12693 grep -v '^ *+' conftest.er1
>conftest.err
12695 cat conftest.err
>&5
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); } && {
12698 test -z "$ac_c_werror_flag" ||
12699 test ! -s conftest.err
12700 } && test -s conftest
$ac_exeext &&
12701 $as_test_x conftest
$ac_exeext; then
12704 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'` ;;
12705 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12708 echo "$as_me: failed program was:" >&5
12709 sed 's/^/| /' conftest.
$ac_ext >&5
12714 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12715 conftest
$ac_exeext conftest.
$ac_ext
12716 LIBS
=$ac_check_soname_save_LIBS
12718 if test "x$ac_cv_lib_soname_sane" = "x"; then
12719 { echo "$as_me:$LINENO: result: not found" >&5
12720 echo "${ECHO_T}not found" >&6; }
12723 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12724 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12726 cat >>confdefs.h
<<_ACEOF
12727 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12730 SANEINCL
="$ac_sane_incl"
12737 CPPFLAGS
="$ac_save_CPPFLAGS"
12739 if test "x$ac_cv_lib_soname_sane" = "x"; then
12740 case "x$with_sane" in
12741 x
) wine_notices
="$wine_notices|libsane development files not found, scanners won't be supported." ;;
12743 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
12744 This is an error since --with-sane was requested." >&5
12745 echo "$as_me: error: libsane development files not found, scanners won't be supported.
12746 This is an error since --with-sane was requested." >&2;}
12747 { (exit 1); exit 1; }; } ;;
12752 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12753 set dummy gphoto2-config
; ac_word
=$2
12754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12756 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12757 echo $ECHO_N "(cached) $ECHO_C" >&6
12759 if test -n "$gphoto2_devel"; then
12760 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
12762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12763 for as_dir
in $PATH
12766 test -z "$as_dir" && as_dir
=.
12767 for ac_exec_ext
in '' $ac_executable_extensions; do
12768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12769 ac_cv_prog_gphoto2_devel
="gphoto2-config"
12770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12777 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
12780 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
12781 if test -n "$gphoto2_devel"; then
12782 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12783 echo "${ECHO_T}$gphoto2_devel" >&6; }
12785 { echo "$as_me:$LINENO: result: no" >&5
12786 echo "${ECHO_T}no" >&6; }
12790 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12791 set dummy gphoto2-port-config
; ac_word
=$2
12792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12794 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12795 echo $ECHO_N "(cached) $ECHO_C" >&6
12797 if test -n "$gphoto2port_devel"; then
12798 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
12800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12801 for as_dir
in $PATH
12804 test -z "$as_dir" && as_dir
=.
12805 for ac_exec_ext
in '' $ac_executable_extensions; do
12806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12807 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
12808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12815 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
12818 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
12819 if test -n "$gphoto2port_devel"; then
12820 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12821 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12823 { echo "$as_me:$LINENO: result: no" >&5
12824 echo "${ECHO_T}no" >&6; }
12828 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
12830 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12832 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12835 -L/usr
/lib|
-L/usr
/lib64
) ;;
12836 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
12839 ac_save_CPPFLAGS
="$CPPFLAGS"
12840 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
12841 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12842 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12843 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12844 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12845 echo $ECHO_N "(cached) $ECHO_C" >&6
12847 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12848 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12850 # Is the header compilable?
12851 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12852 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12853 cat >conftest.
$ac_ext <<_ACEOF
12856 cat confdefs.h
>>conftest.
$ac_ext
12857 cat >>conftest.
$ac_ext <<_ACEOF
12858 /* end confdefs.h. */
12859 $ac_includes_default
12860 #include <gphoto2-camera.h>
12862 rm -f conftest.
$ac_objext
12863 if { (ac_try
="$ac_compile"
12864 case "(($ac_try" in
12865 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12866 *) ac_try_echo=$ac_try;;
12868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12869 (eval "$ac_compile") 2>conftest.er1
12871 grep -v '^ *+' conftest.er1 >conftest.err
12873 cat conftest.err >&5
12874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12875 (exit $ac_status); } && {
12876 test -z "$ac_c_werror_flag" ||
12877 test ! -s conftest.err
12878 } && test -s conftest.$ac_objext; then
12879 ac_header_compiler=yes
12881 echo "$as_me: failed program was:" >&5
12882 sed 's/^/| /' conftest.$ac_ext >&5
12884 ac_header_compiler=no
12887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12888 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12889 echo "${ECHO_T}$ac_header_compiler" >&6; }
12891 # Is the header present?
12892 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12893 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12894 cat >conftest.$ac_ext <<_ACEOF
12897 cat confdefs.h >>conftest.$ac_ext
12898 cat >>conftest.$ac_ext <<_ACEOF
12899 /* end confdefs.h. */
12900 #include <gphoto2-camera.h>
12902 if { (ac_try="$ac_cpp conftest.$ac_ext"
12903 case "(($ac_try" in
12904 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12905 *) ac_try_echo
=$ac_try;;
12907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12908 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12910 grep -v '^ *+' conftest.er1
>conftest.err
12912 cat conftest.err
>&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); } >/dev
/null
&& {
12915 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12916 test ! -s conftest.err
12918 ac_header_preproc
=yes
12920 echo "$as_me: failed program was:" >&5
12921 sed 's/^/| /' conftest.
$ac_ext >&5
12923 ac_header_preproc
=no
12926 rm -f conftest.err conftest.
$ac_ext
12927 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12928 echo "${ECHO_T}$ac_header_preproc" >&6; }
12930 # So? What about this header?
12931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12933 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12934 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12935 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12936 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12937 ac_header_preproc
=yes
12940 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12941 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12942 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12943 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12944 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12945 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12946 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12947 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12948 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12949 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12950 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12951 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12953 ## ------------------------------------ ##
12954 ## Report this to wine-devel@winehq.org ##
12955 ## ------------------------------------ ##
12957 ) |
sed "s/^/$as_me: WARNING: /" >&2
12960 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12961 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12962 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12963 echo $ECHO_N "(cached) $ECHO_C" >&6
12965 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
12967 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12968 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12971 if test $ac_cv_header_gphoto2_camera_h = yes; then
12972 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12973 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12974 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12975 echo $ECHO_N "(cached) $ECHO_C" >&6
12977 ac_check_lib_save_LIBS
=$LIBS
12978 LIBS
="-lgphoto2 $GPHOTO2LIBS $LIBS"
12979 cat >conftest.
$ac_ext <<_ACEOF
12982 cat confdefs.h
>>conftest.
$ac_ext
12983 cat >>conftest.
$ac_ext <<_ACEOF
12984 /* end confdefs.h. */
12986 /* Override any GCC internal prototype to avoid an error.
12987 Use char because int might match the return type of a GCC
12988 builtin and then its argument prototype would still apply. */
12992 char gp_camera_new ();
12996 return gp_camera_new ();
13001 rm -f conftest.
$ac_objext conftest
$ac_exeext
13002 if { (ac_try
="$ac_link"
13003 case "(($ac_try" in
13004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13005 *) ac_try_echo=$ac_try;;
13007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13008 (eval "$ac_link") 2>conftest.er1
13010 grep -v '^ *+' conftest.er1 >conftest.err
13012 cat conftest.err >&5
13013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13014 (exit $ac_status); } && {
13015 test -z "$ac_c_werror_flag" ||
13016 test ! -s conftest.err
13017 } && test -s conftest$ac_exeext &&
13018 $as_test_x conftest$ac_exeext; then
13019 ac_cv_lib_gphoto2_gp_camera_new=yes
13021 echo "$as_me: failed program was:" >&5
13022 sed 's/^/| /' conftest.$ac_ext >&5
13024 ac_cv_lib_gphoto2_gp_camera_new=no
13027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13028 conftest$ac_exeext conftest.$ac_ext
13029 LIBS=$ac_check_lib_save_LIBS
13031 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13032 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13033 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13035 cat >>confdefs.h <<\_ACEOF
13036 #define HAVE_GPHOTO2 1
13039 GPHOTO2LIBS="$ac_gphoto2_libs"
13041 GPHOTO2INCL="$ac_gphoto2_incl"
13048 CPPFLAGS="$ac_save_CPPFLAGS"
13050 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13051 case "x$with_gphoto" in
13052 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13054 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13055 This is an error since --with-gphoto was requested." >&5
13056 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13057 This is an error since --with-gphoto was requested." >&2;}
13058 { (exit 1); exit 1; }; } ;;
13066 if test "$ac_cv_header_resolv_h" = "yes"
13068 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13069 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13070 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13071 echo $ECHO_N "(cached) $ECHO_C" >&6
13073 ac_check_lib_save_LIBS=$LIBS
13074 LIBS="-lresolv $LIBS"
13075 cat >conftest.$ac_ext <<_ACEOF
13078 cat confdefs.h >>conftest.$ac_ext
13079 cat >>conftest.$ac_ext <<_ACEOF
13080 /* end confdefs.h. */
13082 /* Override any GCC internal prototype to avoid an error.
13083 Use char because int might match the return type of a GCC
13084 builtin and then its argument prototype would still apply. */
13092 return res_query ();
13097 rm -f conftest.$ac_objext conftest$ac_exeext
13098 if { (ac_try="$ac_link"
13099 case "(($ac_try" in
13100 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13101 *) ac_try_echo
=$ac_try;;
13103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13104 (eval "$ac_link") 2>conftest.er1
13106 grep -v '^ *+' conftest.er1
>conftest.err
13108 cat conftest.err
>&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); } && {
13111 test -z "$ac_c_werror_flag" ||
13112 test ! -s conftest.err
13113 } && test -s conftest
$ac_exeext &&
13114 $as_test_x conftest
$ac_exeext; then
13115 ac_cv_lib_resolv_res_query
=yes
13117 echo "$as_me: failed program was:" >&5
13118 sed 's/^/| /' conftest.
$ac_ext >&5
13120 ac_cv_lib_resolv_res_query
=no
13123 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13124 conftest
$ac_exeext conftest.
$ac_ext
13125 LIBS
=$ac_check_lib_save_LIBS
13127 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13128 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13129 if test $ac_cv_lib_resolv_res_query = yes; then
13131 cat >>confdefs.h
<<\_ACEOF
13132 #define HAVE_RESOLV 1
13135 RESOLVLIBS
="-lresolv"
13142 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13144 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13145 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13146 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13147 echo $ECHO_N "(cached) $ECHO_C" >&6
13149 ac_check_lib_save_LIBS
=$LIBS
13150 LIBS
="-llcms $LIBS"
13151 cat >conftest.
$ac_ext <<_ACEOF
13154 cat confdefs.h
>>conftest.
$ac_ext
13155 cat >>conftest.
$ac_ext <<_ACEOF
13156 /* end confdefs.h. */
13158 /* Override any GCC internal prototype to avoid an error.
13159 Use char because int might match the return type of a GCC
13160 builtin and then its argument prototype would still apply. */
13164 char cmsOpenProfileFromFile ();
13168 return cmsOpenProfileFromFile ();
13173 rm -f conftest.
$ac_objext conftest
$ac_exeext
13174 if { (ac_try
="$ac_link"
13175 case "(($ac_try" in
13176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13177 *) ac_try_echo=$ac_try;;
13179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13180 (eval "$ac_link") 2>conftest.er1
13182 grep -v '^ *+' conftest.er1 >conftest.err
13184 cat conftest.err >&5
13185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13186 (exit $ac_status); } && {
13187 test -z "$ac_c_werror_flag" ||
13188 test ! -s conftest.err
13189 } && test -s conftest$ac_exeext &&
13190 $as_test_x conftest$ac_exeext; then
13191 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13193 echo "$as_me: failed program was:" >&5
13194 sed 's/^/| /' conftest.$ac_ext >&5
13196 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13200 conftest$ac_exeext conftest.$ac_ext
13201 LIBS=$ac_check_lib_save_LIBS
13203 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13204 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13205 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13207 cat >>confdefs.h <<\_ACEOF
13208 #define HAVE_LCMS 1
13215 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13216 case "x$with_cms" in
13217 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13219 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13220 This is an error since --with-cms was requested." >&5
13221 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13222 This is an error since --with-cms was requested." >&2;}
13223 { (exit 1); exit 1; }; } ;;
13230 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13232 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13233 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13234 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13235 echo $ECHO_N "(cached) $ECHO_C" >&6
13237 ac_check_lib_save_LIBS=$LIBS
13238 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13239 cat >conftest.$ac_ext <<_ACEOF
13242 cat confdefs.h >>conftest.$ac_ext
13243 cat >>conftest.$ac_ext <<_ACEOF
13244 /* end confdefs.h. */
13246 /* Override any GCC internal prototype to avoid an error.
13247 Use char because int might match the return type of a GCC
13248 builtin and then its argument prototype would still apply. */
13252 char ldap_initialize ();
13256 return ldap_initialize ();
13261 rm -f conftest.$ac_objext conftest$ac_exeext
13262 if { (ac_try="$ac_link"
13263 case "(($ac_try" in
13264 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13265 *) ac_try_echo
=$ac_try;;
13267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13268 (eval "$ac_link") 2>conftest.er1
13270 grep -v '^ *+' conftest.er1
>conftest.err
13272 cat conftest.err
>&5
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); } && {
13275 test -z "$ac_c_werror_flag" ||
13276 test ! -s conftest.err
13277 } && test -s conftest
$ac_exeext &&
13278 $as_test_x conftest
$ac_exeext; then
13279 ac_cv_lib_ldap_r_ldap_initialize
=yes
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.
$ac_ext >&5
13284 ac_cv_lib_ldap_r_ldap_initialize
=no
13287 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13288 conftest
$ac_exeext conftest.
$ac_ext
13289 LIBS
=$ac_check_lib_save_LIBS
13291 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13292 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13293 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13294 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13295 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13296 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13297 echo $ECHO_N "(cached) $ECHO_C" >&6
13299 ac_check_lib_save_LIBS
=$LIBS
13300 LIBS
="-llber $LIBPTHREAD $LIBS"
13301 cat >conftest.
$ac_ext <<_ACEOF
13304 cat confdefs.h
>>conftest.
$ac_ext
13305 cat >>conftest.
$ac_ext <<_ACEOF
13306 /* end confdefs.h. */
13308 /* Override any GCC internal prototype to avoid an error.
13309 Use char because int might match the return type of a GCC
13310 builtin and then its argument prototype would still apply. */
13318 return ber_init ();
13323 rm -f conftest.
$ac_objext conftest
$ac_exeext
13324 if { (ac_try
="$ac_link"
13325 case "(($ac_try" in
13326 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13327 *) ac_try_echo=$ac_try;;
13329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13330 (eval "$ac_link") 2>conftest.er1
13332 grep -v '^ *+' conftest.er1 >conftest.err
13334 cat conftest.err >&5
13335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 (exit $ac_status); } && {
13337 test -z "$ac_c_werror_flag" ||
13338 test ! -s conftest.err
13339 } && test -s conftest$ac_exeext &&
13340 $as_test_x conftest$ac_exeext; then
13341 ac_cv_lib_lber_ber_init=yes
13343 echo "$as_me: failed program was:" >&5
13344 sed 's/^/| /' conftest.$ac_ext >&5
13346 ac_cv_lib_lber_ber_init=no
13349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13350 conftest$ac_exeext conftest.$ac_ext
13351 LIBS=$ac_check_lib_save_LIBS
13353 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13354 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13355 if test $ac_cv_lib_lber_ber_init = yes; then
13357 cat >>confdefs.h <<\_ACEOF
13358 #define HAVE_LDAP 1
13361 LDAPLIBS="-lldap_r -llber"
13366 ac_wine_check_funcs_save_LIBS="$LIBS"
13367 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13377 ldap_count_references \
13378 ldap_first_reference \
13379 ldap_next_reference \
13380 ldap_parse_reference \
13381 ldap_parse_sort_control \
13382 ldap_parse_sortresponse_control \
13383 ldap_parse_vlv_control \
13384 ldap_parse_vlvresponse_control
13386 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13387 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13389 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13390 echo $ECHO_N "(cached) $ECHO_C" >&6
13392 cat >conftest.$ac_ext <<_ACEOF
13395 cat confdefs.h >>conftest.$ac_ext
13396 cat >>conftest.$ac_ext <<_ACEOF
13397 /* end confdefs.h. */
13398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13400 #define $ac_func innocuous_$ac_func
13402 /* System header to define __stub macros and hopefully few prototypes,
13403 which can conflict with char $ac_func (); below.
13404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13405 <limits.h> exists even on freestanding compilers. */
13408 # include <limits.h>
13410 # include <assert.h>
13415 /* Override any GCC internal prototype to avoid an error.
13416 Use char because int might match the return type of a GCC
13417 builtin and then its argument prototype would still apply. */
13422 /* The GNU C library defines this for functions which it implements
13423 to always fail with ENOSYS. Some functions are actually named
13424 something starting with __ and the normal name is an alias. */
13425 #if defined __stub_$ac_func || defined __stub___$ac_func
13432 return $ac_func ();
13437 rm -f conftest.$ac_objext conftest$ac_exeext
13438 if { (ac_try="$ac_link"
13439 case "(($ac_try" in
13440 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13441 *) ac_try_echo
=$ac_try;;
13443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13444 (eval "$ac_link") 2>conftest.er1
13446 grep -v '^ *+' conftest.er1
>conftest.err
13448 cat conftest.err
>&5
13449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 (exit $ac_status); } && {
13451 test -z "$ac_c_werror_flag" ||
13452 test ! -s conftest.err
13453 } && test -s conftest
$ac_exeext &&
13454 $as_test_x conftest
$ac_exeext; then
13455 eval "$as_ac_var=yes"
13457 echo "$as_me: failed program was:" >&5
13458 sed 's/^/| /' conftest.
$ac_ext >&5
13460 eval "$as_ac_var=no"
13463 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13464 conftest
$ac_exeext conftest.
$ac_ext
13466 ac_res
=`eval echo '${'$as_ac_var'}'`
13467 { echo "$as_me:$LINENO: result: $ac_res" >&5
13468 echo "${ECHO_T}$ac_res" >&6; }
13469 if test `eval echo '${'$as_ac_var'}'` = yes; then
13470 cat >>confdefs.h
<<_ACEOF
13471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13477 LIBS
="$ac_wine_check_funcs_save_LIBS"
13479 if test "x$LDAPLIBS" = "x"; then
13480 case "x$with_ldap" in
13481 x
) wine_notices
="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13483 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13484 This is an error since --with-ldap was requested." >&5
13485 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13486 This is an error since --with-ldap was requested." >&2;}
13487 { (exit 1); exit 1; }; } ;;
13492 for ac_prog
in freetype-config freetype2-config
13494 # Extract the first word of "$ac_prog", so it can be a program name with args.
13495 set dummy
$ac_prog; ac_word
=$2
13496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13498 if test "${ac_cv_prog_ft_devel+set}" = set; then
13499 echo $ECHO_N "(cached) $ECHO_C" >&6
13501 if test -n "$ft_devel"; then
13502 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
13504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13505 for as_dir
in $PATH
13508 test -z "$as_dir" && as_dir
=.
13509 for ac_exec_ext
in '' $ac_executable_extensions; do
13510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13511 ac_cv_prog_ft_devel
="$ac_prog"
13512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13521 ft_devel
=$ac_cv_prog_ft_devel
13522 if test -n "$ft_devel"; then
13523 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13524 echo "${ECHO_T}$ft_devel" >&6; }
13526 { echo "$as_me:$LINENO: result: no" >&5
13527 echo "${ECHO_T}no" >&6; }
13531 test -n "$ft_devel" && break
13533 test -n "$ft_devel" || ft_devel
="false"
13535 if test "$ft_devel" != "false"
13537 ac_freetype_libs
=`$ft_devel --libs`
13538 ac_freetype_incl
=`$ft_devel --cflags`
13539 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13540 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13541 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13542 echo $ECHO_N "(cached) $ECHO_C" >&6
13544 ac_check_soname_save_LIBS
=$LIBS
13545 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
13546 cat >conftest.
$ac_ext <<_ACEOF
13549 cat confdefs.h
>>conftest.
$ac_ext
13550 cat >>conftest.
$ac_ext <<_ACEOF
13551 /* end confdefs.h. */
13553 /* Override any GCC internal prototype to avoid an error.
13554 Use char because int might match the return type of a GCC
13555 builtin and then its argument prototype would still apply. */
13559 char FT_Init_FreeType ();
13563 return FT_Init_FreeType ();
13568 rm -f conftest.
$ac_objext conftest
$ac_exeext
13569 if { (ac_try
="$ac_link"
13570 case "(($ac_try" in
13571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13572 *) ac_try_echo=$ac_try;;
13574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13575 (eval "$ac_link") 2>conftest.er1
13577 grep -v '^ *+' conftest.er1 >conftest.err
13579 cat conftest.err >&5
13580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13581 (exit $ac_status); } && {
13582 test -z "$ac_c_werror_flag" ||
13583 test ! -s conftest.err
13584 } && test -s conftest$ac_exeext &&
13585 $as_test_x conftest$ac_exeext; then
13588 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'` ;;
13589 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfreetype\\.$LIBEXT" |
sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13592 echo "$as_me: failed program was:" >&5
13593 sed 's/^/| /' conftest.$ac_ext >&5
13598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13599 conftest$ac_exeext conftest.$ac_ext
13600 LIBS=$ac_check_soname_save_LIBS
13602 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13603 { echo "$as_me:$LINENO: result: not found" >&5
13604 echo "${ECHO_T}not found" >&6; }
13607 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13608 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13610 cat >>confdefs.h <<_ACEOF
13611 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13617 if test "$ft_lib" = "yes"
13619 ac_save_CPPFLAGS="$CPPFLAGS"
13620 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13633 for ac_header in ft2build.h \
13634 freetype/freetype.h \
13635 freetype/ftglyph.h \
13636 freetype/fttypes.h \
13637 freetype/tttables.h \
13638 freetype/ftnames.h \
13639 freetype/ftsnames.h \
13640 freetype/ttnameid.h \
13641 freetype/ftoutln.h \
13642 freetype/ftwinfnt.h \
13643 freetype/ftmodapi.h \
13644 freetype/internal/sfnt.h
13646 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13647 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13649 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13650 echo $ECHO_N "(cached) $ECHO_C" >&6
13652 cat >conftest.$ac_ext <<_ACEOF
13655 cat confdefs.h >>conftest.$ac_ext
13656 cat >>conftest.$ac_ext <<_ACEOF
13657 /* end confdefs.h. */
13658 #ifdef HAVE_FT2BUILD_H
13659 # include <ft2build.h>
13662 #include <$ac_header>
13664 rm -f conftest.$ac_objext
13665 if { (ac_try="$ac_compile"
13666 case "(($ac_try" in
13667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13668 *) ac_try_echo
=$ac_try;;
13670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13671 (eval "$ac_compile") 2>conftest.er1
13673 grep -v '^ *+' conftest.er1
>conftest.err
13675 cat conftest.err
>&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); } && {
13678 test -z "$ac_c_werror_flag" ||
13679 test ! -s conftest.err
13680 } && test -s conftest.
$ac_objext; then
13681 eval "$as_ac_Header=yes"
13683 echo "$as_me: failed program was:" >&5
13684 sed 's/^/| /' conftest.
$ac_ext >&5
13686 eval "$as_ac_Header=no"
13689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13691 ac_res
=`eval echo '${'$as_ac_Header'}'`
13692 { echo "$as_me:$LINENO: result: $ac_res" >&5
13693 echo "${ECHO_T}$ac_res" >&6; }
13694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13695 cat >>confdefs.h
<<_ACEOF
13696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13703 cat >conftest.
$ac_ext <<_ACEOF
13706 cat confdefs.h
>>conftest.
$ac_ext
13707 cat >>conftest.
$ac_ext <<_ACEOF
13708 /* end confdefs.h. */
13709 #include <ft2build.h>
13710 #include <freetype/fttrigon.h>
13712 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13713 case "(($ac_try" in
13714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13715 *) ac_try_echo=$ac_try;;
13717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13718 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13720 grep -v '^ *+' conftest.er1 >conftest.err
13722 cat conftest.err >&5
13723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13724 (exit $ac_status); } >/dev/null && {
13725 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13726 test ! -s conftest.err
13729 cat >>confdefs.h <<\_ACEOF
13730 #define HAVE_FREETYPE_FTTRIGON_H 1
13733 wine_cv_fttrigon=yes
13735 echo "$as_me: failed program was:" >&5
13736 sed 's/^/| /' conftest.$ac_ext >&5
13738 wine_cv_fttrigon=no
13741 rm -f conftest.err conftest.$ac_ext
13742 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13743 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13744 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13745 echo $ECHO_N "(cached) $ECHO_C" >&6
13747 cat >conftest.$ac_ext <<_ACEOF
13750 cat confdefs.h >>conftest.$ac_ext
13751 cat >>conftest.$ac_ext <<_ACEOF
13752 /* end confdefs.h. */
13753 #include <freetype/ftmodapi.h>
13755 typedef FT_TrueTypeEngineType ac__type_new_;
13759 if ((ac__type_new_ *) 0)
13761 if (sizeof (ac__type_new_))
13767 rm -f conftest.$ac_objext
13768 if { (ac_try="$ac_compile"
13769 case "(($ac_try" in
13770 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13771 *) ac_try_echo
=$ac_try;;
13773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13774 (eval "$ac_compile") 2>conftest.er1
13776 grep -v '^ *+' conftest.er1
>conftest.err
13778 cat conftest.err
>&5
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); } && {
13781 test -z "$ac_c_werror_flag" ||
13782 test ! -s conftest.err
13783 } && test -s conftest.
$ac_objext; then
13784 ac_cv_type_FT_TrueTypeEngineType
=yes
13786 echo "$as_me: failed program was:" >&5
13787 sed 's/^/| /' conftest.
$ac_ext >&5
13789 ac_cv_type_FT_TrueTypeEngineType
=no
13792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13794 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13795 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13796 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13798 cat >>confdefs.h
<<_ACEOF
13799 #define HAVE_FT_TRUETYPEENGINETYPE 1
13805 ac_save_CFLAGS
="$CFLAGS"
13806 CFLAGS
="$CFLAGS $ac_freetype_libs"
13808 for ac_func
in FT_Load_Sfnt_Table
13810 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13811 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13813 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13814 echo $ECHO_N "(cached) $ECHO_C" >&6
13816 cat >conftest.
$ac_ext <<_ACEOF
13819 cat confdefs.h
>>conftest.
$ac_ext
13820 cat >>conftest.
$ac_ext <<_ACEOF
13821 /* end confdefs.h. */
13822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13824 #define $ac_func innocuous_$ac_func
13826 /* System header to define __stub macros and hopefully few prototypes,
13827 which can conflict with char $ac_func (); below.
13828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13829 <limits.h> exists even on freestanding compilers. */
13832 # include <limits.h>
13834 # include <assert.h>
13839 /* Override any GCC internal prototype to avoid an error.
13840 Use char because int might match the return type of a GCC
13841 builtin and then its argument prototype would still apply. */
13846 /* The GNU C library defines this for functions which it implements
13847 to always fail with ENOSYS. Some functions are actually named
13848 something starting with __ and the normal name is an alias. */
13849 #if defined __stub_$ac_func || defined __stub___$ac_func
13856 return $ac_func ();
13861 rm -f conftest.
$ac_objext conftest
$ac_exeext
13862 if { (ac_try
="$ac_link"
13863 case "(($ac_try" in
13864 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13865 *) ac_try_echo=$ac_try;;
13867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13868 (eval "$ac_link") 2>conftest.er1
13870 grep -v '^ *+' conftest.er1 >conftest.err
13872 cat conftest.err >&5
13873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13874 (exit $ac_status); } && {
13875 test -z "$ac_c_werror_flag" ||
13876 test ! -s conftest.err
13877 } && test -s conftest$ac_exeext &&
13878 $as_test_x conftest$ac_exeext; then
13879 eval "$as_ac_var=yes"
13881 echo "$as_me: failed program was:" >&5
13882 sed 's/^/| /' conftest.$ac_ext >&5
13884 eval "$as_ac_var=no"
13887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13888 conftest$ac_exeext conftest.$ac_ext
13890 ac_res=`eval echo '${'$as_ac_var'}'`
13891 { echo "$as_me:$LINENO: result: $ac_res" >&5
13892 echo "${ECHO_T}$ac_res" >&6; }
13893 if test `eval echo '${'$as_ac_var'}'` = yes; then
13894 cat >>confdefs.h <<_ACEOF
13895 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13901 CFLAGS="$ac_save_CFLAGS"
13902 CPPFLAGS="$ac_save_CPPFLAGS"
13903 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13906 cat >>confdefs.h <<\_ACEOF
13907 #define HAVE_FREETYPE 1
13910 FREETYPELIBS="$ac_freetype_libs"
13912 FREETYPEINCL="$ac_freetype_incl"
13918 if test "$FONTFORGE" = "false"
13920 wine_warnings="$wine_warnings|FontForge is missing.
13921 Fonts will not be built. Dialog text may be invisible or unaligned."
13922 elif test "x$FREETYPELIBS" = "x"
13924 wine_warnings="$wine_warnings|FreeType development files not found.
13925 Fonts will not be built. Dialog text may be invisible or unaligned."
13927 FONTSSUBDIRS="fonts"
13931 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13932 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13933 if test "${ac_cv_c_ppdev+set}" = set; then
13934 echo $ECHO_N "(cached) $ECHO_C" >&6
13936 cat >conftest.$ac_ext <<_ACEOF
13939 cat confdefs.h >>conftest.$ac_ext
13940 cat >>conftest.$ac_ext <<_ACEOF
13941 /* end confdefs.h. */
13942 #include <linux/ppdev.h>
13946 ioctl (1,PPCLAIM,0)
13951 rm -f conftest.$ac_objext
13952 if { (ac_try="$ac_compile"
13953 case "(($ac_try" in
13954 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13955 *) ac_try_echo
=$ac_try;;
13957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13958 (eval "$ac_compile") 2>conftest.er1
13960 grep -v '^ *+' conftest.er1
>conftest.err
13962 cat conftest.err
>&5
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); } && {
13965 test -z "$ac_c_werror_flag" ||
13966 test ! -s conftest.err
13967 } && test -s conftest.
$ac_objext; then
13968 ac_cv_c_ppdev
="yes"
13970 echo "$as_me: failed program was:" >&5
13971 sed 's/^/| /' conftest.
$ac_ext >&5
13976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13978 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13979 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13980 if test "$ac_cv_c_ppdev" = "yes"
13983 cat >>confdefs.h
<<\_ACEOF
13984 #define HAVE_PPDEV 1
13989 { echo "$as_me:$LINENO: checking for va_copy" >&5
13990 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13991 if test "${ac_cv_c_va_copy+set}" = set; then
13992 echo $ECHO_N "(cached) $ECHO_C" >&6
13994 cat >conftest.
$ac_ext <<_ACEOF
13997 cat confdefs.h
>>conftest.
$ac_ext
13998 cat >>conftest.
$ac_ext <<_ACEOF
13999 /* end confdefs.h. */
14000 #include <stdarg.h>
14004 va_list ap1, ap2; va_copy(ap1,ap2);
14009 rm -f conftest.
$ac_objext conftest
$ac_exeext
14010 if { (ac_try
="$ac_link"
14011 case "(($ac_try" in
14012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14013 *) ac_try_echo=$ac_try;;
14015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14016 (eval "$ac_link") 2>conftest.er1
14018 grep -v '^ *+' conftest.er1 >conftest.err
14020 cat conftest.err >&5
14021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); } && {
14023 test -z "$ac_c_werror_flag" ||
14024 test ! -s conftest.err
14025 } && test -s conftest$ac_exeext &&
14026 $as_test_x conftest$ac_exeext; then
14027 ac_cv_c_va_copy="yes"
14029 echo "$as_me: failed program was:" >&5
14030 sed 's/^/| /' conftest.$ac_ext >&5
14032 ac_cv_c_va_copy="no"
14035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14036 conftest$ac_exeext conftest.$ac_ext
14039 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14040 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14041 if test "$ac_cv_c_va_copy" = "yes"
14044 cat >>confdefs.h <<\_ACEOF
14045 #define HAVE_VA_COPY 1
14049 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14050 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14051 if test "${ac_cv_c___va_copy+set}" = set; then
14052 echo $ECHO_N "(cached) $ECHO_C" >&6
14054 cat >conftest.$ac_ext <<_ACEOF
14057 cat confdefs.h >>conftest.$ac_ext
14058 cat >>conftest.$ac_ext <<_ACEOF
14059 /* end confdefs.h. */
14060 #include <stdarg.h>
14064 va_list ap1, ap2; __va_copy(ap1,ap2);
14069 rm -f conftest.$ac_objext conftest$ac_exeext
14070 if { (ac_try="$ac_link"
14071 case "(($ac_try" in
14072 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14073 *) ac_try_echo
=$ac_try;;
14075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14076 (eval "$ac_link") 2>conftest.er1
14078 grep -v '^ *+' conftest.er1
>conftest.err
14080 cat conftest.err
>&5
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); } && {
14083 test -z "$ac_c_werror_flag" ||
14084 test ! -s conftest.err
14085 } && test -s conftest
$ac_exeext &&
14086 $as_test_x conftest
$ac_exeext; then
14087 ac_cv_c___va_copy
="yes"
14089 echo "$as_me: failed program was:" >&5
14090 sed 's/^/| /' conftest.
$ac_ext >&5
14092 ac_cv_c___va_copy
="no"
14095 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14096 conftest
$ac_exeext conftest.
$ac_ext
14099 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14100 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14101 if test "$ac_cv_c___va_copy" = "yes"
14104 cat >>confdefs.h
<<\_ACEOF
14105 #define HAVE___VA_COPY 1
14110 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14111 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14112 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14113 echo $ECHO_N "(cached) $ECHO_C" >&6
14115 cat >conftest.
$ac_ext <<_ACEOF
14118 cat confdefs.h
>>conftest.
$ac_ext
14119 cat >>conftest.
$ac_ext <<_ACEOF
14120 /* end confdefs.h. */
14121 #include <setjmp.h>
14126 sigsetjmp( buf, 1 );
14127 siglongjmp( buf, 1 );
14132 rm -f conftest.
$ac_objext conftest
$ac_exeext
14133 if { (ac_try
="$ac_link"
14134 case "(($ac_try" in
14135 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14136 *) ac_try_echo=$ac_try;;
14138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14139 (eval "$ac_link") 2>conftest.er1
14141 grep -v '^ *+' conftest.er1 >conftest.err
14143 cat conftest.err >&5
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); } && {
14146 test -z "$ac_c_werror_flag" ||
14147 test ! -s conftest.err
14148 } && test -s conftest$ac_exeext &&
14149 $as_test_x conftest$ac_exeext; then
14150 ac_cv_c_sigsetjmp="yes"
14152 echo "$as_me: failed program was:" >&5
14153 sed 's/^/| /' conftest.$ac_ext >&5
14155 ac_cv_c_sigsetjmp="no"
14158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14159 conftest$ac_exeext conftest.$ac_ext
14162 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14163 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14164 if test "$ac_cv_c_sigsetjmp" = "yes"
14167 cat >>confdefs.h <<\_ACEOF
14168 #define HAVE_SIGSETJMP 1
14173 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14174 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14175 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14176 echo $ECHO_N "(cached) $ECHO_C" >&6
14178 cat >conftest.$ac_ext <<_ACEOF
14181 cat confdefs.h >>conftest.$ac_ext
14182 cat >>conftest.$ac_ext <<_ACEOF
14183 /* end confdefs.h. */
14184 #define _GNU_SOURCE
14185 #include <pthread.h>
14187 typedef pthread_rwlock_t ac__type_new_;
14191 if ((ac__type_new_ *) 0)
14193 if (sizeof (ac__type_new_))
14199 rm -f conftest.$ac_objext
14200 if { (ac_try="$ac_compile"
14201 case "(($ac_try" in
14202 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14203 *) ac_try_echo
=$ac_try;;
14205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14206 (eval "$ac_compile") 2>conftest.er1
14208 grep -v '^ *+' conftest.er1
>conftest.err
14210 cat conftest.err
>&5
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); } && {
14213 test -z "$ac_c_werror_flag" ||
14214 test ! -s conftest.err
14215 } && test -s conftest.
$ac_objext; then
14216 ac_cv_type_pthread_rwlock_t
=yes
14218 echo "$as_me: failed program was:" >&5
14219 sed 's/^/| /' conftest.
$ac_ext >&5
14221 ac_cv_type_pthread_rwlock_t
=no
14224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14226 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14227 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14228 if test $ac_cv_type_pthread_rwlock_t = yes; then
14230 cat >>confdefs.h
<<_ACEOF
14231 #define HAVE_PTHREAD_RWLOCK_T 1
14236 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14237 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14238 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14239 echo $ECHO_N "(cached) $ECHO_C" >&6
14241 cat >conftest.
$ac_ext <<_ACEOF
14244 cat confdefs.h
>>conftest.
$ac_ext
14245 cat >>conftest.
$ac_ext <<_ACEOF
14246 /* end confdefs.h. */
14247 #define _GNU_SOURCE
14248 #include <pthread.h>
14250 typedef pthread_rwlockattr_t ac__type_new_;
14254 if ((ac__type_new_ *) 0)
14256 if (sizeof (ac__type_new_))
14262 rm -f conftest.
$ac_objext
14263 if { (ac_try
="$ac_compile"
14264 case "(($ac_try" in
14265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14266 *) ac_try_echo=$ac_try;;
14268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14269 (eval "$ac_compile") 2>conftest.er1
14271 grep -v '^ *+' conftest.er1 >conftest.err
14273 cat conftest.err >&5
14274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14275 (exit $ac_status); } && {
14276 test -z "$ac_c_werror_flag" ||
14277 test ! -s conftest.err
14278 } && test -s conftest.$ac_objext; then
14279 ac_cv_type_pthread_rwlockattr_t=yes
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.$ac_ext >&5
14284 ac_cv_type_pthread_rwlockattr_t=no
14287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14289 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14290 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14291 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14293 cat >>confdefs.h <<_ACEOF
14294 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14301 ac_wine_check_funcs_save_LIBS="$LIBS"
14302 LIBS="$LIBS $LIBPTHREAD"
14308 pthread_attr_get_np \
14309 pthread_getattr_np \
14310 pthread_get_stackaddr_np \
14311 pthread_get_stacksize_np
14313 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
14314 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14316 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14317 echo $ECHO_N "(cached) $ECHO_C" >&6
14319 cat >conftest.$ac_ext <<_ACEOF
14322 cat confdefs.h >>conftest.$ac_ext
14323 cat >>conftest.$ac_ext <<_ACEOF
14324 /* end confdefs.h. */
14325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14327 #define $ac_func innocuous_$ac_func
14329 /* System header to define __stub macros and hopefully few prototypes,
14330 which can conflict with char $ac_func (); below.
14331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14332 <limits.h> exists even on freestanding compilers. */
14335 # include <limits.h>
14337 # include <assert.h>
14342 /* Override any GCC internal prototype to avoid an error.
14343 Use char because int might match the return type of a GCC
14344 builtin and then its argument prototype would still apply. */
14349 /* The GNU C library defines this for functions which it implements
14350 to always fail with ENOSYS. Some functions are actually named
14351 something starting with __ and the normal name is an alias. */
14352 #if defined __stub_$ac_func || defined __stub___$ac_func
14359 return $ac_func ();
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
14382 eval "$as_ac_var=yes"
14384 echo "$as_me: failed program was:" >&5
14385 sed 's/^/| /' conftest.
$ac_ext >&5
14387 eval "$as_ac_var=no"
14390 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14391 conftest
$ac_exeext conftest.
$ac_ext
14393 ac_res
=`eval echo '${'$as_ac_var'}'`
14394 { echo "$as_me:$LINENO: result: $ac_res" >&5
14395 echo "${ECHO_T}$ac_res" >&6; }
14396 if test `eval echo '${'$as_ac_var'}'` = yes; then
14397 cat >>confdefs.h
<<_ACEOF
14398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14404 LIBS
="$ac_wine_check_funcs_save_LIBS"
14406 # Extract the first word of "esd-config", so it can be a program name with args.
14407 set dummy esd-config
; ac_word
=$2
14408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14410 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14411 echo $ECHO_N "(cached) $ECHO_C" >&6
14415 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
14418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14419 for as_dir
in $PATH
14422 test -z "$as_dir" && as_dir
=.
14423 for ac_exec_ext
in '' $ac_executable_extensions; do
14424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14425 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
14426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14436 ESDCONFIG
=$ac_cv_path_ESDCONFIG
14437 if test -n "$ESDCONFIG"; then
14438 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14439 echo "${ECHO_T}$ESDCONFIG" >&6; }
14441 { echo "$as_me:$LINENO: result: no" >&5
14442 echo "${ECHO_T}no" >&6; }
14446 if test "x$with_esd" != xno
-a "x$ESDCONFIG" != x
-a "x$ESDCONFIG" != x
'"$ESDCONFIG"';
14449 for i
in `$ESDCONFIG --cflags`
14452 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
14455 ESD_LIBS
=`$ESDCONFIG --libs`
14456 save_CFLAGS
="$CFLAGS"
14457 CFLAGS
="$CFLAGS $ESD_CFLAGS"
14458 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14459 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14460 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14461 echo $ECHO_N "(cached) $ECHO_C" >&6
14463 ac_check_lib_save_LIBS
=$LIBS
14465 cat >conftest.
$ac_ext <<_ACEOF
14468 cat confdefs.h
>>conftest.
$ac_ext
14469 cat >>conftest.
$ac_ext <<_ACEOF
14470 /* end confdefs.h. */
14472 /* Override any GCC internal prototype to avoid an error.
14473 Use char because int might match the return type of a GCC
14474 builtin and then its argument prototype would still apply. */
14478 char esd_open_sound ();
14482 return esd_open_sound ();
14487 rm -f conftest.
$ac_objext conftest
$ac_exeext
14488 if { (ac_try
="$ac_link"
14489 case "(($ac_try" in
14490 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14491 *) ac_try_echo=$ac_try;;
14493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14494 (eval "$ac_link") 2>conftest.er1
14496 grep -v '^ *+' conftest.er1 >conftest.err
14498 cat conftest.err >&5
14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); } && {
14501 test -z "$ac_c_werror_flag" ||
14502 test ! -s conftest.err
14503 } && test -s conftest$ac_exeext &&
14504 $as_test_x conftest$ac_exeext; then
14505 ac_cv_lib_esd_esd_open_sound=yes
14507 echo "$as_me: failed program was:" >&5
14508 sed 's/^/| /' conftest.$ac_ext >&5
14510 ac_cv_lib_esd_esd_open_sound=no
14513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14514 conftest$ac_exeext conftest.$ac_ext
14515 LIBS=$ac_check_lib_save_LIBS
14517 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14518 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14519 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14522 ESDINCL=$ESD_CFLAGS
14525 cat >>confdefs.h <<\_ACEOF
14531 CFLAGS="$save_CFLAGS"
14536 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14538 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14539 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14540 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14541 echo $ECHO_N "(cached) $ECHO_C" >&6
14543 ac_check_lib_save_LIBS=$LIBS
14544 LIBS="-lasound $LIBS"
14545 cat >conftest.$ac_ext <<_ACEOF
14548 cat confdefs.h >>conftest.$ac_ext
14549 cat >>conftest.$ac_ext <<_ACEOF
14550 /* end confdefs.h. */
14552 /* Override any GCC internal prototype to avoid an error.
14553 Use char because int might match the return type of a GCC
14554 builtin and then its argument prototype would still apply. */
14558 char snd_pcm_hw_params_get_access ();
14562 return snd_pcm_hw_params_get_access ();
14567 rm -f conftest.$ac_objext conftest$ac_exeext
14568 if { (ac_try="$ac_link"
14569 case "(($ac_try" in
14570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14571 *) ac_try_echo
=$ac_try;;
14573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14574 (eval "$ac_link") 2>conftest.er1
14576 grep -v '^ *+' conftest.er1
>conftest.err
14578 cat conftest.err
>&5
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); } && {
14581 test -z "$ac_c_werror_flag" ||
14582 test ! -s conftest.err
14583 } && test -s conftest
$ac_exeext &&
14584 $as_test_x conftest
$ac_exeext; then
14585 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
14587 echo "$as_me: failed program was:" >&5
14588 sed 's/^/| /' conftest.
$ac_ext >&5
14590 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
14593 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14594 conftest
$ac_exeext conftest.
$ac_ext
14595 LIBS
=$ac_check_lib_save_LIBS
14597 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14598 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14599 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14600 cat >conftest.
$ac_ext <<_ACEOF
14603 cat confdefs.h
>>conftest.
$ac_ext
14604 cat >>conftest.
$ac_ext <<_ACEOF
14605 /* end confdefs.h. */
14606 #ifdef HAVE_ALSA_ASOUNDLIB_H
14607 #include <alsa/asoundlib.h>
14608 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14609 #include <sys/asoundlib.h>
14614 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14619 rm -f conftest.
$ac_objext
14620 if { (ac_try
="$ac_compile"
14621 case "(($ac_try" in
14622 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14623 *) ac_try_echo=$ac_try;;
14625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14626 (eval "$ac_compile") 2>conftest.er1
14628 grep -v '^ *+' conftest.er1 >conftest.err
14630 cat conftest.err >&5
14631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632 (exit $ac_status); } && {
14633 test -z "$ac_c_werror_flag" ||
14634 test ! -s conftest.err
14635 } && test -s conftest.$ac_objext; then
14637 cat >>confdefs.h <<\_ACEOF
14638 #define HAVE_ALSA 1
14641 ALSALIBS="-lasound"
14643 echo "$as_me: failed program was:" >&5
14644 sed 's/^/| /' conftest.$ac_ext >&5
14649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14656 if test "$ac_cv_header_libaudioio_h" = "yes"
14658 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14659 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14660 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14661 echo $ECHO_N "(cached) $ECHO_C" >&6
14663 ac_check_lib_save_LIBS=$LIBS
14664 LIBS="-laudioio $LIBS"
14665 cat >conftest.$ac_ext <<_ACEOF
14668 cat confdefs.h >>conftest.$ac_ext
14669 cat >>conftest.$ac_ext <<_ACEOF
14670 /* end confdefs.h. */
14672 /* Override any GCC internal prototype to avoid an error.
14673 Use char because int might match the return type of a GCC
14674 builtin and then its argument prototype would still apply. */
14678 char AudioIOGetVersion ();
14682 return AudioIOGetVersion ();
14687 rm -f conftest.$ac_objext conftest$ac_exeext
14688 if { (ac_try="$ac_link"
14689 case "(($ac_try" in
14690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14691 *) ac_try_echo
=$ac_try;;
14693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14694 (eval "$ac_link") 2>conftest.er1
14696 grep -v '^ *+' conftest.er1
>conftest.err
14698 cat conftest.err
>&5
14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700 (exit $ac_status); } && {
14701 test -z "$ac_c_werror_flag" ||
14702 test ! -s conftest.err
14703 } && test -s conftest
$ac_exeext &&
14704 $as_test_x conftest
$ac_exeext; then
14705 ac_cv_lib_audioio_AudioIOGetVersion
=yes
14707 echo "$as_me: failed program was:" >&5
14708 sed 's/^/| /' conftest.
$ac_ext >&5
14710 ac_cv_lib_audioio_AudioIOGetVersion
=no
14713 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14714 conftest
$ac_exeext conftest.
$ac_ext
14715 LIBS
=$ac_check_lib_save_LIBS
14717 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14718 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14719 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14720 AUDIOIOLIBS
="-laudioio"
14722 cat >>confdefs.h
<<\_ACEOF
14723 #define HAVE_LIBAUDIOIO 1
14731 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14733 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14734 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14735 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14736 echo $ECHO_N "(cached) $ECHO_C" >&6
14738 ac_check_soname_save_LIBS
=$LIBS
14739 LIBS
="-lcapi20 $LIBS"
14740 cat >conftest.
$ac_ext <<_ACEOF
14743 cat confdefs.h
>>conftest.
$ac_ext
14744 cat >>conftest.
$ac_ext <<_ACEOF
14745 /* end confdefs.h. */
14747 /* Override any GCC internal prototype to avoid an error.
14748 Use char because int might match the return type of a GCC
14749 builtin and then its argument prototype would still apply. */
14753 char capi20_register ();
14757 return capi20_register ();
14762 rm -f conftest.
$ac_objext conftest
$ac_exeext
14763 if { (ac_try
="$ac_link"
14764 case "(($ac_try" in
14765 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14766 *) ac_try_echo=$ac_try;;
14768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14769 (eval "$ac_link") 2>conftest.er1
14771 grep -v '^ *+' conftest.er1 >conftest.err
14773 cat conftest.err >&5
14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14775 (exit $ac_status); } && {
14776 test -z "$ac_c_werror_flag" ||
14777 test ! -s conftest.err
14778 } && test -s conftest$ac_exeext &&
14779 $as_test_x conftest$ac_exeext; then
14782 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'` ;;
14783 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcapi20\\.$LIBEXT" |
sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14786 echo "$as_me: failed program was:" >&5
14787 sed 's/^/| /' conftest.$ac_ext >&5
14792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14793 conftest$ac_exeext conftest.$ac_ext
14794 LIBS=$ac_check_soname_save_LIBS
14796 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14797 { echo "$as_me:$LINENO: result: not found" >&5
14798 echo "${ECHO_T}not found" >&6; }
14801 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14802 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14804 cat >>confdefs.h <<_ACEOF
14805 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14812 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14813 case "x$with_capi" in
14814 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
14816 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
14817 This is an error since --with-capi was requested." >&5
14818 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
14819 This is an error since --with-capi was requested." >&2;}
14820 { (exit 1); exit 1; }; } ;;
14825 if test "$ac_cv_header_cups_cups_h" = "yes"
14827 { echo "$as_me:$LINENO: checking for -lcups" >&5
14828 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14829 if test "${ac_cv_lib_soname_cups+set}" = set; then
14830 echo $ECHO_N "(cached) $ECHO_C" >&6
14832 ac_check_soname_save_LIBS=$LIBS
14833 LIBS="-lcups $LIBS"
14834 cat >conftest.$ac_ext <<_ACEOF
14837 cat confdefs.h >>conftest.$ac_ext
14838 cat >>conftest.$ac_ext <<_ACEOF
14839 /* end confdefs.h. */
14841 /* Override any GCC internal prototype to avoid an error.
14842 Use char because int might match the return type of a GCC
14843 builtin and then its argument prototype would still apply. */
14847 char cupsGetDefault ();
14851 return cupsGetDefault ();
14856 rm -f conftest.$ac_objext conftest$ac_exeext
14857 if { (ac_try="$ac_link"
14858 case "(($ac_try" in
14859 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14860 *) ac_try_echo
=$ac_try;;
14862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14863 (eval "$ac_link") 2>conftest.er1
14865 grep -v '^ *+' conftest.er1
>conftest.err
14867 cat conftest.err
>&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); } && {
14870 test -z "$ac_c_werror_flag" ||
14871 test ! -s conftest.err
14872 } && test -s conftest
$ac_exeext &&
14873 $as_test_x conftest
$ac_exeext; then
14876 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'` ;;
14877 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14880 echo "$as_me: failed program was:" >&5
14881 sed 's/^/| /' conftest.
$ac_ext >&5
14886 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14887 conftest
$ac_exeext conftest.
$ac_ext
14888 LIBS
=$ac_check_soname_save_LIBS
14890 if test "x$ac_cv_lib_soname_cups" = "x"; then
14891 { echo "$as_me:$LINENO: result: not found" >&5
14892 echo "${ECHO_T}not found" >&6; }
14895 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14896 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14898 cat >>confdefs.h
<<_ACEOF
14899 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14906 if test "x$ac_cv_lib_soname_cups" = "x"; then
14907 case "x$with_cups" in
14908 x
) wine_notices
="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
14910 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
14911 This is an error since --with-cups was requested." >&5
14912 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
14913 This is an error since --with-cups was requested." >&2;}
14914 { (exit 1); exit 1; }; } ;;
14919 if test "$ac_cv_header_jack_jack_h" = "yes"
14921 { echo "$as_me:$LINENO: checking for -ljack" >&5
14922 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14923 if test "${ac_cv_lib_soname_jack+set}" = set; then
14924 echo $ECHO_N "(cached) $ECHO_C" >&6
14926 ac_check_soname_save_LIBS
=$LIBS
14927 LIBS
="-ljack $LIBS"
14928 cat >conftest.
$ac_ext <<_ACEOF
14931 cat confdefs.h
>>conftest.
$ac_ext
14932 cat >>conftest.
$ac_ext <<_ACEOF
14933 /* end confdefs.h. */
14935 /* Override any GCC internal prototype to avoid an error.
14936 Use char because int might match the return type of a GCC
14937 builtin and then its argument prototype would still apply. */
14941 char jack_client_new ();
14945 return jack_client_new ();
14950 rm -f conftest.
$ac_objext conftest
$ac_exeext
14951 if { (ac_try
="$ac_link"
14952 case "(($ac_try" in
14953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14954 *) ac_try_echo=$ac_try;;
14956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14957 (eval "$ac_link") 2>conftest.er1
14959 grep -v '^ *+' conftest.er1 >conftest.err
14961 cat conftest.err >&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); } && {
14964 test -z "$ac_c_werror_flag" ||
14965 test ! -s conftest.err
14966 } && test -s conftest$ac_exeext &&
14967 $as_test_x conftest$ac_exeext; then
14970 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'` ;;
14971 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjack\\.$LIBEXT" |
sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.$ac_ext >&5
14980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14981 conftest$ac_exeext conftest.$ac_ext
14982 LIBS=$ac_check_soname_save_LIBS
14984 if test "x$ac_cv_lib_soname_jack" = "x"; then
14985 { echo "$as_me:$LINENO: result: not found" >&5
14986 echo "${ECHO_T}not found" >&6; }
14989 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14990 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14992 cat >>confdefs.h <<_ACEOF
14993 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15001 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15003 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15004 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15005 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15006 echo $ECHO_N "(cached) $ECHO_C" >&6
15008 ac_check_soname_save_LIBS=$LIBS
15009 LIBS="-lfontconfig $LIBS"
15010 cat >conftest.$ac_ext <<_ACEOF
15013 cat confdefs.h >>conftest.$ac_ext
15014 cat >>conftest.$ac_ext <<_ACEOF
15015 /* end confdefs.h. */
15017 /* Override any GCC internal prototype to avoid an error.
15018 Use char because int might match the return type of a GCC
15019 builtin and then its argument prototype would still apply. */
15032 rm -f conftest.$ac_objext conftest$ac_exeext
15033 if { (ac_try="$ac_link"
15034 case "(($ac_try" in
15035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15036 *) ac_try_echo
=$ac_try;;
15038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15039 (eval "$ac_link") 2>conftest.er1
15041 grep -v '^ *+' conftest.er1
>conftest.err
15043 cat conftest.err
>&5
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); } && {
15046 test -z "$ac_c_werror_flag" ||
15047 test ! -s conftest.err
15048 } && test -s conftest
$ac_exeext &&
15049 $as_test_x conftest
$ac_exeext; then
15052 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'` ;;
15053 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15056 echo "$as_me: failed program was:" >&5
15057 sed 's/^/| /' conftest.
$ac_ext >&5
15062 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15063 conftest
$ac_exeext conftest.
$ac_ext
15064 LIBS
=$ac_check_soname_save_LIBS
15066 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15067 { echo "$as_me:$LINENO: result: not found" >&5
15068 echo "${ECHO_T}not found" >&6; }
15071 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15072 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15074 cat >>confdefs.h
<<_ACEOF
15075 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15081 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15083 ac_save_CPPFLAGS
="$CPPFLAGS"
15084 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
15085 $as_unset ac_cv_header_fontconfig_fontconfig_h
15087 for ac_header
in fontconfig
/fontconfig.h
15089 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15090 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15091 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15093 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15094 echo $ECHO_N "(cached) $ECHO_C" >&6
15096 ac_res
=`eval echo '${'$as_ac_Header'}'`
15097 { echo "$as_me:$LINENO: result: $ac_res" >&5
15098 echo "${ECHO_T}$ac_res" >&6; }
15100 # Is the header compilable?
15101 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15102 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15103 cat >conftest.
$ac_ext <<_ACEOF
15106 cat confdefs.h
>>conftest.
$ac_ext
15107 cat >>conftest.
$ac_ext <<_ACEOF
15108 /* end confdefs.h. */
15109 $ac_includes_default
15110 #include <$ac_header>
15112 rm -f conftest.
$ac_objext
15113 if { (ac_try
="$ac_compile"
15114 case "(($ac_try" in
15115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15116 *) ac_try_echo=$ac_try;;
15118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15119 (eval "$ac_compile") 2>conftest.er1
15121 grep -v '^ *+' conftest.er1 >conftest.err
15123 cat conftest.err >&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); } && {
15126 test -z "$ac_c_werror_flag" ||
15127 test ! -s conftest.err
15128 } && test -s conftest.$ac_objext; then
15129 ac_header_compiler=yes
15131 echo "$as_me: failed program was:" >&5
15132 sed 's/^/| /' conftest.$ac_ext >&5
15134 ac_header_compiler=no
15137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15138 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15139 echo "${ECHO_T}$ac_header_compiler" >&6; }
15141 # Is the header present?
15142 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15144 cat >conftest.$ac_ext <<_ACEOF
15147 cat confdefs.h >>conftest.$ac_ext
15148 cat >>conftest.$ac_ext <<_ACEOF
15149 /* end confdefs.h. */
15150 #include <$ac_header>
15152 if { (ac_try="$ac_cpp conftest.$ac_ext"
15153 case "(($ac_try" in
15154 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15155 *) ac_try_echo
=$ac_try;;
15157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15158 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15160 grep -v '^ *+' conftest.er1
>conftest.err
15162 cat conftest.err
>&5
15163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164 (exit $ac_status); } >/dev
/null
&& {
15165 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15166 test ! -s conftest.err
15168 ac_header_preproc
=yes
15170 echo "$as_me: failed program was:" >&5
15171 sed 's/^/| /' conftest.
$ac_ext >&5
15173 ac_header_preproc
=no
15176 rm -f conftest.err conftest.
$ac_ext
15177 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15178 echo "${ECHO_T}$ac_header_preproc" >&6; }
15180 # So? What about this header?
15181 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15183 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15184 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15186 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15187 ac_header_preproc
=yes
15190 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15191 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15192 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15193 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15194 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15195 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15196 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15197 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15200 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15201 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15203 ## ------------------------------------ ##
15204 ## Report this to wine-devel@winehq.org ##
15205 ## ------------------------------------ ##
15207 ) |
sed "s/^/$as_me: WARNING: /" >&2
15210 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15212 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15215 eval "$as_ac_Header=\$ac_header_preproc"
15217 ac_res
=`eval echo '${'$as_ac_Header'}'`
15218 { echo "$as_me:$LINENO: result: $ac_res" >&5
15219 echo "${ECHO_T}$ac_res" >&6; }
15222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15223 cat >>confdefs.h
<<_ACEOF
15224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15231 CPPFLAGS
="$ac_save_CPPFLAGS"
15232 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15234 FONTCONFIGINCL
="$X_CFLAGS"
15236 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15237 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15238 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15239 echo $ECHO_N "(cached) $ECHO_C" >&6
15241 ac_check_soname_save_LIBS
=$LIBS
15242 LIBS
="-lfontconfig $X_LIBS $LIBS"
15243 cat >conftest.
$ac_ext <<_ACEOF
15246 cat confdefs.h
>>conftest.
$ac_ext
15247 cat >>conftest.
$ac_ext <<_ACEOF
15248 /* end confdefs.h. */
15250 /* Override any GCC internal prototype to avoid an error.
15251 Use char because int might match the return type of a GCC
15252 builtin and then its argument prototype would still apply. */
15265 rm -f conftest.
$ac_objext conftest
$ac_exeext
15266 if { (ac_try
="$ac_link"
15267 case "(($ac_try" in
15268 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15269 *) ac_try_echo=$ac_try;;
15271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15272 (eval "$ac_link") 2>conftest.er1
15274 grep -v '^ *+' conftest.er1 >conftest.err
15276 cat conftest.err >&5
15277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15278 (exit $ac_status); } && {
15279 test -z "$ac_c_werror_flag" ||
15280 test ! -s conftest.err
15281 } && test -s conftest$ac_exeext &&
15282 $as_test_x conftest$ac_exeext; then
15285 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'` ;;
15286 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15289 echo "$as_me: failed program was:" >&5
15290 sed 's/^/| /' conftest.$ac_ext >&5
15295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15296 conftest$ac_exeext conftest.$ac_ext
15297 LIBS=$ac_check_soname_save_LIBS
15299 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15300 { echo "$as_me:$LINENO: result: not found" >&5
15301 echo "${ECHO_T}not found" >&6; }
15304 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15305 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15307 cat >>confdefs.h <<_ACEOF
15308 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15316 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15317 case "x$with_fontconfig" in
15318 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15320 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15321 This is an error since --with-fontconfig was requested." >&5
15322 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15323 This is an error since --with-fontconfig was requested." >&2;}
15324 { (exit 1); exit 1; }; } ;;
15329 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15331 { echo "$as_me:$LINENO: checking for -lssl" >&5
15332 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15333 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15334 echo $ECHO_N "(cached) $ECHO_C" >&6
15336 ac_check_soname_save_LIBS=$LIBS
15338 cat >conftest.$ac_ext <<_ACEOF
15341 cat confdefs.h >>conftest.$ac_ext
15342 cat >>conftest.$ac_ext <<_ACEOF
15343 /* end confdefs.h. */
15345 /* Override any GCC internal prototype to avoid an error.
15346 Use char because int might match the return type of a GCC
15347 builtin and then its argument prototype would still apply. */
15351 char SSL_library_init ();
15355 return SSL_library_init ();
15360 rm -f conftest.$ac_objext conftest$ac_exeext
15361 if { (ac_try="$ac_link"
15362 case "(($ac_try" in
15363 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15364 *) ac_try_echo
=$ac_try;;
15366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15367 (eval "$ac_link") 2>conftest.er1
15369 grep -v '^ *+' conftest.er1
>conftest.err
15371 cat conftest.err
>&5
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); } && {
15374 test -z "$ac_c_werror_flag" ||
15375 test ! -s conftest.err
15376 } && test -s conftest
$ac_exeext &&
15377 $as_test_x conftest
$ac_exeext; then
15380 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'` ;;
15381 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15384 echo "$as_me: failed program was:" >&5
15385 sed 's/^/| /' conftest.
$ac_ext >&5
15390 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15391 conftest
$ac_exeext conftest.
$ac_ext
15392 LIBS
=$ac_check_soname_save_LIBS
15394 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15395 { echo "$as_me:$LINENO: result: not found" >&5
15396 echo "${ECHO_T}not found" >&6; }
15399 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15400 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15402 cat >>confdefs.h
<<_ACEOF
15403 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15409 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15410 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15411 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15412 echo $ECHO_N "(cached) $ECHO_C" >&6
15414 ac_check_soname_save_LIBS
=$LIBS
15415 LIBS
="-lcrypto $LIBS"
15416 cat >conftest.
$ac_ext <<_ACEOF
15419 cat confdefs.h
>>conftest.
$ac_ext
15420 cat >>conftest.
$ac_ext <<_ACEOF
15421 /* end confdefs.h. */
15423 /* Override any GCC internal prototype to avoid an error.
15424 Use char because int might match the return type of a GCC
15425 builtin and then its argument prototype would still apply. */
15429 char BIO_new_socket ();
15433 return BIO_new_socket ();
15438 rm -f conftest.
$ac_objext conftest
$ac_exeext
15439 if { (ac_try
="$ac_link"
15440 case "(($ac_try" in
15441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15442 *) ac_try_echo=$ac_try;;
15444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15445 (eval "$ac_link") 2>conftest.er1
15447 grep -v '^ *+' conftest.er1 >conftest.err
15449 cat conftest.err >&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); } && {
15452 test -z "$ac_c_werror_flag" ||
15453 test ! -s conftest.err
15454 } && test -s conftest$ac_exeext &&
15455 $as_test_x conftest$ac_exeext; then
15458 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'` ;;
15459 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcrypto\\.$LIBEXT" |
sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15462 echo "$as_me: failed program was:" >&5
15463 sed 's/^/| /' conftest.$ac_ext >&5
15468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15469 conftest$ac_exeext conftest.$ac_ext
15470 LIBS=$ac_check_soname_save_LIBS
15472 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15473 { echo "$as_me:$LINENO: result: not found" >&5
15474 echo "${ECHO_T}not found" >&6; }
15477 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15478 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15480 cat >>confdefs.h <<_ACEOF
15481 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15488 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15489 case "x$with_openssl" in
15490 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15492 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15493 This is an error since --with-openssl was requested." >&5
15494 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15495 This is an error since --with-openssl was requested." >&2;}
15496 { (exit 1); exit 1; }; } ;;
15501 if test "$ac_cv_header_jpeglib_h" = "yes"
15503 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15504 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15505 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15506 echo $ECHO_N "(cached) $ECHO_C" >&6
15508 ac_check_soname_save_LIBS=$LIBS
15509 LIBS="-ljpeg $LIBS"
15510 cat >conftest.$ac_ext <<_ACEOF
15513 cat confdefs.h >>conftest.$ac_ext
15514 cat >>conftest.$ac_ext <<_ACEOF
15515 /* end confdefs.h. */
15517 /* Override any GCC internal prototype to avoid an error.
15518 Use char because int might match the return type of a GCC
15519 builtin and then its argument prototype would still apply. */
15523 char jpeg_start_decompress ();
15527 return jpeg_start_decompress ();
15532 rm -f conftest.$ac_objext conftest$ac_exeext
15533 if { (ac_try="$ac_link"
15534 case "(($ac_try" in
15535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15536 *) ac_try_echo
=$ac_try;;
15538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15539 (eval "$ac_link") 2>conftest.er1
15541 grep -v '^ *+' conftest.er1
>conftest.err
15543 cat conftest.err
>&5
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); } && {
15546 test -z "$ac_c_werror_flag" ||
15547 test ! -s conftest.err
15548 } && test -s conftest
$ac_exeext &&
15549 $as_test_x conftest
$ac_exeext; then
15552 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'` ;;
15553 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15556 echo "$as_me: failed program was:" >&5
15557 sed 's/^/| /' conftest.
$ac_ext >&5
15562 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15563 conftest
$ac_exeext conftest.
$ac_ext
15564 LIBS
=$ac_check_soname_save_LIBS
15566 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15567 { echo "$as_me:$LINENO: result: not found" >&5
15568 echo "${ECHO_T}not found" >&6; }
15571 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15572 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15574 cat >>confdefs.h
<<_ACEOF
15575 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15582 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15583 case "x$with_jpeg" in
15584 x
) wine_notices
="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15586 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15587 This is an error since --with-jpeg was requested." >&5
15588 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15589 This is an error since --with-jpeg was requested." >&2;}
15590 { (exit 1); exit 1; }; } ;;
15595 if test "$ac_cv_header_png_h" = "yes"
15597 { echo "$as_me:$LINENO: checking for -lpng" >&5
15598 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15599 if test "${ac_cv_lib_soname_png+set}" = set; then
15600 echo $ECHO_N "(cached) $ECHO_C" >&6
15602 ac_check_soname_save_LIBS
=$LIBS
15604 cat >conftest.
$ac_ext <<_ACEOF
15607 cat confdefs.h
>>conftest.
$ac_ext
15608 cat >>conftest.
$ac_ext <<_ACEOF
15609 /* end confdefs.h. */
15611 /* Override any GCC internal prototype to avoid an error.
15612 Use char because int might match the return type of a GCC
15613 builtin and then its argument prototype would still apply. */
15617 char png_create_read_struct ();
15621 return png_create_read_struct ();
15626 rm -f conftest.
$ac_objext conftest
$ac_exeext
15627 if { (ac_try
="$ac_link"
15628 case "(($ac_try" in
15629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15630 *) ac_try_echo=$ac_try;;
15632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15633 (eval "$ac_link") 2>conftest.er1
15635 grep -v '^ *+' conftest.er1 >conftest.err
15637 cat conftest.err >&5
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); } && {
15640 test -z "$ac_c_werror_flag" ||
15641 test ! -s conftest.err
15642 } && test -s conftest$ac_exeext &&
15643 $as_test_x conftest$ac_exeext; then
15646 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'` ;;
15647 *) 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'` ;;
15650 echo "$as_me: failed program was:" >&5
15651 sed 's/^/| /' conftest.$ac_ext >&5
15656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15657 conftest$ac_exeext conftest.$ac_ext
15658 LIBS=$ac_check_soname_save_LIBS
15660 if test "x$ac_cv_lib_soname_png" = "x"; then
15661 { echo "$as_me:$LINENO: result: not found" >&5
15662 echo "${ECHO_T}not found" >&6; }
15665 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15666 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15668 cat >>confdefs.h <<_ACEOF
15669 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15676 if test "x$ac_cv_lib_soname_png" = "x"; then
15677 case "x$with_png" in
15678 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
15680 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15681 This is an error since --with-png was requested." >&5
15682 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15683 This is an error since --with-png was requested." >&2;}
15684 { (exit 1); exit 1; }; } ;;
15689 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15690 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15691 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15692 echo $ECHO_N "(cached) $ECHO_C" >&6
15694 ac_check_soname_save_LIBS=$LIBS
15695 LIBS="-lodbc $LIBS"
15696 cat >conftest.$ac_ext <<_ACEOF
15699 cat confdefs.h >>conftest.$ac_ext
15700 cat >>conftest.$ac_ext <<_ACEOF
15701 /* end confdefs.h. */
15703 /* Override any GCC internal prototype to avoid an error.
15704 Use char because int might match the return type of a GCC
15705 builtin and then its argument prototype would still apply. */
15709 char SQLConnect ();
15713 return SQLConnect ();
15718 rm -f conftest.$ac_objext conftest$ac_exeext
15719 if { (ac_try="$ac_link"
15720 case "(($ac_try" in
15721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15722 *) ac_try_echo
=$ac_try;;
15724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15725 (eval "$ac_link") 2>conftest.er1
15727 grep -v '^ *+' conftest.er1
>conftest.err
15729 cat conftest.err
>&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); } && {
15732 test -z "$ac_c_werror_flag" ||
15733 test ! -s conftest.err
15734 } && test -s conftest
$ac_exeext &&
15735 $as_test_x conftest
$ac_exeext; then
15738 dylib
) ac_cv_lib_soname_odbc
=`otool -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15739 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15742 echo "$as_me: failed program was:" >&5
15743 sed 's/^/| /' conftest.
$ac_ext >&5
15748 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15749 conftest
$ac_exeext conftest.
$ac_ext
15750 LIBS
=$ac_check_soname_save_LIBS
15752 if test "x$ac_cv_lib_soname_odbc" = "x"; then
15753 { echo "$as_me:$LINENO: result: not found" >&5
15754 echo "${ECHO_T}not found" >&6; }
15755 cat >>confdefs.h
<<_ACEOF
15756 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15760 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
15761 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
15763 cat >>confdefs.h
<<_ACEOF
15764 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15771 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15772 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15773 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15774 "$ac_cv_header_soundcard_h" != "yes" -a \
15775 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
15777 wine_warnings
="$wine_warnings|No sound system was found. Windows applications will be silent."
15783 if test "x${GCC}" = "xyes"
15785 EXTRACFLAGS
="-Wall -pipe"
15787 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15788 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15789 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15790 echo $ECHO_N "(cached) $ECHO_C" >&6
15792 if test "$cross_compiling" = yes; then
15793 ac_cv_c_gcc_strength_bug
="yes"
15795 cat >conftest.
$ac_ext <<_ACEOF
15798 cat confdefs.h
>>conftest.
$ac_ext
15799 cat >>conftest.
$ac_ext <<_ACEOF
15800 /* end confdefs.h. */
15801 int L[4] = {0,1,2,3};
15805 static int Array[3];
15806 unsigned int B = 3;
15808 for(i=0; i<B; i++) Array[i] = i - 3;
15809 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15811 exit( Array[1] != -2 || L[2] != 3)
15816 rm -f 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>&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15827 { (case "(($ac_try" in
15828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15829 *) ac_try_echo
=$ac_try;;
15831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15832 (eval "$ac_try") 2>&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); }; }; then
15836 ac_cv_c_gcc_strength_bug
="no"
15838 echo "$as_me: program exited with status $ac_status" >&5
15839 echo "$as_me: failed program was:" >&5
15840 sed 's/^/| /' conftest.
$ac_ext >&5
15842 ( exit $ac_status )
15843 ac_cv_c_gcc_strength_bug
="yes"
15845 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15850 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15851 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15852 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15854 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
15858 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15859 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15860 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15861 echo $ECHO_N "(cached) $ECHO_C" >&6
15863 ac_wine_try_cflags_saved
=$CFLAGS
15864 CFLAGS
="$CFLAGS -fshort-wchar"
15865 cat >conftest.
$ac_ext <<_ACEOF
15868 cat confdefs.h
>>conftest.
$ac_ext
15869 cat >>conftest.
$ac_ext <<_ACEOF
15870 /* end confdefs.h. */
15880 rm -f conftest.
$ac_objext conftest
$ac_exeext
15881 if { (ac_try
="$ac_link"
15882 case "(($ac_try" in
15883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15884 *) ac_try_echo=$ac_try;;
15886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15887 (eval "$ac_link") 2>conftest.er1
15889 grep -v '^ *+' conftest.er1 >conftest.err
15891 cat conftest.err >&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } && {
15894 test -z "$ac_c_werror_flag" ||
15895 test ! -s conftest.err
15896 } && test -s conftest$ac_exeext &&
15897 $as_test_x conftest$ac_exeext; then
15898 ac_cv_cflags__fshort_wchar=yes
15900 echo "$as_me: failed program was:" >&5
15901 sed 's/^/| /' conftest.$ac_ext >&5
15903 ac_cv_cflags__fshort_wchar=no
15906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15907 conftest$ac_exeext conftest.$ac_ext
15908 CFLAGS=$ac_wine_try_cflags_saved
15910 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15911 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15912 if test $ac_cv_cflags__fshort_wchar = yes; then
15914 cat >>confdefs.h <<\_ACEOF
15915 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15920 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15921 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15922 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15923 echo $ECHO_N "(cached) $ECHO_C" >&6
15925 ac_wine_try_cflags_saved=$CFLAGS
15926 CFLAGS="$CFLAGS -fno-strict-aliasing"
15927 cat >conftest.$ac_ext <<_ACEOF
15930 cat confdefs.h >>conftest.$ac_ext
15931 cat >>conftest.$ac_ext <<_ACEOF
15932 /* end confdefs.h. */
15942 rm -f conftest.$ac_objext conftest$ac_exeext
15943 if { (ac_try="$ac_link"
15944 case "(($ac_try" in
15945 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15946 *) ac_try_echo
=$ac_try;;
15948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15949 (eval "$ac_link") 2>conftest.er1
15951 grep -v '^ *+' conftest.er1
>conftest.err
15953 cat conftest.err
>&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); } && {
15956 test -z "$ac_c_werror_flag" ||
15957 test ! -s conftest.err
15958 } && test -s conftest
$ac_exeext &&
15959 $as_test_x conftest
$ac_exeext; then
15960 ac_cv_cflags__fno_strict_aliasing
=yes
15962 echo "$as_me: failed program was:" >&5
15963 sed 's/^/| /' conftest.
$ac_ext >&5
15965 ac_cv_cflags__fno_strict_aliasing
=no
15968 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15969 conftest
$ac_exeext conftest.
$ac_ext
15970 CFLAGS
=$ac_wine_try_cflags_saved
15972 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15973 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15974 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15975 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
15978 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15979 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15980 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15981 echo $ECHO_N "(cached) $ECHO_C" >&6
15983 ac_wine_try_cflags_saved
=$CFLAGS
15984 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
15985 cat >conftest.
$ac_ext <<_ACEOF
15988 cat confdefs.h
>>conftest.
$ac_ext
15989 cat >>conftest.
$ac_ext <<_ACEOF
15990 /* end confdefs.h. */
16000 rm -f conftest.
$ac_objext conftest
$ac_exeext
16001 if { (ac_try
="$ac_link"
16002 case "(($ac_try" in
16003 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16004 *) ac_try_echo=$ac_try;;
16006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16007 (eval "$ac_link") 2>conftest.er1
16009 grep -v '^ *+' conftest.er1 >conftest.err
16011 cat conftest.err >&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); } && {
16014 test -z "$ac_c_werror_flag" ||
16015 test ! -s conftest.err
16016 } && test -s conftest$ac_exeext &&
16017 $as_test_x conftest$ac_exeext; then
16018 ac_cv_cflags__Wdeclaration_after_statement=yes
16020 echo "$as_me: failed program was:" >&5
16021 sed 's/^/| /' conftest.$ac_ext >&5
16023 ac_cv_cflags__Wdeclaration_after_statement=no
16026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16027 conftest$ac_exeext conftest.$ac_ext
16028 CFLAGS=$ac_wine_try_cflags_saved
16030 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16031 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16032 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16033 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16036 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16037 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16038 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16039 echo $ECHO_N "(cached) $ECHO_C" >&6
16041 ac_wine_try_cflags_saved=$CFLAGS
16042 CFLAGS="$CFLAGS -Wwrite-strings"
16043 cat >conftest.$ac_ext <<_ACEOF
16046 cat confdefs.h >>conftest.$ac_ext
16047 cat >>conftest.$ac_ext <<_ACEOF
16048 /* end confdefs.h. */
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_cflags__Wwrite_strings
=yes
16078 echo "$as_me: failed program was:" >&5
16079 sed 's/^/| /' conftest.
$ac_ext >&5
16081 ac_cv_cflags__Wwrite_strings
=no
16084 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16085 conftest
$ac_exeext conftest.
$ac_ext
16086 CFLAGS
=$ac_wine_try_cflags_saved
16088 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16089 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16090 if test $ac_cv_cflags__Wwrite_strings = yes; then
16091 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
16094 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16095 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16096 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16097 echo $ECHO_N "(cached) $ECHO_C" >&6
16099 ac_wine_try_cflags_saved
=$CFLAGS
16100 CFLAGS
="$CFLAGS -Wtype-limits"
16101 cat >conftest.
$ac_ext <<_ACEOF
16104 cat confdefs.h
>>conftest.
$ac_ext
16105 cat >>conftest.
$ac_ext <<_ACEOF
16106 /* end confdefs.h. */
16116 rm -f conftest.
$ac_objext conftest
$ac_exeext
16117 if { (ac_try
="$ac_link"
16118 case "(($ac_try" in
16119 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16120 *) ac_try_echo=$ac_try;;
16122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16123 (eval "$ac_link") 2>conftest.er1
16125 grep -v '^ *+' conftest.er1 >conftest.err
16127 cat conftest.err >&5
16128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129 (exit $ac_status); } && {
16130 test -z "$ac_c_werror_flag" ||
16131 test ! -s conftest.err
16132 } && test -s conftest$ac_exeext &&
16133 $as_test_x conftest$ac_exeext; then
16134 ac_cv_cflags__Wtype_limits=yes
16136 echo "$as_me: failed program was:" >&5
16137 sed 's/^/| /' conftest.$ac_ext >&5
16139 ac_cv_cflags__Wtype_limits=no
16142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16143 conftest$ac_exeext conftest.$ac_ext
16144 CFLAGS=$ac_wine_try_cflags_saved
16146 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16147 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16148 if test $ac_cv_cflags__Wtype_limits = yes; then
16149 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16153 saved_CFLAGS="$CFLAGS"
16154 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16155 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16156 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16157 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16158 echo $ECHO_N "(cached) $ECHO_C" >&6
16160 cat >conftest.$ac_ext <<_ACEOF
16163 cat confdefs.h >>conftest.$ac_ext
16164 cat >>conftest.$ac_ext <<_ACEOF
16165 /* end confdefs.h. */
16166 #include <string.h>
16175 rm -f conftest.$ac_objext
16176 if { (ac_try="$ac_compile"
16177 case "(($ac_try" in
16178 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16179 *) ac_try_echo
=$ac_try;;
16181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16182 (eval "$ac_compile") 2>conftest.er1
16184 grep -v '^ *+' conftest.er1
>conftest.err
16186 cat conftest.err
>&5
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); } && {
16189 test -z "$ac_c_werror_flag" ||
16190 test ! -s conftest.err
16191 } && test -s conftest.
$ac_objext; then
16192 ac_cv_c_string_h_warnings
=no
16194 echo "$as_me: failed program was:" >&5
16195 sed 's/^/| /' conftest.
$ac_ext >&5
16197 ac_cv_c_string_h_warnings
=yes
16200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16202 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16203 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16204 CFLAGS
="$saved_CFLAGS"
16205 if test "$ac_cv_c_string_h_warnings" = "no"
16207 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
16212 saved_CFLAGS
="$CFLAGS"
16213 CFLAGS
="$CFLAGS -Werror"
16214 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16215 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16216 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16217 echo $ECHO_N "(cached) $ECHO_C" >&6
16219 cat >conftest.
$ac_ext <<_ACEOF
16222 cat confdefs.h
>>conftest.
$ac_ext
16223 cat >>conftest.
$ac_ext <<_ACEOF
16224 /* end confdefs.h. */
16229 int iswlower(unsigned short);
16234 rm -f conftest.
$ac_objext
16235 if { (ac_try
="$ac_compile"
16236 case "(($ac_try" in
16237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16238 *) ac_try_echo=$ac_try;;
16240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16241 (eval "$ac_compile") 2>conftest.er1
16243 grep -v '^ *+' conftest.er1 >conftest.err
16245 cat conftest.err >&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); } && {
16248 test -z "$ac_c_werror_flag" ||
16249 test ! -s conftest.err
16250 } && test -s conftest.$ac_objext; then
16251 ac_cv_c_builtin_wchar_ctype=no
16253 echo "$as_me: failed program was:" >&5
16254 sed 's/^/| /' conftest.$ac_ext >&5
16256 ac_cv_c_builtin_wchar_ctype=yes
16259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16261 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16262 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16263 CFLAGS="$saved_CFLAGS"
16264 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16266 BUILTINFLAG="-fno-builtin"
16271 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16272 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16273 if test "${ac_cv_asm_func_def+set}" = set; then
16274 echo $ECHO_N "(cached) $ECHO_C" >&6
16276 cat >conftest.$ac_ext <<_ACEOF
16279 cat confdefs.h >>conftest.$ac_ext
16280 cat >>conftest.$ac_ext <<_ACEOF
16281 /* end confdefs.h. */
16286 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16291 rm -f conftest.$ac_objext conftest$ac_exeext
16292 if { (ac_try="$ac_link"
16293 case "(($ac_try" in
16294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16295 *) ac_try_echo
=$ac_try;;
16297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16298 (eval "$ac_link") 2>conftest.er1
16300 grep -v '^ *+' conftest.er1
>conftest.err
16302 cat conftest.err
>&5
16303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304 (exit $ac_status); } && {
16305 test -z "$ac_c_werror_flag" ||
16306 test ! -s conftest.err
16307 } && test -s conftest
$ac_exeext &&
16308 $as_test_x conftest
$ac_exeext; then
16309 ac_cv_asm_func_def
=".def"
16311 echo "$as_me: failed program was:" >&5
16312 sed 's/^/| /' conftest.
$ac_ext >&5
16314 cat >conftest.
$ac_ext <<_ACEOF
16317 cat confdefs.h
>>conftest.
$ac_ext
16318 cat >>conftest.
$ac_ext <<_ACEOF
16319 /* end confdefs.h. */
16324 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16329 rm -f conftest.
$ac_objext conftest
$ac_exeext
16330 if { (ac_try
="$ac_link"
16331 case "(($ac_try" in
16332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16333 *) ac_try_echo=$ac_try;;
16335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16336 (eval "$ac_link") 2>conftest.er1
16338 grep -v '^ *+' conftest.er1 >conftest.err
16340 cat conftest.err >&5
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 (exit $ac_status); } && {
16343 test -z "$ac_c_werror_flag" ||
16344 test ! -s conftest.err
16345 } && test -s conftest$ac_exeext &&
16346 $as_test_x conftest$ac_exeext; then
16347 ac_cv_asm_func_def=".type @function"
16349 echo "$as_me: failed program was:" >&5
16350 sed 's/^/| /' conftest.$ac_ext >&5
16352 cat >conftest.$ac_ext <<_ACEOF
16355 cat confdefs.h >>conftest.$ac_ext
16356 cat >>conftest.$ac_ext <<_ACEOF
16357 /* end confdefs.h. */
16362 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16367 rm -f conftest.$ac_objext conftest$ac_exeext
16368 if { (ac_try="$ac_link"
16369 case "(($ac_try" in
16370 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16371 *) ac_try_echo
=$ac_try;;
16373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16374 (eval "$ac_link") 2>conftest.er1
16376 grep -v '^ *+' conftest.er1
>conftest.err
16378 cat conftest.err
>&5
16379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16380 (exit $ac_status); } && {
16381 test -z "$ac_c_werror_flag" ||
16382 test ! -s conftest.err
16383 } && test -s conftest
$ac_exeext &&
16384 $as_test_x conftest
$ac_exeext; then
16385 ac_cv_asm_func_def
=".type 2"
16387 echo "$as_me: failed program was:" >&5
16388 sed 's/^/| /' conftest.
$ac_ext >&5
16390 ac_cv_asm_func_def
="unknown"
16393 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16394 conftest
$ac_exeext conftest.
$ac_ext
16397 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16398 conftest
$ac_exeext conftest.
$ac_ext
16401 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16402 conftest
$ac_exeext conftest.
$ac_ext
16404 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16405 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16409 case "$ac_cv_asm_func_def" in
16411 cat >>confdefs.h
<<\_ACEOF
16412 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16416 cat >>confdefs.h
<<\_ACEOF
16417 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16421 cat >>confdefs.h
<<\_ACEOF
16422 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16426 cat >>confdefs.h
<<\_ACEOF
16427 #define __ASM_FUNC(name) ""
16433 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16434 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16435 if test "${ac_cv_c_extern_prefix+set}" = set; then
16436 echo $ECHO_N "(cached) $ECHO_C" >&6
16438 cat >conftest.
$ac_ext <<_ACEOF
16441 cat confdefs.h
>>conftest.
$ac_ext
16442 cat >>conftest.
$ac_ext <<_ACEOF
16443 /* end confdefs.h. */
16444 extern int ac_test;
16448 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16453 rm -f conftest.
$ac_objext conftest
$ac_exeext
16454 if { (ac_try
="$ac_link"
16455 case "(($ac_try" in
16456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16457 *) ac_try_echo=$ac_try;;
16459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16460 (eval "$ac_link") 2>conftest.er1
16462 grep -v '^ *+' conftest.er1 >conftest.err
16464 cat conftest.err >&5
16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 (exit $ac_status); } && {
16467 test -z "$ac_c_werror_flag" ||
16468 test ! -s conftest.err
16469 } && test -s conftest$ac_exeext &&
16470 $as_test_x conftest$ac_exeext; then
16471 ac_cv_c_extern_prefix="yes"
16473 echo "$as_me: failed program was:" >&5
16474 sed 's/^/| /' conftest.$ac_ext >&5
16476 ac_cv_c_extern_prefix="no"
16479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16480 conftest$ac_exeext conftest.$ac_ext
16482 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16483 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16487 if test "$ac_cv_c_extern_prefix" = "yes"
16489 cat >>confdefs.h <<\_ACEOF
16490 #define __ASM_NAME(name) "_" name
16494 cat >>confdefs.h <<\_ACEOF
16495 #define __ASM_NAME(name) name
16505 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16509 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16511 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16515 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16523 SOCKETLIBS="-lws2_32"
16528 MAIN_BINARY="wine-pthread"
16532 linux* | k*bsd*-gnu)
16533 MAIN_BINARY="wine-glibc"
16535 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16538 MAIN_BINARY="wine-freebsd"
16540 EXTRA_BINARIES="wine-pthread"
16688 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16689 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16691 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16692 echo $ECHO_N "(cached) $ECHO_C" >&6
16694 cat >conftest.$ac_ext <<_ACEOF
16697 cat confdefs.h >>conftest.$ac_ext
16698 cat >>conftest.$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16702 #define $ac_func innocuous_$ac_func
16704 /* System header to define __stub macros and hopefully few prototypes,
16705 which can conflict with char $ac_func (); below.
16706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16707 <limits.h> exists even on freestanding compilers. */
16710 # include <limits.h>
16712 # include <assert.h>
16717 /* Override any GCC internal prototype to avoid an error.
16718 Use char because int might match the return type of a GCC
16719 builtin and then its argument prototype would still apply. */
16724 /* The GNU C library defines this for functions which it implements
16725 to always fail with ENOSYS. Some functions are actually named
16726 something starting with __ and the normal name is an alias. */
16727 #if defined __stub_$ac_func || defined __stub___$ac_func
16734 return $ac_func ();
16739 rm -f conftest.$ac_objext conftest$ac_exeext
16740 if { (ac_try="$ac_link"
16741 case "(($ac_try" in
16742 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16743 *) ac_try_echo
=$ac_try;;
16745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16746 (eval "$ac_link") 2>conftest.er1
16748 grep -v '^ *+' conftest.er1
>conftest.err
16750 cat conftest.err
>&5
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); } && {
16753 test -z "$ac_c_werror_flag" ||
16754 test ! -s conftest.err
16755 } && test -s conftest
$ac_exeext &&
16756 $as_test_x conftest
$ac_exeext; then
16757 eval "$as_ac_var=yes"
16759 echo "$as_me: failed program was:" >&5
16760 sed 's/^/| /' conftest.
$ac_ext >&5
16762 eval "$as_ac_var=no"
16765 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16766 conftest
$ac_exeext conftest.
$ac_ext
16768 ac_res
=`eval echo '${'$as_ac_var'}'`
16769 { echo "$as_me:$LINENO: result: $ac_res" >&5
16770 echo "${ECHO_T}$ac_res" >&6; }
16771 if test `eval echo '${'$as_ac_var'}'` = yes; then
16772 cat >>confdefs.h
<<_ACEOF
16773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16780 if test "$ac_cv_func_dlopen" = no
16782 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16783 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16784 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16785 echo $ECHO_N "(cached) $ECHO_C" >&6
16787 ac_check_lib_save_LIBS
=$LIBS
16789 cat >conftest.
$ac_ext <<_ACEOF
16792 cat confdefs.h
>>conftest.
$ac_ext
16793 cat >>conftest.
$ac_ext <<_ACEOF
16794 /* end confdefs.h. */
16796 /* Override any GCC internal prototype to avoid an error.
16797 Use char because int might match the return type of a GCC
16798 builtin and then its argument prototype would still apply. */
16811 rm -f conftest.
$ac_objext conftest
$ac_exeext
16812 if { (ac_try
="$ac_link"
16813 case "(($ac_try" in
16814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16815 *) ac_try_echo=$ac_try;;
16817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16818 (eval "$ac_link") 2>conftest.er1
16820 grep -v '^ *+' conftest.er1 >conftest.err
16822 cat conftest.err >&5
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); } && {
16825 test -z "$ac_c_werror_flag" ||
16826 test ! -s conftest.err
16827 } && test -s conftest$ac_exeext &&
16828 $as_test_x conftest$ac_exeext; then
16829 ac_cv_lib_dl_dlopen=yes
16831 echo "$as_me: failed program was:" >&5
16832 sed 's/^/| /' conftest.$ac_ext >&5
16834 ac_cv_lib_dl_dlopen=no
16837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16838 conftest$ac_exeext conftest.$ac_ext
16839 LIBS=$ac_check_lib_save_LIBS
16841 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16842 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16843 if test $ac_cv_lib_dl_dlopen = yes; then
16844 cat >>confdefs.h <<\_ACEOF
16845 #define HAVE_DLOPEN 1
16852 ac_wine_check_funcs_save_LIBS="$LIBS"
16853 LIBS="$LIBS $LIBDL"
16855 for ac_func in dladdr
16857 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16858 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16860 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16861 echo $ECHO_N "(cached) $ECHO_C" >&6
16863 cat >conftest.$ac_ext <<_ACEOF
16866 cat confdefs.h >>conftest.$ac_ext
16867 cat >>conftest.$ac_ext <<_ACEOF
16868 /* end confdefs.h. */
16869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16871 #define $ac_func innocuous_$ac_func
16873 /* System header to define __stub macros and hopefully few prototypes,
16874 which can conflict with char $ac_func (); below.
16875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16876 <limits.h> exists even on freestanding compilers. */
16879 # include <limits.h>
16881 # include <assert.h>
16886 /* Override any GCC internal prototype to avoid an error.
16887 Use char because int might match the return type of a GCC
16888 builtin and then its argument prototype would still apply. */
16893 /* The GNU C library defines this for functions which it implements
16894 to always fail with ENOSYS. Some functions are actually named
16895 something starting with __ and the normal name is an alias. */
16896 #if defined __stub_$ac_func || defined __stub___$ac_func
16903 return $ac_func ();
16908 rm -f conftest.$ac_objext conftest$ac_exeext
16909 if { (ac_try="$ac_link"
16910 case "(($ac_try" in
16911 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16912 *) ac_try_echo
=$ac_try;;
16914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16915 (eval "$ac_link") 2>conftest.er1
16917 grep -v '^ *+' conftest.er1
>conftest.err
16919 cat conftest.err
>&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); } && {
16922 test -z "$ac_c_werror_flag" ||
16923 test ! -s conftest.err
16924 } && test -s conftest
$ac_exeext &&
16925 $as_test_x conftest
$ac_exeext; then
16926 eval "$as_ac_var=yes"
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.
$ac_ext >&5
16931 eval "$as_ac_var=no"
16934 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16935 conftest
$ac_exeext conftest.
$ac_ext
16937 ac_res
=`eval echo '${'$as_ac_var'}'`
16938 { echo "$as_me:$LINENO: result: $ac_res" >&5
16939 echo "${ECHO_T}$ac_res" >&6; }
16940 if test `eval echo '${'$as_ac_var'}'` = yes; then
16941 cat >>confdefs.h
<<_ACEOF
16942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16948 LIBS
="$ac_wine_check_funcs_save_LIBS"
16950 if test "$ac_cv_func_poll" = no
16952 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16953 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16954 if test "${ac_cv_lib_poll_poll+set}" = set; then
16955 echo $ECHO_N "(cached) $ECHO_C" >&6
16957 ac_check_lib_save_LIBS
=$LIBS
16958 LIBS
="-lpoll $LIBS"
16959 cat >conftest.
$ac_ext <<_ACEOF
16962 cat confdefs.h
>>conftest.
$ac_ext
16963 cat >>conftest.
$ac_ext <<_ACEOF
16964 /* end confdefs.h. */
16966 /* Override any GCC internal prototype to avoid an error.
16967 Use char because int might match the return type of a GCC
16968 builtin and then its argument prototype would still apply. */
16981 rm -f conftest.
$ac_objext conftest
$ac_exeext
16982 if { (ac_try
="$ac_link"
16983 case "(($ac_try" in
16984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16985 *) ac_try_echo=$ac_try;;
16987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16988 (eval "$ac_link") 2>conftest.er1
16990 grep -v '^ *+' conftest.er1 >conftest.err
16992 cat conftest.err >&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); } && {
16995 test -z "$ac_c_werror_flag" ||
16996 test ! -s conftest.err
16997 } && test -s conftest$ac_exeext &&
16998 $as_test_x conftest$ac_exeext; then
16999 ac_cv_lib_poll_poll=yes
17001 echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.$ac_ext >&5
17004 ac_cv_lib_poll_poll=no
17007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17008 conftest$ac_exeext conftest.$ac_ext
17009 LIBS=$ac_check_lib_save_LIBS
17011 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17012 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17013 if test $ac_cv_lib_poll_poll = yes; then
17014 cat >>confdefs.h <<\_ACEOF
17015 #define HAVE_POLL 1
17023 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17024 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17025 if test "${ac_cv_search_gethostbyname+set}" = set; then
17026 echo $ECHO_N "(cached) $ECHO_C" >&6
17028 ac_func_search_save_LIBS=$LIBS
17029 cat >conftest.$ac_ext <<_ACEOF
17032 cat confdefs.h >>conftest.$ac_ext
17033 cat >>conftest.$ac_ext <<_ACEOF
17034 /* end confdefs.h. */
17036 /* Override any GCC internal prototype to avoid an error.
17037 Use char because int might match the return type of a GCC
17038 builtin and then its argument prototype would still apply. */
17042 char gethostbyname ();
17046 return gethostbyname ();
17051 for ac_lib in '' nsl; do
17052 if test -z "$ac_lib"; then
17053 ac_res="none required"
17056 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17058 rm -f conftest.$ac_objext conftest$ac_exeext
17059 if { (ac_try="$ac_link"
17060 case "(($ac_try" in
17061 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17062 *) ac_try_echo
=$ac_try;;
17064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17065 (eval "$ac_link") 2>conftest.er1
17067 grep -v '^ *+' conftest.er1
>conftest.err
17069 cat conftest.err
>&5
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); } && {
17072 test -z "$ac_c_werror_flag" ||
17073 test ! -s conftest.err
17074 } && test -s conftest
$ac_exeext &&
17075 $as_test_x conftest
$ac_exeext; then
17076 ac_cv_search_gethostbyname
=$ac_res
17078 echo "$as_me: failed program was:" >&5
17079 sed 's/^/| /' conftest.
$ac_ext >&5
17084 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17086 if test "${ac_cv_search_gethostbyname+set}" = set; then
17090 if test "${ac_cv_search_gethostbyname+set}" = set; then
17093 ac_cv_search_gethostbyname
=no
17095 rm conftest.
$ac_ext
17096 LIBS
=$ac_func_search_save_LIBS
17098 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17099 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17100 ac_res
=$ac_cv_search_gethostbyname
17101 if test "$ac_res" != no
; then
17102 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17107 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17108 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17109 if test "${ac_cv_search_connect+set}" = set; then
17110 echo $ECHO_N "(cached) $ECHO_C" >&6
17112 ac_func_search_save_LIBS
=$LIBS
17113 cat >conftest.
$ac_ext <<_ACEOF
17116 cat confdefs.h
>>conftest.
$ac_ext
17117 cat >>conftest.
$ac_ext <<_ACEOF
17118 /* end confdefs.h. */
17120 /* Override any GCC internal prototype to avoid an error.
17121 Use char because int might match the return type of a GCC
17122 builtin and then its argument prototype would still apply. */
17135 for ac_lib
in '' socket
; do
17136 if test -z "$ac_lib"; then
17137 ac_res
="none required"
17140 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17142 rm -f conftest.
$ac_objext conftest
$ac_exeext
17143 if { (ac_try
="$ac_link"
17144 case "(($ac_try" in
17145 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17146 *) ac_try_echo=$ac_try;;
17148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17149 (eval "$ac_link") 2>conftest.er1
17151 grep -v '^ *+' conftest.er1 >conftest.err
17153 cat conftest.err >&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } && {
17156 test -z "$ac_c_werror_flag" ||
17157 test ! -s conftest.err
17158 } && test -s conftest$ac_exeext &&
17159 $as_test_x conftest$ac_exeext; then
17160 ac_cv_search_connect=$ac_res
17162 echo "$as_me: failed program was:" >&5
17163 sed 's/^/| /' conftest.$ac_ext >&5
17168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17170 if test "${ac_cv_search_connect+set}" = set; then
17174 if test "${ac_cv_search_connect+set}" = set; then
17177 ac_cv_search_connect=no
17179 rm conftest.$ac_ext
17180 LIBS=$ac_func_search_save_LIBS
17182 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17183 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17184 ac_res=$ac_cv_search_connect
17185 if test "$ac_res" != no; then
17186 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17191 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17192 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17193 if test "${ac_cv_search_inet_aton+set}" = set; then
17194 echo $ECHO_N "(cached) $ECHO_C" >&6
17196 ac_func_search_save_LIBS=$LIBS
17197 cat >conftest.$ac_ext <<_ACEOF
17200 cat confdefs.h >>conftest.$ac_ext
17201 cat >>conftest.$ac_ext <<_ACEOF
17202 /* end confdefs.h. */
17204 /* Override any GCC internal prototype to avoid an error.
17205 Use char because int might match the return type of a GCC
17206 builtin and then its argument prototype would still apply. */
17214 return inet_aton ();
17219 for ac_lib in '' resolv; do
17220 if test -z "$ac_lib"; then
17221 ac_res="none required"
17224 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17226 rm -f conftest.$ac_objext conftest$ac_exeext
17227 if { (ac_try="$ac_link"
17228 case "(($ac_try" in
17229 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17230 *) ac_try_echo
=$ac_try;;
17232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17233 (eval "$ac_link") 2>conftest.er1
17235 grep -v '^ *+' conftest.er1
>conftest.err
17237 cat conftest.err
>&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } && {
17240 test -z "$ac_c_werror_flag" ||
17241 test ! -s conftest.err
17242 } && test -s conftest
$ac_exeext &&
17243 $as_test_x conftest
$ac_exeext; then
17244 ac_cv_search_inet_aton
=$ac_res
17246 echo "$as_me: failed program was:" >&5
17247 sed 's/^/| /' conftest.
$ac_ext >&5
17252 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17254 if test "${ac_cv_search_inet_aton+set}" = set; then
17258 if test "${ac_cv_search_inet_aton+set}" = set; then
17261 ac_cv_search_inet_aton
=no
17263 rm conftest.
$ac_ext
17264 LIBS
=$ac_func_search_save_LIBS
17266 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17267 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17268 ac_res
=$ac_cv_search_inet_aton
17269 if test "$ac_res" != no
; then
17270 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17294 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17295 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17297 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17298 echo $ECHO_N "(cached) $ECHO_C" >&6
17300 cat >conftest.
$ac_ext <<_ACEOF
17303 cat confdefs.h
>>conftest.
$ac_ext
17304 cat >>conftest.
$ac_ext <<_ACEOF
17305 /* end confdefs.h. */
17306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17308 #define $ac_func innocuous_$ac_func
17310 /* System header to define __stub macros and hopefully few prototypes,
17311 which can conflict with char $ac_func (); below.
17312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17313 <limits.h> exists even on freestanding compilers. */
17316 # include <limits.h>
17318 # include <assert.h>
17323 /* Override any GCC internal prototype to avoid an error.
17324 Use char because int might match the return type of a GCC
17325 builtin and then its argument prototype would still apply. */
17330 /* The GNU C library defines this for functions which it implements
17331 to always fail with ENOSYS. Some functions are actually named
17332 something starting with __ and the normal name is an alias. */
17333 #if defined __stub_$ac_func || defined __stub___$ac_func
17340 return $ac_func ();
17345 rm -f conftest.
$ac_objext conftest
$ac_exeext
17346 if { (ac_try
="$ac_link"
17347 case "(($ac_try" in
17348 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17349 *) ac_try_echo=$ac_try;;
17351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17352 (eval "$ac_link") 2>conftest.er1
17354 grep -v '^ *+' conftest.er1 >conftest.err
17356 cat conftest.err >&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); } && {
17359 test -z "$ac_c_werror_flag" ||
17360 test ! -s conftest.err
17361 } && test -s conftest$ac_exeext &&
17362 $as_test_x conftest$ac_exeext; then
17363 eval "$as_ac_var=yes"
17365 echo "$as_me: failed program was:" >&5
17366 sed 's/^/| /' conftest.$ac_ext >&5
17368 eval "$as_ac_var=no"
17371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17372 conftest$ac_exeext conftest.$ac_ext
17374 ac_res=`eval echo '${'$as_ac_var'}'`
17375 { echo "$as_me:$LINENO: result: $ac_res" >&5
17376 echo "${ECHO_T}$ac_res" >&6; }
17377 if test `eval echo '${'$as_ac_var'}'` = yes; then
17378 cat >>confdefs.h <<_ACEOF
17379 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
17387 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17388 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17389 if test "${ac_cv_c_const+set}" = set; then
17390 echo $ECHO_N "(cached) $ECHO_C" >&6
17392 cat >conftest.$ac_ext <<_ACEOF
17395 cat confdefs.h >>conftest.$ac_ext
17396 cat >>conftest.$ac_ext <<_ACEOF
17397 /* end confdefs.h. */
17402 /* FIXME: Include the comments suggested by Paul. */
17403 #ifndef __cplusplus
17404 /* Ultrix mips cc rejects this. */
17405 typedef int charset[2];
17407 /* SunOS 4.1.1 cc rejects this. */
17408 char const *const *pcpcc;
17410 /* NEC SVR4.0.2 mips cc rejects this. */
17411 struct point {int x, y;};
17412 static struct point const zero = {0,0};
17413 /* AIX XL C 1.02.0.0 rejects this.
17414 It does not let you subtract one const X* pointer from another in
17415 an arm of an if-expression whose if-part is not a constant
17417 const char *g = "string";
17418 pcpcc = &g + (g ? g-g : 0);
17419 /* HPUX 7.0 cc rejects these. */
17421 ppc = (char**) pcpcc;
17422 pcpcc = (char const *const *) ppc;
17423 { /* SCO 3.2v4 cc rejects this. */
17425 char const *s = 0 ? (char *) 0 : (char const *) 0;
17430 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17431 int x[] = {25, 17};
17432 const int *foo = &x[0];
17435 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17436 typedef const int *iptr;
17440 { /* AIX XL C 1.02.0.0 rejects this saying
17441 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17442 struct s { int j; const int *ap[3]; };
17443 struct s *b; b->j = 5;
17445 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17446 const int foo = 10;
17447 if (!foo) return 0;
17449 return !cs[0] && !zero.x;
17456 rm -f conftest.$ac_objext
17457 if { (ac_try="$ac_compile"
17458 case "(($ac_try" in
17459 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17460 *) ac_try_echo
=$ac_try;;
17462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17463 (eval "$ac_compile") 2>conftest.er1
17465 grep -v '^ *+' conftest.er1
>conftest.err
17467 cat conftest.err
>&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } && {
17470 test -z "$ac_c_werror_flag" ||
17471 test ! -s conftest.err
17472 } && test -s conftest.
$ac_objext; then
17475 echo "$as_me: failed program was:" >&5
17476 sed 's/^/| /' conftest.
$ac_ext >&5
17481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17483 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17484 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17485 if test $ac_cv_c_const = no
; then
17487 cat >>confdefs.h
<<\_ACEOF
17493 { echo "$as_me:$LINENO: checking for inline" >&5
17494 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17495 if test "${ac_cv_c_inline+set}" = set; then
17496 echo $ECHO_N "(cached) $ECHO_C" >&6
17499 for ac_kw
in inline __inline__ __inline
; do
17500 cat >conftest.
$ac_ext <<_ACEOF
17503 cat confdefs.h
>>conftest.
$ac_ext
17504 cat >>conftest.
$ac_ext <<_ACEOF
17505 /* end confdefs.h. */
17506 #ifndef __cplusplus
17508 static $ac_kw foo_t static_foo () {return 0; }
17509 $ac_kw foo_t foo () {return 0; }
17513 rm -f conftest.
$ac_objext
17514 if { (ac_try
="$ac_compile"
17515 case "(($ac_try" in
17516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17517 *) ac_try_echo=$ac_try;;
17519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17520 (eval "$ac_compile") 2>conftest.er1
17522 grep -v '^ *+' conftest.er1 >conftest.err
17524 cat conftest.err >&5
17525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17526 (exit $ac_status); } && {
17527 test -z "$ac_c_werror_flag" ||
17528 test ! -s conftest.err
17529 } && test -s conftest.$ac_objext; then
17530 ac_cv_c_inline=$ac_kw
17532 echo "$as_me: failed program was:" >&5
17533 sed 's/^/| /' conftest.$ac_ext >&5
17538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17539 test "$ac_cv_c_inline" != no && break
17543 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17544 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17547 case $ac_cv_c_inline in
17550 case $ac_cv_c_inline in
17552 *) ac_val=$ac_cv_c_inline;;
17554 cat >>confdefs.h <<_ACEOF
17555 #ifndef __cplusplus
17556 #define inline $ac_val
17562 { echo "$as_me:$LINENO: checking for mode_t" >&5
17563 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17564 if test "${ac_cv_type_mode_t+set}" = set; then
17565 echo $ECHO_N "(cached) $ECHO_C" >&6
17567 cat >conftest.$ac_ext <<_ACEOF
17570 cat confdefs.h >>conftest.$ac_ext
17571 cat >>conftest.$ac_ext <<_ACEOF
17572 /* end confdefs.h. */
17573 $ac_includes_default
17574 typedef mode_t ac__type_new_;
17578 if ((ac__type_new_ *) 0)
17580 if (sizeof (ac__type_new_))
17586 rm -f conftest.$ac_objext
17587 if { (ac_try="$ac_compile"
17588 case "(($ac_try" in
17589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17590 *) ac_try_echo
=$ac_try;;
17592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17593 (eval "$ac_compile") 2>conftest.er1
17595 grep -v '^ *+' conftest.er1
>conftest.err
17597 cat conftest.err
>&5
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); } && {
17600 test -z "$ac_c_werror_flag" ||
17601 test ! -s conftest.err
17602 } && test -s conftest.
$ac_objext; then
17603 ac_cv_type_mode_t
=yes
17605 echo "$as_me: failed program was:" >&5
17606 sed 's/^/| /' conftest.
$ac_ext >&5
17608 ac_cv_type_mode_t
=no
17611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17613 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17614 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17615 if test $ac_cv_type_mode_t = yes; then
17617 cat >>confdefs.h
<<_ACEOF
17618 #define HAVE_MODE_T 1
17623 { echo "$as_me:$LINENO: checking for off_t" >&5
17624 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17625 if test "${ac_cv_type_off_t+set}" = set; then
17626 echo $ECHO_N "(cached) $ECHO_C" >&6
17628 cat >conftest.
$ac_ext <<_ACEOF
17631 cat confdefs.h
>>conftest.
$ac_ext
17632 cat >>conftest.
$ac_ext <<_ACEOF
17633 /* end confdefs.h. */
17634 $ac_includes_default
17635 typedef off_t ac__type_new_;
17639 if ((ac__type_new_ *) 0)
17641 if (sizeof (ac__type_new_))
17647 rm -f conftest.
$ac_objext
17648 if { (ac_try
="$ac_compile"
17649 case "(($ac_try" in
17650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17651 *) ac_try_echo=$ac_try;;
17653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17654 (eval "$ac_compile") 2>conftest.er1
17656 grep -v '^ *+' conftest.er1 >conftest.err
17658 cat conftest.err >&5
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); } && {
17661 test -z "$ac_c_werror_flag" ||
17662 test ! -s conftest.err
17663 } && test -s conftest.$ac_objext; then
17664 ac_cv_type_off_t=yes
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.$ac_ext >&5
17669 ac_cv_type_off_t=no
17672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17674 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17675 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17676 if test $ac_cv_type_off_t = yes; then
17678 cat >>confdefs.h <<_ACEOF
17679 #define HAVE_OFF_T 1
17684 { echo "$as_me:$LINENO: checking for pid_t" >&5
17685 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17686 if test "${ac_cv_type_pid_t+set}" = set; then
17687 echo $ECHO_N "(cached) $ECHO_C" >&6
17689 cat >conftest.$ac_ext <<_ACEOF
17692 cat confdefs.h >>conftest.$ac_ext
17693 cat >>conftest.$ac_ext <<_ACEOF
17694 /* end confdefs.h. */
17695 $ac_includes_default
17696 typedef pid_t ac__type_new_;
17700 if ((ac__type_new_ *) 0)
17702 if (sizeof (ac__type_new_))
17708 rm -f conftest.$ac_objext
17709 if { (ac_try="$ac_compile"
17710 case "(($ac_try" in
17711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17712 *) ac_try_echo
=$ac_try;;
17714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17715 (eval "$ac_compile") 2>conftest.er1
17717 grep -v '^ *+' conftest.er1
>conftest.err
17719 cat conftest.err
>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } && {
17722 test -z "$ac_c_werror_flag" ||
17723 test ! -s conftest.err
17724 } && test -s conftest.
$ac_objext; then
17725 ac_cv_type_pid_t
=yes
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.
$ac_ext >&5
17730 ac_cv_type_pid_t
=no
17733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17735 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17736 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17737 if test $ac_cv_type_pid_t = yes; then
17739 cat >>confdefs.h
<<_ACEOF
17740 #define HAVE_PID_T 1
17745 { echo "$as_me:$LINENO: checking for size_t" >&5
17746 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17747 if test "${ac_cv_type_size_t+set}" = set; then
17748 echo $ECHO_N "(cached) $ECHO_C" >&6
17750 cat >conftest.
$ac_ext <<_ACEOF
17753 cat confdefs.h
>>conftest.
$ac_ext
17754 cat >>conftest.
$ac_ext <<_ACEOF
17755 /* end confdefs.h. */
17756 $ac_includes_default
17757 typedef size_t ac__type_new_;
17761 if ((ac__type_new_ *) 0)
17763 if (sizeof (ac__type_new_))
17769 rm -f conftest.
$ac_objext
17770 if { (ac_try
="$ac_compile"
17771 case "(($ac_try" in
17772 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17773 *) ac_try_echo=$ac_try;;
17775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17776 (eval "$ac_compile") 2>conftest.er1
17778 grep -v '^ *+' conftest.er1 >conftest.err
17780 cat conftest.err >&5
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); } && {
17783 test -z "$ac_c_werror_flag" ||
17784 test ! -s conftest.err
17785 } && test -s conftest.$ac_objext; then
17786 ac_cv_type_size_t=yes
17788 echo "$as_me: failed program was:" >&5
17789 sed 's/^/| /' conftest.$ac_ext >&5
17791 ac_cv_type_size_t=no
17794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17796 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17797 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17798 if test $ac_cv_type_size_t = yes; then
17800 cat >>confdefs.h <<_ACEOF
17801 #define HAVE_SIZE_T 1
17806 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17807 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17808 if test "${ac_cv_type_ssize_t+set}" = set; then
17809 echo $ECHO_N "(cached) $ECHO_C" >&6
17811 cat >conftest.$ac_ext <<_ACEOF
17814 cat confdefs.h >>conftest.$ac_ext
17815 cat >>conftest.$ac_ext <<_ACEOF
17816 /* end confdefs.h. */
17817 $ac_includes_default
17818 typedef ssize_t ac__type_new_;
17822 if ((ac__type_new_ *) 0)
17824 if (sizeof (ac__type_new_))
17830 rm -f conftest.$ac_objext
17831 if { (ac_try="$ac_compile"
17832 case "(($ac_try" in
17833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17834 *) ac_try_echo
=$ac_try;;
17836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17837 (eval "$ac_compile") 2>conftest.er1
17839 grep -v '^ *+' conftest.er1
>conftest.err
17841 cat conftest.err
>&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); } && {
17844 test -z "$ac_c_werror_flag" ||
17845 test ! -s conftest.err
17846 } && test -s conftest.
$ac_objext; then
17847 ac_cv_type_ssize_t
=yes
17849 echo "$as_me: failed program was:" >&5
17850 sed 's/^/| /' conftest.
$ac_ext >&5
17852 ac_cv_type_ssize_t
=no
17855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17857 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17858 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17859 if test $ac_cv_type_ssize_t = yes; then
17861 cat >>confdefs.h
<<_ACEOF
17862 #define HAVE_SSIZE_T 1
17867 { echo "$as_me:$LINENO: checking for long long" >&5
17868 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17869 if test "${ac_cv_type_long_long+set}" = set; then
17870 echo $ECHO_N "(cached) $ECHO_C" >&6
17872 cat >conftest.
$ac_ext <<_ACEOF
17875 cat confdefs.h
>>conftest.
$ac_ext
17876 cat >>conftest.
$ac_ext <<_ACEOF
17877 /* end confdefs.h. */
17878 $ac_includes_default
17879 typedef long long ac__type_new_;
17883 if ((ac__type_new_ *) 0)
17885 if (sizeof (ac__type_new_))
17891 rm -f conftest.
$ac_objext
17892 if { (ac_try
="$ac_compile"
17893 case "(($ac_try" in
17894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17895 *) ac_try_echo=$ac_try;;
17897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17898 (eval "$ac_compile") 2>conftest.er1
17900 grep -v '^ *+' conftest.er1 >conftest.err
17902 cat conftest.err >&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); } && {
17905 test -z "$ac_c_werror_flag" ||
17906 test ! -s conftest.err
17907 } && test -s conftest.$ac_objext; then
17908 ac_cv_type_long_long=yes
17910 echo "$as_me: failed program was:" >&5
17911 sed 's/^/| /' conftest.$ac_ext >&5
17913 ac_cv_type_long_long=no
17916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17918 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17919 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17920 if test $ac_cv_type_long_long = yes; then
17922 cat >>confdefs.h <<_ACEOF
17923 #define HAVE_LONG_LONG 1
17928 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17929 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17930 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17931 echo $ECHO_N "(cached) $ECHO_C" >&6
17933 cat >conftest.$ac_ext <<_ACEOF
17936 cat confdefs.h >>conftest.$ac_ext
17937 cat >>conftest.$ac_ext <<_ACEOF
17938 /* end confdefs.h. */
17939 $ac_includes_default
17940 typedef fsblkcnt_t ac__type_new_;
17944 if ((ac__type_new_ *) 0)
17946 if (sizeof (ac__type_new_))
17952 rm -f conftest.$ac_objext
17953 if { (ac_try="$ac_compile"
17954 case "(($ac_try" in
17955 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17956 *) ac_try_echo
=$ac_try;;
17958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17959 (eval "$ac_compile") 2>conftest.er1
17961 grep -v '^ *+' conftest.er1
>conftest.err
17963 cat conftest.err
>&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); } && {
17966 test -z "$ac_c_werror_flag" ||
17967 test ! -s conftest.err
17968 } && test -s conftest.
$ac_objext; then
17969 ac_cv_type_fsblkcnt_t
=yes
17971 echo "$as_me: failed program was:" >&5
17972 sed 's/^/| /' conftest.
$ac_ext >&5
17974 ac_cv_type_fsblkcnt_t
=no
17977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17979 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17980 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17981 if test $ac_cv_type_fsblkcnt_t = yes; then
17983 cat >>confdefs.h
<<_ACEOF
17984 #define HAVE_FSBLKCNT_T 1
17989 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17990 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17991 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17992 echo $ECHO_N "(cached) $ECHO_C" >&6
17994 cat >conftest.
$ac_ext <<_ACEOF
17997 cat confdefs.h
>>conftest.
$ac_ext
17998 cat >>conftest.
$ac_ext <<_ACEOF
17999 /* end confdefs.h. */
18000 $ac_includes_default
18001 typedef fsfilcnt_t ac__type_new_;
18005 if ((ac__type_new_ *) 0)
18007 if (sizeof (ac__type_new_))
18013 rm -f conftest.
$ac_objext
18014 if { (ac_try
="$ac_compile"
18015 case "(($ac_try" in
18016 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18017 *) ac_try_echo=$ac_try;;
18019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18020 (eval "$ac_compile") 2>conftest.er1
18022 grep -v '^ *+' conftest.er1 >conftest.err
18024 cat conftest.err >&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } && {
18027 test -z "$ac_c_werror_flag" ||
18028 test ! -s conftest.err
18029 } && test -s conftest.$ac_objext; then
18030 ac_cv_type_fsfilcnt_t=yes
18032 echo "$as_me: failed program was:" >&5
18033 sed 's/^/| /' conftest.$ac_ext >&5
18035 ac_cv_type_fsfilcnt_t=no
18038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18040 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18041 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18042 if test $ac_cv_type_fsfilcnt_t = yes; then
18044 cat >>confdefs.h <<_ACEOF
18045 #define HAVE_FSFILCNT_T 1
18051 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18052 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18053 if test "${ac_cv_type_sigset_t+set}" = set; then
18054 echo $ECHO_N "(cached) $ECHO_C" >&6
18056 cat >conftest.$ac_ext <<_ACEOF
18059 cat confdefs.h >>conftest.$ac_ext
18060 cat >>conftest.$ac_ext <<_ACEOF
18061 /* end confdefs.h. */
18062 #include <signal.h>
18064 typedef sigset_t ac__type_new_;
18068 if ((ac__type_new_ *) 0)
18070 if (sizeof (ac__type_new_))
18076 rm -f conftest.$ac_objext
18077 if { (ac_try="$ac_compile"
18078 case "(($ac_try" in
18079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18080 *) ac_try_echo
=$ac_try;;
18082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18083 (eval "$ac_compile") 2>conftest.er1
18085 grep -v '^ *+' conftest.er1
>conftest.err
18087 cat conftest.err
>&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); } && {
18090 test -z "$ac_c_werror_flag" ||
18091 test ! -s conftest.err
18092 } && test -s conftest.
$ac_objext; then
18093 ac_cv_type_sigset_t
=yes
18095 echo "$as_me: failed program was:" >&5
18096 sed 's/^/| /' conftest.
$ac_ext >&5
18098 ac_cv_type_sigset_t
=no
18101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18103 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18104 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18105 if test $ac_cv_type_sigset_t = yes; then
18107 cat >>confdefs.h
<<_ACEOF
18108 #define HAVE_SIGSET_T 1
18114 { echo "$as_me:$LINENO: checking for request_sense" >&5
18115 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18116 if test "${ac_cv_type_request_sense+set}" = set; then
18117 echo $ECHO_N "(cached) $ECHO_C" >&6
18119 cat >conftest.
$ac_ext <<_ACEOF
18122 cat confdefs.h
>>conftest.
$ac_ext
18123 cat >>conftest.
$ac_ext <<_ACEOF
18124 /* end confdefs.h. */
18125 #include <linux/cdrom.h>
18127 typedef request_sense ac__type_new_;
18131 if ((ac__type_new_ *) 0)
18133 if (sizeof (ac__type_new_))
18139 rm -f conftest.
$ac_objext
18140 if { (ac_try
="$ac_compile"
18141 case "(($ac_try" in
18142 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18143 *) ac_try_echo=$ac_try;;
18145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18146 (eval "$ac_compile") 2>conftest.er1
18148 grep -v '^ *+' conftest.er1 >conftest.err
18150 cat conftest.err >&5
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); } && {
18153 test -z "$ac_c_werror_flag" ||
18154 test ! -s conftest.err
18155 } && test -s conftest.$ac_objext; then
18156 ac_cv_type_request_sense=yes
18158 echo "$as_me: failed program was:" >&5
18159 sed 's/^/| /' conftest.$ac_ext >&5
18161 ac_cv_type_request_sense=no
18164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18166 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18167 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18168 if test $ac_cv_type_request_sense = yes; then
18170 cat >>confdefs.h <<_ACEOF
18171 #define HAVE_REQUEST_SENSE 1
18178 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18179 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18180 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18181 echo $ECHO_N "(cached) $ECHO_C" >&6
18183 cat >conftest.$ac_ext <<_ACEOF
18186 cat confdefs.h >>conftest.$ac_ext
18187 cat >>conftest.$ac_ext <<_ACEOF
18188 /* end confdefs.h. */
18189 #ifdef HAVE_LINUX_INPUT_H
18190 #include <linux/input.h>
18196 static struct ff_effect ac_aggr;
18197 if (ac_aggr.direction)
18203 rm -f conftest.$ac_objext
18204 if { (ac_try="$ac_compile"
18205 case "(($ac_try" in
18206 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18207 *) ac_try_echo
=$ac_try;;
18209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18210 (eval "$ac_compile") 2>conftest.er1
18212 grep -v '^ *+' conftest.er1
>conftest.err
18214 cat conftest.err
>&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); } && {
18217 test -z "$ac_c_werror_flag" ||
18218 test ! -s conftest.err
18219 } && test -s conftest.
$ac_objext; then
18220 ac_cv_member_struct_ff_effect_direction
=yes
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.
$ac_ext >&5
18225 cat >conftest.
$ac_ext <<_ACEOF
18228 cat confdefs.h
>>conftest.
$ac_ext
18229 cat >>conftest.
$ac_ext <<_ACEOF
18230 /* end confdefs.h. */
18231 #ifdef HAVE_LINUX_INPUT_H
18232 #include <linux/input.h>
18238 static struct ff_effect ac_aggr;
18239 if (sizeof ac_aggr.direction)
18245 rm -f conftest.
$ac_objext
18246 if { (ac_try
="$ac_compile"
18247 case "(($ac_try" in
18248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18249 *) ac_try_echo=$ac_try;;
18251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18252 (eval "$ac_compile") 2>conftest.er1
18254 grep -v '^ *+' conftest.er1 >conftest.err
18256 cat conftest.err >&5
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); } && {
18259 test -z "$ac_c_werror_flag" ||
18260 test ! -s conftest.err
18261 } && test -s conftest.$ac_objext; then
18262 ac_cv_member_struct_ff_effect_direction=yes
18264 echo "$as_me: failed program was:" >&5
18265 sed 's/^/| /' conftest.$ac_ext >&5
18267 ac_cv_member_struct_ff_effect_direction=no
18270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18275 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18276 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18277 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18279 cat >>confdefs.h <<_ACEOF
18280 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18287 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18288 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18289 if test "${wine_cv_have_sigaddset+set}" = set; then
18290 echo $ECHO_N "(cached) $ECHO_C" >&6
18292 cat >conftest.$ac_ext <<_ACEOF
18295 cat confdefs.h >>conftest.$ac_ext
18296 cat >>conftest.$ac_ext <<_ACEOF
18297 /* end confdefs.h. */
18298 #include <signal.h>
18302 sigset_t set; sigaddset(&set,SIGTERM);
18307 rm -f conftest.$ac_objext conftest$ac_exeext
18308 if { (ac_try="$ac_link"
18309 case "(($ac_try" in
18310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18311 *) ac_try_echo
=$ac_try;;
18313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18314 (eval "$ac_link") 2>conftest.er1
18316 grep -v '^ *+' conftest.er1
>conftest.err
18318 cat conftest.err
>&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); } && {
18321 test -z "$ac_c_werror_flag" ||
18322 test ! -s conftest.err
18323 } && test -s conftest
$ac_exeext &&
18324 $as_test_x conftest
$ac_exeext; then
18325 wine_cv_have_sigaddset
=yes
18327 echo "$as_me: failed program was:" >&5
18328 sed 's/^/| /' conftest.
$ac_ext >&5
18330 wine_cv_have_sigaddset
=no
18333 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18334 conftest
$ac_exeext conftest.
$ac_ext
18336 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18337 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18338 if test "$wine_cv_have_sigaddset" = "yes"
18341 cat >>confdefs.h
<<\_ACEOF
18342 #define HAVE_SIGADDSET 1
18348 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18349 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18350 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18351 echo $ECHO_N "(cached) $ECHO_C" >&6
18353 cat >conftest.
$ac_ext <<_ACEOF
18356 cat confdefs.h
>>conftest.
$ac_ext
18357 cat >>conftest.
$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18366 struct hostent *result;
18373 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18374 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18380 rm -f conftest.
$ac_objext conftest
$ac_exeext
18381 if { (ac_try
="$ac_link"
18382 case "(($ac_try" in
18383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18384 *) ac_try_echo=$ac_try;;
18386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18387 (eval "$ac_link") 2>conftest.er1
18389 grep -v '^ *+' conftest.er1 >conftest.err
18391 cat conftest.err >&5
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); } && {
18394 test -z "$ac_c_werror_flag" ||
18395 test ! -s conftest.err
18396 } && test -s conftest$ac_exeext &&
18397 $as_test_x conftest$ac_exeext; then
18398 wine_cv_linux_gethostbyname_r_6=yes
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.$ac_ext >&5
18403 wine_cv_linux_gethostbyname_r_6=no
18407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18408 conftest$ac_exeext conftest.$ac_ext
18411 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18412 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18413 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18416 cat >>confdefs.h <<\_ACEOF
18417 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18422 if test "$ac_cv_header_linux_joystick_h" = "yes"
18424 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18425 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18426 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18427 echo $ECHO_N "(cached) $ECHO_C" >&6
18429 cat >conftest.$ac_ext <<_ACEOF
18432 cat confdefs.h >>conftest.$ac_ext
18433 cat >>conftest.$ac_ext <<_ACEOF
18434 /* end confdefs.h. */
18436 #include <sys/ioctl.h>
18437 #include <sys/types.h>
18438 #include <linux/joystick.h>
18440 struct js_event blub;
18441 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18442 #error "no 2.2 header"
18453 rm -f conftest.$ac_objext
18454 if { (ac_try="$ac_compile"
18455 case "(($ac_try" in
18456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18457 *) ac_try_echo
=$ac_try;;
18459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18460 (eval "$ac_compile") 2>conftest.er1
18462 grep -v '^ *+' conftest.er1
>conftest.err
18464 cat conftest.err
>&5
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); } && {
18467 test -z "$ac_c_werror_flag" ||
18468 test ! -s conftest.err
18469 } && test -s conftest.
$ac_objext; then
18470 wine_cv_linux_joystick_22_api
=yes
18472 echo "$as_me: failed program was:" >&5
18473 sed 's/^/| /' conftest.
$ac_ext >&5
18475 wine_cv_linux_joystick_22_api
=no
18478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18481 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18482 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18483 if test "$wine_cv_linux_joystick_22_api" = "yes"
18486 cat >>confdefs.h
<<\_ACEOF
18487 #define HAVE_LINUX_22_JOYSTICK_API 1
18494 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18495 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18496 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18497 echo $ECHO_N "(cached) $ECHO_C" >&6
18499 cat >conftest.
$ac_ext <<_ACEOF
18502 cat confdefs.h
>>conftest.
$ac_ext
18503 cat >>conftest.
$ac_ext <<_ACEOF
18504 /* end confdefs.h. */
18505 #include <sys/types.h>
18506 #ifdef HAVE_SYS_PARAM_H
18507 # include <sys/param.h>
18509 #ifdef HAVE_SYS_MOUNT_H
18510 # include <sys/mount.h>
18512 #ifdef HAVE_SYS_VFS_H
18513 # include <sys/vfs.h>
18515 #ifdef HAVE_SYS_STATFS_H
18516 # include <sys/statfs.h>
18522 static struct statfs ac_aggr;
18523 if (ac_aggr.f_bfree)
18529 rm -f conftest.
$ac_objext
18530 if { (ac_try
="$ac_compile"
18531 case "(($ac_try" in
18532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18533 *) ac_try_echo=$ac_try;;
18535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18536 (eval "$ac_compile") 2>conftest.er1
18538 grep -v '^ *+' conftest.er1 >conftest.err
18540 cat conftest.err >&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); } && {
18543 test -z "$ac_c_werror_flag" ||
18544 test ! -s conftest.err
18545 } && test -s conftest.$ac_objext; then
18546 ac_cv_member_struct_statfs_f_bfree=yes
18548 echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.$ac_ext >&5
18551 cat >conftest.$ac_ext <<_ACEOF
18554 cat confdefs.h >>conftest.$ac_ext
18555 cat >>conftest.$ac_ext <<_ACEOF
18556 /* end confdefs.h. */
18557 #include <sys/types.h>
18558 #ifdef HAVE_SYS_PARAM_H
18559 # include <sys/param.h>
18561 #ifdef HAVE_SYS_MOUNT_H
18562 # include <sys/mount.h>
18564 #ifdef HAVE_SYS_VFS_H
18565 # include <sys/vfs.h>
18567 #ifdef HAVE_SYS_STATFS_H
18568 # include <sys/statfs.h>
18574 static struct statfs ac_aggr;
18575 if (sizeof ac_aggr.f_bfree)
18581 rm -f conftest.$ac_objext
18582 if { (ac_try="$ac_compile"
18583 case "(($ac_try" in
18584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18585 *) ac_try_echo
=$ac_try;;
18587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18588 (eval "$ac_compile") 2>conftest.er1
18590 grep -v '^ *+' conftest.er1
>conftest.err
18592 cat conftest.err
>&5
18593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18594 (exit $ac_status); } && {
18595 test -z "$ac_c_werror_flag" ||
18596 test ! -s conftest.err
18597 } && test -s conftest.
$ac_objext; then
18598 ac_cv_member_struct_statfs_f_bfree
=yes
18600 echo "$as_me: failed program was:" >&5
18601 sed 's/^/| /' conftest.
$ac_ext >&5
18603 ac_cv_member_struct_statfs_f_bfree
=no
18606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18611 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18612 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18613 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18615 cat >>confdefs.h
<<_ACEOF
18616 #define HAVE_STRUCT_STATFS_F_BFREE 1
18621 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18622 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18623 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18624 echo $ECHO_N "(cached) $ECHO_C" >&6
18626 cat >conftest.
$ac_ext <<_ACEOF
18629 cat confdefs.h
>>conftest.
$ac_ext
18630 cat >>conftest.
$ac_ext <<_ACEOF
18631 /* end confdefs.h. */
18632 #include <sys/types.h>
18633 #ifdef HAVE_SYS_PARAM_H
18634 # include <sys/param.h>
18636 #ifdef HAVE_SYS_MOUNT_H
18637 # include <sys/mount.h>
18639 #ifdef HAVE_SYS_VFS_H
18640 # include <sys/vfs.h>
18642 #ifdef HAVE_SYS_STATFS_H
18643 # include <sys/statfs.h>
18649 static struct statfs ac_aggr;
18650 if (ac_aggr.f_bavail)
18656 rm -f conftest.
$ac_objext
18657 if { (ac_try
="$ac_compile"
18658 case "(($ac_try" in
18659 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18660 *) ac_try_echo=$ac_try;;
18662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18663 (eval "$ac_compile") 2>conftest.er1
18665 grep -v '^ *+' conftest.er1 >conftest.err
18667 cat conftest.err >&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); } && {
18670 test -z "$ac_c_werror_flag" ||
18671 test ! -s conftest.err
18672 } && test -s conftest.$ac_objext; then
18673 ac_cv_member_struct_statfs_f_bavail=yes
18675 echo "$as_me: failed program was:" >&5
18676 sed 's/^/| /' conftest.$ac_ext >&5
18678 cat >conftest.$ac_ext <<_ACEOF
18681 cat confdefs.h >>conftest.$ac_ext
18682 cat >>conftest.$ac_ext <<_ACEOF
18683 /* end confdefs.h. */
18684 #include <sys/types.h>
18685 #ifdef HAVE_SYS_PARAM_H
18686 # include <sys/param.h>
18688 #ifdef HAVE_SYS_MOUNT_H
18689 # include <sys/mount.h>
18691 #ifdef HAVE_SYS_VFS_H
18692 # include <sys/vfs.h>
18694 #ifdef HAVE_SYS_STATFS_H
18695 # include <sys/statfs.h>
18701 static struct statfs ac_aggr;
18702 if (sizeof ac_aggr.f_bavail)
18708 rm -f conftest.$ac_objext
18709 if { (ac_try="$ac_compile"
18710 case "(($ac_try" in
18711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18712 *) ac_try_echo
=$ac_try;;
18714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18715 (eval "$ac_compile") 2>conftest.er1
18717 grep -v '^ *+' conftest.er1
>conftest.err
18719 cat conftest.err
>&5
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); } && {
18722 test -z "$ac_c_werror_flag" ||
18723 test ! -s conftest.err
18724 } && test -s conftest.
$ac_objext; then
18725 ac_cv_member_struct_statfs_f_bavail
=yes
18727 echo "$as_me: failed program was:" >&5
18728 sed 's/^/| /' conftest.
$ac_ext >&5
18730 ac_cv_member_struct_statfs_f_bavail
=no
18733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18738 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18739 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18740 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18742 cat >>confdefs.h
<<_ACEOF
18743 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18748 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18749 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18750 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18751 echo $ECHO_N "(cached) $ECHO_C" >&6
18753 cat >conftest.
$ac_ext <<_ACEOF
18756 cat confdefs.h
>>conftest.
$ac_ext
18757 cat >>conftest.
$ac_ext <<_ACEOF
18758 /* end confdefs.h. */
18759 #include <sys/types.h>
18760 #ifdef HAVE_SYS_PARAM_H
18761 # include <sys/param.h>
18763 #ifdef HAVE_SYS_MOUNT_H
18764 # include <sys/mount.h>
18766 #ifdef HAVE_SYS_VFS_H
18767 # include <sys/vfs.h>
18769 #ifdef HAVE_SYS_STATFS_H
18770 # include <sys/statfs.h>
18776 static struct statfs ac_aggr;
18777 if (ac_aggr.f_frsize)
18783 rm -f conftest.
$ac_objext
18784 if { (ac_try
="$ac_compile"
18785 case "(($ac_try" in
18786 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18787 *) ac_try_echo=$ac_try;;
18789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18790 (eval "$ac_compile") 2>conftest.er1
18792 grep -v '^ *+' conftest.er1 >conftest.err
18794 cat conftest.err >&5
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); } && {
18797 test -z "$ac_c_werror_flag" ||
18798 test ! -s conftest.err
18799 } && test -s conftest.$ac_objext; then
18800 ac_cv_member_struct_statfs_f_frsize=yes
18802 echo "$as_me: failed program was:" >&5
18803 sed 's/^/| /' conftest.$ac_ext >&5
18805 cat >conftest.$ac_ext <<_ACEOF
18808 cat confdefs.h >>conftest.$ac_ext
18809 cat >>conftest.$ac_ext <<_ACEOF
18810 /* end confdefs.h. */
18811 #include <sys/types.h>
18812 #ifdef HAVE_SYS_PARAM_H
18813 # include <sys/param.h>
18815 #ifdef HAVE_SYS_MOUNT_H
18816 # include <sys/mount.h>
18818 #ifdef HAVE_SYS_VFS_H
18819 # include <sys/vfs.h>
18821 #ifdef HAVE_SYS_STATFS_H
18822 # include <sys/statfs.h>
18828 static struct statfs ac_aggr;
18829 if (sizeof ac_aggr.f_frsize)
18835 rm -f conftest.$ac_objext
18836 if { (ac_try="$ac_compile"
18837 case "(($ac_try" in
18838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18839 *) ac_try_echo
=$ac_try;;
18841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18842 (eval "$ac_compile") 2>conftest.er1
18844 grep -v '^ *+' conftest.er1
>conftest.err
18846 cat conftest.err
>&5
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); } && {
18849 test -z "$ac_c_werror_flag" ||
18850 test ! -s conftest.err
18851 } && test -s conftest.
$ac_objext; then
18852 ac_cv_member_struct_statfs_f_frsize
=yes
18854 echo "$as_me: failed program was:" >&5
18855 sed 's/^/| /' conftest.
$ac_ext >&5
18857 ac_cv_member_struct_statfs_f_frsize
=no
18860 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18865 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18866 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18867 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18869 cat >>confdefs.h
<<_ACEOF
18870 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18875 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18876 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18877 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18878 echo $ECHO_N "(cached) $ECHO_C" >&6
18880 cat >conftest.
$ac_ext <<_ACEOF
18883 cat confdefs.h
>>conftest.
$ac_ext
18884 cat >>conftest.
$ac_ext <<_ACEOF
18885 /* end confdefs.h. */
18886 #include <sys/types.h>
18887 #ifdef HAVE_SYS_PARAM_H
18888 # include <sys/param.h>
18890 #ifdef HAVE_SYS_MOUNT_H
18891 # include <sys/mount.h>
18893 #ifdef HAVE_SYS_VFS_H
18894 # include <sys/vfs.h>
18896 #ifdef HAVE_SYS_STATFS_H
18897 # include <sys/statfs.h>
18903 static struct statfs ac_aggr;
18904 if (ac_aggr.f_ffree)
18910 rm -f conftest.
$ac_objext
18911 if { (ac_try
="$ac_compile"
18912 case "(($ac_try" in
18913 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18914 *) ac_try_echo=$ac_try;;
18916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18917 (eval "$ac_compile") 2>conftest.er1
18919 grep -v '^ *+' conftest.er1 >conftest.err
18921 cat conftest.err >&5
18922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18923 (exit $ac_status); } && {
18924 test -z "$ac_c_werror_flag" ||
18925 test ! -s conftest.err
18926 } && test -s conftest.$ac_objext; then
18927 ac_cv_member_struct_statfs_f_ffree=yes
18929 echo "$as_me: failed program was:" >&5
18930 sed 's/^/| /' conftest.$ac_ext >&5
18932 cat >conftest.$ac_ext <<_ACEOF
18935 cat confdefs.h >>conftest.$ac_ext
18936 cat >>conftest.$ac_ext <<_ACEOF
18937 /* end confdefs.h. */
18938 #include <sys/types.h>
18939 #ifdef HAVE_SYS_PARAM_H
18940 # include <sys/param.h>
18942 #ifdef HAVE_SYS_MOUNT_H
18943 # include <sys/mount.h>
18945 #ifdef HAVE_SYS_VFS_H
18946 # include <sys/vfs.h>
18948 #ifdef HAVE_SYS_STATFS_H
18949 # include <sys/statfs.h>
18955 static struct statfs ac_aggr;
18956 if (sizeof ac_aggr.f_ffree)
18962 rm -f conftest.$ac_objext
18963 if { (ac_try="$ac_compile"
18964 case "(($ac_try" in
18965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18966 *) ac_try_echo
=$ac_try;;
18968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18969 (eval "$ac_compile") 2>conftest.er1
18971 grep -v '^ *+' conftest.er1
>conftest.err
18973 cat conftest.err
>&5
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); } && {
18976 test -z "$ac_c_werror_flag" ||
18977 test ! -s conftest.err
18978 } && test -s conftest.
$ac_objext; then
18979 ac_cv_member_struct_statfs_f_ffree
=yes
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.
$ac_ext >&5
18984 ac_cv_member_struct_statfs_f_ffree
=no
18987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18992 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18993 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18994 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18996 cat >>confdefs.h
<<_ACEOF
18997 #define HAVE_STRUCT_STATFS_F_FFREE 1
19002 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19003 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19004 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19005 echo $ECHO_N "(cached) $ECHO_C" >&6
19007 cat >conftest.
$ac_ext <<_ACEOF
19010 cat confdefs.h
>>conftest.
$ac_ext
19011 cat >>conftest.
$ac_ext <<_ACEOF
19012 /* end confdefs.h. */
19013 #include <sys/types.h>
19014 #ifdef HAVE_SYS_PARAM_H
19015 # include <sys/param.h>
19017 #ifdef HAVE_SYS_MOUNT_H
19018 # include <sys/mount.h>
19020 #ifdef HAVE_SYS_VFS_H
19021 # include <sys/vfs.h>
19023 #ifdef HAVE_SYS_STATFS_H
19024 # include <sys/statfs.h>
19030 static struct statfs ac_aggr;
19031 if (ac_aggr.f_favail)
19037 rm -f conftest.
$ac_objext
19038 if { (ac_try
="$ac_compile"
19039 case "(($ac_try" in
19040 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19041 *) ac_try_echo=$ac_try;;
19043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19044 (eval "$ac_compile") 2>conftest.er1
19046 grep -v '^ *+' conftest.er1 >conftest.err
19048 cat conftest.err >&5
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); } && {
19051 test -z "$ac_c_werror_flag" ||
19052 test ! -s conftest.err
19053 } && test -s conftest.$ac_objext; then
19054 ac_cv_member_struct_statfs_f_favail=yes
19056 echo "$as_me: failed program was:" >&5
19057 sed 's/^/| /' conftest.$ac_ext >&5
19059 cat >conftest.$ac_ext <<_ACEOF
19062 cat confdefs.h >>conftest.$ac_ext
19063 cat >>conftest.$ac_ext <<_ACEOF
19064 /* end confdefs.h. */
19065 #include <sys/types.h>
19066 #ifdef HAVE_SYS_PARAM_H
19067 # include <sys/param.h>
19069 #ifdef HAVE_SYS_MOUNT_H
19070 # include <sys/mount.h>
19072 #ifdef HAVE_SYS_VFS_H
19073 # include <sys/vfs.h>
19075 #ifdef HAVE_SYS_STATFS_H
19076 # include <sys/statfs.h>
19082 static struct statfs ac_aggr;
19083 if (sizeof ac_aggr.f_favail)
19089 rm -f conftest.$ac_objext
19090 if { (ac_try="$ac_compile"
19091 case "(($ac_try" in
19092 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19093 *) ac_try_echo
=$ac_try;;
19095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19096 (eval "$ac_compile") 2>conftest.er1
19098 grep -v '^ *+' conftest.er1
>conftest.err
19100 cat conftest.err
>&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); } && {
19103 test -z "$ac_c_werror_flag" ||
19104 test ! -s conftest.err
19105 } && test -s conftest.
$ac_objext; then
19106 ac_cv_member_struct_statfs_f_favail
=yes
19108 echo "$as_me: failed program was:" >&5
19109 sed 's/^/| /' conftest.
$ac_ext >&5
19111 ac_cv_member_struct_statfs_f_favail
=no
19114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19119 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19120 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19121 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19123 cat >>confdefs.h
<<_ACEOF
19124 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19129 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19130 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19131 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19132 echo $ECHO_N "(cached) $ECHO_C" >&6
19134 cat >conftest.
$ac_ext <<_ACEOF
19137 cat confdefs.h
>>conftest.
$ac_ext
19138 cat >>conftest.
$ac_ext <<_ACEOF
19139 /* end confdefs.h. */
19140 #include <sys/types.h>
19141 #ifdef HAVE_SYS_PARAM_H
19142 # include <sys/param.h>
19144 #ifdef HAVE_SYS_MOUNT_H
19145 # include <sys/mount.h>
19147 #ifdef HAVE_SYS_VFS_H
19148 # include <sys/vfs.h>
19150 #ifdef HAVE_SYS_STATFS_H
19151 # include <sys/statfs.h>
19157 static struct statfs ac_aggr;
19158 if (ac_aggr.f_namelen)
19164 rm -f conftest.
$ac_objext
19165 if { (ac_try
="$ac_compile"
19166 case "(($ac_try" in
19167 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19168 *) ac_try_echo=$ac_try;;
19170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19171 (eval "$ac_compile") 2>conftest.er1
19173 grep -v '^ *+' conftest.er1 >conftest.err
19175 cat conftest.err >&5
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); } && {
19178 test -z "$ac_c_werror_flag" ||
19179 test ! -s conftest.err
19180 } && test -s conftest.$ac_objext; then
19181 ac_cv_member_struct_statfs_f_namelen=yes
19183 echo "$as_me: failed program was:" >&5
19184 sed 's/^/| /' conftest.$ac_ext >&5
19186 cat >conftest.$ac_ext <<_ACEOF
19189 cat confdefs.h >>conftest.$ac_ext
19190 cat >>conftest.$ac_ext <<_ACEOF
19191 /* end confdefs.h. */
19192 #include <sys/types.h>
19193 #ifdef HAVE_SYS_PARAM_H
19194 # include <sys/param.h>
19196 #ifdef HAVE_SYS_MOUNT_H
19197 # include <sys/mount.h>
19199 #ifdef HAVE_SYS_VFS_H
19200 # include <sys/vfs.h>
19202 #ifdef HAVE_SYS_STATFS_H
19203 # include <sys/statfs.h>
19209 static struct statfs ac_aggr;
19210 if (sizeof ac_aggr.f_namelen)
19216 rm -f conftest.$ac_objext
19217 if { (ac_try="$ac_compile"
19218 case "(($ac_try" in
19219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19220 *) ac_try_echo
=$ac_try;;
19222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19223 (eval "$ac_compile") 2>conftest.er1
19225 grep -v '^ *+' conftest.er1
>conftest.err
19227 cat conftest.err
>&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); } && {
19230 test -z "$ac_c_werror_flag" ||
19231 test ! -s conftest.err
19232 } && test -s conftest.
$ac_objext; then
19233 ac_cv_member_struct_statfs_f_namelen
=yes
19235 echo "$as_me: failed program was:" >&5
19236 sed 's/^/| /' conftest.
$ac_ext >&5
19238 ac_cv_member_struct_statfs_f_namelen
=no
19241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19246 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19247 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19248 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19250 cat >>confdefs.h
<<_ACEOF
19251 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19258 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19259 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19260 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19261 echo $ECHO_N "(cached) $ECHO_C" >&6
19263 cat >conftest.
$ac_ext <<_ACEOF
19266 cat confdefs.h
>>conftest.
$ac_ext
19267 cat >>conftest.
$ac_ext <<_ACEOF
19268 /* end confdefs.h. */
19269 #ifdef HAVE_SYS_STATVFS_H
19270 #include <sys/statvfs.h>
19276 static struct statvfs ac_aggr;
19277 if (ac_aggr.f_blocks)
19283 rm -f conftest.
$ac_objext
19284 if { (ac_try
="$ac_compile"
19285 case "(($ac_try" in
19286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19287 *) ac_try_echo=$ac_try;;
19289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19290 (eval "$ac_compile") 2>conftest.er1
19292 grep -v '^ *+' conftest.er1 >conftest.err
19294 cat conftest.err >&5
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); } && {
19297 test -z "$ac_c_werror_flag" ||
19298 test ! -s conftest.err
19299 } && test -s conftest.$ac_objext; then
19300 ac_cv_member_struct_statvfs_f_blocks=yes
19302 echo "$as_me: failed program was:" >&5
19303 sed 's/^/| /' conftest.$ac_ext >&5
19305 cat >conftest.$ac_ext <<_ACEOF
19308 cat confdefs.h >>conftest.$ac_ext
19309 cat >>conftest.$ac_ext <<_ACEOF
19310 /* end confdefs.h. */
19311 #ifdef HAVE_SYS_STATVFS_H
19312 #include <sys/statvfs.h>
19318 static struct statvfs ac_aggr;
19319 if (sizeof ac_aggr.f_blocks)
19325 rm -f conftest.$ac_objext
19326 if { (ac_try="$ac_compile"
19327 case "(($ac_try" in
19328 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19329 *) ac_try_echo
=$ac_try;;
19331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19332 (eval "$ac_compile") 2>conftest.er1
19334 grep -v '^ *+' conftest.er1
>conftest.err
19336 cat conftest.err
>&5
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); } && {
19339 test -z "$ac_c_werror_flag" ||
19340 test ! -s conftest.err
19341 } && test -s conftest.
$ac_objext; then
19342 ac_cv_member_struct_statvfs_f_blocks
=yes
19344 echo "$as_me: failed program was:" >&5
19345 sed 's/^/| /' conftest.
$ac_ext >&5
19347 ac_cv_member_struct_statvfs_f_blocks
=no
19350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19355 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19356 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19357 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19359 cat >>confdefs.h
<<_ACEOF
19360 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19367 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19368 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19369 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19370 echo $ECHO_N "(cached) $ECHO_C" >&6
19372 cat >conftest.
$ac_ext <<_ACEOF
19375 cat confdefs.h
>>conftest.
$ac_ext
19376 cat >>conftest.
$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19378 #include <sys/types.h>
19379 #ifdef HAVE_SYS_SOCKET_H
19380 # include <sys/socket.h>
19382 #ifdef HAVE_SYS_UN_H
19383 # include <sys/un.h>
19389 static struct msghdr ac_aggr;
19390 if (ac_aggr.msg_accrights)
19396 rm -f conftest.
$ac_objext
19397 if { (ac_try
="$ac_compile"
19398 case "(($ac_try" in
19399 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19400 *) ac_try_echo=$ac_try;;
19402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19403 (eval "$ac_compile") 2>conftest.er1
19405 grep -v '^ *+' conftest.er1 >conftest.err
19407 cat conftest.err >&5
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); } && {
19410 test -z "$ac_c_werror_flag" ||
19411 test ! -s conftest.err
19412 } && test -s conftest.$ac_objext; then
19413 ac_cv_member_struct_msghdr_msg_accrights=yes
19415 echo "$as_me: failed program was:" >&5
19416 sed 's/^/| /' conftest.$ac_ext >&5
19418 cat >conftest.$ac_ext <<_ACEOF
19421 cat confdefs.h >>conftest.$ac_ext
19422 cat >>conftest.$ac_ext <<_ACEOF
19423 /* end confdefs.h. */
19424 #include <sys/types.h>
19425 #ifdef HAVE_SYS_SOCKET_H
19426 # include <sys/socket.h>
19428 #ifdef HAVE_SYS_UN_H
19429 # include <sys/un.h>
19435 static struct msghdr ac_aggr;
19436 if (sizeof ac_aggr.msg_accrights)
19442 rm -f conftest.$ac_objext
19443 if { (ac_try="$ac_compile"
19444 case "(($ac_try" in
19445 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19446 *) ac_try_echo
=$ac_try;;
19448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19449 (eval "$ac_compile") 2>conftest.er1
19451 grep -v '^ *+' conftest.er1
>conftest.err
19453 cat conftest.err
>&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); } && {
19456 test -z "$ac_c_werror_flag" ||
19457 test ! -s conftest.err
19458 } && test -s conftest.
$ac_objext; then
19459 ac_cv_member_struct_msghdr_msg_accrights
=yes
19461 echo "$as_me: failed program was:" >&5
19462 sed 's/^/| /' conftest.
$ac_ext >&5
19464 ac_cv_member_struct_msghdr_msg_accrights
=no
19467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19472 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19473 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19474 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19476 cat >>confdefs.h
<<_ACEOF
19477 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19482 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19483 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19484 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19485 echo $ECHO_N "(cached) $ECHO_C" >&6
19487 cat >conftest.
$ac_ext <<_ACEOF
19490 cat confdefs.h
>>conftest.
$ac_ext
19491 cat >>conftest.
$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 #include <sys/types.h>
19494 #ifdef HAVE_SYS_SOCKET_H
19495 # include <sys/socket.h>
19497 #ifdef HAVE_SYS_UN_H
19498 # include <sys/un.h>
19504 static struct sockaddr ac_aggr;
19505 if (ac_aggr.sa_len)
19511 rm -f conftest.
$ac_objext
19512 if { (ac_try
="$ac_compile"
19513 case "(($ac_try" in
19514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19515 *) ac_try_echo=$ac_try;;
19517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19518 (eval "$ac_compile") 2>conftest.er1
19520 grep -v '^ *+' conftest.er1 >conftest.err
19522 cat conftest.err >&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); } && {
19525 test -z "$ac_c_werror_flag" ||
19526 test ! -s conftest.err
19527 } && test -s conftest.$ac_objext; then
19528 ac_cv_member_struct_sockaddr_sa_len=yes
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.$ac_ext >&5
19533 cat >conftest.$ac_ext <<_ACEOF
19536 cat confdefs.h >>conftest.$ac_ext
19537 cat >>conftest.$ac_ext <<_ACEOF
19538 /* end confdefs.h. */
19539 #include <sys/types.h>
19540 #ifdef HAVE_SYS_SOCKET_H
19541 # include <sys/socket.h>
19543 #ifdef HAVE_SYS_UN_H
19544 # include <sys/un.h>
19550 static struct sockaddr ac_aggr;
19551 if (sizeof ac_aggr.sa_len)
19557 rm -f conftest.$ac_objext
19558 if { (ac_try="$ac_compile"
19559 case "(($ac_try" in
19560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19561 *) ac_try_echo
=$ac_try;;
19563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19564 (eval "$ac_compile") 2>conftest.er1
19566 grep -v '^ *+' conftest.er1
>conftest.err
19568 cat conftest.err
>&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } && {
19571 test -z "$ac_c_werror_flag" ||
19572 test ! -s conftest.err
19573 } && test -s conftest.
$ac_objext; then
19574 ac_cv_member_struct_sockaddr_sa_len
=yes
19576 echo "$as_me: failed program was:" >&5
19577 sed 's/^/| /' conftest.
$ac_ext >&5
19579 ac_cv_member_struct_sockaddr_sa_len
=no
19582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19587 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19588 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19589 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19591 cat >>confdefs.h
<<_ACEOF
19592 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19597 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19598 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19599 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19600 echo $ECHO_N "(cached) $ECHO_C" >&6
19602 cat >conftest.
$ac_ext <<_ACEOF
19605 cat confdefs.h
>>conftest.
$ac_ext
19606 cat >>conftest.
$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19608 #include <sys/types.h>
19609 #ifdef HAVE_SYS_SOCKET_H
19610 # include <sys/socket.h>
19612 #ifdef HAVE_SYS_UN_H
19613 # include <sys/un.h>
19619 static struct sockaddr_un ac_aggr;
19620 if (ac_aggr.sun_len)
19626 rm -f conftest.
$ac_objext
19627 if { (ac_try
="$ac_compile"
19628 case "(($ac_try" in
19629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19630 *) ac_try_echo=$ac_try;;
19632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19633 (eval "$ac_compile") 2>conftest.er1
19635 grep -v '^ *+' conftest.er1 >conftest.err
19637 cat conftest.err >&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); } && {
19640 test -z "$ac_c_werror_flag" ||
19641 test ! -s conftest.err
19642 } && test -s conftest.$ac_objext; then
19643 ac_cv_member_struct_sockaddr_un_sun_len=yes
19645 echo "$as_me: failed program was:" >&5
19646 sed 's/^/| /' conftest.$ac_ext >&5
19648 cat >conftest.$ac_ext <<_ACEOF
19651 cat confdefs.h >>conftest.$ac_ext
19652 cat >>conftest.$ac_ext <<_ACEOF
19653 /* end confdefs.h. */
19654 #include <sys/types.h>
19655 #ifdef HAVE_SYS_SOCKET_H
19656 # include <sys/socket.h>
19658 #ifdef HAVE_SYS_UN_H
19659 # include <sys/un.h>
19665 static struct sockaddr_un ac_aggr;
19666 if (sizeof ac_aggr.sun_len)
19672 rm -f conftest.$ac_objext
19673 if { (ac_try="$ac_compile"
19674 case "(($ac_try" in
19675 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19676 *) ac_try_echo
=$ac_try;;
19678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19679 (eval "$ac_compile") 2>conftest.er1
19681 grep -v '^ *+' conftest.er1
>conftest.err
19683 cat conftest.err
>&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); } && {
19686 test -z "$ac_c_werror_flag" ||
19687 test ! -s conftest.err
19688 } && test -s conftest.
$ac_objext; then
19689 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19691 echo "$as_me: failed program was:" >&5
19692 sed 's/^/| /' conftest.
$ac_ext >&5
19694 ac_cv_member_struct_sockaddr_un_sun_len
=no
19697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19702 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19703 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19704 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19706 cat >>confdefs.h
<<_ACEOF
19707 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19714 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19715 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19716 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19717 echo $ECHO_N "(cached) $ECHO_C" >&6
19719 cat >conftest.
$ac_ext <<_ACEOF
19722 cat confdefs.h
>>conftest.
$ac_ext
19723 cat >>conftest.
$ac_ext <<_ACEOF
19724 /* end confdefs.h. */
19725 #include <sys/types.h>
19726 #ifdef HAVE_SCSI_SG_H
19727 #include <scsi/sg.h>
19733 static scsireq_t ac_aggr;
19740 rm -f conftest.
$ac_objext
19741 if { (ac_try
="$ac_compile"
19742 case "(($ac_try" in
19743 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19744 *) ac_try_echo=$ac_try;;
19746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19747 (eval "$ac_compile") 2>conftest.er1
19749 grep -v '^ *+' conftest.er1 >conftest.err
19751 cat conftest.err >&5
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); } && {
19754 test -z "$ac_c_werror_flag" ||
19755 test ! -s conftest.err
19756 } && test -s conftest.$ac_objext; then
19757 ac_cv_member_scsireq_t_cmd=yes
19759 echo "$as_me: failed program was:" >&5
19760 sed 's/^/| /' conftest.$ac_ext >&5
19762 cat >conftest.$ac_ext <<_ACEOF
19765 cat confdefs.h >>conftest.$ac_ext
19766 cat >>conftest.$ac_ext <<_ACEOF
19767 /* end confdefs.h. */
19768 #include <sys/types.h>
19769 #ifdef HAVE_SCSI_SG_H
19770 #include <scsi/sg.h>
19776 static scsireq_t ac_aggr;
19777 if (sizeof ac_aggr.cmd)
19783 rm -f conftest.$ac_objext
19784 if { (ac_try="$ac_compile"
19785 case "(($ac_try" in
19786 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19787 *) ac_try_echo
=$ac_try;;
19789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19790 (eval "$ac_compile") 2>conftest.er1
19792 grep -v '^ *+' conftest.er1
>conftest.err
19794 cat conftest.err
>&5
19795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19796 (exit $ac_status); } && {
19797 test -z "$ac_c_werror_flag" ||
19798 test ! -s conftest.err
19799 } && test -s conftest.
$ac_objext; then
19800 ac_cv_member_scsireq_t_cmd
=yes
19802 echo "$as_me: failed program was:" >&5
19803 sed 's/^/| /' conftest.
$ac_ext >&5
19805 ac_cv_member_scsireq_t_cmd
=no
19808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19813 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19814 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19815 if test $ac_cv_member_scsireq_t_cmd = yes; then
19817 cat >>confdefs.h
<<_ACEOF
19818 #define HAVE_SCSIREQ_T_CMD 1
19823 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19824 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19825 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19826 echo $ECHO_N "(cached) $ECHO_C" >&6
19828 cat >conftest.
$ac_ext <<_ACEOF
19831 cat confdefs.h
>>conftest.
$ac_ext
19832 cat >>conftest.
$ac_ext <<_ACEOF
19833 /* end confdefs.h. */
19834 #include <sys/types.h>
19835 #ifdef HAVE_SCSI_SG_H
19836 #include <scsi/sg.h>
19842 static sg_io_hdr_t ac_aggr;
19843 if (ac_aggr.interface_id)
19849 rm -f conftest.
$ac_objext
19850 if { (ac_try
="$ac_compile"
19851 case "(($ac_try" in
19852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19853 *) ac_try_echo=$ac_try;;
19855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19856 (eval "$ac_compile") 2>conftest.er1
19858 grep -v '^ *+' conftest.er1 >conftest.err
19860 cat conftest.err >&5
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); } && {
19863 test -z "$ac_c_werror_flag" ||
19864 test ! -s conftest.err
19865 } && test -s conftest.$ac_objext; then
19866 ac_cv_member_sg_io_hdr_t_interface_id=yes
19868 echo "$as_me: failed program was:" >&5
19869 sed 's/^/| /' conftest.$ac_ext >&5
19871 cat >conftest.$ac_ext <<_ACEOF
19874 cat confdefs.h >>conftest.$ac_ext
19875 cat >>conftest.$ac_ext <<_ACEOF
19876 /* end confdefs.h. */
19877 #include <sys/types.h>
19878 #ifdef HAVE_SCSI_SG_H
19879 #include <scsi/sg.h>
19885 static sg_io_hdr_t ac_aggr;
19886 if (sizeof ac_aggr.interface_id)
19892 rm -f conftest.$ac_objext
19893 if { (ac_try="$ac_compile"
19894 case "(($ac_try" in
19895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19896 *) ac_try_echo
=$ac_try;;
19898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19899 (eval "$ac_compile") 2>conftest.er1
19901 grep -v '^ *+' conftest.er1
>conftest.err
19903 cat conftest.err
>&5
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); } && {
19906 test -z "$ac_c_werror_flag" ||
19907 test ! -s conftest.err
19908 } && test -s conftest.
$ac_objext; then
19909 ac_cv_member_sg_io_hdr_t_interface_id
=yes
19911 echo "$as_me: failed program was:" >&5
19912 sed 's/^/| /' conftest.
$ac_ext >&5
19914 ac_cv_member_sg_io_hdr_t_interface_id
=no
19917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19922 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19923 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19924 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19926 cat >>confdefs.h
<<_ACEOF
19927 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19934 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19935 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19936 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19937 echo $ECHO_N "(cached) $ECHO_C" >&6
19939 cat >conftest.
$ac_ext <<_ACEOF
19942 cat confdefs.h
>>conftest.
$ac_ext
19943 cat >>conftest.
$ac_ext <<_ACEOF
19944 /* end confdefs.h. */
19945 #include <signal.h>
19950 static siginfo_t ac_aggr;
19957 rm -f conftest.
$ac_objext
19958 if { (ac_try
="$ac_compile"
19959 case "(($ac_try" in
19960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19961 *) ac_try_echo=$ac_try;;
19963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19964 (eval "$ac_compile") 2>conftest.er1
19966 grep -v '^ *+' conftest.er1 >conftest.err
19968 cat conftest.err >&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); } && {
19971 test -z "$ac_c_werror_flag" ||
19972 test ! -s conftest.err
19973 } && test -s conftest.$ac_objext; then
19974 ac_cv_member_siginfo_t_si_fd=yes
19976 echo "$as_me: failed program was:" >&5
19977 sed 's/^/| /' conftest.$ac_ext >&5
19979 cat >conftest.$ac_ext <<_ACEOF
19982 cat confdefs.h >>conftest.$ac_ext
19983 cat >>conftest.$ac_ext <<_ACEOF
19984 /* end confdefs.h. */
19985 #include <signal.h>
19990 static siginfo_t ac_aggr;
19991 if (sizeof ac_aggr.si_fd)
19997 rm -f conftest.$ac_objext
19998 if { (ac_try="$ac_compile"
19999 case "(($ac_try" in
20000 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20001 *) ac_try_echo
=$ac_try;;
20003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20004 (eval "$ac_compile") 2>conftest.er1
20006 grep -v '^ *+' conftest.er1
>conftest.err
20008 cat conftest.err
>&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); } && {
20011 test -z "$ac_c_werror_flag" ||
20012 test ! -s conftest.err
20013 } && test -s conftest.
$ac_objext; then
20014 ac_cv_member_siginfo_t_si_fd
=yes
20016 echo "$as_me: failed program was:" >&5
20017 sed 's/^/| /' conftest.
$ac_ext >&5
20019 ac_cv_member_siginfo_t_si_fd
=no
20022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20027 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20028 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20029 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20031 cat >>confdefs.h
<<_ACEOF
20032 #define HAVE_SIGINFO_T_SI_FD 1
20039 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20040 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20041 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20042 echo $ECHO_N "(cached) $ECHO_C" >&6
20044 cat >conftest.
$ac_ext <<_ACEOF
20047 cat confdefs.h
>>conftest.
$ac_ext
20048 cat >>conftest.
$ac_ext <<_ACEOF
20049 /* end confdefs.h. */
20050 #include <sys/types.h>
20051 #ifdef HAVE_SYS_MTIO_H
20052 #include <sys/mtio.h>
20058 static struct mtget ac_aggr;
20059 if (ac_aggr.mt_blksiz)
20065 rm -f conftest.
$ac_objext
20066 if { (ac_try
="$ac_compile"
20067 case "(($ac_try" in
20068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20069 *) ac_try_echo=$ac_try;;
20071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20072 (eval "$ac_compile") 2>conftest.er1
20074 grep -v '^ *+' conftest.er1 >conftest.err
20076 cat conftest.err >&5
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); } && {
20079 test -z "$ac_c_werror_flag" ||
20080 test ! -s conftest.err
20081 } && test -s conftest.$ac_objext; then
20082 ac_cv_member_struct_mtget_mt_blksiz=yes
20084 echo "$as_me: failed program was:" >&5
20085 sed 's/^/| /' conftest.$ac_ext >&5
20087 cat >conftest.$ac_ext <<_ACEOF
20090 cat confdefs.h >>conftest.$ac_ext
20091 cat >>conftest.$ac_ext <<_ACEOF
20092 /* end confdefs.h. */
20093 #include <sys/types.h>
20094 #ifdef HAVE_SYS_MTIO_H
20095 #include <sys/mtio.h>
20101 static struct mtget ac_aggr;
20102 if (sizeof ac_aggr.mt_blksiz)
20108 rm -f conftest.$ac_objext
20109 if { (ac_try="$ac_compile"
20110 case "(($ac_try" in
20111 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20112 *) ac_try_echo
=$ac_try;;
20114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20115 (eval "$ac_compile") 2>conftest.er1
20117 grep -v '^ *+' conftest.er1
>conftest.err
20119 cat conftest.err
>&5
20120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20121 (exit $ac_status); } && {
20122 test -z "$ac_c_werror_flag" ||
20123 test ! -s conftest.err
20124 } && test -s conftest.
$ac_objext; then
20125 ac_cv_member_struct_mtget_mt_blksiz
=yes
20127 echo "$as_me: failed program was:" >&5
20128 sed 's/^/| /' conftest.
$ac_ext >&5
20130 ac_cv_member_struct_mtget_mt_blksiz
=no
20133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20138 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20139 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20140 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20142 cat >>confdefs.h
<<_ACEOF
20143 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20148 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20149 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20150 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20151 echo $ECHO_N "(cached) $ECHO_C" >&6
20153 cat >conftest.
$ac_ext <<_ACEOF
20156 cat confdefs.h
>>conftest.
$ac_ext
20157 cat >>conftest.
$ac_ext <<_ACEOF
20158 /* end confdefs.h. */
20159 #include <sys/types.h>
20160 #ifdef HAVE_SYS_MTIO_H
20161 #include <sys/mtio.h>
20167 static struct mtget ac_aggr;
20168 if (ac_aggr.mt_gstat)
20174 rm -f conftest.
$ac_objext
20175 if { (ac_try
="$ac_compile"
20176 case "(($ac_try" in
20177 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20178 *) ac_try_echo=$ac_try;;
20180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20181 (eval "$ac_compile") 2>conftest.er1
20183 grep -v '^ *+' conftest.er1 >conftest.err
20185 cat conftest.err >&5
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); } && {
20188 test -z "$ac_c_werror_flag" ||
20189 test ! -s conftest.err
20190 } && test -s conftest.$ac_objext; then
20191 ac_cv_member_struct_mtget_mt_gstat=yes
20193 echo "$as_me: failed program was:" >&5
20194 sed 's/^/| /' conftest.$ac_ext >&5
20196 cat >conftest.$ac_ext <<_ACEOF
20199 cat confdefs.h >>conftest.$ac_ext
20200 cat >>conftest.$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20202 #include <sys/types.h>
20203 #ifdef HAVE_SYS_MTIO_H
20204 #include <sys/mtio.h>
20210 static struct mtget ac_aggr;
20211 if (sizeof ac_aggr.mt_gstat)
20217 rm -f conftest.$ac_objext
20218 if { (ac_try="$ac_compile"
20219 case "(($ac_try" in
20220 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20221 *) ac_try_echo
=$ac_try;;
20223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20224 (eval "$ac_compile") 2>conftest.er1
20226 grep -v '^ *+' conftest.er1
>conftest.err
20228 cat conftest.err
>&5
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); } && {
20231 test -z "$ac_c_werror_flag" ||
20232 test ! -s conftest.err
20233 } && test -s conftest.
$ac_objext; then
20234 ac_cv_member_struct_mtget_mt_gstat
=yes
20236 echo "$as_me: failed program was:" >&5
20237 sed 's/^/| /' conftest.
$ac_ext >&5
20239 ac_cv_member_struct_mtget_mt_gstat
=no
20242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20247 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20248 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20249 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20251 cat >>confdefs.h
<<_ACEOF
20252 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20257 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20258 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20259 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20260 echo $ECHO_N "(cached) $ECHO_C" >&6
20262 cat >conftest.
$ac_ext <<_ACEOF
20265 cat confdefs.h
>>conftest.
$ac_ext
20266 cat >>conftest.
$ac_ext <<_ACEOF
20267 /* end confdefs.h. */
20268 #include <sys/types.h>
20269 #ifdef HAVE_SYS_MTIO_H
20270 #include <sys/mtio.h>
20276 static struct mtget ac_aggr;
20277 if (ac_aggr.mt_blkno)
20283 rm -f conftest.
$ac_objext
20284 if { (ac_try
="$ac_compile"
20285 case "(($ac_try" in
20286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20287 *) ac_try_echo=$ac_try;;
20289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20290 (eval "$ac_compile") 2>conftest.er1
20292 grep -v '^ *+' conftest.er1 >conftest.err
20294 cat conftest.err >&5
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); } && {
20297 test -z "$ac_c_werror_flag" ||
20298 test ! -s conftest.err
20299 } && test -s conftest.$ac_objext; then
20300 ac_cv_member_struct_mtget_mt_blkno=yes
20302 echo "$as_me: failed program was:" >&5
20303 sed 's/^/| /' conftest.$ac_ext >&5
20305 cat >conftest.$ac_ext <<_ACEOF
20308 cat confdefs.h >>conftest.$ac_ext
20309 cat >>conftest.$ac_ext <<_ACEOF
20310 /* end confdefs.h. */
20311 #include <sys/types.h>
20312 #ifdef HAVE_SYS_MTIO_H
20313 #include <sys/mtio.h>
20319 static struct mtget ac_aggr;
20320 if (sizeof ac_aggr.mt_blkno)
20326 rm -f conftest.$ac_objext
20327 if { (ac_try="$ac_compile"
20328 case "(($ac_try" in
20329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20330 *) ac_try_echo
=$ac_try;;
20332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20333 (eval "$ac_compile") 2>conftest.er1
20335 grep -v '^ *+' conftest.er1
>conftest.err
20337 cat conftest.err
>&5
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); } && {
20340 test -z "$ac_c_werror_flag" ||
20341 test ! -s conftest.err
20342 } && test -s conftest.
$ac_objext; then
20343 ac_cv_member_struct_mtget_mt_blkno
=yes
20345 echo "$as_me: failed program was:" >&5
20346 sed 's/^/| /' conftest.
$ac_ext >&5
20348 ac_cv_member_struct_mtget_mt_blkno
=no
20351 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20356 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20357 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20358 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20360 cat >>confdefs.h
<<_ACEOF
20361 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20368 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20369 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20370 if test "${ac_cv_member_struct_option_name+set}" = set; then
20371 echo $ECHO_N "(cached) $ECHO_C" >&6
20373 cat >conftest.
$ac_ext <<_ACEOF
20376 cat confdefs.h
>>conftest.
$ac_ext
20377 cat >>conftest.
$ac_ext <<_ACEOF
20378 /* end confdefs.h. */
20379 #ifdef HAVE_GETOPT_H
20380 #include <getopt.h>
20386 static struct option ac_aggr;
20393 rm -f conftest.
$ac_objext
20394 if { (ac_try
="$ac_compile"
20395 case "(($ac_try" in
20396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20397 *) ac_try_echo=$ac_try;;
20399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20400 (eval "$ac_compile") 2>conftest.er1
20402 grep -v '^ *+' conftest.er1 >conftest.err
20404 cat conftest.err >&5
20405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406 (exit $ac_status); } && {
20407 test -z "$ac_c_werror_flag" ||
20408 test ! -s conftest.err
20409 } && test -s conftest.$ac_objext; then
20410 ac_cv_member_struct_option_name=yes
20412 echo "$as_me: failed program was:" >&5
20413 sed 's/^/| /' conftest.$ac_ext >&5
20415 cat >conftest.$ac_ext <<_ACEOF
20418 cat confdefs.h >>conftest.$ac_ext
20419 cat >>conftest.$ac_ext <<_ACEOF
20420 /* end confdefs.h. */
20421 #ifdef HAVE_GETOPT_H
20422 #include <getopt.h>
20428 static struct option ac_aggr;
20429 if (sizeof ac_aggr.name)
20435 rm -f conftest.$ac_objext
20436 if { (ac_try="$ac_compile"
20437 case "(($ac_try" in
20438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20439 *) ac_try_echo
=$ac_try;;
20441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20442 (eval "$ac_compile") 2>conftest.er1
20444 grep -v '^ *+' conftest.er1
>conftest.err
20446 cat conftest.err
>&5
20447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20448 (exit $ac_status); } && {
20449 test -z "$ac_c_werror_flag" ||
20450 test ! -s conftest.err
20451 } && test -s conftest.
$ac_objext; then
20452 ac_cv_member_struct_option_name
=yes
20454 echo "$as_me: failed program was:" >&5
20455 sed 's/^/| /' conftest.
$ac_ext >&5
20457 ac_cv_member_struct_option_name
=no
20460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20465 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20466 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20467 if test $ac_cv_member_struct_option_name = yes; then
20469 cat >>confdefs.h
<<_ACEOF
20470 #define HAVE_STRUCT_OPTION_NAME 1
20477 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20478 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20479 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20480 echo $ECHO_N "(cached) $ECHO_C" >&6
20482 cat >conftest.
$ac_ext <<_ACEOF
20485 cat confdefs.h
>>conftest.
$ac_ext
20486 cat >>conftest.
$ac_ext <<_ACEOF
20487 /* end confdefs.h. */
20488 $ac_includes_default
20492 static struct stat ac_aggr;
20493 if (ac_aggr.st_blocks)
20499 rm -f conftest.
$ac_objext
20500 if { (ac_try
="$ac_compile"
20501 case "(($ac_try" in
20502 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20503 *) ac_try_echo=$ac_try;;
20505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20506 (eval "$ac_compile") 2>conftest.er1
20508 grep -v '^ *+' conftest.er1 >conftest.err
20510 cat conftest.err >&5
20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512 (exit $ac_status); } && {
20513 test -z "$ac_c_werror_flag" ||
20514 test ! -s conftest.err
20515 } && test -s conftest.$ac_objext; then
20516 ac_cv_member_struct_stat_st_blocks=yes
20518 echo "$as_me: failed program was:" >&5
20519 sed 's/^/| /' conftest.$ac_ext >&5
20521 cat >conftest.$ac_ext <<_ACEOF
20524 cat confdefs.h >>conftest.$ac_ext
20525 cat >>conftest.$ac_ext <<_ACEOF
20526 /* end confdefs.h. */
20527 $ac_includes_default
20531 static struct stat ac_aggr;
20532 if (sizeof ac_aggr.st_blocks)
20538 rm -f conftest.$ac_objext
20539 if { (ac_try="$ac_compile"
20540 case "(($ac_try" in
20541 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20542 *) ac_try_echo
=$ac_try;;
20544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20545 (eval "$ac_compile") 2>conftest.er1
20547 grep -v '^ *+' conftest.er1
>conftest.err
20549 cat conftest.err
>&5
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); } && {
20552 test -z "$ac_c_werror_flag" ||
20553 test ! -s conftest.err
20554 } && test -s conftest.
$ac_objext; then
20555 ac_cv_member_struct_stat_st_blocks
=yes
20557 echo "$as_me: failed program was:" >&5
20558 sed 's/^/| /' conftest.
$ac_ext >&5
20560 ac_cv_member_struct_stat_st_blocks
=no
20563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20568 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20569 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20570 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20572 cat >>confdefs.h
<<_ACEOF
20573 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20580 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20581 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20582 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20583 echo $ECHO_N "(cached) $ECHO_C" >&6
20585 cat >conftest.
$ac_ext <<_ACEOF
20588 cat confdefs.h
>>conftest.
$ac_ext
20589 cat >>conftest.
$ac_ext <<_ACEOF
20590 /* end confdefs.h. */
20591 #ifdef HAVE_SYS_TYPES_H
20592 #include <sys/types.h>
20594 #ifdef HAVE_NETINET_IN_H
20595 #include <netinet/in.h>
20601 static struct sockaddr_in6 ac_aggr;
20602 if (ac_aggr.sin6_scope_id)
20608 rm -f conftest.
$ac_objext
20609 if { (ac_try
="$ac_compile"
20610 case "(($ac_try" in
20611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20612 *) ac_try_echo=$ac_try;;
20614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20615 (eval "$ac_compile") 2>conftest.er1
20617 grep -v '^ *+' conftest.er1 >conftest.err
20619 cat conftest.err >&5
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); } && {
20622 test -z "$ac_c_werror_flag" ||
20623 test ! -s conftest.err
20624 } && test -s conftest.$ac_objext; then
20625 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20627 echo "$as_me: failed program was:" >&5
20628 sed 's/^/| /' conftest.$ac_ext >&5
20630 cat >conftest.$ac_ext <<_ACEOF
20633 cat confdefs.h >>conftest.$ac_ext
20634 cat >>conftest.$ac_ext <<_ACEOF
20635 /* end confdefs.h. */
20636 #ifdef HAVE_SYS_TYPES_H
20637 #include <sys/types.h>
20639 #ifdef HAVE_NETINET_IN_H
20640 #include <netinet/in.h>
20646 static struct sockaddr_in6 ac_aggr;
20647 if (sizeof ac_aggr.sin6_scope_id)
20653 rm -f conftest.$ac_objext
20654 if { (ac_try="$ac_compile"
20655 case "(($ac_try" in
20656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20657 *) ac_try_echo
=$ac_try;;
20659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20660 (eval "$ac_compile") 2>conftest.er1
20662 grep -v '^ *+' conftest.er1
>conftest.err
20664 cat conftest.err
>&5
20665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666 (exit $ac_status); } && {
20667 test -z "$ac_c_werror_flag" ||
20668 test ! -s conftest.err
20669 } && test -s conftest.
$ac_objext; then
20670 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
20672 echo "$as_me: failed program was:" >&5
20673 sed 's/^/| /' conftest.
$ac_ext >&5
20675 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
20678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20683 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20684 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20685 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20687 cat >>confdefs.h
<<_ACEOF
20688 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20695 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20696 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20697 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20698 echo $ECHO_N "(cached) $ECHO_C" >&6
20700 cat >conftest.
$ac_ext <<_ACEOF
20703 cat confdefs.h
>>conftest.
$ac_ext
20704 cat >>conftest.
$ac_ext <<_ACEOF
20705 /* end confdefs.h. */
20706 #ifdef HAVE_SYS_TYPES_H
20707 #include <sys/types.h>
20709 #ifdef HAVE_NETINET_IN_H
20710 # include <netinet/in.h>
20712 #ifdef HAVE_ARPA_NAMESER_H
20713 # include <arpa/nameser.h>
20719 static ns_msg ac_aggr;
20720 if (ac_aggr._msg_ptr)
20726 rm -f conftest.
$ac_objext
20727 if { (ac_try
="$ac_compile"
20728 case "(($ac_try" in
20729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20730 *) ac_try_echo=$ac_try;;
20732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20733 (eval "$ac_compile") 2>conftest.er1
20735 grep -v '^ *+' conftest.er1 >conftest.err
20737 cat conftest.err >&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } && {
20740 test -z "$ac_c_werror_flag" ||
20741 test ! -s conftest.err
20742 } && test -s conftest.$ac_objext; then
20743 ac_cv_member_ns_msg__msg_ptr=yes
20745 echo "$as_me: failed program was:" >&5
20746 sed 's/^/| /' conftest.$ac_ext >&5
20748 cat >conftest.$ac_ext <<_ACEOF
20751 cat confdefs.h >>conftest.$ac_ext
20752 cat >>conftest.$ac_ext <<_ACEOF
20753 /* end confdefs.h. */
20754 #ifdef HAVE_SYS_TYPES_H
20755 #include <sys/types.h>
20757 #ifdef HAVE_NETINET_IN_H
20758 # include <netinet/in.h>
20760 #ifdef HAVE_ARPA_NAMESER_H
20761 # include <arpa/nameser.h>
20767 static ns_msg ac_aggr;
20768 if (sizeof ac_aggr._msg_ptr)
20774 rm -f conftest.$ac_objext
20775 if { (ac_try="$ac_compile"
20776 case "(($ac_try" in
20777 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20778 *) ac_try_echo
=$ac_try;;
20780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20781 (eval "$ac_compile") 2>conftest.er1
20783 grep -v '^ *+' conftest.er1
>conftest.err
20785 cat conftest.err
>&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); } && {
20788 test -z "$ac_c_werror_flag" ||
20789 test ! -s conftest.err
20790 } && test -s conftest.
$ac_objext; then
20791 ac_cv_member_ns_msg__msg_ptr
=yes
20793 echo "$as_me: failed program was:" >&5
20794 sed 's/^/| /' conftest.
$ac_ext >&5
20796 ac_cv_member_ns_msg__msg_ptr
=no
20799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20804 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20805 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20806 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20808 cat >>confdefs.h
<<_ACEOF
20809 #define HAVE_NS_MSG__MSG_PTR 1
20816 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20817 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20818 if test "${ac_cv_have_timezone+set}" = set; then
20819 echo $ECHO_N "(cached) $ECHO_C" >&6
20821 cat >conftest.
$ac_ext <<_ACEOF
20824 cat confdefs.h
>>conftest.
$ac_ext
20825 cat >>conftest.
$ac_ext <<_ACEOF
20826 /* end confdefs.h. */
20836 rm -f conftest.
$ac_objext conftest
$ac_exeext
20837 if { (ac_try
="$ac_link"
20838 case "(($ac_try" in
20839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20840 *) ac_try_echo=$ac_try;;
20842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20843 (eval "$ac_link") 2>conftest.er1
20845 grep -v '^ *+' conftest.er1 >conftest.err
20847 cat conftest.err >&5
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); } && {
20850 test -z "$ac_c_werror_flag" ||
20851 test ! -s conftest.err
20852 } && test -s conftest$ac_exeext &&
20853 $as_test_x conftest$ac_exeext; then
20854 ac_cv_have_timezone="yes"
20856 echo "$as_me: failed program was:" >&5
20857 sed 's/^/| /' conftest.$ac_ext >&5
20859 ac_cv_have_timezone="no"
20862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20863 conftest$ac_exeext conftest.$ac_ext
20865 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20866 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20867 if test "$ac_cv_have_timezone" = "yes"
20870 cat >>confdefs.h <<\_ACEOF
20871 #define HAVE_TIMEZONE 1
20875 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20876 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20877 if test "${ac_cv_have_daylight+set}" = set; then
20878 echo $ECHO_N "(cached) $ECHO_C" >&6
20880 cat >conftest.$ac_ext <<_ACEOF
20883 cat confdefs.h >>conftest.$ac_ext
20884 cat >>conftest.$ac_ext <<_ACEOF
20885 /* end confdefs.h. */
20895 rm -f conftest.$ac_objext conftest$ac_exeext
20896 if { (ac_try="$ac_link"
20897 case "(($ac_try" in
20898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20899 *) ac_try_echo
=$ac_try;;
20901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20902 (eval "$ac_link") 2>conftest.er1
20904 grep -v '^ *+' conftest.er1
>conftest.err
20906 cat conftest.err
>&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); } && {
20909 test -z "$ac_c_werror_flag" ||
20910 test ! -s conftest.err
20911 } && test -s conftest
$ac_exeext &&
20912 $as_test_x conftest
$ac_exeext; then
20913 ac_cv_have_daylight
="yes"
20915 echo "$as_me: failed program was:" >&5
20916 sed 's/^/| /' conftest.
$ac_ext >&5
20918 ac_cv_have_daylight
="no"
20921 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20922 conftest
$ac_exeext conftest.
$ac_ext
20924 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20925 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20926 if test "$ac_cv_have_daylight" = "yes"
20929 cat >>confdefs.h
<<\_ACEOF
20930 #define HAVE_DAYLIGHT 1
20937 *i
[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20938 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20939 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20940 echo $ECHO_N "(cached) $ECHO_C" >&6
20942 cat >conftest.
$ac_ext <<_ACEOF
20945 cat confdefs.h
>>conftest.
$ac_ext
20946 cat >>conftest.
$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20953 $EGREP "yes" >/dev
/null
2>&1; then
20954 ac_cv_cpp_def___i386__
=yes
20956 ac_cv_cpp_def___i386__
=no
20961 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20962 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20963 if test $ac_cv_cpp_def___i386__ = yes; then
20964 CFLAGS
="$CFLAGS -D__i386__"
20965 LINTFLAGS
="$LINTFLAGS -D__i386__"
20968 *x86_64
*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20969 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20970 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20971 echo $ECHO_N "(cached) $ECHO_C" >&6
20973 cat >conftest.
$ac_ext <<_ACEOF
20976 cat confdefs.h
>>conftest.
$ac_ext
20977 cat >>conftest.
$ac_ext <<_ACEOF
20978 /* end confdefs.h. */
20983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20984 $EGREP "yes" >/dev
/null
2>&1; then
20985 ac_cv_cpp_def___x86_64__
=yes
20987 ac_cv_cpp_def___x86_64__
=no
20992 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20993 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20994 if test $ac_cv_cpp_def___x86_64__ = yes; then
20995 CFLAGS
="$CFLAGS -D__x86_64__"
20996 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20999 *alpha
*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21000 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21001 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21002 echo $ECHO_N "(cached) $ECHO_C" >&6
21004 cat >conftest.
$ac_ext <<_ACEOF
21007 cat confdefs.h
>>conftest.
$ac_ext
21008 cat >>conftest.
$ac_ext <<_ACEOF
21009 /* end confdefs.h. */
21014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21015 $EGREP "yes" >/dev
/null
2>&1; then
21016 ac_cv_cpp_def___ALPHA__
=yes
21018 ac_cv_cpp_def___ALPHA__
=no
21023 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21024 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21025 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21026 CFLAGS
="$CFLAGS -D__ALPHA__"
21027 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
21030 *sparc
*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21031 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21032 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21033 echo $ECHO_N "(cached) $ECHO_C" >&6
21035 cat >conftest.
$ac_ext <<_ACEOF
21038 cat confdefs.h
>>conftest.
$ac_ext
21039 cat >>conftest.
$ac_ext <<_ACEOF
21040 /* end confdefs.h. */
21045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21046 $EGREP "yes" >/dev
/null
2>&1; then
21047 ac_cv_cpp_def___sparc__
=yes
21049 ac_cv_cpp_def___sparc__
=no
21054 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21055 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21056 if test $ac_cv_cpp_def___sparc__ = yes; then
21057 CFLAGS
="$CFLAGS -D__sparc__"
21058 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21061 *powerpc
*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21062 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21063 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21064 echo $ECHO_N "(cached) $ECHO_C" >&6
21066 cat >conftest.
$ac_ext <<_ACEOF
21069 cat confdefs.h
>>conftest.
$ac_ext
21070 cat >>conftest.
$ac_ext <<_ACEOF
21071 /* end confdefs.h. */
21072 #ifndef __powerpc__
21076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21077 $EGREP "yes" >/dev
/null
2>&1; then
21078 ac_cv_cpp_def___powerpc__
=yes
21080 ac_cv_cpp_def___powerpc__
=no
21085 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21086 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21087 if test $ac_cv_cpp_def___powerpc__ = yes; then
21088 CFLAGS
="$CFLAGS -D__powerpc__"
21089 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21094 case $host_vendor in
21095 *sun
*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21096 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21097 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21098 echo $ECHO_N "(cached) $ECHO_C" >&6
21100 cat >conftest.
$ac_ext <<_ACEOF
21103 cat confdefs.h
>>conftest.
$ac_ext
21104 cat >>conftest.
$ac_ext <<_ACEOF
21105 /* end confdefs.h. */
21110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21111 $EGREP "yes" >/dev
/null
2>&1; then
21112 ac_cv_cpp_def___sun__
=yes
21114 ac_cv_cpp_def___sun__
=no
21119 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21120 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21121 if test $ac_cv_cpp_def___sun__ = yes; then
21122 CFLAGS
="$CFLAGS -D__sun__"
21123 LINTFLAGS
="$LINTFLAGS -D__sun__"
21129 DEPENDENCIES
="### Dependencies:
21134 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21136 \$(OBJS): \$(IDL_GEN_HEADERS)
21137 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21138 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21139 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21145 ac_config_commands
="$ac_config_commands include/stamp-h"
21148 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
21150 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
21152 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
21154 ac_config_commands
="$ac_config_commands dlls/user32/resources"
21156 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
21158 ac_config_commands
="$ac_config_commands include/wine"
21161 MAKE_RULES
=Make.rules
21164 MAKE_DLL_RULES
=dlls
/Makedll.rules
21167 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
21170 MAKE_TEST_RULES
=dlls
/Maketest.rules
21173 MAKE_PROG_RULES
=programs
/Makeprog.rules
21176 ac_config_files
="$ac_config_files Make.rules"
21178 ac_config_files
="$ac_config_files dlls/Makedll.rules"
21180 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
21182 ac_config_files
="$ac_config_files dlls/Maketest.rules"
21184 ac_config_files
="$ac_config_files programs/Makeprog.rules"
21186 ac_config_files
="$ac_config_files Makefile"
21188 ac_config_files
="$ac_config_files dlls/Makefile"
21190 ac_config_files
="$ac_config_files dlls/acledit/Makefile"
21192 ac_config_files
="$ac_config_files dlls/activeds/Makefile"
21194 ac_config_files
="$ac_config_files dlls/actxprxy/Makefile"
21196 ac_config_files
="$ac_config_files dlls/adsiid/Makefile"
21198 ac_config_files
="$ac_config_files dlls/advapi32/Makefile"
21200 ac_config_files
="$ac_config_files dlls/advapi32/tests/Makefile"
21202 ac_config_files
="$ac_config_files dlls/advpack/Makefile"
21204 ac_config_files
="$ac_config_files dlls/advpack/tests/Makefile"
21206 ac_config_files
="$ac_config_files dlls/amstream/Makefile"
21208 ac_config_files
="$ac_config_files dlls/atl/Makefile"
21210 ac_config_files
="$ac_config_files dlls/avicap32/Makefile"
21212 ac_config_files
="$ac_config_files dlls/avifil32/Makefile"
21214 ac_config_files
="$ac_config_files dlls/browseui/Makefile"
21216 ac_config_files
="$ac_config_files dlls/browseui/tests/Makefile"
21218 ac_config_files
="$ac_config_files dlls/cabinet/Makefile"
21220 ac_config_files
="$ac_config_files dlls/cabinet/tests/Makefile"
21222 ac_config_files
="$ac_config_files dlls/capi2032/Makefile"
21224 ac_config_files
="$ac_config_files dlls/cards/Makefile"
21226 ac_config_files
="$ac_config_files dlls/cfgmgr32/Makefile"
21228 ac_config_files
="$ac_config_files dlls/clusapi/Makefile"
21230 ac_config_files
="$ac_config_files dlls/comcat/Makefile"
21232 ac_config_files
="$ac_config_files dlls/comcat/tests/Makefile"
21234 ac_config_files
="$ac_config_files dlls/comctl32/Makefile"
21236 ac_config_files
="$ac_config_files dlls/comctl32/tests/Makefile"
21238 ac_config_files
="$ac_config_files dlls/comdlg32/Makefile"
21240 ac_config_files
="$ac_config_files dlls/comdlg32/tests/Makefile"
21242 ac_config_files
="$ac_config_files dlls/compstui/Makefile"
21244 ac_config_files
="$ac_config_files dlls/credui/Makefile"
21246 ac_config_files
="$ac_config_files dlls/credui/tests/Makefile"
21248 ac_config_files
="$ac_config_files dlls/crtdll/Makefile"
21250 ac_config_files
="$ac_config_files dlls/crypt32/Makefile"
21252 ac_config_files
="$ac_config_files dlls/crypt32/tests/Makefile"
21254 ac_config_files
="$ac_config_files dlls/cryptdlg/Makefile"
21256 ac_config_files
="$ac_config_files dlls/cryptdll/Makefile"
21258 ac_config_files
="$ac_config_files dlls/cryptnet/Makefile"
21260 ac_config_files
="$ac_config_files dlls/cryptnet/tests/Makefile"
21262 ac_config_files
="$ac_config_files dlls/ctapi32/Makefile"
21264 ac_config_files
="$ac_config_files dlls/ctl3d32/Makefile"
21266 ac_config_files
="$ac_config_files dlls/d3d10/Makefile"
21268 ac_config_files
="$ac_config_files dlls/d3d8/Makefile"
21270 ac_config_files
="$ac_config_files dlls/d3d8/tests/Makefile"
21272 ac_config_files
="$ac_config_files dlls/d3d9/Makefile"
21274 ac_config_files
="$ac_config_files dlls/d3d9/tests/Makefile"
21276 ac_config_files
="$ac_config_files dlls/d3dim/Makefile"
21278 ac_config_files
="$ac_config_files dlls/d3drm/Makefile"
21280 ac_config_files
="$ac_config_files dlls/d3drm/tests/Makefile"
21282 ac_config_files
="$ac_config_files dlls/d3dx8/Makefile"
21284 ac_config_files
="$ac_config_files dlls/d3dx8/tests/Makefile"
21286 ac_config_files
="$ac_config_files dlls/d3dx9_24/Makefile"
21288 ac_config_files
="$ac_config_files dlls/d3dx9_25/Makefile"
21290 ac_config_files
="$ac_config_files dlls/d3dx9_26/Makefile"
21292 ac_config_files
="$ac_config_files dlls/d3dx9_27/Makefile"
21294 ac_config_files
="$ac_config_files dlls/d3dx9_28/Makefile"
21296 ac_config_files
="$ac_config_files dlls/d3dx9_29/Makefile"
21298 ac_config_files
="$ac_config_files dlls/d3dx9_30/Makefile"
21300 ac_config_files
="$ac_config_files dlls/d3dx9_31/Makefile"
21302 ac_config_files
="$ac_config_files dlls/d3dx9_32/Makefile"
21304 ac_config_files
="$ac_config_files dlls/d3dx9_33/Makefile"
21306 ac_config_files
="$ac_config_files dlls/d3dx9_34/Makefile"
21308 ac_config_files
="$ac_config_files dlls/d3dx9_35/Makefile"
21310 ac_config_files
="$ac_config_files dlls/d3dx9_36/Makefile"
21312 ac_config_files
="$ac_config_files dlls/d3dxof/Makefile"
21314 ac_config_files
="$ac_config_files dlls/dbghelp/Makefile"
21316 ac_config_files
="$ac_config_files dlls/dciman32/Makefile"
21318 ac_config_files
="$ac_config_files dlls/ddraw/Makefile"
21320 ac_config_files
="$ac_config_files dlls/ddraw/tests/Makefile"
21322 ac_config_files
="$ac_config_files dlls/ddrawex/Makefile"
21324 ac_config_files
="$ac_config_files dlls/devenum/Makefile"
21326 ac_config_files
="$ac_config_files dlls/dinput/Makefile"
21328 ac_config_files
="$ac_config_files dlls/dinput/tests/Makefile"
21330 ac_config_files
="$ac_config_files dlls/dinput8/Makefile"
21332 ac_config_files
="$ac_config_files dlls/dmband/Makefile"
21334 ac_config_files
="$ac_config_files dlls/dmcompos/Makefile"
21336 ac_config_files
="$ac_config_files dlls/dmime/Makefile"
21338 ac_config_files
="$ac_config_files dlls/dmloader/Makefile"
21340 ac_config_files
="$ac_config_files dlls/dmscript/Makefile"
21342 ac_config_files
="$ac_config_files dlls/dmstyle/Makefile"
21344 ac_config_files
="$ac_config_files dlls/dmsynth/Makefile"
21346 ac_config_files
="$ac_config_files dlls/dmusic/Makefile"
21348 ac_config_files
="$ac_config_files dlls/dmusic32/Makefile"
21350 ac_config_files
="$ac_config_files dlls/dnsapi/Makefile"
21352 ac_config_files
="$ac_config_files dlls/dnsapi/tests/Makefile"
21354 ac_config_files
="$ac_config_files dlls/dplay/Makefile"
21356 ac_config_files
="$ac_config_files dlls/dplayx/Makefile"
21358 ac_config_files
="$ac_config_files dlls/dplayx/tests/Makefile"
21360 ac_config_files
="$ac_config_files dlls/dpnaddr/Makefile"
21362 ac_config_files
="$ac_config_files dlls/dpnet/Makefile"
21364 ac_config_files
="$ac_config_files dlls/dpnhpast/Makefile"
21366 ac_config_files
="$ac_config_files dlls/dpnlobby/Makefile"
21368 ac_config_files
="$ac_config_files dlls/dsound/Makefile"
21370 ac_config_files
="$ac_config_files dlls/dsound/tests/Makefile"
21372 ac_config_files
="$ac_config_files dlls/dssenh/Makefile"
21374 ac_config_files
="$ac_config_files dlls/dswave/Makefile"
21376 ac_config_files
="$ac_config_files dlls/dwmapi/Makefile"
21378 ac_config_files
="$ac_config_files dlls/dxdiagn/Makefile"
21380 ac_config_files
="$ac_config_files dlls/dxerr8/Makefile"
21382 ac_config_files
="$ac_config_files dlls/dxerr9/Makefile"
21384 ac_config_files
="$ac_config_files dlls/dxguid/Makefile"
21386 ac_config_files
="$ac_config_files dlls/faultrep/Makefile"
21388 ac_config_files
="$ac_config_files dlls/gdi32/Makefile"
21390 ac_config_files
="$ac_config_files dlls/gdi32/tests/Makefile"
21392 ac_config_files
="$ac_config_files dlls/gdiplus/Makefile"
21394 ac_config_files
="$ac_config_files dlls/gdiplus/tests/Makefile"
21396 ac_config_files
="$ac_config_files dlls/glu32/Makefile"
21398 ac_config_files
="$ac_config_files dlls/gphoto2.ds/Makefile"
21400 ac_config_files
="$ac_config_files dlls/gpkcsp/Makefile"
21402 ac_config_files
="$ac_config_files dlls/hal/Makefile"
21404 ac_config_files
="$ac_config_files dlls/hhctrl.ocx/Makefile"
21406 ac_config_files
="$ac_config_files dlls/hid/Makefile"
21408 ac_config_files
="$ac_config_files dlls/hlink/Makefile"
21410 ac_config_files
="$ac_config_files dlls/hlink/tests/Makefile"
21412 ac_config_files
="$ac_config_files dlls/hnetcfg/Makefile"
21414 ac_config_files
="$ac_config_files dlls/iccvid/Makefile"
21416 ac_config_files
="$ac_config_files dlls/icmp/Makefile"
21418 ac_config_files
="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21420 ac_config_files
="$ac_config_files dlls/imaadp32.acm/Makefile"
21422 ac_config_files
="$ac_config_files dlls/imagehlp/Makefile"
21424 ac_config_files
="$ac_config_files dlls/imm32/Makefile"
21426 ac_config_files
="$ac_config_files dlls/imm32/tests/Makefile"
21428 ac_config_files
="$ac_config_files dlls/inetcomm/Makefile"
21430 ac_config_files
="$ac_config_files dlls/inetcomm/tests/Makefile"
21432 ac_config_files
="$ac_config_files dlls/infosoft/Makefile"
21434 ac_config_files
="$ac_config_files dlls/infosoft/tests/Makefile"
21436 ac_config_files
="$ac_config_files dlls/initpki/Makefile"
21438 ac_config_files
="$ac_config_files dlls/inkobj/Makefile"
21440 ac_config_files
="$ac_config_files dlls/inseng/Makefile"
21442 ac_config_files
="$ac_config_files dlls/iphlpapi/Makefile"
21444 ac_config_files
="$ac_config_files dlls/iphlpapi/tests/Makefile"
21446 ac_config_files
="$ac_config_files dlls/itircl/Makefile"
21448 ac_config_files
="$ac_config_files dlls/itss/Makefile"
21450 ac_config_files
="$ac_config_files dlls/itss/tests/Makefile"
21452 ac_config_files
="$ac_config_files dlls/jscript/Makefile"
21454 ac_config_files
="$ac_config_files dlls/kernel32/Makefile"
21456 ac_config_files
="$ac_config_files dlls/kernel32/tests/Makefile"
21458 ac_config_files
="$ac_config_files dlls/localspl/Makefile"
21460 ac_config_files
="$ac_config_files dlls/localspl/tests/Makefile"
21462 ac_config_files
="$ac_config_files dlls/localui/Makefile"
21464 ac_config_files
="$ac_config_files dlls/localui/tests/Makefile"
21466 ac_config_files
="$ac_config_files dlls/lz32/Makefile"
21468 ac_config_files
="$ac_config_files dlls/lz32/tests/Makefile"
21470 ac_config_files
="$ac_config_files dlls/mapi32/Makefile"
21472 ac_config_files
="$ac_config_files dlls/mapi32/tests/Makefile"
21474 ac_config_files
="$ac_config_files dlls/mciavi32/Makefile"
21476 ac_config_files
="$ac_config_files dlls/mcicda/Makefile"
21478 ac_config_files
="$ac_config_files dlls/mciseq/Makefile"
21480 ac_config_files
="$ac_config_files dlls/mciwave/Makefile"
21482 ac_config_files
="$ac_config_files dlls/midimap/Makefile"
21484 ac_config_files
="$ac_config_files dlls/mlang/Makefile"
21486 ac_config_files
="$ac_config_files dlls/mlang/tests/Makefile"
21488 ac_config_files
="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21490 ac_config_files
="$ac_config_files dlls/monodebg.vxd/Makefile"
21492 ac_config_files
="$ac_config_files dlls/mountmgr.sys/Makefile"
21494 ac_config_files
="$ac_config_files dlls/mpr/Makefile"
21496 ac_config_files
="$ac_config_files dlls/mprapi/Makefile"
21498 ac_config_files
="$ac_config_files dlls/msacm32.drv/Makefile"
21500 ac_config_files
="$ac_config_files dlls/msacm32/Makefile"
21502 ac_config_files
="$ac_config_files dlls/msacm32/tests/Makefile"
21504 ac_config_files
="$ac_config_files dlls/msadp32.acm/Makefile"
21506 ac_config_files
="$ac_config_files dlls/mscat32/Makefile"
21508 ac_config_files
="$ac_config_files dlls/mscms/Makefile"
21510 ac_config_files
="$ac_config_files dlls/mscms/tests/Makefile"
21512 ac_config_files
="$ac_config_files dlls/mscoree/Makefile"
21514 ac_config_files
="$ac_config_files dlls/msdmo/Makefile"
21516 ac_config_files
="$ac_config_files dlls/msftedit/Makefile"
21518 ac_config_files
="$ac_config_files dlls/msg711.acm/Makefile"
21520 ac_config_files
="$ac_config_files dlls/mshtml.tlb/Makefile"
21522 ac_config_files
="$ac_config_files dlls/mshtml/Makefile"
21524 ac_config_files
="$ac_config_files dlls/mshtml/tests/Makefile"
21526 ac_config_files
="$ac_config_files dlls/msi/Makefile"
21528 ac_config_files
="$ac_config_files dlls/msi/tests/Makefile"
21530 ac_config_files
="$ac_config_files dlls/msimg32/Makefile"
21532 ac_config_files
="$ac_config_files dlls/msimtf/Makefile"
21534 ac_config_files
="$ac_config_files dlls/msisys.ocx/Makefile"
21536 ac_config_files
="$ac_config_files dlls/msnet32/Makefile"
21538 ac_config_files
="$ac_config_files dlls/msrle32/Makefile"
21540 ac_config_files
="$ac_config_files dlls/mssip32/Makefile"
21542 ac_config_files
="$ac_config_files dlls/msvcirt/Makefile"
21544 ac_config_files
="$ac_config_files dlls/msvcr71/Makefile"
21546 ac_config_files
="$ac_config_files dlls/msvcrt/Makefile"
21548 ac_config_files
="$ac_config_files dlls/msvcrt/tests/Makefile"
21550 ac_config_files
="$ac_config_files dlls/msvcrt20/Makefile"
21552 ac_config_files
="$ac_config_files dlls/msvcrt40/Makefile"
21554 ac_config_files
="$ac_config_files dlls/msvcrtd/Makefile"
21556 ac_config_files
="$ac_config_files dlls/msvcrtd/tests/Makefile"
21558 ac_config_files
="$ac_config_files dlls/msvfw32/Makefile"
21560 ac_config_files
="$ac_config_files dlls/msvidc32/Makefile"
21562 ac_config_files
="$ac_config_files dlls/mswsock/Makefile"
21564 ac_config_files
="$ac_config_files dlls/msxml3/Makefile"
21566 ac_config_files
="$ac_config_files dlls/msxml3/tests/Makefile"
21568 ac_config_files
="$ac_config_files dlls/nddeapi/Makefile"
21570 ac_config_files
="$ac_config_files dlls/netapi32/Makefile"
21572 ac_config_files
="$ac_config_files dlls/netapi32/tests/Makefile"
21574 ac_config_files
="$ac_config_files dlls/newdev/Makefile"
21576 ac_config_files
="$ac_config_files dlls/ntdll/Makefile"
21578 ac_config_files
="$ac_config_files dlls/ntdll/tests/Makefile"
21580 ac_config_files
="$ac_config_files dlls/ntdsapi/Makefile"
21582 ac_config_files
="$ac_config_files dlls/ntdsapi/tests/Makefile"
21584 ac_config_files
="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21586 ac_config_files
="$ac_config_files dlls/ntprint/Makefile"
21588 ac_config_files
="$ac_config_files dlls/ntprint/tests/Makefile"
21590 ac_config_files
="$ac_config_files dlls/objsel/Makefile"
21592 ac_config_files
="$ac_config_files dlls/odbc32/Makefile"
21594 ac_config_files
="$ac_config_files dlls/odbccp32/Makefile"
21596 ac_config_files
="$ac_config_files dlls/odbccp32/tests/Makefile"
21598 ac_config_files
="$ac_config_files dlls/ole32/Makefile"
21600 ac_config_files
="$ac_config_files dlls/ole32/tests/Makefile"
21602 ac_config_files
="$ac_config_files dlls/oleacc/Makefile"
21604 ac_config_files
="$ac_config_files dlls/oleaut32/Makefile"
21606 ac_config_files
="$ac_config_files dlls/oleaut32/tests/Makefile"
21608 ac_config_files
="$ac_config_files dlls/olecli32/Makefile"
21610 ac_config_files
="$ac_config_files dlls/oledlg/Makefile"
21612 ac_config_files
="$ac_config_files dlls/olepro32/Makefile"
21614 ac_config_files
="$ac_config_files dlls/olesvr32/Makefile"
21616 ac_config_files
="$ac_config_files dlls/olethk32/Makefile"
21618 ac_config_files
="$ac_config_files dlls/opengl32/Makefile"
21620 ac_config_files
="$ac_config_files dlls/opengl32/tests/Makefile"
21622 ac_config_files
="$ac_config_files dlls/pdh/Makefile"
21624 ac_config_files
="$ac_config_files dlls/pdh/tests/Makefile"
21626 ac_config_files
="$ac_config_files dlls/powrprof/Makefile"
21628 ac_config_files
="$ac_config_files dlls/printui/Makefile"
21630 ac_config_files
="$ac_config_files dlls/propsys/Makefile"
21632 ac_config_files
="$ac_config_files dlls/psapi/Makefile"
21634 ac_config_files
="$ac_config_files dlls/psapi/tests/Makefile"
21636 ac_config_files
="$ac_config_files dlls/pstorec/Makefile"
21638 ac_config_files
="$ac_config_files dlls/qcap/Makefile"
21640 ac_config_files
="$ac_config_files dlls/qedit/Makefile"
21642 ac_config_files
="$ac_config_files dlls/qedit/tests/Makefile"
21644 ac_config_files
="$ac_config_files dlls/qmgr/Makefile"
21646 ac_config_files
="$ac_config_files dlls/qmgr/tests/Makefile"
21648 ac_config_files
="$ac_config_files dlls/qmgrprxy/Makefile"
21650 ac_config_files
="$ac_config_files dlls/quartz/Makefile"
21652 ac_config_files
="$ac_config_files dlls/quartz/tests/Makefile"
21654 ac_config_files
="$ac_config_files dlls/query/Makefile"
21656 ac_config_files
="$ac_config_files dlls/rasapi32/Makefile"
21658 ac_config_files
="$ac_config_files dlls/resutils/Makefile"
21660 ac_config_files
="$ac_config_files dlls/riched20/Makefile"
21662 ac_config_files
="$ac_config_files dlls/riched20/tests/Makefile"
21664 ac_config_files
="$ac_config_files dlls/riched32/Makefile"
21666 ac_config_files
="$ac_config_files dlls/riched32/tests/Makefile"
21668 ac_config_files
="$ac_config_files dlls/rpcrt4/Makefile"
21670 ac_config_files
="$ac_config_files dlls/rpcrt4/tests/Makefile"
21672 ac_config_files
="$ac_config_files dlls/rsabase/Makefile"
21674 ac_config_files
="$ac_config_files dlls/rsabase/tests/Makefile"
21676 ac_config_files
="$ac_config_files dlls/rsaenh/Makefile"
21678 ac_config_files
="$ac_config_files dlls/rsaenh/tests/Makefile"
21680 ac_config_files
="$ac_config_files dlls/sane.ds/Makefile"
21682 ac_config_files
="$ac_config_files dlls/sccbase/Makefile"
21684 ac_config_files
="$ac_config_files dlls/schannel/Makefile"
21686 ac_config_files
="$ac_config_files dlls/schannel/tests/Makefile"
21688 ac_config_files
="$ac_config_files dlls/secur32/Makefile"
21690 ac_config_files
="$ac_config_files dlls/secur32/tests/Makefile"
21692 ac_config_files
="$ac_config_files dlls/security/Makefile"
21694 ac_config_files
="$ac_config_files dlls/sensapi/Makefile"
21696 ac_config_files
="$ac_config_files dlls/serialui/Makefile"
21698 ac_config_files
="$ac_config_files dlls/serialui/tests/Makefile"
21700 ac_config_files
="$ac_config_files dlls/setupapi/Makefile"
21702 ac_config_files
="$ac_config_files dlls/setupapi/tests/Makefile"
21704 ac_config_files
="$ac_config_files dlls/sfc/Makefile"
21706 ac_config_files
="$ac_config_files dlls/sfc_os/Makefile"
21708 ac_config_files
="$ac_config_files dlls/shdoclc/Makefile"
21710 ac_config_files
="$ac_config_files dlls/shdocvw/Makefile"
21712 ac_config_files
="$ac_config_files dlls/shdocvw/tests/Makefile"
21714 ac_config_files
="$ac_config_files dlls/shell32/Makefile"
21716 ac_config_files
="$ac_config_files dlls/shell32/tests/Makefile"
21718 ac_config_files
="$ac_config_files dlls/shfolder/Makefile"
21720 ac_config_files
="$ac_config_files dlls/shlwapi/Makefile"
21722 ac_config_files
="$ac_config_files dlls/shlwapi/tests/Makefile"
21724 ac_config_files
="$ac_config_files dlls/slbcsp/Makefile"
21726 ac_config_files
="$ac_config_files dlls/slc/Makefile"
21728 ac_config_files
="$ac_config_files dlls/snmpapi/Makefile"
21730 ac_config_files
="$ac_config_files dlls/snmpapi/tests/Makefile"
21732 ac_config_files
="$ac_config_files dlls/softpub/Makefile"
21734 ac_config_files
="$ac_config_files dlls/spoolss/Makefile"
21736 ac_config_files
="$ac_config_files dlls/spoolss/tests/Makefile"
21738 ac_config_files
="$ac_config_files dlls/stdole2.tlb/Makefile"
21740 ac_config_files
="$ac_config_files dlls/stdole32.tlb/Makefile"
21742 ac_config_files
="$ac_config_files dlls/sti/Makefile"
21744 ac_config_files
="$ac_config_files dlls/strmiids/Makefile"
21746 ac_config_files
="$ac_config_files dlls/svrapi/Makefile"
21748 ac_config_files
="$ac_config_files dlls/sxs/Makefile"
21750 ac_config_files
="$ac_config_files dlls/tapi32/Makefile"
21752 ac_config_files
="$ac_config_files dlls/twain_32/Makefile"
21754 ac_config_files
="$ac_config_files dlls/unicows/Makefile"
21756 ac_config_files
="$ac_config_files dlls/url/Makefile"
21758 ac_config_files
="$ac_config_files dlls/urlmon/Makefile"
21760 ac_config_files
="$ac_config_files dlls/urlmon/tests/Makefile"
21762 ac_config_files
="$ac_config_files dlls/user32/Makefile"
21764 ac_config_files
="$ac_config_files dlls/user32/tests/Makefile"
21766 ac_config_files
="$ac_config_files dlls/userenv/Makefile"
21768 ac_config_files
="$ac_config_files dlls/usp10/Makefile"
21770 ac_config_files
="$ac_config_files dlls/usp10/tests/Makefile"
21772 ac_config_files
="$ac_config_files dlls/uuid/Makefile"
21774 ac_config_files
="$ac_config_files dlls/uxtheme/Makefile"
21776 ac_config_files
="$ac_config_files dlls/uxtheme/tests/Makefile"
21778 ac_config_files
="$ac_config_files dlls/vdhcp.vxd/Makefile"
21780 ac_config_files
="$ac_config_files dlls/vdmdbg/Makefile"
21782 ac_config_files
="$ac_config_files dlls/version/Makefile"
21784 ac_config_files
="$ac_config_files dlls/version/tests/Makefile"
21786 ac_config_files
="$ac_config_files dlls/vmm.vxd/Makefile"
21788 ac_config_files
="$ac_config_files dlls/vnbt.vxd/Makefile"
21790 ac_config_files
="$ac_config_files dlls/vnetbios.vxd/Makefile"
21792 ac_config_files
="$ac_config_files dlls/vtdapi.vxd/Makefile"
21794 ac_config_files
="$ac_config_files dlls/vwin32.vxd/Makefile"
21796 ac_config_files
="$ac_config_files dlls/w32skrnl/Makefile"
21798 ac_config_files
="$ac_config_files dlls/winealsa.drv/Makefile"
21800 ac_config_files
="$ac_config_files dlls/wineaudioio.drv/Makefile"
21802 ac_config_files
="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21804 ac_config_files
="$ac_config_files dlls/winecrt0/Makefile"
21806 ac_config_files
="$ac_config_files dlls/wined3d/Makefile"
21808 ac_config_files
="$ac_config_files dlls/winedos/Makefile"
21810 ac_config_files
="$ac_config_files dlls/wineesd.drv/Makefile"
21812 ac_config_files
="$ac_config_files dlls/winejack.drv/Makefile"
21814 ac_config_files
="$ac_config_files dlls/winejoystick.drv/Makefile"
21816 ac_config_files
="$ac_config_files dlls/winemp3.acm/Makefile"
21818 ac_config_files
="$ac_config_files dlls/winenas.drv/Makefile"
21820 ac_config_files
="$ac_config_files dlls/wineoss.drv/Makefile"
21822 ac_config_files
="$ac_config_files dlls/wineps.drv/Makefile"
21824 ac_config_files
="$ac_config_files dlls/winequartz.drv/Makefile"
21826 ac_config_files
="$ac_config_files dlls/winex11.drv/Makefile"
21828 ac_config_files
="$ac_config_files dlls/wing32/Makefile"
21830 ac_config_files
="$ac_config_files dlls/winhttp/Makefile"
21832 ac_config_files
="$ac_config_files dlls/wininet/Makefile"
21834 ac_config_files
="$ac_config_files dlls/wininet/tests/Makefile"
21836 ac_config_files
="$ac_config_files dlls/winmm/Makefile"
21838 ac_config_files
="$ac_config_files dlls/winmm/tests/Makefile"
21840 ac_config_files
="$ac_config_files dlls/winnls32/Makefile"
21842 ac_config_files
="$ac_config_files dlls/winscard/Makefile"
21844 ac_config_files
="$ac_config_files dlls/winspool.drv/Makefile"
21846 ac_config_files
="$ac_config_files dlls/winspool.drv/tests/Makefile"
21848 ac_config_files
="$ac_config_files dlls/wintab32/Makefile"
21850 ac_config_files
="$ac_config_files dlls/wintrust/Makefile"
21852 ac_config_files
="$ac_config_files dlls/wintrust/tests/Makefile"
21854 ac_config_files
="$ac_config_files dlls/wldap32/Makefile"
21856 ac_config_files
="$ac_config_files dlls/wmi/Makefile"
21858 ac_config_files
="$ac_config_files dlls/wnaspi32/Makefile"
21860 ac_config_files
="$ac_config_files dlls/wow32/Makefile"
21862 ac_config_files
="$ac_config_files dlls/ws2_32/Makefile"
21864 ac_config_files
="$ac_config_files dlls/ws2_32/tests/Makefile"
21866 ac_config_files
="$ac_config_files dlls/wsock32/Makefile"
21868 ac_config_files
="$ac_config_files dlls/wtsapi32/Makefile"
21870 ac_config_files
="$ac_config_files documentation/Makefile"
21872 ac_config_files
="$ac_config_files fonts/Makefile"
21874 ac_config_files
="$ac_config_files include/Makefile"
21876 ac_config_files
="$ac_config_files libs/Makefile"
21878 ac_config_files
="$ac_config_files libs/port/Makefile"
21880 ac_config_files
="$ac_config_files libs/wine/Makefile"
21882 ac_config_files
="$ac_config_files libs/wpp/Makefile"
21884 ac_config_files
="$ac_config_files loader/Makefile"
21886 ac_config_files
="$ac_config_files programs/Makefile"
21888 ac_config_files
="$ac_config_files programs/clock/Makefile"
21890 ac_config_files
="$ac_config_files programs/cmd/Makefile"
21892 ac_config_files
="$ac_config_files programs/cmdlgtst/Makefile"
21894 ac_config_files
="$ac_config_files programs/control/Makefile"
21896 ac_config_files
="$ac_config_files programs/eject/Makefile"
21898 ac_config_files
="$ac_config_files programs/expand/Makefile"
21900 ac_config_files
="$ac_config_files programs/explorer/Makefile"
21902 ac_config_files
="$ac_config_files programs/hh/Makefile"
21904 ac_config_files
="$ac_config_files programs/icinfo/Makefile"
21906 ac_config_files
="$ac_config_files programs/iexplore/Makefile"
21908 ac_config_files
="$ac_config_files programs/msiexec/Makefile"
21910 ac_config_files
="$ac_config_files programs/net/Makefile"
21912 ac_config_files
="$ac_config_files programs/notepad/Makefile"
21914 ac_config_files
="$ac_config_files programs/oleview/Makefile"
21916 ac_config_files
="$ac_config_files programs/progman/Makefile"
21918 ac_config_files
="$ac_config_files programs/reg/Makefile"
21920 ac_config_files
="$ac_config_files programs/regedit/Makefile"
21922 ac_config_files
="$ac_config_files programs/regsvr32/Makefile"
21924 ac_config_files
="$ac_config_files programs/rpcss/Makefile"
21926 ac_config_files
="$ac_config_files programs/rundll32/Makefile"
21928 ac_config_files
="$ac_config_files programs/secedit/Makefile"
21930 ac_config_files
="$ac_config_files programs/spoolsv/Makefile"
21932 ac_config_files
="$ac_config_files programs/start/Makefile"
21934 ac_config_files
="$ac_config_files programs/svchost/Makefile"
21936 ac_config_files
="$ac_config_files programs/taskmgr/Makefile"
21938 ac_config_files
="$ac_config_files programs/uninstaller/Makefile"
21940 ac_config_files
="$ac_config_files programs/view/Makefile"
21942 ac_config_files
="$ac_config_files programs/wineboot/Makefile"
21944 ac_config_files
="$ac_config_files programs/winebrowser/Makefile"
21946 ac_config_files
="$ac_config_files programs/winecfg/Makefile"
21948 ac_config_files
="$ac_config_files programs/wineconsole/Makefile"
21950 ac_config_files
="$ac_config_files programs/winedbg/Makefile"
21952 ac_config_files
="$ac_config_files programs/winedevice/Makefile"
21954 ac_config_files
="$ac_config_files programs/winefile/Makefile"
21956 ac_config_files
="$ac_config_files programs/winemenubuilder/Makefile"
21958 ac_config_files
="$ac_config_files programs/winemine/Makefile"
21960 ac_config_files
="$ac_config_files programs/winepath/Makefile"
21962 ac_config_files
="$ac_config_files programs/winetest/Makefile"
21964 ac_config_files
="$ac_config_files programs/winevdm/Makefile"
21966 ac_config_files
="$ac_config_files programs/winhelp/Makefile"
21968 ac_config_files
="$ac_config_files programs/winver/Makefile"
21970 ac_config_files
="$ac_config_files programs/wordpad/Makefile"
21972 ac_config_files
="$ac_config_files programs/write/Makefile"
21974 ac_config_files
="$ac_config_files programs/xcopy/Makefile"
21976 ac_config_files
="$ac_config_files server/Makefile"
21978 ac_config_files
="$ac_config_files tools/Makefile"
21980 ac_config_files
="$ac_config_files tools/widl/Makefile"
21982 ac_config_files
="$ac_config_files tools/winebuild/Makefile"
21984 ac_config_files
="$ac_config_files tools/winedump/Makefile"
21986 ac_config_files
="$ac_config_files tools/winegcc/Makefile"
21988 ac_config_files
="$ac_config_files tools/wmc/Makefile"
21990 ac_config_files
="$ac_config_files tools/wrc/Makefile"
21993 cat >confcache
<<\_ACEOF
21994 # This file is a shell script that caches the results of configure
21995 # tests run on this system so they can be shared between configure
21996 # scripts and configure runs, see configure's option --config-cache.
21997 # It is not useful on other systems. If it contains results you don't
21998 # want to keep, you may remove or edit it.
22000 # config.status only pays attention to the cache file if you give it
22001 # the --recheck option to rerun configure.
22003 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22004 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22005 # following values.
22009 # The following way of writing the cache mishandles newlines in values,
22010 # but we know of no workaround that is simple, portable, and efficient.
22011 # So, we kill variables containing newlines.
22012 # Ultrix sh set writes to stderr and can't be redirected directly,
22013 # and sets the high bit in the cache file unless we assign to the vars.
22015 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22016 eval ac_val
=\$
$ac_var
22020 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22021 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22024 _ | IFS | as_nl
) ;; #(
22025 *) $as_unset $ac_var ;;
22031 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22032 *${as_nl}ac_space
=\
*)
22033 # `set' does not quote correctly, so add quotes (double-quote
22034 # substitution turns \\\\ into \\, and sed turns \\ into \).
22037 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22040 # `set' quotes correctly as required by POSIX, so do not add quotes.
22041 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22050 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22052 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22054 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22055 if test -w "$cache_file"; then
22056 test "x$cache_file" != "x/dev/null" &&
22057 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22058 echo "$as_me: updating cache $cache_file" >&6;}
22059 cat confcache
>$cache_file
22061 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22062 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22067 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22068 # Let make expand exec_prefix.
22069 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22071 DEFS
=-DHAVE_CONFIG_H
22075 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22076 # 1. Remove the extension, and $U if already installed.
22077 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22078 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22079 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22080 # will be set to the directory where LIBOBJS objects are built.
22081 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22082 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22084 LIBOBJS
=$ac_libobjs
22086 LTLIBOBJS
=$ac_ltlibobjs
22090 : ${CONFIG_STATUS=./config.status}
22091 ac_clean_files_save
=$ac_clean_files
22092 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22093 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22094 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22095 cat >$CONFIG_STATUS <<_ACEOF
22097 # Generated by $as_me.
22098 # Run this file to recreate the current configuration.
22099 # Compiler output produced by configure, useful for debugging
22100 # configure, is in config.log if it exists.
22103 ac_cs_recheck=false
22105 SHELL=\${CONFIG_SHELL-$SHELL}
22108 cat >>$CONFIG_STATUS <<\_ACEOF
22109 ## --------------------- ##
22110 ## M4sh Initialization. ##
22111 ## --------------------- ##
22113 # Be more Bourne compatible
22114 DUALCASE
=1; export DUALCASE
# for MKS sh
22115 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22118 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22119 # is contrary to our usage. Disable this feature.
22120 alias -g '${1+"$@"}'='"$@"'
22121 setopt NO_GLOB_SUBST
22123 case `(set -o) 2>/dev/null` in
22124 *posix
*) set -o posix
;;
22133 # Avoid depending upon Character Ranges.
22134 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22135 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22136 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22137 as_cr_digits
='0123456789'
22138 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22140 # The user is always right.
22141 if test "${PATH_SEPARATOR+set}" != set; then
22142 echo "#! /bin/sh" >conf$$.sh
22143 echo "exit 0" >>conf$$.sh
22145 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22153 # Support unset when possible.
22154 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22162 # We need space, tab and new line, in precisely that order. Quoting is
22163 # there to prevent editors from complaining about space-tab.
22164 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22165 # splitting by setting IFS to empty value.)
22170 # Find who we are. Look in the path if we contain no directory separator.
22172 *[\\/]* ) as_myself
=$0 ;;
22173 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22174 for as_dir
in $PATH
22177 test -z "$as_dir" && as_dir
=.
22178 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22184 # We did not find ourselves, most probably we were run as `sh COMMAND'
22185 # in which case we are not to be found in the path.
22186 if test "x$as_myself" = x
; then
22189 if test ! -f "$as_myself"; then
22190 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22191 { (exit 1); exit 1; }
22194 # Work around bugs in pre-3.0 UWIN ksh.
22195 for as_var
in ENV MAIL MAILPATH
22196 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22204 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22205 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22206 LC_TELEPHONE LC_TIME
22208 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22209 eval $as_var=C
; export $as_var
22211 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22215 # Required to use basename.
22216 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22217 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22223 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22224 as_basename
=basename
22230 # Name of the executable.
22231 as_me
=`$as_basename -- "$0" ||
22232 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22233 X"$0" : 'X\(//\)$' \| \
22234 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22236 sed '/^.*\/\([^/][^/]*\)\/*$/{
22255 as_lineno_1
=$LINENO
22256 as_lineno_2
=$LINENO
22257 test "x$as_lineno_1" != "x$as_lineno_2" &&
22258 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22260 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22261 # uniformly replaced by the line number. The first 'sed' inserts a
22262 # line-number line after each line using $LINENO; the second 'sed'
22263 # does the real work. The second script uses 'N' to pair each
22264 # line-number line with the line containing $LINENO, and appends
22265 # trailing '-' during substitution so that $LINENO is not a special
22266 # case at line end.
22267 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22268 # scripts with optimization help from Paolo Bonzini. Blame Lee
22269 # E. McMahon (1931-1989) for sed's syntax. :-)
22281 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22284 ' >$as_me.lineno
&&
22285 chmod +x
"$as_me.lineno" ||
22286 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22287 { (exit 1); exit 1; }; }
22289 # Don't try to exec as it changes $[0], causing all sort of problems
22290 # (the dirname of $[0] is not the place where we might find the
22291 # original and so on. Autoconf is especially sensitive to this).
22292 .
"./$as_me.lineno"
22293 # Exit status is that of the last command.
22298 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22304 ECHO_C
= ECHO_N
= ECHO_T
=
22305 case `echo -n x` in
22307 case `echo 'x\c'` in
22308 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22315 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22316 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22322 rm -f conf$$ conf$$.exe conf$$.
file
22323 if test -d conf$$.dir
; then
22324 rm -f conf$$.dir
/conf$$.
file
22330 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22332 # ... but there are two gotchas:
22333 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22334 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22335 # In both cases, we have to default to `cp -p'.
22336 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22338 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22343 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22344 rmdir conf$$.dir
2>/dev
/null
22346 if mkdir
-p .
2>/dev
/null
; then
22349 test -d .
/-p && rmdir .
/-p
22353 if test -x / >/dev
/null
2>&1; then
22354 as_test_x
='test -x'
22356 if ls -dL / >/dev
/null
2>&1; then
22363 if test -d "$1"; then
22369 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22370 ???[sx]*):;;*)false;;esac;fi
22374 as_executable_p
=$as_test_x
22376 # Sed expression to map a string onto a valid CPP name.
22377 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22379 # Sed expression to map a string onto a valid variable name.
22380 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22385 # Save the log message, to keep $[0] and so on meaningful, and to
22386 # report actual input values of CONFIG_FILES etc. instead of their
22387 # values after options handling.
22389 This file was extended by Wine $as_me 0.9.57, which was
22390 generated by GNU Autoconf 2.61. Invocation command line was
22392 CONFIG_FILES = $CONFIG_FILES
22393 CONFIG_HEADERS = $CONFIG_HEADERS
22394 CONFIG_LINKS = $CONFIG_LINKS
22395 CONFIG_COMMANDS = $CONFIG_COMMANDS
22398 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22403 cat >>$CONFIG_STATUS <<_ACEOF
22404 # Files that config.status was made for.
22405 config_files="$ac_config_files"
22406 config_headers="$ac_config_headers"
22407 config_commands="$ac_config_commands"
22411 cat >>$CONFIG_STATUS <<\_ACEOF
22413 \`$as_me' instantiates files from templates according to the
22414 current configuration.
22416 Usage: $0 [OPTIONS] [FILE]...
22418 -h, --help print this help, then exit
22419 -V, --version print version number and configuration settings, then exit
22420 -q, --quiet do not print progress messages
22421 -d, --debug don't remove temporary files
22422 --recheck update $as_me by reconfiguring in the same conditions
22423 --file=FILE[:TEMPLATE]
22424 instantiate the configuration file FILE
22425 --header=FILE[:TEMPLATE]
22426 instantiate the configuration header FILE
22428 Configuration files:
22431 Configuration headers:
22434 Configuration commands:
22437 Report bugs to <bug-autoconf@gnu.org>."
22440 cat >>$CONFIG_STATUS <<_ACEOF
22442 Wine config.status 0.9.57
22443 configured by $0, generated by GNU Autoconf 2.61,
22444 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22446 Copyright (C) 2006 Free Software Foundation, Inc.
22447 This config.status script is free software; the Free Software Foundation
22448 gives unlimited permission to copy, distribute and modify it."
22455 cat >>$CONFIG_STATUS <<\_ACEOF
22456 # If no file are specified by the user, then we need to provide default
22457 # value. By we need to know if files were specified by the user.
22463 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22464 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22475 # Handling of the options.
22476 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22478 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22479 echo "$ac_cs_version"; exit ;;
22480 --debug |
--debu |
--deb |
--de |
--d |
-d )
22482 --file |
--fil |
--fi |
--f )
22484 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22485 ac_need_defaults
=false
;;
22486 --header |
--heade |
--head |
--hea )
22488 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22489 ac_need_defaults
=false
;;
22491 # Conflict between --help and --header
22492 { echo "$as_me: error: ambiguous option: $1
22493 Try \`$0 --help' for more information." >&2
22494 { (exit 1); exit 1; }; };;
22495 --help |
--hel |
-h )
22496 echo "$ac_cs_usage"; exit ;;
22497 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22498 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22501 # This is an error.
22502 -*) { echo "$as_me: error: unrecognized option: $1
22503 Try \`$0 --help' for more information." >&2
22504 { (exit 1); exit 1; }; } ;;
22506 *) ac_config_targets
="$ac_config_targets $1"
22507 ac_need_defaults
=false
;;
22513 ac_configure_extra_args
=
22515 if $ac_cs_silent; then
22517 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22521 cat >>$CONFIG_STATUS <<_ACEOF
22522 if \$ac_cs_recheck; then
22523 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22524 CONFIG_SHELL=$SHELL
22525 export CONFIG_SHELL
22526 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22530 cat >>$CONFIG_STATUS <<\_ACEOF
22534 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22535 ## Running $as_me. ##
22541 cat >>$CONFIG_STATUS <<_ACEOF
22544 cat >>$CONFIG_STATUS <<\_ACEOF
22546 # Handling of arguments.
22547 for ac_config_target
in $ac_config_targets
22549 case $ac_config_target in
22550 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
22551 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
22552 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22553 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22554 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22555 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
22556 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22557 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
22558 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
22559 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
22560 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22561 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
22562 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
22563 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22564 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
22565 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
22566 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
22567 "dlls/actxprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22568 "dlls/adsiid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22569 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22570 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22571 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
22572 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22573 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
22574 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
22575 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22576 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22577 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
22578 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22579 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22580 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22581 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22582 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
22583 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22584 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22585 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
22586 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22587 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22588 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22589 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22590 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22591 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
22592 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
22593 "dlls/credui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22594 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22595 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22596 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22597 "dlls/cryptdlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22598 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22599 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22600 "dlls/cryptnet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22601 "dlls/ctapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22602 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22603 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22604 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22605 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22606 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22607 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22608 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22609 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22610 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22611 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22612 "dlls/d3dx8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22613 "dlls/d3dx9_24/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22614 "dlls/d3dx9_25/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22615 "dlls/d3dx9_26/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22616 "dlls/d3dx9_27/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22617 "dlls/d3dx9_28/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22618 "dlls/d3dx9_29/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22619 "dlls/d3dx9_30/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22620 "dlls/d3dx9_31/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22621 "dlls/d3dx9_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22622 "dlls/d3dx9_33/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22623 "dlls/d3dx9_34/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22624 "dlls/d3dx9_35/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22625 "dlls/d3dx9_36/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22626 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22627 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22628 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22629 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22630 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22631 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22632 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
22633 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
22634 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22635 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22636 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
22637 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22638 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
22639 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22640 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22641 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22642 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22643 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22644 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22645 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22646 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22647 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
22648 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22649 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22650 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22651 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22652 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22653 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22654 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
22655 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22656 "dlls/dssenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22657 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
22658 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22659 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22660 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22661 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22662 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22663 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22664 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22665 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22666 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22667 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22668 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
22669 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22670 "dlls/gpkcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
22671 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
22672 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22673 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
22674 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
22675 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22676 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22677 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22678 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
22679 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22680 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22681 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22682 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
22683 "dlls/imm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22684 "dlls/inetcomm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22685 "dlls/inetcomm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22686 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22687 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22688 "dlls/initpki/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/initpki/Makefile" ;;
22689 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22690 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
22691 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22692 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22693 "dlls/itircl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itircl/Makefile" ;;
22694 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
22695 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22696 "dlls/jscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/jscript/Makefile" ;;
22697 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22698 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22699 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
22700 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22701 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
22702 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22703 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
22704 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22705 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22706 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22707 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22708 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22709 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22710 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22711 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
22712 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
22713 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22714 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22715 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22716 "dlls/mountmgr.sys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
22717 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
22718 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22719 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22720 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22721 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22722 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22723 "dlls/mscat32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22724 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
22725 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22726 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22727 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22728 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22729 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22730 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22731 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22732 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22733 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
22734 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22735 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22736 "dlls/msimtf/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22737 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22738 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22739 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22740 "dlls/mssip32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mssip32/Makefile" ;;
22741 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22742 "dlls/msvcr71/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
22743 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22744 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22745 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22746 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22747 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22748 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22749 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22750 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22751 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22752 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22753 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22754 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22755 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22756 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22757 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
22758 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22759 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22760 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22761 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
22762 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22763 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22764 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22765 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
22766 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22767 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22768 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22769 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
22770 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22771 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22772 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22773 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22774 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22775 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22776 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22777 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22778 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22779 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22780 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22781 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
22782 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22783 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22784 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
22785 "dlls/propsys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/propsys/Makefile" ;;
22786 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
22787 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22788 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22789 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
22790 "dlls/qedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/Makefile" ;;
22791 "dlls/qedit/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
22792 "dlls/qmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22793 "dlls/qmgr/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
22794 "dlls/qmgrprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22795 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
22796 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22797 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
22798 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22799 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
22800 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
22801 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22802 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
22803 "dlls/riched32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22804 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22805 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22806 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22807 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22808 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22809 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22810 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22811 "dlls/sccbase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sccbase/Makefile" ;;
22812 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
22813 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22814 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
22815 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22816 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
22817 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22818 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
22819 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22820 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22821 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22822 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
22823 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22824 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22825 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22826 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22827 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
22828 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22829 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22830 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22831 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22832 "dlls/slbcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
22833 "dlls/slc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slc/Makefile" ;;
22834 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22835 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22836 "dlls/softpub/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/softpub/Makefile" ;;
22837 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22838 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22839 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22840 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22841 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
22842 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22843 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22844 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
22845 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22846 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22847 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
22848 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
22849 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22850 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22851 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
22852 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22853 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
22854 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
22855 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22856 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
22857 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22858 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22859 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22860 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22861 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
22862 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22863 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22864 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22865 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22866 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22867 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22868 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22869 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22870 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22871 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22872 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22873 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22874 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
22875 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22876 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22877 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22878 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22879 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22880 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22881 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22882 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22883 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22884 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
22885 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22886 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
22887 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22888 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
22889 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22890 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22891 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
22892 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22893 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22894 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22895 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22896 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22897 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22898 "dlls/wmi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wmi/Makefile" ;;
22899 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22900 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
22901 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22902 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22903 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22904 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22905 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
22906 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
22907 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
22908 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
22909 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
22910 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
22911 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
22912 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
22913 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
22914 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
22915 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
22916 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22917 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
22918 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
22919 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
22920 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
22921 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
22922 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
22923 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
22924 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
22925 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
22926 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
22927 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
22928 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
22929 "programs/reg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/reg/Makefile" ;;
22930 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
22931 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22932 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
22933 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
22934 "programs/secedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/secedit/Makefile" ;;
22935 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22936 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
22937 "programs/svchost/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/svchost/Makefile" ;;
22938 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22939 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22940 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
22941 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
22942 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22943 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
22944 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22945 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
22946 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
22947 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
22948 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22949 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
22950 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
22951 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
22952 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
22953 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
22954 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
22955 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
22956 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
22957 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
22958 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
22959 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
22960 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
22961 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
22962 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
22963 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
22964 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
22965 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
22967 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22968 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22969 { (exit 1); exit 1; }; };;
22974 # If the user did not use the arguments to specify the items to instantiate,
22975 # then the envvar interface is used. Set only those that are not.
22976 # We use the long form for the default assignment because of an extremely
22977 # bizarre bug on SunOS 4.1.3.
22978 if $ac_need_defaults; then
22979 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22980 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22981 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22984 # Have a temporary directory for convenience. Make it in the build tree
22985 # simply because there is no reason against having it here, and in addition,
22986 # creating and moving files from /tmp can sometimes cause problems.
22987 # Hook for its removal unless debugging.
22988 # Note that there is a small window in which the directory will not be cleaned:
22989 # after its creation but before its name has been assigned to `$tmp'.
22993 trap 'exit_status=$?
22994 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22996 trap '{ (exit 1); exit 1; }' 1 2 13 15
22998 # Create a (secure) tmp directory for tmp files.
23001 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23002 test -n "$tmp" && test -d "$tmp"
23005 tmp
=.
/conf$$
-$RANDOM
23006 (umask 077 && mkdir
"$tmp")
23009 echo "$me: cannot create a temporary directory in ." >&2
23010 { (exit 1); exit 1; }
23014 # Set up the sed scripts for CONFIG_FILES section.
23017 # No need to generate the scripts if there are no CONFIG_FILES.
23018 # This happens for instance when ./config.status config.h
23019 if test -n "$CONFIG_FILES"; then
23023 # Create sed commands to just substitute file output variables.
23025 # Remaining file output variables are in a fragment that also has non-file
23031 for ac_last_try
in false false false false false
:; do
23032 cat >conf$
$subs.
sed <<_ACEOF
23033 SHELL!$SHELL$ac_delim
23034 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23035 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23036 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23037 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23038 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23039 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23040 exec_prefix!$exec_prefix$ac_delim
23041 prefix!$prefix$ac_delim
23042 program_transform_name!$program_transform_name$ac_delim
23043 bindir!$bindir$ac_delim
23044 sbindir!$sbindir$ac_delim
23045 libexecdir!$libexecdir$ac_delim
23046 datarootdir!$datarootdir$ac_delim
23047 datadir!$datadir$ac_delim
23048 sysconfdir!$sysconfdir$ac_delim
23049 sharedstatedir!$sharedstatedir$ac_delim
23050 localstatedir!$localstatedir$ac_delim
23051 includedir!$includedir$ac_delim
23052 oldincludedir!$oldincludedir$ac_delim
23053 docdir!$docdir$ac_delim
23054 infodir!$infodir$ac_delim
23055 htmldir!$htmldir$ac_delim
23056 dvidir!$dvidir$ac_delim
23057 pdfdir!$pdfdir$ac_delim
23058 psdir!$psdir$ac_delim
23059 libdir!$libdir$ac_delim
23060 localedir!$localedir$ac_delim
23061 mandir!$mandir$ac_delim
23062 DEFS!$DEFS$ac_delim
23063 ECHO_C!$ECHO_C$ac_delim
23064 ECHO_N!$ECHO_N$ac_delim
23065 ECHO_T!$ECHO_T$ac_delim
23066 LIBS!$LIBS$ac_delim
23067 build_alias!$build_alias$ac_delim
23068 host_alias!$host_alias$ac_delim
23069 target_alias!$target_alias$ac_delim
23070 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23071 build!$build$ac_delim
23072 build_cpu!$build_cpu$ac_delim
23073 build_vendor!$build_vendor$ac_delim
23074 build_os!$build_os$ac_delim
23075 host!$host$ac_delim
23076 host_cpu!$host_cpu$ac_delim
23077 host_vendor!$host_vendor$ac_delim
23078 host_os!$host_os$ac_delim
23079 WIN16_FILES!$WIN16_FILES$ac_delim
23080 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23081 SET_MAKE!$SET_MAKE$ac_delim
23083 CFLAGS!$CFLAGS$ac_delim
23084 LDFLAGS!$LDFLAGS$ac_delim
23085 CPPFLAGS!$CPPFLAGS$ac_delim
23086 ac_ct_CC!$ac_ct_CC$ac_delim
23087 EXEEXT!$EXEEXT$ac_delim
23088 OBJEXT!$OBJEXT$ac_delim
23090 CXXFLAGS!$CXXFLAGS$ac_delim
23091 ac_ct_CXX!$ac_ct_CXX$ac_delim
23092 CPPBIN!$CPPBIN$ac_delim
23093 TOOLSDIR!$TOOLSDIR$ac_delim
23094 XMKMF!$XMKMF$ac_delim
23096 X_CFLAGS!$X_CFLAGS$ac_delim
23097 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23098 X_LIBS!$X_LIBS$ac_delim
23099 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23100 FLEX!$FLEX$ac_delim
23101 BISON!$BISON$ac_delim
23103 ac_ct_AS!$ac_ct_AS$ac_delim
23106 ARFLAGS!$ARFLAGS$ac_delim
23107 RANLIB!$RANLIB$ac_delim
23108 STRIP!$STRIP$ac_delim
23109 WINDRES!$WINDRES$ac_delim
23110 LN_S!$LN_S$ac_delim
23112 GREP!$GREP$ac_delim
23113 EGREP!$EGREP$ac_delim
23114 LDCONFIG!$LDCONFIG$ac_delim
23117 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23119 elif $ac_last_try; then
23120 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23121 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23122 { (exit 1); exit 1; }; }
23124 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23128 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23129 if test -n "$ac_eof"; then
23130 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23131 ac_eof
=`expr $ac_eof + 1`
23134 cat >>$CONFIG_STATUS <<_ACEOF
23135 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23136 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23137 /^[ ]*@MAKE_RULES@[ ]*$/{
23141 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23145 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23146 r $MAKE_IMPLIB_RULES
23149 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23153 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23159 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23160 s/^/s,@/; s/!/@,|#_!!_#|/
23163 s/'"$ac_delim"'$/,g/; t
23165 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23166 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23167 rm -f conf$
$subs.
sed
23168 cat >>$CONFIG_STATUS <<_ACEOF
23174 for ac_last_try
in false false false false false
:; do
23175 cat >conf$
$subs.
sed <<_ACEOF
23176 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23177 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23178 INSTALL_DATA!$INSTALL_DATA$ac_delim
23179 LINT!$LINT$ac_delim
23180 LINTFLAGS!$LINTFLAGS$ac_delim
23181 FONTFORGE!$FONTFORGE$ac_delim
23182 PKG_CONFIG!$PKG_CONFIG$ac_delim
23183 PRELINK!$PRELINK$ac_delim
23184 LIBPTHREAD!$LIBPTHREAD$ac_delim
23185 XLIB!$XLIB$ac_delim
23186 XFILES!$XFILES$ac_delim
23187 OPENGLFILES!$OPENGLFILES$ac_delim
23188 GLU32FILES!$GLU32FILES$ac_delim
23189 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23190 QUARTZFILES!$QUARTZFILES$ac_delim
23191 DLLEXT!$DLLEXT$ac_delim
23192 DLLFLAGS!$DLLFLAGS$ac_delim
23193 LDSHARED!$LDSHARED$ac_delim
23194 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23195 LIBEXT!$LIBEXT$ac_delim
23196 IMPLIBEXT!$IMPLIBEXT$ac_delim
23197 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23198 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23200 DLLTOOL!$DLLTOOL$ac_delim
23201 DLLWRAP!$DLLWRAP$ac_delim
23202 MINGWAR!$MINGWAR$ac_delim
23203 SECURITYLIB!$SECURITYLIB$ac_delim
23204 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23205 IOKITLIB!$IOKITLIB$ac_delim
23206 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23207 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23208 COREAUDIO!$COREAUDIO$ac_delim
23209 CARBONLIB!$CARBONLIB$ac_delim
23210 CROSSTEST!$CROSSTEST$ac_delim
23211 CROSSCC!$CROSSCC$ac_delim
23212 CROSSWINDRES!$CROSSWINDRES$ac_delim
23213 NASLIBS!$NASLIBS$ac_delim
23214 XML2LIBS!$XML2LIBS$ac_delim
23215 XML2INCL!$XML2INCL$ac_delim
23216 XSLTLIBS!$XSLTLIBS$ac_delim
23217 XSLTINCL!$XSLTINCL$ac_delim
23218 HALINCL!$HALINCL$ac_delim
23219 sane_devel!$sane_devel$ac_delim
23220 SANEINCL!$SANEINCL$ac_delim
23221 gphoto2_devel!$gphoto2_devel$ac_delim
23222 gphoto2port_devel!$gphoto2port_devel$ac_delim
23223 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23224 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23225 RESOLVLIBS!$RESOLVLIBS$ac_delim
23226 LCMSLIBS!$LCMSLIBS$ac_delim
23227 LDAPLIBS!$LDAPLIBS$ac_delim
23228 ft_devel!$ft_devel$ac_delim
23229 FREETYPELIBS!$FREETYPELIBS$ac_delim
23230 FREETYPEINCL!$FREETYPEINCL$ac_delim
23231 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23232 ESDCONFIG!$ESDCONFIG$ac_delim
23233 ESDLIBS!$ESDLIBS$ac_delim
23234 ESDINCL!$ESDINCL$ac_delim
23235 ALSALIBS!$ALSALIBS$ac_delim
23236 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23237 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23238 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23239 BUILTINFLAG!$BUILTINFLAG$ac_delim
23240 LDPATH!$LDPATH$ac_delim
23241 CRTLIBS!$CRTLIBS$ac_delim
23242 SOCKETLIBS!$SOCKETLIBS$ac_delim
23243 MAIN_BINARY!$MAIN_BINARY$ac_delim
23244 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23245 LIBDL!$LIBDL$ac_delim
23246 LIBPOLL!$LIBPOLL$ac_delim
23247 DEPENDENCIES!$DEPENDENCIES$ac_delim
23248 LIBOBJS!$LIBOBJS$ac_delim
23249 LTLIBOBJS!$LTLIBOBJS$ac_delim
23252 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
23254 elif $ac_last_try; then
23255 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23256 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23257 { (exit 1); exit 1; }; }
23259 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23263 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23264 if test -n "$ac_eof"; then
23265 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23266 ac_eof
=`expr $ac_eof + 1`
23269 cat >>$CONFIG_STATUS <<_ACEOF
23270 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23271 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23274 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23275 s/^/s,@/; s/!/@,|#_!!_#|/
23278 s/'"$ac_delim"'$/,g/; t
23280 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23281 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23282 rm -f conf$
$subs.
sed
23283 cat >>$CONFIG_STATUS <<_ACEOF
23290 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23291 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23292 # trailing colons and then remove the whole line if VPATH becomes empty
23293 # (actually we leave an empty line to preserve line numbers).
23294 if test "x$srcdir" = x.
; then
23295 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23296 s/:*\$(srcdir):*/:/
23297 s/:*\${srcdir}:*/:/
23299 s/^\([^=]*=[ ]*\):*/\1/
23305 cat >>$CONFIG_STATUS <<\_ACEOF
23306 fi # test -n "$CONFIG_FILES"
23309 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
23312 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23314 case $ac_mode$ac_tag in
23316 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23317 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23318 { (exit 1); exit 1; }; };;
23319 :[FH
]-) ac_tag
=-:-;;
23320 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23337 -) ac_f
="$tmp/stdin";;
23338 *) # Look for the file first in the build tree, then in the source tree
23339 # (if the path is not absolute). The absolute path cannot be DOS-style,
23340 # because $ac_f cannot contain `:'.
23344 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23346 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23347 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23348 { (exit 1); exit 1; }; };;
23350 ac_file_inputs
="$ac_file_inputs $ac_f"
23353 # Let's still pretend it is `configure' which instantiates (i.e., don't
23354 # use $as_me), people would be surprised to read:
23355 # /* config.h. Generated by config.status. */
23356 configure_input
="Generated from "`IFS=:
23357 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23358 if test x
"$ac_file" != x-
; then
23359 configure_input
="$ac_file. $configure_input"
23360 { echo "$as_me:$LINENO: creating $ac_file" >&5
23361 echo "$as_me: creating $ac_file" >&6;}
23365 *:-:* |
*:-) cat >"$tmp/stdin";;
23370 ac_dir
=`$as_dirname -- "$ac_file" ||
23371 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23372 X"$ac_file" : 'X\(//\)[^/]' \| \
23373 X"$ac_file" : 'X\(//\)$' \| \
23374 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23376 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23380 /^X\(\/\/\)[^/].*/{
23395 -*) as_dir
=.
/$as_dir;;
23397 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23401 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23402 *) as_qdir
=$as_dir;;
23404 as_dirs
="'$as_qdir' $as_dirs"
23405 as_dir
=`$as_dirname -- "$as_dir" ||
23406 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23407 X"$as_dir" : 'X\(//\)[^/]' \| \
23408 X"$as_dir" : 'X\(//\)$' \| \
23409 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23415 /^X\(\/\/\)[^/].*/{
23428 test -d "$as_dir" && break
23430 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23431 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23432 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23433 { (exit 1); exit 1; }; }; }
23437 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23439 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23440 # A ".." for each directory in $ac_dir_suffix.
23441 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23442 case $ac_top_builddir_sub in
23443 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23444 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23447 ac_abs_top_builddir
=$ac_pwd
23448 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23449 # for backward compatibility:
23450 ac_top_builddir
=$ac_top_build_prefix
23453 .
) # We are building in place.
23455 ac_top_srcdir
=$ac_top_builddir_sub
23456 ac_abs_top_srcdir
=$ac_pwd ;;
23457 [\\/]* | ?
:[\\/]* ) # Absolute name.
23458 ac_srcdir
=$srcdir$ac_dir_suffix;
23459 ac_top_srcdir
=$srcdir
23460 ac_abs_top_srcdir
=$srcdir ;;
23461 *) # Relative name.
23462 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23463 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23464 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23466 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23476 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23477 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23481 cat >>$CONFIG_STATUS <<\_ACEOF
23482 # If the template does not know about datarootdir, expand it.
23483 # FIXME: This hack should be removed a few years after 2.60.
23484 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23486 case `sed -n '/datarootdir/ {
23495 ' $ac_file_inputs` in
23496 *datarootdir
*) ac_datarootdir_seen
=yes;;
23497 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23498 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23499 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23501 cat >>$CONFIG_STATUS <<_ACEOF
23502 ac_datarootdir_hack='
23503 s&@datadir@&$datadir&g
23504 s&@docdir@&$docdir&g
23505 s&@infodir@&$infodir&g
23506 s&@localedir@&$localedir&g
23507 s&@mandir@&$mandir&g
23508 s&\\\${datarootdir}&$datarootdir&g' ;;
23512 # Neutralize VPATH when `$srcdir' = `.'.
23513 # Shell code in configure.ac might set extrasub.
23514 # FIXME: do we really want to maintain this feature?
23515 cat >>$CONFIG_STATUS <<_ACEOF
23519 cat >>$CONFIG_STATUS <<\_ACEOF
23521 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23522 s
&@configure_input@
&$configure_input&;t t
23523 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23524 s
&@srcdir@
&$ac_srcdir&;t t
23525 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23526 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23527 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23528 s
&@builddir@
&$ac_builddir&;t t
23529 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23530 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23531 s
&@INSTALL@
&$ac_INSTALL&;t t
23532 $ac_datarootdir_hack
23533 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
23535 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23536 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23537 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23538 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23539 which seems to be undefined. Please make sure it is defined." >&5
23540 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23541 which seems to be undefined. Please make sure it is defined." >&2;}
23545 -) cat "$tmp/out"; rm -f "$tmp/out";;
23546 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23555 # Transform confdefs.h into a sed script `conftest.defines', that
23556 # substitutes the proper values into config.h.in to produce config.h.
23557 rm -f conftest.defines conftest.
tail
23558 # First, append a space to every undef/define line, to ease matching.
23559 echo 's/$/ /' >conftest.defines
23560 # Then, protect against being on the right side of a sed subst, or in
23561 # an unquoted here document, in config.status. If some macros were
23562 # called several times there might be several #defines for the same
23563 # symbol, which is useless. But do not sort them, since the last
23564 # AC_DEFINE must be honored.
23565 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23566 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23567 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23568 # PARAMS is the parameter list in the macro definition--in most cases, it's
23569 # just an empty string.
23570 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23571 ac_dB
='\\)[ (].*,\\1define\\2'
23579 s/^[ ]*#[ ]*define[ ][ ]*//
23584 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23585 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23586 ' >>conftest.defines
23588 # Remove the space that was appended to ease matching.
23589 # Then replace #undef with comments. This is necessary, for
23590 # example, in the case of _POSIX_SOURCE, which is predefined and required
23591 # on some systems where configure will not decide to define it.
23592 # (The regexp can be short, since the line contains either #define or #undef.)
23594 s,^[ #]*u.*,/* & */,' >>conftest.defines
23596 # Break up conftest.defines:
23597 ac_max_sed_lines
=50
23599 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23600 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23601 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23603 ac_in
='$ac_file_inputs'
23604 ac_out
='"$tmp/out1"'
23605 ac_nxt
='"$tmp/out2"'
23609 # Write a here document:
23610 cat >>$CONFIG_STATUS <<_ACEOF
23611 # First, check the format of the line:
23612 cat >"\$tmp/defines.sed" <<\\CEOF
23613 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23614 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23618 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
23620 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23621 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
23622 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
23623 grep . conftest.
tail >/dev
/null ||
break
23624 rm -f conftest.defines
23625 mv conftest.
tail conftest.defines
23627 rm -f conftest.defines conftest.
tail
23629 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23630 cat >>$CONFIG_STATUS <<\_ACEOF
23631 if test x
"$ac_file" != x-
; then
23632 echo "/* $configure_input */" >"$tmp/config.h"
23633 cat "$ac_result" >>"$tmp/config.h"
23634 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
23635 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23636 echo "$as_me: $ac_file is unchanged" >&6;}
23639 mv "$tmp/config.h" $ac_file
23642 echo "/* $configure_input */"
23648 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23649 echo "$as_me: executing $ac_file commands" >&6;}
23654 case $ac_file$ac_mode in
23655 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23656 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23657 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
23658 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23659 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
23660 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23661 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
23662 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23663 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
23664 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23665 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
23666 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
23667 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
23673 { (exit 0); exit 0; }
23675 chmod +x
$CONFIG_STATUS
23676 ac_clean_files
=$ac_clean_files_save
23679 # configure is writing to config.log, and then calls config.status.
23680 # config.status does its own redirection, appending to config.log.
23681 # Unfortunately, on DOS this fails, as config.log is still kept open
23682 # by configure, so config.status won't be able to write to it; its
23683 # output is simply discarded. So we exec the FD to /dev/null,
23684 # effectively closing config.log, so it can be properly (re)opened and
23685 # appended to by config.status. When coming back to configure, we
23686 # need to make the FD available again.
23687 if test "$no_create" != yes; then
23689 ac_config_status_args
=
23690 test "$silent" = yes &&
23691 ac_config_status_args
="$ac_config_status_args --quiet"
23693 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23695 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23696 # would make configure fail if this is the last instruction.
23697 $ac_cs_success ||
{ (exit 1); exit 1; }
23701 if test "$no_create" = "yes"
23708 if test "x$wine_notices != "x
; then
23710 for msg
in $wine_notices; do
23711 if test -n "$msg"; then
23712 { echo "$as_me:$LINENO: $msg" >&5
23713 echo "$as_me: $msg" >&6;}
23717 for msg
in $wine_warnings; do
23718 if test -n "$msg"; then
23720 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23721 echo "$as_me: WARNING: $msg" >&2;}
23727 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.