2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.51.
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.51'
578 PACKAGE_STRING
='Wine 0.9.51'
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.51 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.51:";;
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 --disable-tests do not build the testsuites
1376 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1377 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1378 --without-opengl do not use OpenGL
1379 --with-wine-tools=<dir> use Wine tools from directory <dir>
1380 --with-x use the X Window System
1382 Some influential environment variables:
1383 CC C compiler command
1384 CFLAGS C compiler flags
1385 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1386 nonstandard directory <lib dir>
1387 LIBS libraries to pass to the linker, e.g. -l<library>
1388 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1389 you have headers in a nonstandard directory <include dir>
1390 CXX C++ compiler command
1391 CXXFLAGS C++ compiler flags
1392 XMKMF Path to xmkmf, Makefile generator for X Window System
1395 Use these variables to override the choices made by `configure' or to
help
1396 it to
find libraries and programs with nonstandard names
/locations.
1398 Report bugs to
<wine-devel@winehq.org
>.
1403 if test "$ac_init_help" = "recursive"; then
1404 # If there are subdirs, report their specific --help.
1405 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1406 test -d "$ac_dir" ||
continue
1410 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1412 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1413 # A ".." for each directory in $ac_dir_suffix.
1414 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1415 case $ac_top_builddir_sub in
1416 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1417 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1420 ac_abs_top_builddir
=$ac_pwd
1421 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1422 # for backward compatibility:
1423 ac_top_builddir
=$ac_top_build_prefix
1426 .
) # We are building in place.
1428 ac_top_srcdir
=$ac_top_builddir_sub
1429 ac_abs_top_srcdir
=$ac_pwd ;;
1430 [\\/]* | ?
:[\\/]* ) # Absolute name.
1431 ac_srcdir
=$srcdir$ac_dir_suffix;
1432 ac_top_srcdir
=$srcdir
1433 ac_abs_top_srcdir
=$srcdir ;;
1435 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1436 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1437 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1439 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1441 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1442 # Check for guested configure.
1443 if test -f "$ac_srcdir/configure.gnu"; then
1445 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1446 elif test -f "$ac_srcdir/configure"; then
1448 $SHELL "$ac_srcdir/configure" --help=recursive
1450 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1452 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1456 test -n "$ac_init_help" && exit $ac_status
1457 if $ac_init_version; then
1459 Wine configure
0.9.51
1460 generated by GNU Autoconf
2.61
1462 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1463 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1464 This configure
script is free software
; the Free Software Foundation
1465 gives unlimited permission to copy
, distribute and modify it.
1469 cat >config.log
<<_ACEOF
1470 This file contains any messages produced by compilers while
1471 running configure, to aid debugging if configure makes a mistake.
1473 It was created by Wine $as_me 0.9.51, which was
1474 generated by GNU Autoconf 2.61. Invocation command line was
1486 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1487 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1488 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1489 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1490 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1492 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1493 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1495 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1496 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1497 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1498 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1499 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1500 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1501 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1509 test -z "$as_dir" && as_dir
=.
1510 echo "PATH: $as_dir"
1526 # Keep a trace of the command line.
1527 # Strip out --no-create and --no-recursion so they do not pile up.
1528 # Strip out --silent because we don't want to record it for future runs.
1529 # Also quote any args containing shell meta-characters.
1530 # Make two passes to allow for proper duplicate-argument suppression.
1534 ac_must_keep_next
=false
1540 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1541 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1542 |
-silent |
--silent |
--silen |
--sile |
--sil)
1545 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1548 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1550 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1551 if test $ac_must_keep_next = true
; then
1552 ac_must_keep_next
=false
# Got value, back to normal.
1555 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1556 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1557 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1558 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1559 case "$ac_configure_args0 " in
1560 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1563 -* ) ac_must_keep_next
=true
;;
1566 ac_configure_args
="$ac_configure_args '$ac_arg'"
1571 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1572 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1574 # When interrupted or exit'd, cleanup temporary files, and complete
1575 # config.log. We remove comments because anyway the quotes in there
1576 # would cause problems or look ugly.
1577 # WARNING: Use '\'' to represent an apostrophe within the trap.
1578 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1579 trap 'exit_status=$?
1580 # Save into config.log some information that might help in debugging.
1585 ## ---------------- ##
1586 ## Cache variables. ##
1587 ## ---------------- ##
1590 # The following way of writing the cache mishandles newlines in values,
1592 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1593 eval ac_val=\$$ac_var
1597 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1598 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1601 _ | IFS | as_nl) ;; #(
1602 *) $as_unset $ac_var ;;
1607 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1608 *${as_nl}ac_space=\ *)
1610 "s/'\''/'\''\\\\'\'''\''/g;
1611 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1614 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1622 ## ----------------- ##
1623 ## Output variables. ##
1624 ## ----------------- ##
1627 for ac_var in $ac_subst_vars
1629 eval ac_val=\$$ac_var
1631 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1633 echo "$ac_var='\''$ac_val'\''"
1637 if test -n "$ac_subst_files"; then
1639 ## ------------------- ##
1640 ## File substitutions. ##
1641 ## ------------------- ##
1644 for ac_var
in $ac_subst_files
1646 eval ac_val
=\$
$ac_var
1648 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1650 echo "$ac_var='\''$ac_val'\''"
1655 if test -s confdefs.h; then
1665 test "$ac_signal" != 0 &&
1666 echo "$as_me: caught signal $ac_signal"
1667 echo "$as_me: exit $exit_status"
1669 rm -f core *.core core.conftest.* &&
1670 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1673 for ac_signal
in 1 2 13 15; do
1674 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1678 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1679 rm -f -r conftest
* confdefs.h
1681 # Predefined preprocessor variables.
1683 cat >>confdefs.h
<<_ACEOF
1684 #define PACKAGE_NAME "$PACKAGE_NAME"
1688 cat >>confdefs.h
<<_ACEOF
1689 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1693 cat >>confdefs.h
<<_ACEOF
1694 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1698 cat >>confdefs.h
<<_ACEOF
1699 #define PACKAGE_STRING "$PACKAGE_STRING"
1703 cat >>confdefs.h
<<_ACEOF
1704 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1708 # Let the site file select an alternate cache file if it wants to.
1709 # Prefer explicitly selected file to automatically selected ones.
1710 if test -n "$CONFIG_SITE"; then
1711 set x
"$CONFIG_SITE"
1712 elif test "x$prefix" != xNONE
; then
1713 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1715 set x
"$ac_default_prefix/share/config.site" \
1716 "$ac_default_prefix/etc/config.site"
1721 if test -r "$ac_site_file"; then
1722 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1723 echo "$as_me: loading site script $ac_site_file" >&6;}
1724 sed 's/^/| /' "$ac_site_file" >&5
1729 if test -r "$cache_file"; then
1730 # Some versions of bash will fail to source /dev/null (special
1731 # files actually), so we avoid doing that.
1732 if test -f "$cache_file"; then
1733 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1734 echo "$as_me: loading cache $cache_file" >&6;}
1736 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1737 *) .
"./$cache_file";;
1741 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1742 echo "$as_me: creating cache $cache_file" >&6;}
1746 # Check that the precious variables saved in the cache have kept the same
1748 ac_cache_corrupted
=false
1749 for ac_var
in $ac_precious_vars; do
1750 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1751 eval ac_new_set
=\
$ac_env_${ac_var}_set
1752 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1753 eval ac_new_val
=\
$ac_env_${ac_var}_value
1754 case $ac_old_set,$ac_new_set in
1756 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1757 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1758 ac_cache_corrupted
=: ;;
1760 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1761 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1762 ac_cache_corrupted
=: ;;
1765 if test "x$ac_old_val" != "x$ac_new_val"; then
1766 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1767 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1768 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1769 echo "$as_me: former value: $ac_old_val" >&2;}
1770 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1771 echo "$as_me: current value: $ac_new_val" >&2;}
1772 ac_cache_corrupted
=:
1775 # Pass precious variables to config.status.
1776 if test "$ac_new_set" = set; then
1778 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1779 *) ac_arg
=$ac_var=$ac_new_val ;;
1781 case " $ac_configure_args " in
1782 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1783 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1787 if $ac_cache_corrupted; then
1788 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1789 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1790 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1791 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1792 { (exit 1); exit 1; }; }
1820 ac_cpp
='$CPP $CPPFLAGS'
1821 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1822 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1823 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1827 ac_config_headers
="$ac_config_headers include/config.h"
1830 for ac_dir
in tools
"$srcdir"/tools
; do
1831 if test -f "$ac_dir/install-sh"; then
1833 ac_install_sh
="$ac_aux_dir/install-sh -c"
1835 elif test -f "$ac_dir/install.sh"; then
1837 ac_install_sh
="$ac_aux_dir/install.sh -c"
1839 elif test -f "$ac_dir/shtool"; then
1841 ac_install_sh
="$ac_aux_dir/shtool install -c"
1845 if test -z "$ac_aux_dir"; then
1846 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1847 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1848 { (exit 1); exit 1; }; }
1851 # These three variables are undocumented and unsupported,
1852 # and are intended to be withdrawn in a future Autoconf release.
1853 # They can cause serious problems if a builder's source tree is in a directory
1854 # whose full name contains unusual characters.
1855 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1856 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1857 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1862 # Check whether --enable-win16 was given.
1863 if test "${enable_win16+set}" = set; then
1864 enableval
=$enable_win16;
1867 # Check whether --enable-win64 was given.
1868 if test "${enable_win64+set}" = set; then
1869 enableval
=$enable_win64;
1874 # Check whether --with-opengl was given.
1875 if test "${with_opengl+set}" = set; then
1876 withval
=$with_opengl;
1880 # Check whether --with-wine-tools was given.
1881 if test "${with_wine_tools+set}" = set; then
1882 withval
=$with_wine_tools;
1885 # Check whether --enable-tests was given.
1886 if test "${enable_tests+set}" = set; then
1887 enableval
=$enable_tests;
1891 # Make sure we can run config.sub.
1892 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1893 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1894 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1895 { (exit 1); exit 1; }; }
1897 { echo "$as_me:$LINENO: checking build system type" >&5
1898 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1899 if test "${ac_cv_build+set}" = set; then
1900 echo $ECHO_N "(cached) $ECHO_C" >&6
1902 ac_build_alias
=$build_alias
1903 test "x$ac_build_alias" = x
&&
1904 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1905 test "x$ac_build_alias" = x
&&
1906 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1907 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1908 { (exit 1); exit 1; }; }
1909 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1910 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1911 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1912 { (exit 1); exit 1; }; }
1915 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1916 echo "${ECHO_T}$ac_cv_build" >&6; }
1917 case $ac_cv_build in
1919 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1920 echo "$as_me: error: invalid value of canonical build" >&2;}
1921 { (exit 1); exit 1; }; };;
1924 ac_save_IFS
=$IFS; IFS
='-'
1930 # Remember, the first character of IFS is used to create $*,
1931 # except with old shells:
1934 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1937 { echo "$as_me:$LINENO: checking host system type" >&5
1938 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1939 if test "${ac_cv_host+set}" = set; then
1940 echo $ECHO_N "(cached) $ECHO_C" >&6
1942 if test "x$host_alias" = x
; then
1943 ac_cv_host
=$ac_cv_build
1945 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1946 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1947 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1948 { (exit 1); exit 1; }; }
1952 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1953 echo "${ECHO_T}$ac_cv_host" >&6; }
1956 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1957 echo "$as_me: error: invalid value of canonical host" >&2;}
1958 { (exit 1); exit 1; }; };;
1961 ac_save_IFS
=$IFS; IFS
='-'
1967 # Remember, the first character of IFS is used to create $*,
1968 # except with old shells:
1971 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1976 if test "x$enable_win64" != "xyes"
1978 test -n "$CC" || CC
="gcc -m32"
1979 test -n "$CXX"|| CXX
="g++ -m32"
1980 test -n "$LD" || LD
="ld -m elf_i386"
1981 test -n "$AS" || AS
="as --32"
1989 if test "x$enable_win16" != "xno"
1996 WIN16_FILES
="\$(WIN16_FILES)"
1998 WIN16_INSTALL
="\$(WIN16_INSTALL)"
2000 if test "x$enable_win16" != "xyes"
2006 if test "x$enable_tests" == "xno"
2013 TESTSUBDIRS
="\$(TESTSUBDIRS)"
2021 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2022 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2023 You need to run 'make distclean' in the source tree first." >&5
2024 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2025 You need to run 'make distclean' in the source tree first." >&2;}
2026 { (exit 1); exit 1; }; }
2031 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2032 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2033 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2034 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2035 echo $ECHO_N "(cached) $ECHO_C" >&6
2037 cat >conftest.
make <<\_ACEOF
2040 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2042 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2043 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2045 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2047 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2051 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2052 { echo "$as_me:$LINENO: result: yes" >&5
2053 echo "${ECHO_T}yes" >&6; }
2056 { echo "$as_me:$LINENO: result: no" >&5
2057 echo "${ECHO_T}no" >&6; }
2058 SET_MAKE
="MAKE=${MAKE-make}"
2062 ac_cpp
='$CPP $CPPFLAGS'
2063 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2064 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2065 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2066 if test -n "$ac_tool_prefix"; then
2067 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2068 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2071 if test "${ac_cv_prog_CC+set}" = set; then
2072 echo $ECHO_N "(cached) $ECHO_C" >&6
2074 if test -n "$CC"; then
2075 ac_cv_prog_CC
="$CC" # Let the user override the test.
2077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2081 test -z "$as_dir" && as_dir
=.
2082 for ac_exec_ext
in '' $ac_executable_extensions; do
2083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2084 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 if test -n "$CC"; then
2096 { echo "$as_me:$LINENO: result: $CC" >&5
2097 echo "${ECHO_T}$CC" >&6; }
2099 { echo "$as_me:$LINENO: result: no" >&5
2100 echo "${ECHO_T}no" >&6; }
2105 if test -z "$ac_cv_prog_CC"; then
2107 # Extract the first word of "gcc", so it can be a program name with args.
2108 set dummy gcc
; ac_word
=$2
2109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2111 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2112 echo $ECHO_N "(cached) $ECHO_C" >&6
2114 if test -n "$ac_ct_CC"; then
2115 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2121 test -z "$as_dir" && as_dir
=.
2122 for ac_exec_ext
in '' $ac_executable_extensions; do
2123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2124 ac_cv_prog_ac_ct_CC
="gcc"
2125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2134 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2135 if test -n "$ac_ct_CC"; then
2136 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2137 echo "${ECHO_T}$ac_ct_CC" >&6; }
2139 { echo "$as_me:$LINENO: result: no" >&5
2140 echo "${ECHO_T}no" >&6; }
2143 if test "x$ac_ct_CC" = x
; then
2146 case $cross_compiling:$ac_tool_warned in
2148 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2149 whose name does not start with the host triplet. If you think this
2150 configuration is useful to you, please write to autoconf@gnu.org." >&5
2151 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2152 whose name does not start with the host triplet. If you think this
2153 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2154 ac_tool_warned
=yes ;;
2162 if test -z "$CC"; then
2163 if test -n "$ac_tool_prefix"; then
2164 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2165 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2166 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2168 if test "${ac_cv_prog_CC+set}" = set; then
2169 echo $ECHO_N "(cached) $ECHO_C" >&6
2171 if test -n "$CC"; then
2172 ac_cv_prog_CC
="$CC" # Let the user override the test.
2174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2178 test -z "$as_dir" && as_dir
=.
2179 for ac_exec_ext
in '' $ac_executable_extensions; do
2180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2181 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 if test -n "$CC"; then
2193 { echo "$as_me:$LINENO: result: $CC" >&5
2194 echo "${ECHO_T}$CC" >&6; }
2196 { echo "$as_me:$LINENO: result: no" >&5
2197 echo "${ECHO_T}no" >&6; }
2203 if test -z "$CC"; then
2204 # Extract the first word of "cc", so it can be a program name with args.
2205 set dummy cc
; ac_word
=$2
2206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2208 if test "${ac_cv_prog_CC+set}" = set; then
2209 echo $ECHO_N "(cached) $ECHO_C" >&6
2211 if test -n "$CC"; then
2212 ac_cv_prog_CC
="$CC" # Let the user override the test.
2215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2219 test -z "$as_dir" && as_dir
=.
2220 for ac_exec_ext
in '' $ac_executable_extensions; do
2221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2222 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2223 ac_prog_rejected
=yes
2227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2234 if test $ac_prog_rejected = yes; then
2235 # We found a bogon in the path, so make sure we never use it.
2236 set dummy
$ac_cv_prog_CC
2238 if test $# != 0; then
2239 # We chose a different compiler from the bogus one.
2240 # However, it has the same basename, so the bogon will be chosen
2241 # first if we set CC to just the basename; use the full file name.
2243 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2249 if test -n "$CC"; then
2250 { echo "$as_me:$LINENO: result: $CC" >&5
2251 echo "${ECHO_T}$CC" >&6; }
2253 { echo "$as_me:$LINENO: result: no" >&5
2254 echo "${ECHO_T}no" >&6; }
2259 if test -z "$CC"; then
2260 if test -n "$ac_tool_prefix"; then
2261 for ac_prog
in cl.exe
2263 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2264 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2265 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2267 if test "${ac_cv_prog_CC+set}" = set; then
2268 echo $ECHO_N "(cached) $ECHO_C" >&6
2270 if test -n "$CC"; then
2271 ac_cv_prog_CC
="$CC" # Let the user override the test.
2273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2277 test -z "$as_dir" && as_dir
=.
2278 for ac_exec_ext
in '' $ac_executable_extensions; do
2279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2280 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2291 if test -n "$CC"; then
2292 { echo "$as_me:$LINENO: result: $CC" >&5
2293 echo "${ECHO_T}$CC" >&6; }
2295 { echo "$as_me:$LINENO: result: no" >&5
2296 echo "${ECHO_T}no" >&6; }
2300 test -n "$CC" && break
2303 if test -z "$CC"; then
2305 for ac_prog
in cl.exe
2307 # Extract the first word of "$ac_prog", so it can be a program name with args.
2308 set dummy
$ac_prog; ac_word
=$2
2309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2311 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2312 echo $ECHO_N "(cached) $ECHO_C" >&6
2314 if test -n "$ac_ct_CC"; then
2315 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir
=.
2322 for ac_exec_ext
in '' $ac_executable_extensions; do
2323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2324 ac_cv_prog_ac_ct_CC
="$ac_prog"
2325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2334 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2335 if test -n "$ac_ct_CC"; then
2336 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2337 echo "${ECHO_T}$ac_ct_CC" >&6; }
2339 { echo "$as_me:$LINENO: result: no" >&5
2340 echo "${ECHO_T}no" >&6; }
2344 test -n "$ac_ct_CC" && break
2347 if test "x$ac_ct_CC" = x
; then
2350 case $cross_compiling:$ac_tool_warned in
2352 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2353 whose name does not start with the host triplet. If you think this
2354 configuration is useful to you, please write to autoconf@gnu.org." >&5
2355 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2356 whose name does not start with the host triplet. If you think this
2357 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2358 ac_tool_warned
=yes ;;
2367 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2368 See \`config.log' for more details." >&5
2369 echo "$as_me: error: no acceptable C compiler found in \$PATH
2370 See \`config.log' for more details." >&2;}
2371 { (exit 1); exit 1; }; }
2373 # Provide some information about the compiler.
2374 echo "$as_me:$LINENO: checking for C compiler version" >&5
2375 ac_compiler
=`set X $ac_compile; echo $2`
2376 { (ac_try
="$ac_compiler --version >&5"
2378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2379 *) ac_try_echo=$ac_try;;
2381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2382 (eval "$ac_compiler --version >&5") 2>&5
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }
2386 { (ac_try="$ac_compiler -v >&5"
2388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2389 *) ac_try_echo
=$ac_try;;
2391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2392 (eval "$ac_compiler -v >&5") 2>&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); }
2396 { (ac_try
="$ac_compiler -V >&5"
2398 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2399 *) ac_try_echo=$ac_try;;
2401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2402 (eval "$ac_compiler -V >&5") 2>&5
2404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2405 (exit $ac_status); }
2407 cat >conftest.$ac_ext <<_ACEOF
2410 cat confdefs.h >>conftest.$ac_ext
2411 cat >>conftest.$ac_ext <<_ACEOF
2412 /* end confdefs.h. */
2422 ac_clean_files_save=$ac_clean_files
2423 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2424 # Try to create an executable without -o first, disregard a.out.
2425 # It will help us diagnose broken compilers, and finding out an intuition
2427 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2428 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2429 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2431 # List of possible output files, starting from the most likely.
2432 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2433 # only as a last resort. b.out is created by i960 compilers.
2434 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2436 # The IRIX 6 linker writes into existing files which may not be
2437 # executable, retaining their permissions. Remove them first so a
2438 # subsequent execution test works.
2440 for ac_file in $ac_files
2443 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2444 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2449 if { (ac_try="$ac_link_default"
2451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2452 *) ac_try_echo=$ac_try;;
2454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2455 (eval "$ac_link_default") 2>&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); }; then
2459 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2460 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2461 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2462 # so that the user can short-circuit this test for compilers unknown to
2464 for ac_file
in $ac_files ''
2466 test -f "$ac_file" ||
continue
2468 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2471 # We found the default executable, but exeext='' is most
2475 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2477 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2479 # We set ac_cv_exeext here because the later test for it is not
2480 # safe: cross compilers may not add the suffix if given an `-o'
2481 # argument, so we may need to know it at that point already.
2482 # Even if this section looks crufty: it has the advantage of
2489 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2495 { echo "$as_me:$LINENO: result: $ac_file" >&5
2496 echo "${ECHO_T}$ac_file" >&6; }
2497 if test -z "$ac_file"; then
2498 echo "$as_me: failed program was:" >&5
2499 sed 's/^/| /' conftest.
$ac_ext >&5
2501 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2502 See \`config.log' for more details." >&5
2503 echo "$as_me: error: C compiler cannot create executables
2504 See \`config.log' for more details." >&2;}
2505 { (exit 77); exit 77; }; }
2508 ac_exeext
=$ac_cv_exeext
2510 # Check that the compiler produces executables we can run. If not, either
2511 # the compiler is broken, or we cross compile.
2512 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2513 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2514 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2515 # If not cross compiling, check that we can run a simple program.
2516 if test "$cross_compiling" != yes; then
2517 if { ac_try
='./$ac_file'
2518 { (case "(($ac_try" in
2519 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2520 *) ac_try_echo=$ac_try;;
2522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2523 (eval "$ac_try") 2>&5
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); }; }; then
2529 if test "$cross_compiling" = maybe; then
2532 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2533 If you meant to cross compile, use \`--host'.
2534 See \`config.log' for more details.
" >&5
2535 echo "$as_me: error
: cannot run C compiled programs.
2536 If you meant to cross compile
, use \
`--host'.
2537 See \`config.log
' for more details." >&2;}
2538 { (exit 1); exit 1; }; }
2542 { echo "$as_me:$LINENO: result: yes" >&5
2543 echo "${ECHO_T}yes" >&6; }
2545 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2546 ac_clean_files=$ac_clean_files_save
2547 # Check that the compiler produces executables we can run. If not, either
2548 # the compiler is broken, or we cross compile.
2549 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2550 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2551 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2552 echo "${ECHO_T}$cross_compiling" >&6; }
2554 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2555 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2556 if { (ac_try="$ac_link"
2558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2559 *) ac_try_echo=$ac_try;;
2561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2562 (eval "$ac_link") 2>&5
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); }; then
2566 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2567 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2568 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2570 for ac_file
in conftest.exe conftest conftest.
*; do
2571 test -f "$ac_file" ||
continue
2573 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2574 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2580 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2581 See \`config.log' for more details." >&5
2582 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2583 See \`config.log' for more details." >&2;}
2584 { (exit 1); exit 1; }; }
2587 rm -f conftest
$ac_cv_exeext
2588 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2589 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2591 rm -f conftest.
$ac_ext
2592 EXEEXT
=$ac_cv_exeext
2594 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2595 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2596 if test "${ac_cv_objext+set}" = set; then
2597 echo $ECHO_N "(cached) $ECHO_C" >&6
2599 cat >conftest.
$ac_ext <<_ACEOF
2602 cat confdefs.h
>>conftest.
$ac_ext
2603 cat >>conftest.
$ac_ext <<_ACEOF
2604 /* end confdefs.h. */
2614 rm -f conftest.o conftest.obj
2615 if { (ac_try
="$ac_compile"
2617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2618 *) ac_try_echo=$ac_try;;
2620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2621 (eval "$ac_compile") 2>&5
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); }; then
2625 for ac_file in conftest.o conftest.obj conftest.*; do
2626 test -f "$ac_file" || continue;
2628 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2629 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2634 echo "$as_me: failed program was:" >&5
2635 sed 's/^/| /' conftest.$ac_ext >&5
2637 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2638 See \`config.log
' for more details." >&5
2639 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2640 See \`config.log' for more details.
" >&2;}
2641 { (exit 1); exit 1; }; }
2644 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2646 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2647 echo "${ECHO_T}$ac_cv_objext" >&6; }
2648 OBJEXT=$ac_cv_objext
2650 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2651 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2652 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2653 echo $ECHO_N "(cached
) $ECHO_C" >&6
2655 cat >conftest.$ac_ext <<_ACEOF
2658 cat confdefs.h >>conftest.$ac_ext
2659 cat >>conftest.$ac_ext <<_ACEOF
2660 /* end confdefs.h. */
2673 rm -f conftest.$ac_objext
2674 if { (ac_try="$ac_compile"
2676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2679 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2680 (eval "$ac_compile") 2>conftest.er1
2682 grep -v '^ *+' conftest.er1 >conftest.err
2684 cat conftest.err >&5
2685 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2686 (exit $ac_status); } && {
2687 test -z "$ac_c_werror_flag" ||
2688 test ! -s conftest.err
2689 } && test -s conftest.$ac_objext; then
2692 echo "$as_me: failed program was
:" >&5
2693 sed 's/^/| /' conftest.$ac_ext >&5
2698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2699 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2702 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2703 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2704 GCC=`test $ac_compiler_gnu = yes && echo yes`
2705 ac_test_CFLAGS=${CFLAGS+set}
2706 ac_save_CFLAGS=$CFLAGS
2707 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2708 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2709 if test "${ac_cv_prog_cc_g+set}" = set; then
2710 echo $ECHO_N "(cached
) $ECHO_C" >&6
2712 ac_save_c_werror_flag=$ac_c_werror_flag
2713 ac_c_werror_flag=yes
2716 cat >conftest.$ac_ext <<_ACEOF
2719 cat confdefs.h >>conftest.$ac_ext
2720 cat >>conftest.$ac_ext <<_ACEOF
2721 /* end confdefs.h. */
2731 rm -f conftest.$ac_objext
2732 if { (ac_try="$ac_compile"
2734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2737 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2738 (eval "$ac_compile") 2>conftest.er1
2740 grep -v '^ *+' conftest.er1 >conftest.err
2742 cat conftest.err >&5
2743 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2744 (exit $ac_status); } && {
2745 test -z "$ac_c_werror_flag" ||
2746 test ! -s conftest.err
2747 } && test -s conftest.$ac_objext; then
2750 echo "$as_me: failed program was
:" >&5
2751 sed 's/^/| /' conftest.$ac_ext >&5
2754 cat >conftest.$ac_ext <<_ACEOF
2757 cat confdefs.h >>conftest.$ac_ext
2758 cat >>conftest.$ac_ext <<_ACEOF
2759 /* end confdefs.h. */
2769 rm -f conftest.$ac_objext
2770 if { (ac_try="$ac_compile"
2772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2773 *) ac_try_echo=$ac_try;;
2775 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2776 (eval "$ac_compile") 2>conftest.er1
2778 grep -v '^ *+' conftest.er1 >conftest.err
2780 cat conftest.err >&5
2781 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2782 (exit $ac_status); } && {
2783 test -z "$ac_c_werror_flag" ||
2784 test ! -s conftest.err
2785 } && test -s conftest.$ac_objext; then
2788 echo "$as_me: failed program was
:" >&5
2789 sed 's/^/| /' conftest.$ac_ext >&5
2791 ac_c_werror_flag=$ac_save_c_werror_flag
2793 cat >conftest.$ac_ext <<_ACEOF
2796 cat confdefs.h >>conftest.$ac_ext
2797 cat >>conftest.$ac_ext <<_ACEOF
2798 /* end confdefs.h. */
2808 rm -f conftest.$ac_objext
2809 if { (ac_try="$ac_compile"
2811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2812 *) ac_try_echo=$ac_try;;
2814 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2815 (eval "$ac_compile") 2>conftest.er1
2817 grep -v '^ *+' conftest.er1 >conftest.err
2819 cat conftest.err >&5
2820 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2821 (exit $ac_status); } && {
2822 test -z "$ac_c_werror_flag" ||
2823 test ! -s conftest.err
2824 } && test -s conftest.$ac_objext; then
2827 echo "$as_me: failed program was
:" >&5
2828 sed 's/^/| /' conftest.$ac_ext >&5
2833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2840 ac_c_werror_flag=$ac_save_c_werror_flag
2842 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2843 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2844 if test "$ac_test_CFLAGS" = set; then
2845 CFLAGS=$ac_save_CFLAGS
2846 elif test $ac_cv_prog_cc_g = yes; then
2847 if test "$GCC" = yes; then
2853 if test "$GCC" = yes; then
2859 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2860 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2861 if test "${ac_cv_prog_cc_c89+set}" = set; then
2862 echo $ECHO_N "(cached
) $ECHO_C" >&6
2864 ac_cv_prog_cc_c89=no
2866 cat >conftest.$ac_ext <<_ACEOF
2869 cat confdefs.h >>conftest.$ac_ext
2870 cat >>conftest.$ac_ext <<_ACEOF
2871 /* end confdefs.h. */
2874 #include <sys/types.h>
2875 #include <sys/stat.h>
2876 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2877 struct buf { int x; };
2878 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2879 static char *e (p, i)
2885 static char *f (char * (*g) (char **, int), char **p, ...)
2890 s = g (p, va_arg (v,int));
2895 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2896 function prototypes and stuff, but not '\xHH' hex character constants.
2897 These don't provoke an error unfortunately, instead are silently treated
2898 as 'x'. The following induces an error, until -std is added to get
2899 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2900 array size at least. It's necessary to write '\x00'==0 to get something
2901 that's true only with -std. */
2902 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2904 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2905 inside strings and character constants. */
2907 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2909 int test (int i, double x);
2910 struct s1 {int (*f) (int a);};
2911 struct s2 {int (*f) (double a);};
2912 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2918 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2923 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2924 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2926 CC="$ac_save_CC $ac_arg"
2927 rm -f conftest.$ac_objext
2928 if { (ac_try="$ac_compile"
2930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2931 *) ac_try_echo=$ac_try;;
2933 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2934 (eval "$ac_compile") 2>conftest.er1
2936 grep -v '^ *+' conftest.er1 >conftest.err
2938 cat conftest.err >&5
2939 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2940 (exit $ac_status); } && {
2941 test -z "$ac_c_werror_flag" ||
2942 test ! -s conftest.err
2943 } && test -s conftest.$ac_objext; then
2944 ac_cv_prog_cc_c89=$ac_arg
2946 echo "$as_me: failed program was
:" >&5
2947 sed 's/^/| /' conftest.$ac_ext >&5
2952 rm -f core conftest.err conftest.$ac_objext
2953 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2955 rm -f conftest.$ac_ext
2960 case "x
$ac_cv_prog_cc_c89" in
2962 { echo "$as_me:$LINENO: result
: none needed
" >&5
2963 echo "${ECHO_T}none needed
" >&6; } ;;
2965 { echo "$as_me:$LINENO: result
: unsupported
" >&5
2966 echo "${ECHO_T}unsupported
" >&6; } ;;
2968 CC="$CC $ac_cv_prog_cc_c89"
2969 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
2970 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2975 ac_cpp='$CPP $CPPFLAGS'
2976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2981 ac_cpp='$CXXCPP $CPPFLAGS'
2982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2985 if test -z "$CXX"; then
2986 if test -n "$CCC"; then
2989 if test -n "$ac_tool_prefix"; then
2990 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2992 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2993 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2994 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
2995 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
2996 if test "${ac_cv_prog_CXX+set}" = set; then
2997 echo $ECHO_N "(cached
) $ECHO_C" >&6
2999 if test -n "$CXX"; then
3000 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3006 test -z "$as_dir" && as_dir=.
3007 for ac_exec_ext in '' $ac_executable_extensions; do
3008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3009 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3010 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3020 if test -n "$CXX"; then
3021 { echo "$as_me:$LINENO: result
: $CXX" >&5
3022 echo "${ECHO_T}$CXX" >&6; }
3024 { echo "$as_me:$LINENO: result
: no
" >&5
3025 echo "${ECHO_T}no
" >&6; }
3029 test -n "$CXX" && break
3032 if test -z "$CXX"; then
3034 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3036 # Extract the first word of "$ac_prog", so it can be a program name with args.
3037 set dummy $ac_prog; ac_word=$2
3038 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3039 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3040 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3041 echo $ECHO_N "(cached
) $ECHO_C" >&6
3043 if test -n "$ac_ct_CXX"; then
3044 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3050 test -z "$as_dir" && as_dir=.
3051 for ac_exec_ext in '' $ac_executable_extensions; do
3052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3053 ac_cv_prog_ac_ct_CXX="$ac_prog"
3054 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3063 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3064 if test -n "$ac_ct_CXX"; then
3065 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3066 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3068 { echo "$as_me:$LINENO: result
: no
" >&5
3069 echo "${ECHO_T}no
" >&6; }
3073 test -n "$ac_ct_CXX" && break
3076 if test "x
$ac_ct_CXX" = x; then
3079 case $cross_compiling:$ac_tool_warned in
3081 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3082 whose name does not start with the
host triplet. If you think this
3083 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3084 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3085 whose name does not start with the
host triplet. If you think this
3086 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3087 ac_tool_warned=yes ;;
3095 # Provide some information about the compiler.
3096 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3097 ac_compiler=`set X $ac_compile; echo $2`
3098 { (ac_try="$ac_compiler --version >&5"
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3103 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3104 (eval "$ac_compiler --version >&5") 2>&5
3106 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3107 (exit $ac_status); }
3108 { (ac_try="$ac_compiler -v >&5"
3110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3111 *) ac_try_echo=$ac_try;;
3113 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3114 (eval "$ac_compiler -v >&5") 2>&5
3116 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3117 (exit $ac_status); }
3118 { (ac_try="$ac_compiler -V >&5"
3120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121 *) ac_try_echo=$ac_try;;
3123 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3124 (eval "$ac_compiler -V >&5") 2>&5
3126 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3127 (exit $ac_status); }
3129 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3130 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3131 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3132 echo $ECHO_N "(cached
) $ECHO_C" >&6
3134 cat >conftest.$ac_ext <<_ACEOF
3137 cat confdefs.h >>conftest.$ac_ext
3138 cat >>conftest.$ac_ext <<_ACEOF
3139 /* end confdefs.h. */
3152 rm -f conftest.$ac_objext
3153 if { (ac_try="$ac_compile"
3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3156 *) ac_try_echo=$ac_try;;
3158 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3159 (eval "$ac_compile") 2>conftest.er1
3161 grep -v '^ *+' conftest.er1 >conftest.err
3163 cat conftest.err >&5
3164 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3165 (exit $ac_status); } && {
3166 test -z "$ac_cxx_werror_flag" ||
3167 test ! -s conftest.err
3168 } && test -s conftest.$ac_objext; then
3171 echo "$as_me: failed program was
:" >&5
3172 sed 's/^/| /' conftest.$ac_ext >&5
3177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3178 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3181 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3182 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3183 GXX=`test $ac_compiler_gnu = yes && echo yes`
3184 ac_test_CXXFLAGS=${CXXFLAGS+set}
3185 ac_save_CXXFLAGS=$CXXFLAGS
3186 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3187 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3188 if test "${ac_cv_prog_cxx_g+set}" = set; then
3189 echo $ECHO_N "(cached
) $ECHO_C" >&6
3191 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3192 ac_cxx_werror_flag=yes
3195 cat >conftest.$ac_ext <<_ACEOF
3198 cat confdefs.h >>conftest.$ac_ext
3199 cat >>conftest.$ac_ext <<_ACEOF
3200 /* end confdefs.h. */
3210 rm -f conftest.$ac_objext
3211 if { (ac_try="$ac_compile"
3213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3214 *) ac_try_echo=$ac_try;;
3216 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3217 (eval "$ac_compile") 2>conftest.er1
3219 grep -v '^ *+' conftest.er1 >conftest.err
3221 cat conftest.err >&5
3222 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3223 (exit $ac_status); } && {
3224 test -z "$ac_cxx_werror_flag" ||
3225 test ! -s conftest.err
3226 } && test -s conftest.$ac_objext; then
3227 ac_cv_prog_cxx_g=yes
3229 echo "$as_me: failed program was
:" >&5
3230 sed 's/^/| /' conftest.$ac_ext >&5
3233 cat >conftest.$ac_ext <<_ACEOF
3236 cat confdefs.h >>conftest.$ac_ext
3237 cat >>conftest.$ac_ext <<_ACEOF
3238 /* end confdefs.h. */
3248 rm -f conftest.$ac_objext
3249 if { (ac_try="$ac_compile"
3251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3252 *) ac_try_echo=$ac_try;;
3254 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3255 (eval "$ac_compile") 2>conftest.er1
3257 grep -v '^ *+' conftest.er1 >conftest.err
3259 cat conftest.err >&5
3260 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3261 (exit $ac_status); } && {
3262 test -z "$ac_cxx_werror_flag" ||
3263 test ! -s conftest.err
3264 } && test -s conftest.$ac_objext; then
3267 echo "$as_me: failed program was
:" >&5
3268 sed 's/^/| /' conftest.$ac_ext >&5
3270 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3272 cat >conftest.$ac_ext <<_ACEOF
3275 cat confdefs.h >>conftest.$ac_ext
3276 cat >>conftest.$ac_ext <<_ACEOF
3277 /* end confdefs.h. */
3287 rm -f conftest.$ac_objext
3288 if { (ac_try="$ac_compile"
3290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3291 *) ac_try_echo=$ac_try;;
3293 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3294 (eval "$ac_compile") 2>conftest.er1
3296 grep -v '^ *+' conftest.er1 >conftest.err
3298 cat conftest.err >&5
3299 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3300 (exit $ac_status); } && {
3301 test -z "$ac_cxx_werror_flag" ||
3302 test ! -s conftest.err
3303 } && test -s conftest.$ac_objext; then
3304 ac_cv_prog_cxx_g=yes
3306 echo "$as_me: failed program was
:" >&5
3307 sed 's/^/| /' conftest.$ac_ext >&5
3312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3319 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3321 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3322 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3323 if test "$ac_test_CXXFLAGS" = set; then
3324 CXXFLAGS=$ac_save_CXXFLAGS
3325 elif test $ac_cv_prog_cxx_g = yes; then
3326 if test "$GXX" = yes; then
3332 if test "$GXX" = yes; then
3339 ac_cpp='$CPP $CPPFLAGS'
3340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3344 if test -n "$ac_tool_prefix"; then
3345 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3346 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3347 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3348 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3349 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3350 echo $ECHO_N "(cached
) $ECHO_C" >&6
3352 if test -n "$CPPBIN"; then
3353 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3359 test -z "$as_dir" && as_dir=.
3360 for ac_exec_ext in '' $ac_executable_extensions; do
3361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3362 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3363 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3372 CPPBIN=$ac_cv_prog_CPPBIN
3373 if test -n "$CPPBIN"; then
3374 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3375 echo "${ECHO_T}$CPPBIN" >&6; }
3377 { echo "$as_me:$LINENO: result
: no
" >&5
3378 echo "${ECHO_T}no
" >&6; }
3383 if test -z "$ac_cv_prog_CPPBIN"; then
3384 ac_ct_CPPBIN=$CPPBIN
3385 # Extract the first word of "cpp
", so it can be a program name with args.
3386 set dummy cpp; ac_word=$2
3387 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3388 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3389 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3390 echo $ECHO_N "(cached
) $ECHO_C" >&6
3392 if test -n "$ac_ct_CPPBIN"; then
3393 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3399 test -z "$as_dir" && as_dir=.
3400 for ac_exec_ext in '' $ac_executable_extensions; do
3401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3402 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3403 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3412 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3413 if test -n "$ac_ct_CPPBIN"; then
3414 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3415 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3417 { echo "$as_me:$LINENO: result
: no
" >&5
3418 echo "${ECHO_T}no
" >&6; }
3421 if test "x
$ac_ct_CPPBIN" = x; then
3424 case $cross_compiling:$ac_tool_warned in
3426 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3427 whose name does not start with the
host triplet. If you think this
3428 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3429 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3430 whose name does not start with the
host triplet. If you think this
3431 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3432 ac_tool_warned=yes ;;
3434 CPPBIN=$ac_ct_CPPBIN
3437 CPPBIN="$ac_cv_prog_CPPBIN"
3441 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3442 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3443 if test "${wine_cv_toolsdir+set}" = set; then
3444 echo $ECHO_N "(cached
) $ECHO_C" >&6
3446 if test -z "$with_wine_tools"; then
3447 if test "$cross_compiling" = "yes"; then
3448 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3449 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3450 { (exit 1); exit 1; }; }
3452 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3454 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3455 case $with_wine_tools in
3456 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3457 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3460 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3461 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3462 { (exit 1); exit 1; }; }
3465 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3466 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3467 TOOLSDIR=$wine_cv_toolsdir
3472 ac_cpp='$CPP $CPPFLAGS'
3473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3476 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3477 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3478 # On Suns, sometimes $CPP names a directory.
3479 if test -n "$CPP" && test -d "$CPP"; then
3482 if test -z "$CPP"; then
3483 if test "${ac_cv_prog_CPP+set}" = set; then
3484 echo $ECHO_N "(cached
) $ECHO_C" >&6
3486 # Double quotes because CPP needs to be expanded
3487 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3490 for ac_c_preproc_warn_flag in '' yes
3492 # Use a header file that comes with gcc, so configuring glibc
3493 # with a fresh cross-compiler works.
3494 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3495 # <limits.h> exists even on freestanding compilers.
3496 # On the NeXT, cc -E runs the code through the compiler's parser,
3497 # not just through cpp. "Syntax error
" is here to catch this case.
3498 cat >conftest.$ac_ext <<_ACEOF
3501 cat confdefs.h >>conftest.$ac_ext
3502 cat >>conftest.$ac_ext <<_ACEOF
3503 /* end confdefs.h. */
3505 # include <limits.h>
3507 # include <assert.h>
3511 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3514 *) ac_try_echo=$ac_try;;
3516 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3517 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3519 grep -v '^ *+' conftest.er1 >conftest.err
3521 cat conftest.err >&5
3522 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3523 (exit $ac_status); } >/dev/null && {
3524 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3525 test ! -s conftest.err
3529 echo "$as_me: failed program was
:" >&5
3530 sed 's/^/| /' conftest.$ac_ext >&5
3532 # Broken: fails on valid input.
3536 rm -f conftest.err conftest.$ac_ext
3538 # OK, works on sane cases. Now check whether nonexistent headers
3539 # can be detected and how.
3540 cat >conftest.$ac_ext <<_ACEOF
3543 cat confdefs.h >>conftest.$ac_ext
3544 cat >>conftest.$ac_ext <<_ACEOF
3545 /* end confdefs.h. */
3546 #include <ac_nonexistent.h>
3548 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3551 *) ac_try_echo=$ac_try;;
3553 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3554 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3556 grep -v '^ *+' conftest.er1 >conftest.err
3558 cat conftest.err >&5
3559 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3560 (exit $ac_status); } >/dev/null && {
3561 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3562 test ! -s conftest.err
3564 # Broken: success on invalid input.
3567 echo "$as_me: failed program was
:" >&5
3568 sed 's/^/| /' conftest.$ac_ext >&5
3570 # Passes both tests.
3575 rm -f conftest.err conftest.$ac_ext
3578 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3579 rm -f conftest.err conftest.$ac_ext
3580 if $ac_preproc_ok; then
3592 { echo "$as_me:$LINENO: result
: $CPP" >&5
3593 echo "${ECHO_T}$CPP" >&6; }
3595 for ac_c_preproc_warn_flag in '' yes
3597 # Use a header file that comes with gcc, so configuring glibc
3598 # with a fresh cross-compiler works.
3599 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3600 # <limits.h> exists even on freestanding compilers.
3601 # On the NeXT, cc -E runs the code through the compiler's parser,
3602 # not just through cpp. "Syntax error
" is here to catch this case.
3603 cat >conftest.$ac_ext <<_ACEOF
3606 cat confdefs.h >>conftest.$ac_ext
3607 cat >>conftest.$ac_ext <<_ACEOF
3608 /* end confdefs.h. */
3610 # include <limits.h>
3612 # include <assert.h>
3616 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3619 *) ac_try_echo=$ac_try;;
3621 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3622 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3624 grep -v '^ *+' conftest.er1 >conftest.err
3626 cat conftest.err >&5
3627 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3628 (exit $ac_status); } >/dev/null && {
3629 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3630 test ! -s conftest.err
3634 echo "$as_me: failed program was
:" >&5
3635 sed 's/^/| /' conftest.$ac_ext >&5
3637 # Broken: fails on valid input.
3641 rm -f conftest.err conftest.$ac_ext
3643 # OK, works on sane cases. Now check whether nonexistent headers
3644 # can be detected and how.
3645 cat >conftest.$ac_ext <<_ACEOF
3648 cat confdefs.h >>conftest.$ac_ext
3649 cat >>conftest.$ac_ext <<_ACEOF
3650 /* end confdefs.h. */
3651 #include <ac_nonexistent.h>
3653 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3656 *) ac_try_echo=$ac_try;;
3658 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3659 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3661 grep -v '^ *+' conftest.er1 >conftest.err
3663 cat conftest.err >&5
3664 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3665 (exit $ac_status); } >/dev/null && {
3666 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3667 test ! -s conftest.err
3669 # Broken: success on invalid input.
3672 echo "$as_me: failed program was
:" >&5
3673 sed 's/^/| /' conftest.$ac_ext >&5
3675 # Passes both tests.
3680 rm -f conftest.err conftest.$ac_ext
3683 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3684 rm -f conftest.err conftest.$ac_ext
3685 if $ac_preproc_ok; then
3688 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3689 See \
`config.log' for more details." >&5
3690 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3691 See \`config.log
' for more details." >&2;}
3692 { (exit 1); exit 1; }; }
3696 ac_cpp='$CPP $CPPFLAGS'
3697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3698 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3702 { echo "$as_me:$LINENO: checking for X" >&5
3703 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3706 # Check whether --with-x was given.
3707 if test "${with_x+set}" = set; then
3711 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3712 if test "x$with_x" = xno; then
3713 # The user explicitly disabled X.
3716 case $x_includes,$x_libraries in #(
3717 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3718 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3719 { (exit 1); exit 1; }; };; #(
3720 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3721 echo $ECHO_N "(cached) $ECHO_C" >&6
3723 # One or both of the vars are not set, and there is no cached value.
3724 ac_x_includes=no ac_x_libraries=no
3725 rm -f -r conftest.dir
3726 if mkdir conftest.dir; then
3728 cat >Imakefile <<'_ACEOF'
3730 @echo incroot='${INCROOT}'
3732 @echo usrlibdir='${USRLIBDIR}'
3734 @echo libdir='${LIBDIR}'
3736 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3737 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3738 for ac_var in incroot usrlibdir libdir; do
3739 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3741 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3742 for ac_extension in a so sl; do
3743 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3744 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3745 ac_im_usrlibdir=$ac_im_libdir; break
3748 # Screen out bogus values from the imake configuration. They are
3749 # bogus both because they are the default anyway, and because
3750 # using them would break gcc on systems where it needs fixed includes.
3751 case $ac_im_incroot in
3752 /usr/include) ac_x_includes= ;;
3753 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3755 case $ac_im_usrlibdir in
3757 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3761 rm -f -r conftest.dir
3764 # Standard set of common directories for X headers.
3765 # Check X11 before X11Rn because it is often a symlink to the current release.
3777 /usr
/local
/X11
/include
3778 /usr
/local
/X11R
6/include
3779 /usr
/local
/X11R
5/include
3780 /usr
/local
/X11R
4/include
3782 /usr
/local
/include
/X11
3783 /usr
/local
/include
/X11R6
3784 /usr
/local
/include
/X11R5
3785 /usr
/local
/include
/X11R4
3789 /usr
/XFree86
/include
/X11
3793 /usr
/unsupported
/include
3795 /usr
/local
/x11r
5/include
3796 /usr
/lpp
/Xamples
/include
3798 /usr
/openwin
/include
3799 /usr
/openwin
/share
/include
'
3801 if test "$ac_x_includes" = no; then
3802 # Guess where to find include files, by looking for Xlib.h.
3803 # First, try using that file with no special directory specified.
3804 cat >conftest.$ac_ext <<_ACEOF
3807 cat confdefs.h >>conftest.$ac_ext
3808 cat >>conftest.$ac_ext <<_ACEOF
3809 /* end confdefs.h. */
3810 #include <X11/Xlib.h>
3812 if { (ac_try="$ac_cpp conftest.$ac_ext"
3814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3815 *) ac_try_echo=$ac_try;;
3817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3818 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3820 grep -v '^
*+' conftest.er1 >conftest.err
3822 cat conftest.err >&5
3823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824 (exit $ac_status); } >/dev/null && {
3825 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3826 test ! -s conftest.err
3828 # We can compile using X headers with no special include directory.
3831 echo "$as_me: failed program was:" >&5
3832 sed 's
/^
/|
/' conftest.$ac_ext >&5
3834 for ac_dir in $ac_x_header_dirs; do
3835 if test -r "$ac_dir/X11/Xlib.h"; then
3836 ac_x_includes=$ac_dir
3842 rm -f conftest.err conftest.$ac_ext
3843 fi # $ac_x_includes = no
3845 if test "$ac_x_libraries" = no; then
3846 # Check for the libraries.
3847 # See if we find them without any special options.
3848 # Don't add to
$LIBS permanently.
3851 cat >conftest.
$ac_ext <<_ACEOF
3854 cat confdefs.h
>>conftest.
$ac_ext
3855 cat >>conftest.
$ac_ext <<_ACEOF
3856 /* end confdefs.h. */
3857 #include <X11/Xlib.h>
3866 rm -f conftest.
$ac_objext conftest
$ac_exeext
3867 if { (ac_try
="$ac_link"
3869 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3870 *) ac_try_echo=$ac_try;;
3872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3873 (eval "$ac_link") 2>conftest.er1
3875 grep -v '^ *+' conftest.er1 >conftest.err
3877 cat conftest.err >&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); } && {
3880 test -z "$ac_c_werror_flag" ||
3881 test ! -s conftest.err
3882 } && test -s conftest$ac_exeext &&
3883 $as_test_x conftest$ac_exeext; then
3885 # We can link X programs with no special library path.
3888 echo "$as_me: failed program was:" >&5
3889 sed 's/^/| /' conftest.$ac_ext >&5
3892 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
3894 # Don't even attempt the hair of trying to link an X program!
3895 for ac_extension in a so sl; do
3896 if test -r "$ac_dir/libX11.$ac_extension"; then
3897 ac_x_libraries=$ac_dir
3904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3905 conftest$ac_exeext conftest.$ac_ext
3906 fi # $ac_x_libraries = no
3908 case $ac_x_includes,$ac_x_libraries in #(
3910 # Didn't find X, or a directory has "'" in its name.
3911 ac_cv_have_x="have_x=no";; #(
3913 # Record where we found X for the cache.
3914 ac_cv_have_x="have_x=yes\
3915 ac_x_includes='$ac_x_includes'\
3916 ac_x_libraries='$ac_x_libraries'"
3922 eval "$ac_cv_have_x"
3925 if test "$have_x" != yes; then
3926 { echo "$as_me:$LINENO: result: $have_x" >&5
3927 echo "${ECHO_T}$have_x" >&6; }
3930 # If each of the values was on the command line, it overrides each guess.
3931 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3932 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3933 # Update the cache value to reflect the command line values.
3934 ac_cv_have_x="have_x=yes\
3935 ac_x_includes='$x_includes'\
3936 ac_x_libraries='$x_libraries'"
3937 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3938 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3941 if test "$no_x" = yes; then
3942 # Not all programs may use this symbol, but it does not hurt to define it.
3944 cat >>confdefs.h <<\_ACEOF
3945 #define X_DISPLAY_MISSING 1
3948 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3950 if test -n "$x_includes"; then
3951 X_CFLAGS="$X_CFLAGS -I$x_includes"
3954 # It would also be nice to do this for all -L options, not just this one.
3955 if test -n "$x_libraries"; then
3956 X_LIBS="$X_LIBS -L$x_libraries"
3957 # For Solaris; some versions of Sun CC require a space after -R and
3958 # others require no space. Words are not sufficient . . . .
3959 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3960 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3961 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3962 ac_xsave_c_werror_flag=$ac_c_werror_flag
3963 ac_c_werror_flag=yes
3964 cat >conftest.$ac_ext <<_ACEOF
3967 cat confdefs.h >>conftest.$ac_ext
3968 cat >>conftest.$ac_ext <<_ACEOF
3969 /* end confdefs.h. */
3979 rm -f conftest.$ac_objext conftest$ac_exeext
3980 if { (ac_try="$ac_link"
3982 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3983 *) ac_try_echo
=$ac_try;;
3985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3986 (eval "$ac_link") 2>conftest.er1
3988 grep -v '^ *+' conftest.er1
>conftest.err
3990 cat conftest.err
>&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); } && {
3993 test -z "$ac_c_werror_flag" ||
3994 test ! -s conftest.err
3995 } && test -s conftest
$ac_exeext &&
3996 $as_test_x conftest
$ac_exeext; then
3997 { echo "$as_me:$LINENO: result: no" >&5
3998 echo "${ECHO_T}no" >&6; }
3999 X_LIBS
="$X_LIBS -R$x_libraries"
4001 echo "$as_me: failed program was:" >&5
4002 sed 's/^/| /' conftest.
$ac_ext >&5
4004 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4005 cat >conftest.
$ac_ext <<_ACEOF
4008 cat confdefs.h
>>conftest.
$ac_ext
4009 cat >>conftest.
$ac_ext <<_ACEOF
4010 /* end confdefs.h. */
4020 rm -f conftest.
$ac_objext conftest
$ac_exeext
4021 if { (ac_try
="$ac_link"
4023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4024 *) ac_try_echo=$ac_try;;
4026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4027 (eval "$ac_link") 2>conftest.er1
4029 grep -v '^ *+' conftest.er1 >conftest.err
4031 cat conftest.err >&5
4032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4033 (exit $ac_status); } && {
4034 test -z "$ac_c_werror_flag" ||
4035 test ! -s conftest.err
4036 } && test -s conftest$ac_exeext &&
4037 $as_test_x conftest$ac_exeext; then
4038 { echo "$as_me:$LINENO: result: yes" >&5
4039 echo "${ECHO_T}yes" >&6; }
4040 X_LIBS="$X_LIBS -R $x_libraries"
4042 echo "$as_me: failed program was:" >&5
4043 sed 's/^/| /' conftest.$ac_ext >&5
4045 { echo "$as_me:$LINENO: result: neither works" >&5
4046 echo "${ECHO_T}neither works" >&6; }
4049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4050 conftest$ac_exeext conftest.$ac_ext
4053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4054 conftest$ac_exeext conftest.$ac_ext
4055 ac_c_werror_flag=$ac_xsave_c_werror_flag
4059 # Check for system-dependent libraries X programs must link with.
4060 # Do this before checking for the system-independent R6 libraries
4061 # (-lICE), since we may need -lsocket or whatever for X linking.
4063 if test "$ISC" = yes; then
4064 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4066 # Martyn Johnson says this is needed for Ultrix, if the X
4067 # libraries were built with DECnet support. And Karl Berry says
4068 # the Alpha needs dnet_stub (dnet does not exist).
4069 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4070 cat >conftest.$ac_ext <<_ACEOF
4073 cat confdefs.h >>conftest.$ac_ext
4074 cat >>conftest.$ac_ext <<_ACEOF
4075 /* end confdefs.h. */
4077 /* Override any GCC internal prototype to avoid an error.
4078 Use char because int might match the return type of a GCC
4079 builtin and then its argument prototype would still apply. */
4083 char XOpenDisplay ();
4087 return XOpenDisplay ();
4092 rm -f conftest.$ac_objext conftest$ac_exeext
4093 if { (ac_try="$ac_link"
4095 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4096 *) ac_try_echo
=$ac_try;;
4098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4099 (eval "$ac_link") 2>conftest.er1
4101 grep -v '^ *+' conftest.er1
>conftest.err
4103 cat conftest.err
>&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); } && {
4106 test -z "$ac_c_werror_flag" ||
4107 test ! -s conftest.err
4108 } && test -s conftest
$ac_exeext &&
4109 $as_test_x conftest
$ac_exeext; then
4112 echo "$as_me: failed program was:" >&5
4113 sed 's/^/| /' conftest.
$ac_ext >&5
4115 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4116 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4117 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4118 echo $ECHO_N "(cached) $ECHO_C" >&6
4120 ac_check_lib_save_LIBS
=$LIBS
4122 cat >conftest.
$ac_ext <<_ACEOF
4125 cat confdefs.h
>>conftest.
$ac_ext
4126 cat >>conftest.
$ac_ext <<_ACEOF
4127 /* end confdefs.h. */
4129 /* Override any GCC internal prototype to avoid an error.
4130 Use char because int might match the return type of a GCC
4131 builtin and then its argument prototype would still apply. */
4139 return dnet_ntoa ();
4144 rm -f conftest.
$ac_objext conftest
$ac_exeext
4145 if { (ac_try
="$ac_link"
4147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4148 *) ac_try_echo=$ac_try;;
4150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4151 (eval "$ac_link") 2>conftest.er1
4153 grep -v '^ *+' conftest.er1 >conftest.err
4155 cat conftest.err >&5
4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157 (exit $ac_status); } && {
4158 test -z "$ac_c_werror_flag" ||
4159 test ! -s conftest.err
4160 } && test -s conftest$ac_exeext &&
4161 $as_test_x conftest$ac_exeext; then
4162 ac_cv_lib_dnet_dnet_ntoa=yes
4164 echo "$as_me: failed program was:" >&5
4165 sed 's/^/| /' conftest.$ac_ext >&5
4167 ac_cv_lib_dnet_dnet_ntoa=no
4170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4171 conftest$ac_exeext conftest.$ac_ext
4172 LIBS=$ac_check_lib_save_LIBS
4174 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4175 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4176 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4177 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4180 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4181 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4182 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4183 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4184 echo $ECHO_N "(cached) $ECHO_C" >&6
4186 ac_check_lib_save_LIBS=$LIBS
4187 LIBS="-ldnet_stub $LIBS"
4188 cat >conftest.$ac_ext <<_ACEOF
4191 cat confdefs.h >>conftest.$ac_ext
4192 cat >>conftest.$ac_ext <<_ACEOF
4193 /* end confdefs.h. */
4195 /* Override any GCC internal prototype to avoid an error.
4196 Use char because int might match the return type of a GCC
4197 builtin and then its argument prototype would still apply. */
4205 return dnet_ntoa ();
4210 rm -f conftest.$ac_objext conftest$ac_exeext
4211 if { (ac_try="$ac_link"
4213 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4214 *) ac_try_echo
=$ac_try;;
4216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4217 (eval "$ac_link") 2>conftest.er1
4219 grep -v '^ *+' conftest.er1
>conftest.err
4221 cat conftest.err
>&5
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); } && {
4224 test -z "$ac_c_werror_flag" ||
4225 test ! -s conftest.err
4226 } && test -s conftest
$ac_exeext &&
4227 $as_test_x conftest
$ac_exeext; then
4228 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4230 echo "$as_me: failed program was:" >&5
4231 sed 's/^/| /' conftest.
$ac_ext >&5
4233 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4236 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4237 conftest
$ac_exeext conftest.
$ac_ext
4238 LIBS
=$ac_check_lib_save_LIBS
4240 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4241 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4242 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4243 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4249 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4250 conftest
$ac_exeext conftest.
$ac_ext
4251 LIBS
="$ac_xsave_LIBS"
4253 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4254 # to get the SysV transport functions.
4255 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4257 # The nsl library prevents programs from opening the X display
4258 # on Irix 5.2, according to T.E. Dickey.
4259 # The functions gethostbyname, getservbyname, and inet_addr are
4260 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4261 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4262 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4263 if test "${ac_cv_func_gethostbyname+set}" = set; then
4264 echo $ECHO_N "(cached) $ECHO_C" >&6
4266 cat >conftest.
$ac_ext <<_ACEOF
4269 cat confdefs.h
>>conftest.
$ac_ext
4270 cat >>conftest.
$ac_ext <<_ACEOF
4271 /* end confdefs.h. */
4272 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4274 #define gethostbyname innocuous_gethostbyname
4276 /* System header to define __stub macros and hopefully few prototypes,
4277 which can conflict with char gethostbyname (); below.
4278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4279 <limits.h> exists even on freestanding compilers. */
4282 # include <limits.h>
4284 # include <assert.h>
4287 #undef gethostbyname
4289 /* Override any GCC internal prototype to avoid an error.
4290 Use char because int might match the return type of a GCC
4291 builtin and then its argument prototype would still apply. */
4295 char gethostbyname ();
4296 /* The GNU C library defines this for functions which it implements
4297 to always fail with ENOSYS. Some functions are actually named
4298 something starting with __ and the normal name is an alias. */
4299 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4306 return gethostbyname ();
4311 rm -f conftest.
$ac_objext conftest
$ac_exeext
4312 if { (ac_try
="$ac_link"
4314 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4315 *) ac_try_echo=$ac_try;;
4317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4318 (eval "$ac_link") 2>conftest.er1
4320 grep -v '^ *+' conftest.er1 >conftest.err
4322 cat conftest.err >&5
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); } && {
4325 test -z "$ac_c_werror_flag" ||
4326 test ! -s conftest.err
4327 } && test -s conftest$ac_exeext &&
4328 $as_test_x conftest$ac_exeext; then
4329 ac_cv_func_gethostbyname=yes
4331 echo "$as_me: failed program was:" >&5
4332 sed 's/^/| /' conftest.$ac_ext >&5
4334 ac_cv_func_gethostbyname=no
4337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4338 conftest$ac_exeext conftest.$ac_ext
4340 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4341 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4343 if test $ac_cv_func_gethostbyname = no; then
4344 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4345 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4346 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4347 echo $ECHO_N "(cached) $ECHO_C" >&6
4349 ac_check_lib_save_LIBS=$LIBS
4351 cat >conftest.$ac_ext <<_ACEOF
4354 cat confdefs.h >>conftest.$ac_ext
4355 cat >>conftest.$ac_ext <<_ACEOF
4356 /* end confdefs.h. */
4358 /* Override any GCC internal prototype to avoid an error.
4359 Use char because int might match the return type of a GCC
4360 builtin and then its argument prototype would still apply. */
4364 char gethostbyname ();
4368 return gethostbyname ();
4373 rm -f conftest.$ac_objext conftest$ac_exeext
4374 if { (ac_try="$ac_link"
4376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4377 *) ac_try_echo
=$ac_try;;
4379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4380 (eval "$ac_link") 2>conftest.er1
4382 grep -v '^ *+' conftest.er1
>conftest.err
4384 cat conftest.err
>&5
4385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4386 (exit $ac_status); } && {
4387 test -z "$ac_c_werror_flag" ||
4388 test ! -s conftest.err
4389 } && test -s conftest
$ac_exeext &&
4390 $as_test_x conftest
$ac_exeext; then
4391 ac_cv_lib_nsl_gethostbyname
=yes
4393 echo "$as_me: failed program was:" >&5
4394 sed 's/^/| /' conftest.
$ac_ext >&5
4396 ac_cv_lib_nsl_gethostbyname
=no
4399 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4400 conftest
$ac_exeext conftest.
$ac_ext
4401 LIBS
=$ac_check_lib_save_LIBS
4403 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4404 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4405 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4406 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4409 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4410 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4411 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4412 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4413 echo $ECHO_N "(cached) $ECHO_C" >&6
4415 ac_check_lib_save_LIBS
=$LIBS
4417 cat >conftest.
$ac_ext <<_ACEOF
4420 cat confdefs.h
>>conftest.
$ac_ext
4421 cat >>conftest.
$ac_ext <<_ACEOF
4422 /* end confdefs.h. */
4424 /* Override any GCC internal prototype to avoid an error.
4425 Use char because int might match the return type of a GCC
4426 builtin and then its argument prototype would still apply. */
4430 char gethostbyname ();
4434 return gethostbyname ();
4439 rm -f conftest.
$ac_objext conftest
$ac_exeext
4440 if { (ac_try
="$ac_link"
4442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4443 *) ac_try_echo=$ac_try;;
4445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4446 (eval "$ac_link") 2>conftest.er1
4448 grep -v '^ *+' conftest.er1 >conftest.err
4450 cat conftest.err >&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); } && {
4453 test -z "$ac_c_werror_flag" ||
4454 test ! -s conftest.err
4455 } && test -s conftest$ac_exeext &&
4456 $as_test_x conftest$ac_exeext; then
4457 ac_cv_lib_bsd_gethostbyname=yes
4459 echo "$as_me: failed program was:" >&5
4460 sed 's/^/| /' conftest.$ac_ext >&5
4462 ac_cv_lib_bsd_gethostbyname=no
4465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4466 conftest$ac_exeext conftest.$ac_ext
4467 LIBS=$ac_check_lib_save_LIBS
4469 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4470 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4471 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4472 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4478 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4479 # socket/setsockopt and other routines are undefined under SCO ODT
4480 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4481 # on later versions), says Simon Leinen: it contains gethostby*
4482 # variants that don't use the name server (or something). -lsocket
4483 # must be given before -lnsl if both are needed. We assume that
4484 # if connect needs -lnsl, so does gethostbyname.
4485 { echo "$as_me:$LINENO: checking for connect" >&5
4486 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4487 if test "${ac_cv_func_connect+set}" = set; then
4488 echo $ECHO_N "(cached) $ECHO_C" >&6
4490 cat >conftest.$ac_ext <<_ACEOF
4493 cat confdefs.h >>conftest.$ac_ext
4494 cat >>conftest.$ac_ext <<_ACEOF
4495 /* end confdefs.h. */
4496 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4498 #define connect innocuous_connect
4500 /* System header to define __stub macros and hopefully few prototypes,
4501 which can conflict with char connect (); below.
4502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4503 <limits.h> exists even on freestanding compilers. */
4506 # include <limits.h>
4508 # include <assert.h>
4513 /* Override any GCC internal prototype to avoid an error.
4514 Use char because int might match the return type of a GCC
4515 builtin and then its argument prototype would still apply. */
4520 /* The GNU C library defines this for functions which it implements
4521 to always fail with ENOSYS. Some functions are actually named
4522 something starting with __ and the normal name is an alias. */
4523 #if defined __stub_connect || defined __stub___connect
4535 rm -f conftest.$ac_objext conftest$ac_exeext
4536 if { (ac_try="$ac_link"
4538 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4539 *) ac_try_echo
=$ac_try;;
4541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4542 (eval "$ac_link") 2>conftest.er1
4544 grep -v '^ *+' conftest.er1
>conftest.err
4546 cat conftest.err
>&5
4547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4548 (exit $ac_status); } && {
4549 test -z "$ac_c_werror_flag" ||
4550 test ! -s conftest.err
4551 } && test -s conftest
$ac_exeext &&
4552 $as_test_x conftest
$ac_exeext; then
4553 ac_cv_func_connect
=yes
4555 echo "$as_me: failed program was:" >&5
4556 sed 's/^/| /' conftest.
$ac_ext >&5
4558 ac_cv_func_connect
=no
4561 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4562 conftest
$ac_exeext conftest.
$ac_ext
4564 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4565 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4567 if test $ac_cv_func_connect = no
; then
4568 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4569 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4570 if test "${ac_cv_lib_socket_connect+set}" = set; then
4571 echo $ECHO_N "(cached) $ECHO_C" >&6
4573 ac_check_lib_save_LIBS
=$LIBS
4574 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4575 cat >conftest.
$ac_ext <<_ACEOF
4578 cat confdefs.h
>>conftest.
$ac_ext
4579 cat >>conftest.
$ac_ext <<_ACEOF
4580 /* end confdefs.h. */
4582 /* Override any GCC internal prototype to avoid an error.
4583 Use char because int might match the return type of a GCC
4584 builtin and then its argument prototype would still apply. */
4597 rm -f conftest.
$ac_objext conftest
$ac_exeext
4598 if { (ac_try
="$ac_link"
4600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4601 *) ac_try_echo=$ac_try;;
4603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4604 (eval "$ac_link") 2>conftest.er1
4606 grep -v '^ *+' conftest.er1 >conftest.err
4608 cat conftest.err >&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); } && {
4611 test -z "$ac_c_werror_flag" ||
4612 test ! -s conftest.err
4613 } && test -s conftest$ac_exeext &&
4614 $as_test_x conftest$ac_exeext; then
4615 ac_cv_lib_socket_connect=yes
4617 echo "$as_me: failed program was:" >&5
4618 sed 's/^/| /' conftest.$ac_ext >&5
4620 ac_cv_lib_socket_connect=no
4623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4624 conftest$ac_exeext conftest.$ac_ext
4625 LIBS=$ac_check_lib_save_LIBS
4627 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4628 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4629 if test $ac_cv_lib_socket_connect = yes; then
4630 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4635 # Guillermo Gomez says -lposix is necessary on A/UX.
4636 { echo "$as_me:$LINENO: checking for remove" >&5
4637 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4638 if test "${ac_cv_func_remove+set}" = set; then
4639 echo $ECHO_N "(cached) $ECHO_C" >&6
4641 cat >conftest.$ac_ext <<_ACEOF
4644 cat confdefs.h >>conftest.$ac_ext
4645 cat >>conftest.$ac_ext <<_ACEOF
4646 /* end confdefs.h. */
4647 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4649 #define remove innocuous_remove
4651 /* System header to define __stub macros and hopefully few prototypes,
4652 which can conflict with char remove (); below.
4653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4654 <limits.h> exists even on freestanding compilers. */
4657 # include <limits.h>
4659 # include <assert.h>
4664 /* Override any GCC internal prototype to avoid an error.
4665 Use char because int might match the return type of a GCC
4666 builtin and then its argument prototype would still apply. */
4671 /* The GNU C library defines this for functions which it implements
4672 to always fail with ENOSYS. Some functions are actually named
4673 something starting with __ and the normal name is an alias. */
4674 #if defined __stub_remove || defined __stub___remove
4686 rm -f conftest.$ac_objext conftest$ac_exeext
4687 if { (ac_try="$ac_link"
4689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4690 *) ac_try_echo
=$ac_try;;
4692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4693 (eval "$ac_link") 2>conftest.er1
4695 grep -v '^ *+' conftest.er1
>conftest.err
4697 cat conftest.err
>&5
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); } && {
4700 test -z "$ac_c_werror_flag" ||
4701 test ! -s conftest.err
4702 } && test -s conftest
$ac_exeext &&
4703 $as_test_x conftest
$ac_exeext; then
4704 ac_cv_func_remove
=yes
4706 echo "$as_me: failed program was:" >&5
4707 sed 's/^/| /' conftest.
$ac_ext >&5
4709 ac_cv_func_remove
=no
4712 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4713 conftest
$ac_exeext conftest.
$ac_ext
4715 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4716 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4718 if test $ac_cv_func_remove = no
; then
4719 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4720 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4721 if test "${ac_cv_lib_posix_remove+set}" = set; then
4722 echo $ECHO_N "(cached) $ECHO_C" >&6
4724 ac_check_lib_save_LIBS
=$LIBS
4725 LIBS
="-lposix $LIBS"
4726 cat >conftest.
$ac_ext <<_ACEOF
4729 cat confdefs.h
>>conftest.
$ac_ext
4730 cat >>conftest.
$ac_ext <<_ACEOF
4731 /* end confdefs.h. */
4733 /* Override any GCC internal prototype to avoid an error.
4734 Use char because int might match the return type of a GCC
4735 builtin and then its argument prototype would still apply. */
4748 rm -f conftest.
$ac_objext conftest
$ac_exeext
4749 if { (ac_try
="$ac_link"
4751 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4752 *) ac_try_echo=$ac_try;;
4754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4755 (eval "$ac_link") 2>conftest.er1
4757 grep -v '^ *+' conftest.er1 >conftest.err
4759 cat conftest.err >&5
4760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761 (exit $ac_status); } && {
4762 test -z "$ac_c_werror_flag" ||
4763 test ! -s conftest.err
4764 } && test -s conftest$ac_exeext &&
4765 $as_test_x conftest$ac_exeext; then
4766 ac_cv_lib_posix_remove=yes
4768 echo "$as_me: failed program was:" >&5
4769 sed 's/^/| /' conftest.$ac_ext >&5
4771 ac_cv_lib_posix_remove=no
4774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4775 conftest$ac_exeext conftest.$ac_ext
4776 LIBS=$ac_check_lib_save_LIBS
4778 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4779 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4780 if test $ac_cv_lib_posix_remove = yes; then
4781 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4786 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4787 { echo "$as_me:$LINENO: checking for shmat" >&5
4788 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4789 if test "${ac_cv_func_shmat+set}" = set; then
4790 echo $ECHO_N "(cached) $ECHO_C" >&6
4792 cat >conftest.$ac_ext <<_ACEOF
4795 cat confdefs.h >>conftest.$ac_ext
4796 cat >>conftest.$ac_ext <<_ACEOF
4797 /* end confdefs.h. */
4798 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4800 #define shmat innocuous_shmat
4802 /* System header to define __stub macros and hopefully few prototypes,
4803 which can conflict with char shmat (); below.
4804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4805 <limits.h> exists even on freestanding compilers. */
4808 # include <limits.h>
4810 # include <assert.h>
4815 /* Override any GCC internal prototype to avoid an error.
4816 Use char because int might match the return type of a GCC
4817 builtin and then its argument prototype would still apply. */
4822 /* The GNU C library defines this for functions which it implements
4823 to always fail with ENOSYS. Some functions are actually named
4824 something starting with __ and the normal name is an alias. */
4825 #if defined __stub_shmat || defined __stub___shmat
4837 rm -f conftest.$ac_objext conftest$ac_exeext
4838 if { (ac_try="$ac_link"
4840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4841 *) ac_try_echo
=$ac_try;;
4843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4844 (eval "$ac_link") 2>conftest.er1
4846 grep -v '^ *+' conftest.er1
>conftest.err
4848 cat conftest.err
>&5
4849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4850 (exit $ac_status); } && {
4851 test -z "$ac_c_werror_flag" ||
4852 test ! -s conftest.err
4853 } && test -s conftest
$ac_exeext &&
4854 $as_test_x conftest
$ac_exeext; then
4855 ac_cv_func_shmat
=yes
4857 echo "$as_me: failed program was:" >&5
4858 sed 's/^/| /' conftest.
$ac_ext >&5
4863 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4864 conftest
$ac_exeext conftest.
$ac_ext
4866 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4867 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4869 if test $ac_cv_func_shmat = no
; then
4870 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4871 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4872 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4873 echo $ECHO_N "(cached) $ECHO_C" >&6
4875 ac_check_lib_save_LIBS
=$LIBS
4877 cat >conftest.
$ac_ext <<_ACEOF
4880 cat confdefs.h
>>conftest.
$ac_ext
4881 cat >>conftest.
$ac_ext <<_ACEOF
4882 /* end confdefs.h. */
4884 /* Override any GCC internal prototype to avoid an error.
4885 Use char because int might match the return type of a GCC
4886 builtin and then its argument prototype would still apply. */
4899 rm -f conftest.
$ac_objext conftest
$ac_exeext
4900 if { (ac_try
="$ac_link"
4902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4903 *) ac_try_echo=$ac_try;;
4905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4906 (eval "$ac_link") 2>conftest.er1
4908 grep -v '^ *+' conftest.er1 >conftest.err
4910 cat conftest.err >&5
4911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912 (exit $ac_status); } && {
4913 test -z "$ac_c_werror_flag" ||
4914 test ! -s conftest.err
4915 } && test -s conftest$ac_exeext &&
4916 $as_test_x conftest$ac_exeext; then
4917 ac_cv_lib_ipc_shmat=yes
4919 echo "$as_me: failed program was:" >&5
4920 sed 's/^/| /' conftest.$ac_ext >&5
4922 ac_cv_lib_ipc_shmat=no
4925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4926 conftest$ac_exeext conftest.$ac_ext
4927 LIBS=$ac_check_lib_save_LIBS
4929 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4930 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4931 if test $ac_cv_lib_ipc_shmat = yes; then
4932 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4938 # Check for libraries that X11R6 Xt/Xaw programs need.
4939 ac_save_LDFLAGS=$LDFLAGS
4940 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4941 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4942 # check for ICE first), but we must link in the order -lSM -lICE or
4943 # we get undefined symbols. So assume we have SM if we have ICE.
4944 # These have to be linked with before -lX11, unlike the other
4945 # libraries we check for below, so use a different variable.
4946 # John Interrante, Karl Berry
4947 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4948 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4949 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4950 echo $ECHO_N "(cached) $ECHO_C" >&6
4952 ac_check_lib_save_LIBS=$LIBS
4953 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4954 cat >conftest.$ac_ext <<_ACEOF
4957 cat confdefs.h >>conftest.$ac_ext
4958 cat >>conftest.$ac_ext <<_ACEOF
4959 /* end confdefs.h. */
4961 /* Override any GCC internal prototype to avoid an error.
4962 Use char because int might match the return type of a GCC
4963 builtin and then its argument prototype would still apply. */
4967 char IceConnectionNumber ();
4971 return IceConnectionNumber ();
4976 rm -f conftest.$ac_objext conftest$ac_exeext
4977 if { (ac_try="$ac_link"
4979 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4980 *) ac_try_echo
=$ac_try;;
4982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4983 (eval "$ac_link") 2>conftest.er1
4985 grep -v '^ *+' conftest.er1
>conftest.err
4987 cat conftest.err
>&5
4988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4989 (exit $ac_status); } && {
4990 test -z "$ac_c_werror_flag" ||
4991 test ! -s conftest.err
4992 } && test -s conftest
$ac_exeext &&
4993 $as_test_x conftest
$ac_exeext; then
4994 ac_cv_lib_ICE_IceConnectionNumber
=yes
4996 echo "$as_me: failed program was:" >&5
4997 sed 's/^/| /' conftest.
$ac_ext >&5
4999 ac_cv_lib_ICE_IceConnectionNumber
=no
5002 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5003 conftest
$ac_exeext conftest.
$ac_ext
5004 LIBS
=$ac_check_lib_save_LIBS
5006 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5007 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5008 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5009 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5012 LDFLAGS
=$ac_save_LDFLAGS
5019 # Extract the first word of "$ac_prog", so it can be a program name with args.
5020 set dummy
$ac_prog; ac_word
=$2
5021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5023 if test "${ac_cv_prog_FLEX+set}" = set; then
5024 echo $ECHO_N "(cached) $ECHO_C" >&6
5026 if test -n "$FLEX"; then
5027 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5033 test -z "$as_dir" && as_dir
=.
5034 for ac_exec_ext
in '' $ac_executable_extensions; do
5035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5036 ac_cv_prog_FLEX
="$ac_prog"
5037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5046 FLEX
=$ac_cv_prog_FLEX
5047 if test -n "$FLEX"; then
5048 { echo "$as_me:$LINENO: result: $FLEX" >&5
5049 echo "${ECHO_T}$FLEX" >&6; }
5051 { echo "$as_me:$LINENO: result: no" >&5
5052 echo "${ECHO_T}no" >&6; }
5056 test -n "$FLEX" && break
5058 test -n "$FLEX" || FLEX
="none"
5060 if test "$FLEX" = "none"
5062 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5063 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5064 { (exit 1); exit 1; }; }
5067 for ac_prog
in bison
5069 # Extract the first word of "$ac_prog", so it can be a program name with args.
5070 set dummy
$ac_prog; ac_word
=$2
5071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5073 if test "${ac_cv_prog_BISON+set}" = set; then
5074 echo $ECHO_N "(cached) $ECHO_C" >&6
5076 if test -n "$BISON"; then
5077 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5083 test -z "$as_dir" && as_dir
=.
5084 for ac_exec_ext
in '' $ac_executable_extensions; do
5085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5086 ac_cv_prog_BISON
="$ac_prog"
5087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5096 BISON
=$ac_cv_prog_BISON
5097 if test -n "$BISON"; then
5098 { echo "$as_me:$LINENO: result: $BISON" >&5
5099 echo "${ECHO_T}$BISON" >&6; }
5101 { echo "$as_me:$LINENO: result: no" >&5
5102 echo "${ECHO_T}no" >&6; }
5106 test -n "$BISON" && break
5108 test -n "$BISON" || BISON
="none"
5110 if test "$BISON" = "none"
5112 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5113 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5114 { (exit 1); exit 1; }; }
5117 if test -n "$ac_tool_prefix"; then
5118 for ac_prog
in gas as
5120 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5121 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5124 if test "${ac_cv_prog_AS+set}" = set; then
5125 echo $ECHO_N "(cached) $ECHO_C" >&6
5127 if test -n "$AS"; then
5128 ac_cv_prog_AS
="$AS" # Let the user override the test.
5130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5134 test -z "$as_dir" && as_dir
=.
5135 for ac_exec_ext
in '' $ac_executable_extensions; do
5136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5148 if test -n "$AS"; then
5149 { echo "$as_me:$LINENO: result: $AS" >&5
5150 echo "${ECHO_T}$AS" >&6; }
5152 { echo "$as_me:$LINENO: result: no" >&5
5153 echo "${ECHO_T}no" >&6; }
5157 test -n "$AS" && break
5160 if test -z "$AS"; then
5162 for ac_prog
in gas as
5164 # Extract the first word of "$ac_prog", so it can be a program name with args.
5165 set dummy
$ac_prog; ac_word
=$2
5166 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5168 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5169 echo $ECHO_N "(cached) $ECHO_C" >&6
5171 if test -n "$ac_ct_AS"; then
5172 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5178 test -z "$as_dir" && as_dir
=.
5179 for ac_exec_ext
in '' $ac_executable_extensions; do
5180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5181 ac_cv_prog_ac_ct_AS
="$ac_prog"
5182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5192 if test -n "$ac_ct_AS"; then
5193 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5194 echo "${ECHO_T}$ac_ct_AS" >&6; }
5196 { echo "$as_me:$LINENO: result: no" >&5
5197 echo "${ECHO_T}no" >&6; }
5201 test -n "$ac_ct_AS" && break
5204 if test "x$ac_ct_AS" = x
; then
5207 case $cross_compiling:$ac_tool_warned in
5209 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5210 whose name does not start with the host triplet. If you think this
5211 configuration is useful to you, please write to autoconf@gnu.org." >&5
5212 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5213 whose name does not start with the host triplet. If you think this
5214 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5215 ac_tool_warned
=yes ;;
5221 if test -n "$ac_tool_prefix"; then
5222 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5223 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5226 if test "${ac_cv_prog_LD+set}" = set; then
5227 echo $ECHO_N "(cached) $ECHO_C" >&6
5229 if test -n "$LD"; then
5230 ac_cv_prog_LD
="$LD" # Let the user override the test.
5232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5236 test -z "$as_dir" && as_dir
=.
5237 for ac_exec_ext
in '' $ac_executable_extensions; do
5238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5239 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5250 if test -n "$LD"; then
5251 { echo "$as_me:$LINENO: result: $LD" >&5
5252 echo "${ECHO_T}$LD" >&6; }
5254 { echo "$as_me:$LINENO: result: no" >&5
5255 echo "${ECHO_T}no" >&6; }
5260 if test -z "$ac_cv_prog_LD"; then
5262 # Extract the first word of "ld", so it can be a program name with args.
5263 set dummy ld
; ac_word
=$2
5264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5266 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5267 echo $ECHO_N "(cached) $ECHO_C" >&6
5269 if test -n "$ac_ct_LD"; then
5270 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5276 test -z "$as_dir" && as_dir
=.
5277 for ac_exec_ext
in '' $ac_executable_extensions; do
5278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5279 ac_cv_prog_ac_ct_LD
="ld"
5280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5289 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5290 if test -n "$ac_ct_LD"; then
5291 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5292 echo "${ECHO_T}$ac_ct_LD" >&6; }
5294 { echo "$as_me:$LINENO: result: no" >&5
5295 echo "${ECHO_T}no" >&6; }
5298 if test "x$ac_ct_LD" = x
; then
5301 case $cross_compiling:$ac_tool_warned in
5303 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5304 whose name does not start with the host triplet. If you think this
5305 configuration is useful to you, please write to autoconf@gnu.org." >&5
5306 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5307 whose name does not start with the host triplet. If you think this
5308 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5309 ac_tool_warned
=yes ;;
5317 if test -n "$ac_tool_prefix"; then
5318 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5319 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5322 if test "${ac_cv_prog_AR+set}" = set; then
5323 echo $ECHO_N "(cached) $ECHO_C" >&6
5325 if test -n "$AR"; then
5326 ac_cv_prog_AR
="$AR" # Let the user override the test.
5328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5332 test -z "$as_dir" && as_dir
=.
5333 for ac_exec_ext
in '' $ac_executable_extensions; do
5334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5335 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5346 if test -n "$AR"; then
5347 { echo "$as_me:$LINENO: result: $AR" >&5
5348 echo "${ECHO_T}$AR" >&6; }
5350 { echo "$as_me:$LINENO: result: no" >&5
5351 echo "${ECHO_T}no" >&6; }
5356 if test -z "$ac_cv_prog_AR"; then
5358 # Extract the first word of "ar", so it can be a program name with args.
5359 set dummy
ar; ac_word
=$2
5360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5362 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5363 echo $ECHO_N "(cached) $ECHO_C" >&6
5365 if test -n "$ac_ct_AR"; then
5366 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5372 test -z "$as_dir" && as_dir
=.
5373 for ac_exec_ext
in '' $ac_executable_extensions; do
5374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5375 ac_cv_prog_ac_ct_AR
="ar"
5376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5385 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5386 if test -n "$ac_ct_AR"; then
5387 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5388 echo "${ECHO_T}$ac_ct_AR" >&6; }
5390 { echo "$as_me:$LINENO: result: no" >&5
5391 echo "${ECHO_T}no" >&6; }
5394 if test "x$ac_ct_AR" = x
; then
5397 case $cross_compiling:$ac_tool_warned in
5399 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5400 whose name does not start with the host triplet. If you think this
5401 configuration is useful to you, please write to autoconf@gnu.org." >&5
5402 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5403 whose name does not start with the host triplet. If you think this
5404 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5405 ac_tool_warned
=yes ;;
5413 if test -n "$ac_tool_prefix"; then
5414 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5415 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5416 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5418 if test "${ac_cv_prog_RANLIB+set}" = set; then
5419 echo $ECHO_N "(cached) $ECHO_C" >&6
5421 if test -n "$RANLIB"; then
5422 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5428 test -z "$as_dir" && as_dir
=.
5429 for ac_exec_ext
in '' $ac_executable_extensions; do
5430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5431 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5441 RANLIB
=$ac_cv_prog_RANLIB
5442 if test -n "$RANLIB"; then
5443 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5444 echo "${ECHO_T}$RANLIB" >&6; }
5446 { echo "$as_me:$LINENO: result: no" >&5
5447 echo "${ECHO_T}no" >&6; }
5452 if test -z "$ac_cv_prog_RANLIB"; then
5453 ac_ct_RANLIB
=$RANLIB
5454 # Extract the first word of "ranlib", so it can be a program name with args.
5455 set dummy ranlib
; ac_word
=$2
5456 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5458 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5459 echo $ECHO_N "(cached) $ECHO_C" >&6
5461 if test -n "$ac_ct_RANLIB"; then
5462 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5468 test -z "$as_dir" && as_dir
=.
5469 for ac_exec_ext
in '' $ac_executable_extensions; do
5470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5471 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5481 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5482 if test -n "$ac_ct_RANLIB"; then
5483 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5484 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5486 { echo "$as_me:$LINENO: result: no" >&5
5487 echo "${ECHO_T}no" >&6; }
5490 if test "x$ac_ct_RANLIB" = x
; then
5493 case $cross_compiling:$ac_tool_warned in
5495 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5496 whose name does not start with the host triplet. If you think this
5497 configuration is useful to you, please write to autoconf@gnu.org." >&5
5498 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5499 whose name does not start with the host triplet. If you think this
5500 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5501 ac_tool_warned
=yes ;;
5503 RANLIB
=$ac_ct_RANLIB
5506 RANLIB
="$ac_cv_prog_RANLIB"
5509 if test -n "$ac_tool_prefix"; then
5510 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5511 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5512 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5514 if test "${ac_cv_prog_STRIP+set}" = set; then
5515 echo $ECHO_N "(cached) $ECHO_C" >&6
5517 if test -n "$STRIP"; then
5518 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5524 test -z "$as_dir" && as_dir
=.
5525 for ac_exec_ext
in '' $ac_executable_extensions; do
5526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5527 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5537 STRIP
=$ac_cv_prog_STRIP
5538 if test -n "$STRIP"; then
5539 { echo "$as_me:$LINENO: result: $STRIP" >&5
5540 echo "${ECHO_T}$STRIP" >&6; }
5542 { echo "$as_me:$LINENO: result: no" >&5
5543 echo "${ECHO_T}no" >&6; }
5548 if test -z "$ac_cv_prog_STRIP"; then
5550 # Extract the first word of "strip", so it can be a program name with args.
5551 set dummy strip
; ac_word
=$2
5552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5554 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5555 echo $ECHO_N "(cached) $ECHO_C" >&6
5557 if test -n "$ac_ct_STRIP"; then
5558 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5564 test -z "$as_dir" && as_dir
=.
5565 for ac_exec_ext
in '' $ac_executable_extensions; do
5566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5567 ac_cv_prog_ac_ct_STRIP
="strip"
5568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5577 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5578 if test -n "$ac_ct_STRIP"; then
5579 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5580 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5582 { echo "$as_me:$LINENO: result: no" >&5
5583 echo "${ECHO_T}no" >&6; }
5586 if test "x$ac_ct_STRIP" = x
; then
5589 case $cross_compiling:$ac_tool_warned in
5591 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5592 whose name does not start with the host triplet. If you think this
5593 configuration is useful to you, please write to autoconf@gnu.org." >&5
5594 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5595 whose name does not start with the host triplet. If you think this
5596 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5597 ac_tool_warned
=yes ;;
5602 STRIP
="$ac_cv_prog_STRIP"
5605 if test -n "$ac_tool_prefix"; then
5606 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5607 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5610 if test "${ac_cv_prog_WINDRES+set}" = set; then
5611 echo $ECHO_N "(cached) $ECHO_C" >&6
5613 if test -n "$WINDRES"; then
5614 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5620 test -z "$as_dir" && as_dir
=.
5621 for ac_exec_ext
in '' $ac_executable_extensions; do
5622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5623 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5633 WINDRES
=$ac_cv_prog_WINDRES
5634 if test -n "$WINDRES"; then
5635 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5636 echo "${ECHO_T}$WINDRES" >&6; }
5638 { echo "$as_me:$LINENO: result: no" >&5
5639 echo "${ECHO_T}no" >&6; }
5644 if test -z "$ac_cv_prog_WINDRES"; then
5645 ac_ct_WINDRES
=$WINDRES
5646 # Extract the first word of "windres", so it can be a program name with args.
5647 set dummy windres
; ac_word
=$2
5648 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5650 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5651 echo $ECHO_N "(cached) $ECHO_C" >&6
5653 if test -n "$ac_ct_WINDRES"; then
5654 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5660 test -z "$as_dir" && as_dir
=.
5661 for ac_exec_ext
in '' $ac_executable_extensions; do
5662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5663 ac_cv_prog_ac_ct_WINDRES
="windres"
5664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5673 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5674 if test -n "$ac_ct_WINDRES"; then
5675 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5676 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5678 { echo "$as_me:$LINENO: result: no" >&5
5679 echo "${ECHO_T}no" >&6; }
5682 if test "x$ac_ct_WINDRES" = x
; then
5685 case $cross_compiling:$ac_tool_warned in
5687 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5688 whose name does not start with the host triplet. If you think this
5689 configuration is useful to you, please write to autoconf@gnu.org." >&5
5690 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5691 whose name does not start with the host triplet. If you think this
5692 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5693 ac_tool_warned
=yes ;;
5695 WINDRES
=$ac_ct_WINDRES
5698 WINDRES
="$ac_cv_prog_WINDRES"
5701 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5702 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5704 if test "$LN_S" = "ln -s"; then
5705 { echo "$as_me:$LINENO: result: yes" >&5
5706 echo "${ECHO_T}yes" >&6; }
5708 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5709 echo "${ECHO_T}no, using $LN_S" >&6; }
5712 { echo "$as_me:$LINENO: checking whether ln works" >&5
5713 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5714 rm -f conf$$ conf$$.
file
5716 if ln conf$$.
file conf$$
2>/dev
/null
; then
5719 { echo "$as_me:$LINENO: result: yes" >&5
5720 echo "${ECHO_T}yes" >&6; }
5724 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5725 echo "${ECHO_T}no, using $LN" >&6; }
5727 rm -f conf$$ conf$$.
file
5728 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5729 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5730 if test "${ac_cv_path_GREP+set}" = set; then
5731 echo $ECHO_N "(cached) $ECHO_C" >&6
5733 # Extract the first word of "grep ggrep" to use in msg output
5734 if test -z "$GREP"; then
5735 set dummy
grep ggrep
; ac_prog_name
=$2
5736 if test "${ac_cv_path_GREP+set}" = set; then
5737 echo $ECHO_N "(cached) $ECHO_C" >&6
5739 ac_path_GREP_found
=false
5740 # Loop through the user's path and test for each of PROGNAME-LIST
5741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5742 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5745 test -z "$as_dir" && as_dir
=.
5746 for ac_prog
in grep ggrep
; do
5747 for ac_exec_ext
in '' $ac_executable_extensions; do
5748 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5749 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5750 # Check for GNU ac_path_GREP and select it if it is found.
5751 # Check for GNU $ac_path_GREP
5752 case `"$ac_path_GREP" --version 2>&1` in
5754 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5757 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5760 cat "conftest.in" "conftest.in" >"conftest.tmp"
5761 mv "conftest.tmp" "conftest.in"
5762 cp "conftest.in" "conftest.nl"
5763 echo 'GREP' >> "conftest.nl"
5764 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5765 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5766 ac_count
=`expr $ac_count + 1`
5767 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5768 # Best one so far, save it but keep looking for a better one
5769 ac_cv_path_GREP
="$ac_path_GREP"
5770 ac_path_GREP_max
=$ac_count
5772 # 10*(2^10) chars as input seems more than enough
5773 test $ac_count -gt 10 && break
5775 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5779 $ac_path_GREP_found && break 3
5789 GREP
="$ac_cv_path_GREP"
5790 if test -z "$GREP"; then
5791 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5792 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5793 { (exit 1); exit 1; }; }
5797 ac_cv_path_GREP
=$GREP
5802 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5803 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5804 GREP
="$ac_cv_path_GREP"
5807 { echo "$as_me:$LINENO: checking for egrep" >&5
5808 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5809 if test "${ac_cv_path_EGREP+set}" = set; then
5810 echo $ECHO_N "(cached) $ECHO_C" >&6
5812 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5813 then ac_cv_path_EGREP
="$GREP -E"
5815 # Extract the first word of "egrep" to use in msg output
5816 if test -z "$EGREP"; then
5817 set dummy
egrep; ac_prog_name
=$2
5818 if test "${ac_cv_path_EGREP+set}" = set; then
5819 echo $ECHO_N "(cached) $ECHO_C" >&6
5821 ac_path_EGREP_found
=false
5822 # Loop through the user's path and test for each of PROGNAME-LIST
5823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5824 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5827 test -z "$as_dir" && as_dir
=.
5828 for ac_prog
in egrep; do
5829 for ac_exec_ext
in '' $ac_executable_extensions; do
5830 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5831 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5832 # Check for GNU ac_path_EGREP and select it if it is found.
5833 # Check for GNU $ac_path_EGREP
5834 case `"$ac_path_EGREP" --version 2>&1` in
5836 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5839 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5842 cat "conftest.in" "conftest.in" >"conftest.tmp"
5843 mv "conftest.tmp" "conftest.in"
5844 cp "conftest.in" "conftest.nl"
5845 echo 'EGREP' >> "conftest.nl"
5846 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5847 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5848 ac_count
=`expr $ac_count + 1`
5849 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5850 # Best one so far, save it but keep looking for a better one
5851 ac_cv_path_EGREP
="$ac_path_EGREP"
5852 ac_path_EGREP_max
=$ac_count
5854 # 10*(2^10) chars as input seems more than enough
5855 test $ac_count -gt 10 && break
5857 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5861 $ac_path_EGREP_found && break 3
5871 EGREP
="$ac_cv_path_EGREP"
5872 if test -z "$EGREP"; then
5873 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5874 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5875 { (exit 1); exit 1; }; }
5879 ac_cv_path_EGREP
=$EGREP
5885 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5886 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5887 EGREP
="$ac_cv_path_EGREP"
5890 # Extract the first word of "ldconfig", so it can be a program name with args.
5891 set dummy ldconfig
; ac_word
=$2
5892 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5894 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5895 echo $ECHO_N "(cached) $ECHO_C" >&6
5899 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5903 for as_dir
in /sbin
/usr
/sbin
$PATH
5906 test -z "$as_dir" && as_dir
=.
5907 for ac_exec_ext
in '' $ac_executable_extensions; do
5908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5909 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5917 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5921 LDCONFIG
=$ac_cv_path_LDCONFIG
5922 if test -n "$LDCONFIG"; then
5923 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5924 echo "${ECHO_T}$LDCONFIG" >&6; }
5926 { echo "$as_me:$LINENO: result: no" >&5
5927 echo "${ECHO_T}no" >&6; }
5931 # Find a good install program. We prefer a C program (faster),
5932 # so one script is as good as another. But avoid the broken or
5933 # incompatible versions:
5934 # SysV /etc/install, /usr/sbin/install
5935 # SunOS /usr/etc/install
5936 # IRIX /sbin/install
5938 # AmigaOS /C/install, which installs bootblocks on floppy discs
5939 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5940 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5941 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5942 # OS/2's system install, which has a completely different semantic
5943 # ./install, which can be erroneously created by make from ./install.sh.
5944 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5945 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5946 if test -z "$INSTALL"; then
5947 if test "${ac_cv_path_install+set}" = set; then
5948 echo $ECHO_N "(cached) $ECHO_C" >&6
5950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5954 test -z "$as_dir" && as_dir
=.
5955 # Account for people who put trailing slashes in PATH elements.
5957 .
/ | .
// |
/cC
/* | \
5958 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5959 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5962 # OSF1 and SCO ODT 3.0 have their own names for install.
5963 # Don't use installbsd from OSF since it installs stuff as root
5965 for ac_prog
in ginstall scoinst
install; do
5966 for ac_exec_ext
in '' $ac_executable_extensions; do
5967 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5968 if test $ac_prog = install &&
5969 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5970 # AIX install. It has an incompatible calling convention.
5972 elif test $ac_prog = install &&
5973 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5974 # program-specific install script used by HP pwplus--don't use.
5977 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5990 if test "${ac_cv_path_install+set}" = set; then
5991 INSTALL
=$ac_cv_path_install
5993 # As a last resort, use the slow shell script. Don't cache a
5994 # value for INSTALL within a source directory, because that will
5995 # break other packages using the cache if that directory is
5996 # removed, or if the value is a relative name.
5997 INSTALL
=$ac_install_sh
6000 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6001 echo "${ECHO_T}$INSTALL" >&6; }
6003 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6004 # It thinks the first close brace ends the variable substitution.
6005 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6007 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6009 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6012 [\\/$
]* | ?
:[\\/]* ) ;;
6013 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6016 for ac_prog
in lclint lint
6018 # Extract the first word of "$ac_prog", so it can be a program name with args.
6019 set dummy
$ac_prog; ac_word
=$2
6020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6022 if test "${ac_cv_prog_LINT+set}" = set; then
6023 echo $ECHO_N "(cached) $ECHO_C" >&6
6025 if test -n "$LINT"; then
6026 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6032 test -z "$as_dir" && as_dir
=.
6033 for ac_exec_ext
in '' $ac_executable_extensions; do
6034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6035 ac_cv_prog_LINT
="$ac_prog"
6036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6045 LINT
=$ac_cv_prog_LINT
6046 if test -n "$LINT"; then
6047 { echo "$as_me:$LINENO: result: $LINT" >&5
6048 echo "${ECHO_T}$LINT" >&6; }
6050 { echo "$as_me:$LINENO: result: no" >&5
6051 echo "${ECHO_T}no" >&6; }
6055 test -n "$LINT" && break
6058 if test "$LINT" = "lint"
6060 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6065 for ac_prog
in fontforge
6067 # Extract the first word of "$ac_prog", so it can be a program name with args.
6068 set dummy
$ac_prog; ac_word
=$2
6069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6071 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6072 echo $ECHO_N "(cached) $ECHO_C" >&6
6074 if test -n "$FONTFORGE"; then
6075 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6081 test -z "$as_dir" && as_dir
=.
6082 for ac_exec_ext
in '' $ac_executable_extensions; do
6083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6084 ac_cv_prog_FONTFORGE
="$ac_prog"
6085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6094 FONTFORGE
=$ac_cv_prog_FONTFORGE
6095 if test -n "$FONTFORGE"; then
6096 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6097 echo "${ECHO_T}$FONTFORGE" >&6; }
6099 { echo "$as_me:$LINENO: result: no" >&5
6100 echo "${ECHO_T}no" >&6; }
6104 test -n "$FONTFORGE" && break
6106 test -n "$FONTFORGE" || FONTFORGE
="false"
6108 for ac_prog
in pkg-config
6110 # Extract the first word of "$ac_prog", so it can be a program name with args.
6111 set dummy
$ac_prog; ac_word
=$2
6112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6114 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6115 echo $ECHO_N "(cached) $ECHO_C" >&6
6117 if test -n "$PKG_CONFIG"; then
6118 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6124 test -z "$as_dir" && as_dir
=.
6125 for ac_exec_ext
in '' $ac_executable_extensions; do
6126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6127 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6137 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6138 if test -n "$PKG_CONFIG"; then
6139 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6140 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6142 { echo "$as_me:$LINENO: result: no" >&5
6143 echo "${ECHO_T}no" >&6; }
6147 test -n "$PKG_CONFIG" && break
6149 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6154 # Extract the first word of "prelink", so it can be a program name with args.
6155 set dummy prelink
; ac_word
=$2
6156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6158 if test "${ac_cv_path_PRELINK+set}" = set; then
6159 echo $ECHO_N "(cached) $ECHO_C" >&6
6163 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6167 for as_dir
in /sbin
/usr
/sbin
$PATH
6170 test -z "$as_dir" && as_dir
=.
6171 for ac_exec_ext
in '' $ac_executable_extensions; do
6172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6173 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6181 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6185 PRELINK
=$ac_cv_path_PRELINK
6186 if test -n "$PRELINK"; then
6187 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6188 echo "${ECHO_T}$PRELINK" >&6; }
6190 { echo "$as_me:$LINENO: result: no" >&5
6191 echo "${ECHO_T}no" >&6; }
6200 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6201 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6202 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6203 echo $ECHO_N "(cached) $ECHO_C" >&6
6205 ac_check_lib_save_LIBS
=$LIBS
6207 cat >conftest.
$ac_ext <<_ACEOF
6210 cat confdefs.h
>>conftest.
$ac_ext
6211 cat >>conftest.
$ac_ext <<_ACEOF
6212 /* end confdefs.h. */
6214 /* Override any GCC internal prototype to avoid an error.
6215 Use char because int might match the return type of a GCC
6216 builtin and then its argument prototype would still apply. */
6220 char i386_set_ldt ();
6224 return i386_set_ldt ();
6229 rm -f conftest.
$ac_objext conftest
$ac_exeext
6230 if { (ac_try
="$ac_link"
6232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6233 *) ac_try_echo=$ac_try;;
6235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6236 (eval "$ac_link") 2>conftest.er1
6238 grep -v '^ *+' conftest.er1 >conftest.err
6240 cat conftest.err >&5
6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); } && {
6243 test -z "$ac_c_werror_flag" ||
6244 test ! -s conftest.err
6245 } && test -s conftest$ac_exeext &&
6246 $as_test_x conftest$ac_exeext; then
6247 ac_cv_lib_i386_i386_set_ldt=yes
6249 echo "$as_me: failed program was:" >&5
6250 sed 's/^/| /' conftest.$ac_ext >&5
6252 ac_cv_lib_i386_i386_set_ldt=no
6255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6256 conftest$ac_exeext conftest.$ac_ext
6257 LIBS=$ac_check_lib_save_LIBS
6259 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6260 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6261 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6262 cat >>confdefs.h <<_ACEOF
6263 #define HAVE_LIBI386 1
6271 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6272 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6273 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6274 echo $ECHO_N "(cached) $ECHO_C" >&6
6276 ac_check_lib_save_LIBS=$LIBS
6277 LIBS="-lossaudio $LIBS"
6278 cat >conftest.$ac_ext <<_ACEOF
6281 cat confdefs.h >>conftest.$ac_ext
6282 cat >>conftest.$ac_ext <<_ACEOF
6283 /* end confdefs.h. */
6285 /* Override any GCC internal prototype to avoid an error.
6286 Use char because int might match the return type of a GCC
6287 builtin and then its argument prototype would still apply. */
6295 return _oss_ioctl ();
6300 rm -f conftest.$ac_objext conftest$ac_exeext
6301 if { (ac_try="$ac_link"
6303 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6304 *) ac_try_echo
=$ac_try;;
6306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6307 (eval "$ac_link") 2>conftest.er1
6309 grep -v '^ *+' conftest.er1
>conftest.err
6311 cat conftest.err
>&5
6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313 (exit $ac_status); } && {
6314 test -z "$ac_c_werror_flag" ||
6315 test ! -s conftest.err
6316 } && test -s conftest
$ac_exeext &&
6317 $as_test_x conftest
$ac_exeext; then
6318 ac_cv_lib_ossaudio__oss_ioctl
=yes
6320 echo "$as_me: failed program was:" >&5
6321 sed 's/^/| /' conftest.
$ac_ext >&5
6323 ac_cv_lib_ossaudio__oss_ioctl
=no
6326 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6327 conftest
$ac_exeext conftest.
$ac_ext
6328 LIBS
=$ac_check_lib_save_LIBS
6330 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6331 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6332 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6333 cat >>confdefs.h
<<_ACEOF
6334 #define HAVE_LIBOSSAUDIO 1
6337 LIBS
="-lossaudio $LIBS"
6341 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6342 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6343 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6344 echo $ECHO_N "(cached) $ECHO_C" >&6
6346 ac_check_lib_save_LIBS
=$LIBS
6347 LIBS
="-lpthread $LIBS"
6348 cat >conftest.
$ac_ext <<_ACEOF
6351 cat confdefs.h
>>conftest.
$ac_ext
6352 cat >>conftest.
$ac_ext <<_ACEOF
6353 /* end confdefs.h. */
6355 /* Override any GCC internal prototype to avoid an error.
6356 Use char because int might match the return type of a GCC
6357 builtin and then its argument prototype would still apply. */
6361 char pthread_create ();
6365 return pthread_create ();
6370 rm -f conftest.
$ac_objext conftest
$ac_exeext
6371 if { (ac_try
="$ac_link"
6373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6374 *) ac_try_echo=$ac_try;;
6376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6377 (eval "$ac_link") 2>conftest.er1
6379 grep -v '^ *+' conftest.er1 >conftest.err
6381 cat conftest.err >&5
6382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383 (exit $ac_status); } && {
6384 test -z "$ac_c_werror_flag" ||
6385 test ! -s conftest.err
6386 } && test -s conftest$ac_exeext &&
6387 $as_test_x conftest$ac_exeext; then
6388 ac_cv_lib_pthread_pthread_create=yes
6390 echo "$as_me: failed program was:" >&5
6391 sed 's/^/| /' conftest.$ac_ext >&5
6393 ac_cv_lib_pthread_pthread_create=no
6396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6397 conftest$ac_exeext conftest.$ac_ext
6398 LIBS=$ac_check_lib_save_LIBS
6400 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6401 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6402 if test $ac_cv_lib_pthread_pthread_create = yes; then
6403 LIBPTHREAD="-lpthread"
6422 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6423 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6424 if test "${ac_cv_header_stdc+set}" = set; then
6425 echo $ECHO_N "(cached) $ECHO_C" >&6
6427 cat >conftest.$ac_ext <<_ACEOF
6430 cat confdefs.h >>conftest.$ac_ext
6431 cat >>conftest.$ac_ext <<_ACEOF
6432 /* end confdefs.h. */
6446 rm -f conftest.$ac_objext
6447 if { (ac_try="$ac_compile"
6449 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6450 *) ac_try_echo
=$ac_try;;
6452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6453 (eval "$ac_compile") 2>conftest.er1
6455 grep -v '^ *+' conftest.er1
>conftest.err
6457 cat conftest.err
>&5
6458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459 (exit $ac_status); } && {
6460 test -z "$ac_c_werror_flag" ||
6461 test ! -s conftest.err
6462 } && test -s conftest.
$ac_objext; then
6463 ac_cv_header_stdc
=yes
6465 echo "$as_me: failed program was:" >&5
6466 sed 's/^/| /' conftest.
$ac_ext >&5
6468 ac_cv_header_stdc
=no
6471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6473 if test $ac_cv_header_stdc = yes; then
6474 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6475 cat >conftest.
$ac_ext <<_ACEOF
6478 cat confdefs.h
>>conftest.
$ac_ext
6479 cat >>conftest.
$ac_ext <<_ACEOF
6480 /* end confdefs.h. */
6484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6485 $EGREP "memchr" >/dev
/null
2>&1; then
6488 ac_cv_header_stdc
=no
6494 if test $ac_cv_header_stdc = yes; then
6495 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6496 cat >conftest.
$ac_ext <<_ACEOF
6499 cat confdefs.h
>>conftest.
$ac_ext
6500 cat >>conftest.
$ac_ext <<_ACEOF
6501 /* end confdefs.h. */
6505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6506 $EGREP "free" >/dev
/null
2>&1; then
6509 ac_cv_header_stdc
=no
6515 if test $ac_cv_header_stdc = yes; then
6516 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6517 if test "$cross_compiling" = yes; then
6520 cat >conftest.
$ac_ext <<_ACEOF
6523 cat confdefs.h
>>conftest.
$ac_ext
6524 cat >>conftest.
$ac_ext <<_ACEOF
6525 /* end confdefs.h. */
6528 #if ((' ' & 0x0FF) == 0x020)
6529 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6530 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6532 # define ISLOWER(c) \
6533 (('a' <= (c) && (c) <= 'i') \
6534 || ('j' <= (c) && (c) <= 'r') \
6535 || ('s' <= (c) && (c) <= 'z'))
6536 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6539 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6544 for (i = 0; i < 256; i++)
6545 if (XOR (islower (i), ISLOWER (i))
6546 || toupper (i) != TOUPPER (i))
6551 rm -f conftest
$ac_exeext
6552 if { (ac_try
="$ac_link"
6554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6555 *) ac_try_echo=$ac_try;;
6557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6558 (eval "$ac_link") 2>&5
6560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6562 { (case "(($ac_try" in
6563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6564 *) ac_try_echo
=$ac_try;;
6566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6567 (eval "$ac_try") 2>&5
6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570 (exit $ac_status); }; }; then
6573 echo "$as_me: program exited with status $ac_status" >&5
6574 echo "$as_me: failed program was:" >&5
6575 sed 's/^/| /' conftest.
$ac_ext >&5
6578 ac_cv_header_stdc
=no
6580 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6586 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6587 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6588 if test $ac_cv_header_stdc = yes; then
6590 cat >>confdefs.h
<<\_ACEOF
6591 #define STDC_HEADERS 1
6596 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6606 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6607 inttypes.h stdint.h unistd.h
6609 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6610 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6612 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6613 echo $ECHO_N "(cached) $ECHO_C" >&6
6615 cat >conftest.
$ac_ext <<_ACEOF
6618 cat confdefs.h
>>conftest.
$ac_ext
6619 cat >>conftest.
$ac_ext <<_ACEOF
6620 /* end confdefs.h. */
6621 $ac_includes_default
6623 #include <$ac_header>
6625 rm -f conftest.
$ac_objext
6626 if { (ac_try
="$ac_compile"
6628 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6629 *) ac_try_echo=$ac_try;;
6631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6632 (eval "$ac_compile") 2>conftest.er1
6634 grep -v '^ *+' conftest.er1 >conftest.err
6636 cat conftest.err >&5
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); } && {
6639 test -z "$ac_c_werror_flag" ||
6640 test ! -s conftest.err
6641 } && test -s conftest.$ac_objext; then
6642 eval "$as_ac_Header=yes"
6644 echo "$as_me: failed program was:" >&5
6645 sed 's/^/| /' conftest.$ac_ext >&5
6647 eval "$as_ac_Header=no"
6650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6652 ac_res=`eval echo '${'$as_ac_Header'}'`
6653 { echo "$as_me:$LINENO: result: $ac_res" >&5
6654 echo "${ECHO_T}$ac_res" >&6; }
6655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6656 cat >>confdefs.h <<_ACEOF
6657 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6776 AudioUnit/AudioUnit.h \
6778 CoreAudio/CoreAudio.h \
6779 DiskArbitration/DiskArbitration.h \
6792 fontconfig/fontconfig.h \
6818 machine/soundcard.h \
6823 netinet/in_systm.h \
6888 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6889 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6890 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6892 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6893 echo $ECHO_N "(cached) $ECHO_C" >&6
6895 ac_res=`eval echo '${'$as_ac_Header'}'`
6896 { echo "$as_me:$LINENO: result: $ac_res" >&5
6897 echo "${ECHO_T}$ac_res" >&6; }
6899 # Is the header compilable?
6900 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6901 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6902 cat >conftest.$ac_ext <<_ACEOF
6905 cat confdefs.h >>conftest.$ac_ext
6906 cat >>conftest.$ac_ext <<_ACEOF
6907 /* end confdefs.h. */
6908 $ac_includes_default
6909 #include <$ac_header>
6911 rm -f conftest.$ac_objext
6912 if { (ac_try="$ac_compile"
6914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6915 *) ac_try_echo
=$ac_try;;
6917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6918 (eval "$ac_compile") 2>conftest.er1
6920 grep -v '^ *+' conftest.er1
>conftest.err
6922 cat conftest.err
>&5
6923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6924 (exit $ac_status); } && {
6925 test -z "$ac_c_werror_flag" ||
6926 test ! -s conftest.err
6927 } && test -s conftest.
$ac_objext; then
6928 ac_header_compiler
=yes
6930 echo "$as_me: failed program was:" >&5
6931 sed 's/^/| /' conftest.
$ac_ext >&5
6933 ac_header_compiler
=no
6936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6937 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6938 echo "${ECHO_T}$ac_header_compiler" >&6; }
6940 # Is the header present?
6941 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6942 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6943 cat >conftest.
$ac_ext <<_ACEOF
6946 cat confdefs.h
>>conftest.
$ac_ext
6947 cat >>conftest.
$ac_ext <<_ACEOF
6948 /* end confdefs.h. */
6949 #include <$ac_header>
6951 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6954 *) ac_try_echo=$ac_try;;
6956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6957 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6959 grep -v '^ *+' conftest.er1 >conftest.err
6961 cat conftest.err >&5
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); } >/dev/null && {
6964 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6965 test ! -s conftest.err
6967 ac_header_preproc=yes
6969 echo "$as_me: failed program was:" >&5
6970 sed 's/^/| /' conftest.$ac_ext >&5
6972 ac_header_preproc=no
6975 rm -f conftest.err conftest.$ac_ext
6976 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6977 echo "${ECHO_T}$ac_header_preproc" >&6; }
6979 # So? What about this header?
6980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6982 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6983 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6985 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6986 ac_header_preproc=yes
6989 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6990 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6991 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6992 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6993 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6994 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6995 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6996 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6998 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6999 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7000 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7002 ## ------------------------------------ ##
7003 ## Report this to wine-devel@winehq.org ##
7004 ## ------------------------------------ ##
7006 ) | sed "s/^/$as_me: WARNING: /" >&2
7009 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7011 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7012 echo $ECHO_N "(cached) $ECHO_C" >&6
7014 eval "$as_ac_Header=\$ac_header_preproc"
7016 ac_res=`eval echo '${'$as_ac_Header'}'`
7017 { echo "$as_me:$LINENO: result: $ac_res" >&5
7018 echo "${ECHO_T}$ac_res" >&6; }
7021 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7022 cat >>confdefs.h <<_ACEOF
7023 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7030 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7031 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7032 if test "${ac_cv_header_stat_broken+set}" = set; then
7033 echo $ECHO_N "(cached) $ECHO_C" >&6
7035 cat >conftest.$ac_ext <<_ACEOF
7038 cat confdefs.h >>conftest.$ac_ext
7039 cat >>conftest.$ac_ext <<_ACEOF
7040 /* end confdefs.h. */
7041 #include <sys/types.h>
7042 #include <sys/stat.h>
7044 #if defined S_ISBLK && defined S_IFDIR
7045 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7048 #if defined S_ISBLK && defined S_IFCHR
7049 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7052 #if defined S_ISLNK && defined S_IFREG
7053 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7056 #if defined S_ISSOCK && defined S_IFREG
7057 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7061 rm -f conftest.$ac_objext
7062 if { (ac_try="$ac_compile"
7064 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7065 *) ac_try_echo
=$ac_try;;
7067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7068 (eval "$ac_compile") 2>conftest.er1
7070 grep -v '^ *+' conftest.er1
>conftest.err
7072 cat conftest.err
>&5
7073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7074 (exit $ac_status); } && {
7075 test -z "$ac_c_werror_flag" ||
7076 test ! -s conftest.err
7077 } && test -s conftest.
$ac_objext; then
7078 ac_cv_header_stat_broken
=no
7080 echo "$as_me: failed program was:" >&5
7081 sed 's/^/| /' conftest.
$ac_ext >&5
7083 ac_cv_header_stat_broken
=yes
7086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7088 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7089 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7090 if test $ac_cv_header_stat_broken = yes; then
7092 cat >>confdefs.h
<<\_ACEOF
7093 #define STAT_MACROS_BROKEN 1
7104 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7106 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7107 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7109 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7110 echo $ECHO_N "(cached) $ECHO_C" >&6
7112 cat >conftest.
$ac_ext <<_ACEOF
7115 cat confdefs.h
>>conftest.
$ac_ext
7116 cat >>conftest.
$ac_ext <<_ACEOF
7117 /* end confdefs.h. */
7118 #include <sys/types.h>
7119 #if HAVE_SYS_PARAM_H
7120 # include <sys/param.h>
7123 #include <$ac_header>
7125 rm -f conftest.
$ac_objext
7126 if { (ac_try
="$ac_compile"
7128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7129 *) ac_try_echo=$ac_try;;
7131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7132 (eval "$ac_compile") 2>conftest.er1
7134 grep -v '^ *+' conftest.er1 >conftest.err
7136 cat conftest.err >&5
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); } && {
7139 test -z "$ac_c_werror_flag" ||
7140 test ! -s conftest.err
7141 } && test -s conftest.$ac_objext; then
7142 eval "$as_ac_Header=yes"
7144 echo "$as_me: failed program was:" >&5
7145 sed 's/^/| /' conftest.$ac_ext >&5
7147 eval "$as_ac_Header=no"
7150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7152 ac_res=`eval echo '${'$as_ac_Header'}'`
7153 { echo "$as_me:$LINENO: result: $ac_res" >&5
7154 echo "${ECHO_T}$ac_res" >&6; }
7155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7156 cat >>confdefs.h <<_ACEOF
7157 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7173 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
7175 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7176 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7178 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7179 echo $ECHO_N "(cached) $ECHO_C" >&6
7181 cat >conftest.$ac_ext <<_ACEOF
7184 cat confdefs.h >>conftest.$ac_ext
7185 cat >>conftest.$ac_ext <<_ACEOF
7186 /* end confdefs.h. */
7187 #include <sys/types.h>
7188 #if HAVE_SYS_SOCKET_H
7189 # include <sys/socket.h>
7191 #if HAVE_SYS_SOCKETVAR_H
7192 # include <sys/socketvar.h>
7194 #if HAVE_NETINET_IN_H
7195 # include <netinet/in.h>
7198 #include <$ac_header>
7200 rm -f conftest.$ac_objext
7201 if { (ac_try="$ac_compile"
7203 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7204 *) ac_try_echo
=$ac_try;;
7206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7207 (eval "$ac_compile") 2>conftest.er1
7209 grep -v '^ *+' conftest.er1
>conftest.err
7211 cat conftest.err
>&5
7212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7213 (exit $ac_status); } && {
7214 test -z "$ac_c_werror_flag" ||
7215 test ! -s conftest.err
7216 } && test -s conftest.
$ac_objext; then
7217 eval "$as_ac_Header=yes"
7219 echo "$as_me: failed program was:" >&5
7220 sed 's/^/| /' conftest.
$ac_ext >&5
7222 eval "$as_ac_Header=no"
7225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7227 ac_res
=`eval echo '${'$as_ac_Header'}'`
7228 { echo "$as_me:$LINENO: result: $ac_res" >&5
7229 echo "${ECHO_T}$ac_res" >&6; }
7230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7231 cat >>confdefs.h
<<_ACEOF
7232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7241 for ac_header
in netinet
/tcp_var.h
7243 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7244 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7246 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7247 echo $ECHO_N "(cached) $ECHO_C" >&6
7249 cat >conftest.
$ac_ext <<_ACEOF
7252 cat confdefs.h
>>conftest.
$ac_ext
7253 cat >>conftest.
$ac_ext <<_ACEOF
7254 /* end confdefs.h. */
7255 #include <sys/types.h>
7256 #if HAVE_SYS_SOCKET_H
7257 # include <sys/socket.h>
7259 #if HAVE_SYS_SOCKETVAR_H
7260 # include <sys/socketvar.h>
7262 #if HAVE_NETINET_IN_H
7263 # include <netinet/in.h>
7265 #ifdef HAVE_NETINET_TCP_H
7266 # include <netinet/tcp.h>
7269 #include <$ac_header>
7271 rm -f conftest.
$ac_objext
7272 if { (ac_try
="$ac_compile"
7274 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7275 *) ac_try_echo=$ac_try;;
7277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7278 (eval "$ac_compile") 2>conftest.er1
7280 grep -v '^ *+' conftest.er1 >conftest.err
7282 cat conftest.err >&5
7283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284 (exit $ac_status); } && {
7285 test -z "$ac_c_werror_flag" ||
7286 test ! -s conftest.err
7287 } && test -s conftest.$ac_objext; then
7288 eval "$as_ac_Header=yes"
7290 echo "$as_me: failed program was:" >&5
7291 sed 's/^/| /' conftest.$ac_ext >&5
7293 eval "$as_ac_Header=no"
7296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7298 ac_res=`eval echo '${'$as_ac_Header'}'`
7299 { echo "$as_me:$LINENO: result: $ac_res" >&5
7300 echo "${ECHO_T}$ac_res" >&6; }
7301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7302 cat >>confdefs.h <<_ACEOF
7303 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7312 for ac_header in linux/ipx.h
7314 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7315 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7317 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7318 echo $ECHO_N "(cached) $ECHO_C" >&6
7320 cat >conftest.$ac_ext <<_ACEOF
7323 cat confdefs.h >>conftest.$ac_ext
7324 cat >>conftest.$ac_ext <<_ACEOF
7325 /* end confdefs.h. */
7326 #include <sys/types.h>
7327 #ifdef HAVE_ASM_TYPES_H
7328 # include <asm/types.h>
7330 #if HAVE_SYS_SOCKET_H
7331 # include <sys/socket.h>
7334 #include <$ac_header>
7336 rm -f conftest.$ac_objext
7337 if { (ac_try="$ac_compile"
7339 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7340 *) ac_try_echo
=$ac_try;;
7342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7343 (eval "$ac_compile") 2>conftest.er1
7345 grep -v '^ *+' conftest.er1
>conftest.err
7347 cat conftest.err
>&5
7348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7349 (exit $ac_status); } && {
7350 test -z "$ac_c_werror_flag" ||
7351 test ! -s conftest.err
7352 } && test -s conftest.
$ac_objext; then
7353 eval "$as_ac_Header=yes"
7355 echo "$as_me: failed program was:" >&5
7356 sed 's/^/| /' conftest.
$ac_ext >&5
7358 eval "$as_ac_Header=no"
7361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7363 ac_res
=`eval echo '${'$as_ac_Header'}'`
7364 { echo "$as_me:$LINENO: result: $ac_res" >&5
7365 echo "${ECHO_T}$ac_res" >&6; }
7366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7367 cat >>confdefs.h
<<_ACEOF
7368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7377 for ac_header
in resolv.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 #if HAVE_SYS_SOCKET_H
7393 # include <sys/socket.h>
7395 #if HAVE_NETINET_IN_H
7396 # include <netinet/in.h>
7398 #if HAVE_ARPA_NAMESER_H
7399 # include <arpa/nameser.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 ucontext.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. */
7461 #include <$ac_header>
7463 rm -f conftest.$ac_objext
7464 if { (ac_try="$ac_compile"
7466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7467 *) ac_try_echo
=$ac_try;;
7469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7470 (eval "$ac_compile") 2>conftest.er1
7472 grep -v '^ *+' conftest.er1
>conftest.err
7474 cat conftest.err
>&5
7475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7476 (exit $ac_status); } && {
7477 test -z "$ac_c_werror_flag" ||
7478 test ! -s conftest.err
7479 } && test -s conftest.
$ac_objext; then
7480 eval "$as_ac_Header=yes"
7482 echo "$as_me: failed program was:" >&5
7483 sed 's/^/| /' conftest.
$ac_ext >&5
7485 eval "$as_ac_Header=no"
7488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7490 ac_res
=`eval echo '${'$as_ac_Header'}'`
7491 { echo "$as_me:$LINENO: result: $ac_res" >&5
7492 echo "${ECHO_T}$ac_res" >&6; }
7493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7494 cat >>confdefs.h
<<_ACEOF
7495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7504 for ac_header
in sys
/thr.h
7506 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7507 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7509 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7510 echo $ECHO_N "(cached) $ECHO_C" >&6
7512 cat >conftest.
$ac_ext <<_ACEOF
7515 cat confdefs.h
>>conftest.
$ac_ext
7516 cat >>conftest.
$ac_ext <<_ACEOF
7517 /* end confdefs.h. */
7518 #include <sys/types.h>
7520 #include <ucontext.h>
7523 #include <$ac_header>
7525 rm -f conftest.
$ac_objext
7526 if { (ac_try
="$ac_compile"
7528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7529 *) ac_try_echo=$ac_try;;
7531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7532 (eval "$ac_compile") 2>conftest.er1
7534 grep -v '^ *+' conftest.er1 >conftest.err
7536 cat conftest.err >&5
7537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538 (exit $ac_status); } && {
7539 test -z "$ac_c_werror_flag" ||
7540 test ! -s conftest.err
7541 } && test -s conftest.$ac_objext; then
7542 eval "$as_ac_Header=yes"
7544 echo "$as_me: failed program was:" >&5
7545 sed 's/^/| /' conftest.$ac_ext >&5
7547 eval "$as_ac_Header=no"
7550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7552 ac_res=`eval echo '${'$as_ac_Header'}'`
7553 { echo "$as_me:$LINENO: result: $ac_res" >&5
7554 echo "${ECHO_T}$ac_res" >&6; }
7555 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7556 cat >>confdefs.h <<_ACEOF
7557 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7566 for ac_header in pthread_np.h
7568 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7569 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7571 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7572 echo $ECHO_N "(cached) $ECHO_C" >&6
7574 cat >conftest.$ac_ext <<_ACEOF
7577 cat confdefs.h >>conftest.$ac_ext
7578 cat >>conftest.$ac_ext <<_ACEOF
7579 /* end confdefs.h. */
7580 #ifdef HAVE_PTHREAD_H
7581 #include <pthread.h>
7584 #include <$ac_header>
7586 rm -f conftest.$ac_objext
7587 if { (ac_try="$ac_compile"
7589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7590 *) ac_try_echo
=$ac_try;;
7592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7593 (eval "$ac_compile") 2>conftest.er1
7595 grep -v '^ *+' conftest.er1
>conftest.err
7597 cat conftest.err
>&5
7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599 (exit $ac_status); } && {
7600 test -z "$ac_c_werror_flag" ||
7601 test ! -s conftest.err
7602 } && test -s conftest.
$ac_objext; then
7603 eval "$as_ac_Header=yes"
7605 echo "$as_me: failed program was:" >&5
7606 sed 's/^/| /' conftest.
$ac_ext >&5
7608 eval "$as_ac_Header=no"
7611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7613 ac_res
=`eval echo '${'$as_ac_Header'}'`
7614 { echo "$as_me:$LINENO: result: $ac_res" >&5
7615 echo "${ECHO_T}$ac_res" >&6; }
7616 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7617 cat >>confdefs.h
<<_ACEOF
7618 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7627 for ac_header
in linux
/videodev.h
7629 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7630 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7632 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7633 echo $ECHO_N "(cached) $ECHO_C" >&6
7635 cat >conftest.
$ac_ext <<_ACEOF
7638 cat confdefs.h
>>conftest.
$ac_ext
7639 cat >>conftest.
$ac_ext <<_ACEOF
7640 /* end confdefs.h. */
7641 #ifdef HAVE_SYS_TIME_H
7642 #include <sys/time.h>
7644 #include <sys/types.h>
7645 #ifdef HAVE_ASM_TYPES_H
7646 #include <asm/types.h>
7649 #include <$ac_header>
7651 rm -f conftest.
$ac_objext
7652 if { (ac_try
="$ac_compile"
7654 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7655 *) ac_try_echo=$ac_try;;
7657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7658 (eval "$ac_compile") 2>conftest.er1
7660 grep -v '^ *+' conftest.er1 >conftest.err
7662 cat conftest.err >&5
7663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7664 (exit $ac_status); } && {
7665 test -z "$ac_c_werror_flag" ||
7666 test ! -s conftest.err
7667 } && test -s conftest.$ac_objext; then
7668 eval "$as_ac_Header=yes"
7670 echo "$as_me: failed program was:" >&5
7671 sed 's/^/| /' conftest.$ac_ext >&5
7673 eval "$as_ac_Header=no"
7676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7678 ac_res=`eval echo '${'$as_ac_Header'}'`
7679 { echo "$as_me:$LINENO: result: $ac_res" >&5
7680 echo "${ECHO_T}$ac_res" >&6; }
7681 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7682 cat >>confdefs.h <<_ACEOF
7683 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7692 for ac_header in linux/capi.h
7694 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7695 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7697 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7698 echo $ECHO_N "(cached) $ECHO_C" >&6
7700 cat >conftest.$ac_ext <<_ACEOF
7703 cat confdefs.h >>conftest.$ac_ext
7704 cat >>conftest.$ac_ext <<_ACEOF
7705 /* end confdefs.h. */
7708 #include <$ac_header>
7710 rm -f conftest.$ac_objext
7711 if { (ac_try="$ac_compile"
7713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7714 *) ac_try_echo
=$ac_try;;
7716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7717 (eval "$ac_compile") 2>conftest.er1
7719 grep -v '^ *+' conftest.er1
>conftest.err
7721 cat conftest.err
>&5
7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7723 (exit $ac_status); } && {
7724 test -z "$ac_c_werror_flag" ||
7725 test ! -s conftest.err
7726 } && test -s conftest.
$ac_objext; then
7727 eval "$as_ac_Header=yes"
7729 echo "$as_me: failed program was:" >&5
7730 sed 's/^/| /' conftest.
$ac_ext >&5
7732 eval "$as_ac_Header=no"
7735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7737 ac_res
=`eval echo '${'$as_ac_Header'}'`
7738 { echo "$as_me:$LINENO: result: $ac_res" >&5
7739 echo "${ECHO_T}$ac_res" >&6; }
7740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7741 cat >>confdefs.h
<<_ACEOF
7742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7753 DLLFLAGS
="-D_REENTRANT"
7767 # Extract the first word of "ldd", so it can be a program name with args.
7768 set dummy ldd
; ac_word
=$2
7769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7771 if test "${ac_cv_path_LDD+set}" = set; then
7772 echo $ECHO_N "(cached) $ECHO_C" >&6
7776 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7780 as_dummy
="/sbin:/usr/sbin:$PATH"
7781 for as_dir
in $as_dummy
7784 test -z "$as_dir" && as_dir
=.
7785 for ac_exec_ext
in '' $ac_executable_extensions; do
7786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7787 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7795 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7800 if test -n "$LDD"; then
7801 { echo "$as_me:$LINENO: result: $LDD" >&5
7802 echo "${ECHO_T}$LDD" >&6; }
7804 { echo "$as_me:$LINENO: result: no" >&5
7805 echo "${ECHO_T}no" >&6; }
7812 if test -n "$ac_tool_prefix"; then
7813 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7814 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7817 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7818 echo $ECHO_N "(cached) $ECHO_C" >&6
7820 if test -n "$DLLTOOL"; then
7821 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7827 test -z "$as_dir" && as_dir
=.
7828 for ac_exec_ext
in '' $ac_executable_extensions; do
7829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7830 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7840 DLLTOOL
=$ac_cv_prog_DLLTOOL
7841 if test -n "$DLLTOOL"; then
7842 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7843 echo "${ECHO_T}$DLLTOOL" >&6; }
7845 { echo "$as_me:$LINENO: result: no" >&5
7846 echo "${ECHO_T}no" >&6; }
7851 if test -z "$ac_cv_prog_DLLTOOL"; then
7852 ac_ct_DLLTOOL
=$DLLTOOL
7853 # Extract the first word of "dlltool", so it can be a program name with args.
7854 set dummy dlltool
; ac_word
=$2
7855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7857 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7858 echo $ECHO_N "(cached) $ECHO_C" >&6
7860 if test -n "$ac_ct_DLLTOOL"; then
7861 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7867 test -z "$as_dir" && as_dir
=.
7868 for ac_exec_ext
in '' $ac_executable_extensions; do
7869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7870 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7880 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7881 if test -n "$ac_ct_DLLTOOL"; then
7882 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7883 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7885 { echo "$as_me:$LINENO: result: no" >&5
7886 echo "${ECHO_T}no" >&6; }
7889 if test "x$ac_ct_DLLTOOL" = x
; then
7892 case $cross_compiling:$ac_tool_warned in
7894 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7895 whose name does not start with the host triplet. If you think this
7896 configuration is useful to you, please write to autoconf@gnu.org." >&5
7897 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7898 whose name does not start with the host triplet. If you think this
7899 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7900 ac_tool_warned
=yes ;;
7902 DLLTOOL
=$ac_ct_DLLTOOL
7905 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7908 if test -n "$ac_tool_prefix"; then
7909 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7910 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
7911 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7913 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7914 echo $ECHO_N "(cached) $ECHO_C" >&6
7916 if test -n "$DLLWRAP"; then
7917 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
7919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7923 test -z "$as_dir" && as_dir
=.
7924 for ac_exec_ext
in '' $ac_executable_extensions; do
7925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7926 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
7927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7936 DLLWRAP
=$ac_cv_prog_DLLWRAP
7937 if test -n "$DLLWRAP"; then
7938 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7939 echo "${ECHO_T}$DLLWRAP" >&6; }
7941 { echo "$as_me:$LINENO: result: no" >&5
7942 echo "${ECHO_T}no" >&6; }
7947 if test -z "$ac_cv_prog_DLLWRAP"; then
7948 ac_ct_DLLWRAP
=$DLLWRAP
7949 # Extract the first word of "dllwrap", so it can be a program name with args.
7950 set dummy dllwrap
; ac_word
=$2
7951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7953 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7954 echo $ECHO_N "(cached) $ECHO_C" >&6
7956 if test -n "$ac_ct_DLLWRAP"; then
7957 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
7959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7963 test -z "$as_dir" && as_dir
=.
7964 for ac_exec_ext
in '' $ac_executable_extensions; do
7965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7966 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
7967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7976 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
7977 if test -n "$ac_ct_DLLWRAP"; then
7978 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7979 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7981 { echo "$as_me:$LINENO: result: no" >&5
7982 echo "${ECHO_T}no" >&6; }
7985 if test "x$ac_ct_DLLWRAP" = x
; then
7988 case $cross_compiling:$ac_tool_warned in
7990 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7991 whose name does not start with the host triplet. If you think this
7992 configuration is useful to you, please write to autoconf@gnu.org." >&5
7993 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7994 whose name does not start with the host triplet. If you think this
7995 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7996 ac_tool_warned
=yes ;;
7998 DLLWRAP
=$ac_ct_DLLWRAP
8001 DLLWRAP
="$ac_cv_prog_DLLWRAP"
8004 if test -n "$ac_tool_prefix"; then
8005 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8006 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8009 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8010 echo $ECHO_N "(cached) $ECHO_C" >&6
8012 if test -n "$MINGWAR"; then
8013 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8019 test -z "$as_dir" && as_dir
=.
8020 for ac_exec_ext
in '' $ac_executable_extensions; do
8021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8022 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8032 MINGWAR
=$ac_cv_prog_MINGWAR
8033 if test -n "$MINGWAR"; then
8034 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8035 echo "${ECHO_T}$MINGWAR" >&6; }
8037 { echo "$as_me:$LINENO: result: no" >&5
8038 echo "${ECHO_T}no" >&6; }
8043 if test -z "$ac_cv_prog_MINGWAR"; then
8044 ac_ct_MINGWAR
=$MINGWAR
8045 # Extract the first word of "ar", so it can be a program name with args.
8046 set dummy
ar; ac_word
=$2
8047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8049 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8050 echo $ECHO_N "(cached) $ECHO_C" >&6
8052 if test -n "$ac_ct_MINGWAR"; then
8053 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8059 test -z "$as_dir" && as_dir
=.
8060 for ac_exec_ext
in '' $ac_executable_extensions; do
8061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8062 ac_cv_prog_ac_ct_MINGWAR
="ar"
8063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8072 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8073 if test -n "$ac_ct_MINGWAR"; then
8074 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8075 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8077 { echo "$as_me:$LINENO: result: no" >&5
8078 echo "${ECHO_T}no" >&6; }
8081 if test "x$ac_ct_MINGWAR" = x
; then
8084 case $cross_compiling:$ac_tool_warned in
8086 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8087 whose name does not start with the host triplet. If you think this
8088 configuration is useful to you, please write to autoconf@gnu.org." >&5
8089 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8090 whose name does not start with the host triplet. If you think this
8091 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8092 ac_tool_warned
=yes ;;
8094 MINGWAR
=$ac_ct_MINGWAR
8097 MINGWAR
="$ac_cv_prog_MINGWAR"
8100 if test "$DLLWRAP" = "false"; then
8112 DLLFLAGS
="$DLLFLAGS -fPIC"
8113 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8114 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8115 LDSHARED
="\$(CC) -dynamiclib"
8117 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8118 SECURITYLIB
="-framework Security -framework CoreFoundation"
8120 COREFOUNDATIONLIB
="-framework CoreFoundation"
8122 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8124 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8126 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8128 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8131 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8133 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8138 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8140 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8142 CARBONLIB
="-framework Carbon"
8144 QUARTZFILES
='$(QUARTZFILES)'
8148 DLLFLAGS
="$DLLFLAGS -fPIC"
8150 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8151 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8152 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8153 echo $ECHO_N "(cached) $ECHO_C" >&6
8155 ac_wine_try_cflags_saved
=$CFLAGS
8156 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8157 cat >conftest.
$ac_ext <<_ACEOF
8160 rm -f conftest.
$ac_objext conftest
$ac_exeext
8161 if { (ac_try
="$ac_link"
8163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8164 *) ac_try_echo=$ac_try;;
8166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8167 (eval "$ac_link") 2>conftest.er1
8169 grep -v '^ *+' conftest.er1 >conftest.err
8171 cat conftest.err >&5
8172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8173 (exit $ac_status); } && {
8174 test -z "$ac_c_werror_flag" ||
8175 test ! -s conftest.err
8176 } && test -s conftest$ac_exeext &&
8177 $as_test_x conftest$ac_exeext; then
8178 ac_cv_c_dll_gnuelf="yes"
8180 echo "$as_me: failed program was:" >&5
8181 sed 's/^/| /' conftest.$ac_ext >&5
8183 ac_cv_c_dll_gnuelf="no"
8186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8187 conftest$ac_exeext conftest.$ac_ext
8188 CFLAGS=$ac_wine_try_cflags_saved
8190 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8191 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8192 if test "$ac_cv_c_dll_gnuelf" = "yes"
8194 LDSHARED="\$(CC) -shared"
8195 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8196 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8197 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8198 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8199 echo $ECHO_N "(cached) $ECHO_C" >&6
8201 ac_wine_try_cflags_saved=$CFLAGS
8202 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8203 cat >conftest.$ac_ext <<_ACEOF
8206 cat confdefs.h >>conftest.$ac_ext
8207 cat >>conftest.$ac_ext <<_ACEOF
8208 /* end confdefs.h. */
8218 rm -f conftest.$ac_objext conftest$ac_exeext
8219 if { (ac_try="$ac_link"
8221 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8222 *) ac_try_echo
=$ac_try;;
8224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8225 (eval "$ac_link") 2>conftest.er1
8227 grep -v '^ *+' conftest.er1
>conftest.err
8229 cat conftest.err
>&5
8230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8231 (exit $ac_status); } && {
8232 test -z "$ac_c_werror_flag" ||
8233 test ! -s conftest.err
8234 } && test -s conftest
$ac_exeext &&
8235 $as_test_x conftest
$ac_exeext; then
8236 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8238 echo "$as_me: failed program was:" >&5
8239 sed 's/^/| /' conftest.
$ac_ext >&5
8241 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8244 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8245 conftest
$ac_exeext conftest.
$ac_ext
8246 CFLAGS
=$ac_wine_try_cflags_saved
8248 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8249 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8250 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8251 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8253 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8254 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8255 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8256 echo $ECHO_N "(cached) $ECHO_C" >&6
8258 ac_wine_try_cflags_saved
=$CFLAGS
8259 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8260 cat >conftest.
$ac_ext <<_ACEOF
8263 cat confdefs.h
>>conftest.
$ac_ext
8264 cat >>conftest.
$ac_ext <<_ACEOF
8265 /* end confdefs.h. */
8275 rm -f conftest.
$ac_objext conftest
$ac_exeext
8276 if { (ac_try
="$ac_link"
8278 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8279 *) ac_try_echo=$ac_try;;
8281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8282 (eval "$ac_link") 2>conftest.er1
8284 grep -v '^ *+' conftest.er1 >conftest.err
8286 cat conftest.err >&5
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); } && {
8289 test -z "$ac_c_werror_flag" ||
8290 test ! -s conftest.err
8291 } && test -s conftest$ac_exeext &&
8292 $as_test_x conftest$ac_exeext; then
8293 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8295 echo "$as_me: failed program was:" >&5
8296 sed 's/^/| /' conftest.$ac_ext >&5
8298 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8302 conftest$ac_exeext conftest.$ac_ext
8303 CFLAGS=$ac_wine_try_cflags_saved
8305 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8306 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8307 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8308 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8314 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8315 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8316 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8317 echo $ECHO_N "(cached) $ECHO_C" >&6
8319 ac_wine_try_cflags_saved=$CFLAGS
8320 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8321 cat >conftest.$ac_ext <<_ACEOF
8324 cat confdefs.h >>conftest.$ac_ext
8325 cat >>conftest.$ac_ext <<_ACEOF
8326 /* end confdefs.h. */
8336 rm -f conftest.$ac_objext conftest$ac_exeext
8337 if { (ac_try="$ac_link"
8339 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8340 *) ac_try_echo
=$ac_try;;
8342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8343 (eval "$ac_link") 2>conftest.er1
8345 grep -v '^ *+' conftest.er1
>conftest.err
8347 cat conftest.err
>&5
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); } && {
8350 test -z "$ac_c_werror_flag" ||
8351 test ! -s conftest.err
8352 } && test -s conftest
$ac_exeext &&
8353 $as_test_x conftest
$ac_exeext; then
8354 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8356 echo "$as_me: failed program was:" >&5
8357 sed 's/^/| /' conftest.
$ac_ext >&5
8359 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8362 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8363 conftest
$ac_exeext conftest.
$ac_ext
8364 CFLAGS
=$ac_wine_try_cflags_saved
8366 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8367 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8368 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8369 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8373 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8374 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8375 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8376 echo $ECHO_N "(cached) $ECHO_C" >&6
8378 ac_wine_try_cflags_saved
=$CFLAGS
8379 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8380 cat >conftest.
$ac_ext <<_ACEOF
8383 cat confdefs.h
>>conftest.
$ac_ext
8384 cat >>conftest.
$ac_ext <<_ACEOF
8385 /* end confdefs.h. */
8395 rm -f conftest.
$ac_objext conftest
$ac_exeext
8396 if { (ac_try
="$ac_link"
8398 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8399 *) ac_try_echo=$ac_try;;
8401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8402 (eval "$ac_link") 2>conftest.er1
8404 grep -v '^ *+' conftest.er1 >conftest.err
8406 cat conftest.err >&5
8407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408 (exit $ac_status); } && {
8409 test -z "$ac_c_werror_flag" ||
8410 test ! -s conftest.err
8411 } && test -s conftest$ac_exeext &&
8412 $as_test_x conftest$ac_exeext; then
8413 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8415 echo "$as_me: failed program was:" >&5
8416 sed 's/^/| /' conftest.$ac_ext >&5
8418 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8422 conftest$ac_exeext conftest.$ac_ext
8423 CFLAGS=$ac_wine_try_cflags_saved
8425 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8426 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8427 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8428 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8432 echo '{ global: *; };' >conftest.map
8433 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8434 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8435 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8436 echo $ECHO_N "(cached) $ECHO_C" >&6
8438 ac_wine_try_cflags_saved=$CFLAGS
8439 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8440 cat >conftest.$ac_ext <<_ACEOF
8443 cat confdefs.h >>conftest.$ac_ext
8444 cat >>conftest.$ac_ext <<_ACEOF
8445 /* end confdefs.h. */
8455 rm -f conftest.$ac_objext conftest$ac_exeext
8456 if { (ac_try="$ac_link"
8458 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8459 *) ac_try_echo
=$ac_try;;
8461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8462 (eval "$ac_link") 2>conftest.er1
8464 grep -v '^ *+' conftest.er1
>conftest.err
8466 cat conftest.err
>&5
8467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8468 (exit $ac_status); } && {
8469 test -z "$ac_c_werror_flag" ||
8470 test ! -s conftest.err
8471 } && test -s conftest
$ac_exeext &&
8472 $as_test_x conftest
$ac_exeext; then
8473 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8475 echo "$as_me: failed program was:" >&5
8476 sed 's/^/| /' conftest.
$ac_ext >&5
8478 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8481 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8482 conftest
$ac_exeext conftest.
$ac_ext
8483 CFLAGS
=$ac_wine_try_cflags_saved
8485 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8486 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8487 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8488 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8493 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8494 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8495 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8496 echo $ECHO_N "(cached) $ECHO_C" >&6
8498 ac_wine_try_cflags_saved
=$CFLAGS
8499 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8500 cat >conftest.
$ac_ext <<_ACEOF
8503 cat confdefs.h
>>conftest.
$ac_ext
8504 cat >>conftest.
$ac_ext <<_ACEOF
8505 /* end confdefs.h. */
8515 rm -f conftest.
$ac_objext conftest
$ac_exeext
8516 if { (ac_try
="$ac_link"
8518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8519 *) ac_try_echo=$ac_try;;
8521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8522 (eval "$ac_link") 2>conftest.er1
8524 grep -v '^ *+' conftest.er1 >conftest.err
8526 cat conftest.err >&5
8527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8528 (exit $ac_status); } && {
8529 test -z "$ac_c_werror_flag" ||
8530 test ! -s conftest.err
8531 } && test -s conftest$ac_exeext &&
8532 $as_test_x conftest$ac_exeext; then
8533 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8535 echo "$as_me: failed program was:" >&5
8536 sed 's/^/| /' conftest.$ac_ext >&5
8538 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8542 conftest$ac_exeext conftest.$ac_ext
8543 CFLAGS=$ac_wine_try_cflags_saved
8545 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8546 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8547 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8548 LDEXECFLAGS="-Wl,--export-dynamic"
8553 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
8554 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8555 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8556 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8557 echo $ECHO_N "(cached) $ECHO_C" >&6
8559 ac_wine_try_cflags_saved=$CFLAGS
8560 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8561 cat >conftest.$ac_ext <<_ACEOF
8564 cat confdefs.h >>conftest.$ac_ext
8565 cat >>conftest.$ac_ext <<_ACEOF
8566 /* end confdefs.h. */
8576 rm -f conftest.$ac_objext conftest$ac_exeext
8577 if { (ac_try="$ac_link"
8579 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8580 *) ac_try_echo
=$ac_try;;
8582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8583 (eval "$ac_link") 2>conftest.er1
8585 grep -v '^ *+' conftest.er1
>conftest.err
8587 cat conftest.err
>&5
8588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8589 (exit $ac_status); } && {
8590 test -z "$ac_c_werror_flag" ||
8591 test ! -s conftest.err
8592 } && test -s conftest
$ac_exeext &&
8593 $as_test_x conftest
$ac_exeext; then
8594 eval "$as_ac_var=yes"
8596 echo "$as_me: failed program was:" >&5
8597 sed 's/^/| /' conftest.
$ac_ext >&5
8599 eval "$as_ac_var=no"
8602 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8603 conftest
$ac_exeext conftest.
$ac_ext
8604 CFLAGS
=$ac_wine_try_cflags_saved
8606 ac_res
=`eval echo '${'$as_ac_var'}'`
8607 { echo "$as_me:$LINENO: result: $ac_res" >&5
8608 echo "${ECHO_T}$ac_res" >&6; }
8609 if test `eval echo '${'$as_ac_var'}'` = yes; then
8610 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8611 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8613 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8614 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8615 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8616 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8617 echo $ECHO_N "(cached) $ECHO_C" >&6
8619 ac_wine_try_cflags_saved
=$CFLAGS
8620 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8621 cat >conftest.
$ac_ext <<_ACEOF
8624 cat confdefs.h
>>conftest.
$ac_ext
8625 cat >>conftest.
$ac_ext <<_ACEOF
8626 /* end confdefs.h. */
8636 rm -f conftest.
$ac_objext conftest
$ac_exeext
8637 if { (ac_try
="$ac_link"
8639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8640 *) ac_try_echo=$ac_try;;
8642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8643 (eval "$ac_link") 2>conftest.er1
8645 grep -v '^ *+' conftest.er1 >conftest.err
8647 cat conftest.err >&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); } && {
8650 test -z "$ac_c_werror_flag" ||
8651 test ! -s conftest.err
8652 } && test -s conftest$ac_exeext &&
8653 $as_test_x conftest$ac_exeext; then
8654 eval "$as_ac_var=yes"
8656 echo "$as_me: failed program was:" >&5
8657 sed 's/^/| /' conftest.$ac_ext >&5
8659 eval "$as_ac_var=no"
8662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8663 conftest$ac_exeext conftest.$ac_ext
8664 CFLAGS=$ac_wine_try_cflags_saved
8666 ac_res=`eval echo '${'$as_ac_var'}'`
8667 { echo "$as_me:$LINENO: result: $ac_res" >&5
8668 echo "${ECHO_T}$ac_res" >&6; }
8669 if test `eval echo '${'$as_ac_var'}'` = yes; then
8670 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
8671 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8677 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8678 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8679 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8680 echo $ECHO_N "(cached) $ECHO_C" >&6
8682 ac_wine_try_cflags_saved=$CFLAGS
8683 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8684 cat >conftest.$ac_ext <<_ACEOF
8687 cat confdefs.h >>conftest.$ac_ext
8688 cat >>conftest.$ac_ext <<_ACEOF
8689 /* end confdefs.h. */
8699 rm -f conftest.$ac_objext conftest$ac_exeext
8700 if { (ac_try="$ac_link"
8702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8703 *) ac_try_echo
=$ac_try;;
8705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8706 (eval "$ac_link") 2>conftest.er1
8708 grep -v '^ *+' conftest.er1
>conftest.err
8710 cat conftest.err
>&5
8711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8712 (exit $ac_status); } && {
8713 test -z "$ac_c_werror_flag" ||
8714 test ! -s conftest.err
8715 } && test -s conftest
$ac_exeext &&
8716 $as_test_x conftest
$ac_exeext; then
8717 ac_cv_cflags__Wl___enable_new_dtags
=yes
8719 echo "$as_me: failed program was:" >&5
8720 sed 's/^/| /' conftest.
$ac_ext >&5
8722 ac_cv_cflags__Wl___enable_new_dtags
=no
8725 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8726 conftest
$ac_exeext conftest.
$ac_ext
8727 CFLAGS
=$ac_wine_try_cflags_saved
8729 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8730 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8731 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8732 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8737 *i
[3456789]86* | x86_64
)
8738 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8739 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8740 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8741 echo $ECHO_N "(cached) $ECHO_C" >&6
8743 ac_wine_try_cflags_saved
=$CFLAGS
8744 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8745 cat >conftest.
$ac_ext <<_ACEOF
8748 cat confdefs.h
>>conftest.
$ac_ext
8749 cat >>conftest.
$ac_ext <<_ACEOF
8750 /* end confdefs.h. */
8760 rm -f conftest.
$ac_objext conftest
$ac_exeext
8761 if { (ac_try
="$ac_link"
8763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8764 *) ac_try_echo=$ac_try;;
8766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8767 (eval "$ac_link") 2>conftest.er1
8769 grep -v '^ *+' conftest.er1 >conftest.err
8771 cat conftest.err >&5
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 (exit $ac_status); } && {
8774 test -z "$ac_c_werror_flag" ||
8775 test ! -s conftest.err
8776 } && test -s conftest$ac_exeext &&
8777 $as_test_x conftest$ac_exeext; then
8778 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8780 echo "$as_me: failed program was:" >&5
8781 sed 's/^/| /' conftest.$ac_ext >&5
8783 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8787 conftest$ac_exeext conftest.$ac_ext
8788 CFLAGS=$ac_wine_try_cflags_saved
8790 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8791 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8792 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8793 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8800 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8801 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8802 if test "${ac_cv_c_dll_unixware+set}" = set; then
8803 echo $ECHO_N "(cached) $ECHO_C" >&6
8805 ac_wine_try_cflags_saved=$CFLAGS
8806 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8807 cat >conftest.$ac_ext <<_ACEOF
8810 rm -f conftest.$ac_objext conftest$ac_exeext
8811 if { (ac_try="$ac_link"
8813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8814 *) ac_try_echo
=$ac_try;;
8816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8817 (eval "$ac_link") 2>conftest.er1
8819 grep -v '^ *+' conftest.er1
>conftest.err
8821 cat conftest.err
>&5
8822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823 (exit $ac_status); } && {
8824 test -z "$ac_c_werror_flag" ||
8825 test ! -s conftest.err
8826 } && test -s conftest
$ac_exeext &&
8827 $as_test_x conftest
$ac_exeext; then
8828 ac_cv_c_dll_unixware
="yes"
8830 echo "$as_me: failed program was:" >&5
8831 sed 's/^/| /' conftest.
$ac_ext >&5
8833 ac_cv_c_dll_unixware
="no"
8836 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8837 conftest
$ac_exeext conftest.
$ac_ext
8838 CFLAGS
=$ac_wine_try_cflags_saved
8840 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8841 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8842 if test "$ac_cv_c_dll_unixware" = "yes"
8844 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8845 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
8848 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8849 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8850 if test "${ac_cv_c_dll_hpux+set}" = set; then
8851 echo $ECHO_N "(cached) $ECHO_C" >&6
8853 ac_wine_try_cflags_saved
=$CFLAGS
8854 CFLAGS
="$CFLAGS -shared"
8855 cat >conftest.
$ac_ext <<_ACEOF
8858 rm -f conftest.
$ac_objext conftest
$ac_exeext
8859 if { (ac_try
="$ac_link"
8861 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8862 *) ac_try_echo=$ac_try;;
8864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8865 (eval "$ac_link") 2>conftest.er1
8867 grep -v '^ *+' conftest.er1 >conftest.err
8869 cat conftest.err >&5
8870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871 (exit $ac_status); } && {
8872 test -z "$ac_c_werror_flag" ||
8873 test ! -s conftest.err
8874 } && test -s conftest$ac_exeext &&
8875 $as_test_x conftest$ac_exeext; then
8876 ac_cv_c_dll_hpux="yes"
8878 echo "$as_me: failed program was:" >&5
8879 sed 's/^/| /' conftest.$ac_ext >&5
8881 ac_cv_c_dll_hpux="no"
8884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8885 conftest$ac_exeext conftest.$ac_ext
8886 CFLAGS=$ac_wine_try_cflags_saved
8888 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8889 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8890 if test "$ac_cv_c_dll_hpux" = "yes"
8894 LDDLLFLAGS="-shared -fPIC"
8895 LDSHARED="\$(CC) -shared"
8902 if test "$cross_compiling" = "no"
8904 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8906 # Extract the first word of "$ac_prog", so it can be a program name with args.
8907 set dummy $ac_prog; ac_word=$2
8908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8910 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8911 echo $ECHO_N "(cached) $ECHO_C" >&6
8913 if test -n "$CROSSCC"; then
8914 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8920 test -z "$as_dir" && as_dir=.
8921 for ac_exec_ext in '' $ac_executable_extensions; do
8922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8923 ac_cv_prog_CROSSCC="$ac_prog"
8924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8933 CROSSCC=$ac_cv_prog_CROSSCC
8934 if test -n "$CROSSCC"; then
8935 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8936 echo "${ECHO_T}$CROSSCC" >&6; }
8938 { echo "$as_me:$LINENO: result: no" >&5
8939 echo "${ECHO_T}no" >&6; }
8943 test -n "$CROSSCC" && break
8945 test -n "$CROSSCC" || CROSSCC="false"
8947 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8949 # Extract the first word of "$ac_prog", so it can be a program name with args.
8950 set dummy $ac_prog; ac_word=$2
8951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8953 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8954 echo $ECHO_N "(cached) $ECHO_C" >&6
8956 if test -n "$DLLTOOL"; then
8957 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8963 test -z "$as_dir" && as_dir=.
8964 for ac_exec_ext in '' $ac_executable_extensions; do
8965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8966 ac_cv_prog_DLLTOOL="$ac_prog"
8967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8976 DLLTOOL=$ac_cv_prog_DLLTOOL
8977 if test -n "$DLLTOOL"; then
8978 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8979 echo "${ECHO_T}$DLLTOOL" >&6; }
8981 { echo "$as_me:$LINENO: result: no" >&5
8982 echo "${ECHO_T}no" >&6; }
8986 test -n "$DLLTOOL" && break
8988 test -n "$DLLTOOL" || DLLTOOL="false"
8990 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
8992 # Extract the first word of "$ac_prog", so it can be a program name with args.
8993 set dummy $ac_prog; ac_word=$2
8994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8996 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8997 echo $ECHO_N "(cached) $ECHO_C" >&6
8999 if test -n "$CROSSWINDRES"; then
9000 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9006 test -z "$as_dir" && as_dir=.
9007 for ac_exec_ext in '' $ac_executable_extensions; do
9008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9009 ac_cv_prog_CROSSWINDRES="$ac_prog"
9010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9019 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9020 if test -n "$CROSSWINDRES"; then
9021 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9022 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9024 { echo "$as_me:$LINENO: result: no" >&5
9025 echo "${ECHO_T}no" >&6; }
9029 test -n "$CROSSWINDRES" && break
9031 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9033 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9035 # Extract the first word of "$ac_prog", so it can be a program name with args.
9036 set dummy $ac_prog; ac_word=$2
9037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9039 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9040 echo $ECHO_N "(cached) $ECHO_C" >&6
9042 if test -n "$MINGWAR"; then
9043 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9049 test -z "$as_dir" && as_dir=.
9050 for ac_exec_ext in '' $ac_executable_extensions; do
9051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9052 ac_cv_prog_MINGWAR="$ac_prog"
9053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9062 MINGWAR=$ac_cv_prog_MINGWAR
9063 if test -n "$MINGWAR"; then
9064 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9065 echo "${ECHO_T}$MINGWAR" >&6; }
9067 { echo "$as_me:$LINENO: result: no" >&5
9068 echo "${ECHO_T}no" >&6; }
9072 test -n "$MINGWAR" && break
9074 test -n "$MINGWAR" || MINGWAR="false"
9076 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9081 if test "$LIBEXT" = "a"; then
9082 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9083 It is currently not possible to build Wine without shared library
9084 (.so) support to allow transparent switch between .so and .dll files.
9085 If you are using Linux, you will need a newer binutils.
9087 echo "$as_me: error: could not find a way to build shared libraries.
9088 It is currently not possible to build Wine without shared library
9089 (.so) support to allow transparent switch between .so and .dll files.
9090 If you are using Linux, you will need a newer binutils.
9092 { (exit 1); exit 1; }; }
9096 if test "$have_x" = "yes"
9099 ac_save_CPPFLAGS="$CPPFLAGS"
9100 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9102 { echo "$as_me:$LINENO: checking for -lX11" >&5
9103 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9104 if test "${ac_cv_lib_soname_X11+set}" = set; then
9105 echo $ECHO_N "(cached) $ECHO_C" >&6
9107 ac_check_soname_save_LIBS=$LIBS
9108 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9109 cat >conftest.$ac_ext <<_ACEOF
9112 cat confdefs.h >>conftest.$ac_ext
9113 cat >>conftest.$ac_ext <<_ACEOF
9114 /* end confdefs.h. */
9116 /* Override any GCC internal prototype to avoid an error.
9117 Use char because int might match the return type of a GCC
9118 builtin and then its argument prototype would still apply. */
9122 char XCreateWindow ();
9126 return XCreateWindow ();
9131 rm -f conftest.$ac_objext conftest$ac_exeext
9132 if { (ac_try="$ac_link"
9134 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9135 *) ac_try_echo
=$ac_try;;
9137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9138 (eval "$ac_link") 2>conftest.er1
9140 grep -v '^ *+' conftest.er1
>conftest.err
9142 cat conftest.err
>&5
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); } && {
9145 test -z "$ac_c_werror_flag" ||
9146 test ! -s conftest.err
9147 } && test -s conftest
$ac_exeext &&
9148 $as_test_x conftest
$ac_exeext; then
9151 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'` ;;
9152 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9155 echo "$as_me: failed program was:" >&5
9156 sed 's/^/| /' conftest.
$ac_ext >&5
9161 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9162 conftest
$ac_exeext conftest.
$ac_ext
9163 LIBS
=$ac_check_soname_save_LIBS
9165 if test "x$ac_cv_lib_soname_X11" = "x"; then
9166 { echo "$as_me:$LINENO: result: not found" >&5
9167 echo "${ECHO_T}not found" >&6; }
9170 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9171 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9173 cat >>confdefs.h
<<_ACEOF
9174 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9180 { echo "$as_me:$LINENO: checking for -lXext" >&5
9181 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9182 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9183 echo $ECHO_N "(cached) $ECHO_C" >&6
9185 ac_check_soname_save_LIBS
=$LIBS
9186 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9187 cat >conftest.
$ac_ext <<_ACEOF
9190 cat confdefs.h
>>conftest.
$ac_ext
9191 cat >>conftest.
$ac_ext <<_ACEOF
9192 /* end confdefs.h. */
9194 /* Override any GCC internal prototype to avoid an error.
9195 Use char because int might match the return type of a GCC
9196 builtin and then its argument prototype would still apply. */
9200 char XextCreateExtension ();
9204 return XextCreateExtension ();
9209 rm -f conftest.
$ac_objext conftest
$ac_exeext
9210 if { (ac_try
="$ac_link"
9212 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9213 *) ac_try_echo=$ac_try;;
9215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9216 (eval "$ac_link") 2>conftest.er1
9218 grep -v '^ *+' conftest.er1 >conftest.err
9220 cat conftest.err >&5
9221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9222 (exit $ac_status); } && {
9223 test -z "$ac_c_werror_flag" ||
9224 test ! -s conftest.err
9225 } && test -s conftest$ac_exeext &&
9226 $as_test_x conftest$ac_exeext; then
9229 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'` ;;
9230 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9233 echo "$as_me: failed program was:" >&5
9234 sed 's/^/| /' conftest.$ac_ext >&5
9239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9240 conftest$ac_exeext conftest.$ac_ext
9241 LIBS=$ac_check_soname_save_LIBS
9243 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9244 { echo "$as_me:$LINENO: result: not found" >&5
9245 echo "${ECHO_T}not found" >&6; }
9248 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9249 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9251 cat >>confdefs.h <<_ACEOF
9252 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9271 for ac_header in X11/Xlib.h \
9274 X11/Xcursor/Xcursor.h \
9275 X11/extensions/shape.h \
9276 X11/extensions/XInput.h \
9277 X11/extensions/XShm.h \
9278 X11/extensions/Xcomposite.h \
9279 X11/extensions/Xinerama.h \
9280 X11/extensions/Xrandr.h \
9281 X11/extensions/Xrender.h \
9282 X11/extensions/xf86vmode.h
9284 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9285 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9288 echo $ECHO_N "(cached) $ECHO_C" >&6
9290 cat >conftest.$ac_ext <<_ACEOF
9293 cat confdefs.h >>conftest.$ac_ext
9294 cat >>conftest.$ac_ext <<_ACEOF
9295 /* end confdefs.h. */
9296 #ifdef HAVE_X11_XLIB_H
9297 # include <X11/Xlib.h>
9299 #ifdef HAVE_X11_XUTIL_H
9300 # include <X11/Xutil.h>
9303 #include <$ac_header>
9305 rm -f conftest.$ac_objext
9306 if { (ac_try="$ac_compile"
9308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9309 *) ac_try_echo
=$ac_try;;
9311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9312 (eval "$ac_compile") 2>conftest.er1
9314 grep -v '^ *+' conftest.er1
>conftest.err
9316 cat conftest.err
>&5
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318 (exit $ac_status); } && {
9319 test -z "$ac_c_werror_flag" ||
9320 test ! -s conftest.err
9321 } && test -s conftest.
$ac_objext; then
9322 eval "$as_ac_Header=yes"
9324 echo "$as_me: failed program was:" >&5
9325 sed 's/^/| /' conftest.
$ac_ext >&5
9327 eval "$as_ac_Header=no"
9330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9332 ac_res
=`eval echo '${'$as_ac_Header'}'`
9333 { echo "$as_me:$LINENO: result: $ac_res" >&5
9334 echo "${ECHO_T}$ac_res" >&6; }
9335 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9336 cat >>confdefs.h
<<_ACEOF
9337 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9345 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9347 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9348 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9349 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9350 echo $ECHO_N "(cached) $ECHO_C" >&6
9352 ac_check_lib_save_LIBS
=$LIBS
9353 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9354 cat >conftest.
$ac_ext <<_ACEOF
9357 cat confdefs.h
>>conftest.
$ac_ext
9358 cat >>conftest.
$ac_ext <<_ACEOF
9359 /* end confdefs.h. */
9361 /* Override any GCC internal prototype to avoid an error.
9362 Use char because int might match the return type of a GCC
9363 builtin and then its argument prototype would still apply. */
9367 char XkbQueryExtension ();
9371 return XkbQueryExtension ();
9376 rm -f conftest.
$ac_objext conftest
$ac_exeext
9377 if { (ac_try
="$ac_link"
9379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9380 *) ac_try_echo=$ac_try;;
9382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9383 (eval "$ac_link") 2>conftest.er1
9385 grep -v '^ *+' conftest.er1 >conftest.err
9387 cat conftest.err >&5
9388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389 (exit $ac_status); } && {
9390 test -z "$ac_c_werror_flag" ||
9391 test ! -s conftest.err
9392 } && test -s conftest$ac_exeext &&
9393 $as_test_x conftest$ac_exeext; then
9394 ac_cv_lib_X11_XkbQueryExtension=yes
9396 echo "$as_me: failed program was:" >&5
9397 sed 's/^/| /' conftest.$ac_ext >&5
9399 ac_cv_lib_X11_XkbQueryExtension=no
9402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9403 conftest$ac_exeext conftest.$ac_ext
9404 LIBS=$ac_check_lib_save_LIBS
9406 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9407 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9408 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9410 cat >>confdefs.h <<\_ACEOF
9418 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9420 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9421 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9422 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9423 echo $ECHO_N "(cached) $ECHO_C" >&6
9425 ac_check_soname_save_LIBS=$LIBS
9426 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9427 cat >conftest.$ac_ext <<_ACEOF
9430 cat confdefs.h >>conftest.$ac_ext
9431 cat >>conftest.$ac_ext <<_ACEOF
9432 /* end confdefs.h. */
9434 /* Override any GCC internal prototype to avoid an error.
9435 Use char because int might match the return type of a GCC
9436 builtin and then its argument prototype would still apply. */
9440 char XcursorImageLoadCursor ();
9444 return XcursorImageLoadCursor ();
9449 rm -f conftest.$ac_objext conftest$ac_exeext
9450 if { (ac_try="$ac_link"
9452 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9453 *) ac_try_echo
=$ac_try;;
9455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9456 (eval "$ac_link") 2>conftest.er1
9458 grep -v '^ *+' conftest.er1
>conftest.err
9460 cat conftest.err
>&5
9461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9462 (exit $ac_status); } && {
9463 test -z "$ac_c_werror_flag" ||
9464 test ! -s conftest.err
9465 } && test -s conftest
$ac_exeext &&
9466 $as_test_x conftest
$ac_exeext; then
9469 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'` ;;
9470 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9473 echo "$as_me: failed program was:" >&5
9474 sed 's/^/| /' conftest.
$ac_ext >&5
9479 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9480 conftest
$ac_exeext conftest.
$ac_ext
9481 LIBS
=$ac_check_soname_save_LIBS
9483 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9484 { echo "$as_me:$LINENO: result: not found" >&5
9485 echo "${ECHO_T}not found" >&6; }
9488 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9489 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9491 cat >>confdefs.h
<<_ACEOF
9492 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9500 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9502 { echo "$as_me:$LINENO: checking for -lXi" >&5
9503 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9504 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9505 echo $ECHO_N "(cached) $ECHO_C" >&6
9507 ac_check_soname_save_LIBS
=$LIBS
9508 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9509 cat >conftest.
$ac_ext <<_ACEOF
9512 cat confdefs.h
>>conftest.
$ac_ext
9513 cat >>conftest.
$ac_ext <<_ACEOF
9514 /* end confdefs.h. */
9516 /* Override any GCC internal prototype to avoid an error.
9517 Use char because int might match the return type of a GCC
9518 builtin and then its argument prototype would still apply. */
9522 char XOpenDevice ();
9526 return XOpenDevice ();
9531 rm -f conftest.
$ac_objext conftest
$ac_exeext
9532 if { (ac_try
="$ac_link"
9534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9535 *) ac_try_echo=$ac_try;;
9537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9538 (eval "$ac_link") 2>conftest.er1
9540 grep -v '^ *+' conftest.er1 >conftest.err
9542 cat conftest.err >&5
9543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544 (exit $ac_status); } && {
9545 test -z "$ac_c_werror_flag" ||
9546 test ! -s conftest.err
9547 } && test -s conftest$ac_exeext &&
9548 $as_test_x conftest$ac_exeext; then
9551 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'` ;;
9552 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9555 echo "$as_me: failed program was:" >&5
9556 sed 's/^/| /' conftest.$ac_ext >&5
9561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9562 conftest$ac_exeext conftest.$ac_ext
9563 LIBS=$ac_check_soname_save_LIBS
9565 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9566 { echo "$as_me:$LINENO: result: not found" >&5
9567 echo "${ECHO_T}not found" >&6; }
9570 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9571 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9573 cat >>confdefs.h <<_ACEOF
9574 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9582 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9584 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9585 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9586 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9587 echo $ECHO_N "(cached) $ECHO_C" >&6
9589 ac_check_lib_save_LIBS=$LIBS
9590 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9591 cat >conftest.$ac_ext <<_ACEOF
9594 cat confdefs.h >>conftest.$ac_ext
9595 cat >>conftest.$ac_ext <<_ACEOF
9596 /* end confdefs.h. */
9598 /* Override any GCC internal prototype to avoid an error.
9599 Use char because int might match the return type of a GCC
9600 builtin and then its argument prototype would still apply. */
9604 char XShmQueryExtension ();
9608 return XShmQueryExtension ();
9613 rm -f conftest.$ac_objext conftest$ac_exeext
9614 if { (ac_try="$ac_link"
9616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9617 *) ac_try_echo
=$ac_try;;
9619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9620 (eval "$ac_link") 2>conftest.er1
9622 grep -v '^ *+' conftest.er1
>conftest.err
9624 cat conftest.err
>&5
9625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9626 (exit $ac_status); } && {
9627 test -z "$ac_c_werror_flag" ||
9628 test ! -s conftest.err
9629 } && test -s conftest
$ac_exeext &&
9630 $as_test_x conftest
$ac_exeext; then
9631 ac_cv_lib_Xext_XShmQueryExtension
=yes
9633 echo "$as_me: failed program was:" >&5
9634 sed 's/^/| /' conftest.
$ac_ext >&5
9636 ac_cv_lib_Xext_XShmQueryExtension
=no
9639 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9640 conftest
$ac_exeext conftest.
$ac_ext
9641 LIBS
=$ac_check_lib_save_LIBS
9643 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9644 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9645 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9647 cat >>confdefs.h
<<\_ACEOF
9648 #define HAVE_LIBXXSHM 1
9654 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9655 wine_notices
="$wine_notices|XShm development files not found.
9656 Wine will be built without XShm support. (winex11.drv)"
9660 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9662 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9663 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9664 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9665 echo $ECHO_N "(cached) $ECHO_C" >&6
9667 ac_check_lib_save_LIBS
=$LIBS
9668 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9669 cat >conftest.
$ac_ext <<_ACEOF
9672 cat confdefs.h
>>conftest.
$ac_ext
9673 cat >>conftest.
$ac_ext <<_ACEOF
9674 /* end confdefs.h. */
9676 /* Override any GCC internal prototype to avoid an error.
9677 Use char because int might match the return type of a GCC
9678 builtin and then its argument prototype would still apply. */
9682 char XShapeQueryExtension ();
9686 return XShapeQueryExtension ();
9691 rm -f conftest.
$ac_objext conftest
$ac_exeext
9692 if { (ac_try
="$ac_link"
9694 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9695 *) ac_try_echo=$ac_try;;
9697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9698 (eval "$ac_link") 2>conftest.er1
9700 grep -v '^ *+' conftest.er1 >conftest.err
9702 cat conftest.err >&5
9703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9704 (exit $ac_status); } && {
9705 test -z "$ac_c_werror_flag" ||
9706 test ! -s conftest.err
9707 } && test -s conftest$ac_exeext &&
9708 $as_test_x conftest$ac_exeext; then
9709 ac_cv_lib_Xext_XShapeQueryExtension=yes
9711 echo "$as_me: failed program was:" >&5
9712 sed 's/^/| /' conftest.$ac_ext >&5
9714 ac_cv_lib_Xext_XShapeQueryExtension=no
9717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9718 conftest$ac_exeext conftest.$ac_ext
9719 LIBS=$ac_check_lib_save_LIBS
9721 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9722 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9723 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9725 cat >>confdefs.h <<\_ACEOF
9726 #define HAVE_LIBXSHAPE 1
9732 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9733 wine_notices="$wine_notices|XShape development files not found.
9734 Wine will be built without XShape support. (winex11.drv)"
9738 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9740 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9741 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9742 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9743 echo $ECHO_N "(cached) $ECHO_C" >&6
9745 ac_check_lib_save_LIBS=$LIBS
9746 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9747 cat >conftest.$ac_ext <<_ACEOF
9750 cat confdefs.h >>conftest.$ac_ext
9751 cat >>conftest.$ac_ext <<_ACEOF
9752 /* end confdefs.h. */
9754 /* Override any GCC internal prototype to avoid an error.
9755 Use char because int might match the return type of a GCC
9756 builtin and then its argument prototype would still apply. */
9760 char XF86VidModeQueryExtension ();
9764 return XF86VidModeQueryExtension ();
9769 rm -f conftest.$ac_objext conftest$ac_exeext
9770 if { (ac_try="$ac_link"
9772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9773 *) ac_try_echo
=$ac_try;;
9775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9776 (eval "$ac_link") 2>conftest.er1
9778 grep -v '^ *+' conftest.er1
>conftest.err
9780 cat conftest.err
>&5
9781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9782 (exit $ac_status); } && {
9783 test -z "$ac_c_werror_flag" ||
9784 test ! -s conftest.err
9785 } && test -s conftest
$ac_exeext &&
9786 $as_test_x conftest
$ac_exeext; then
9787 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
9789 echo "$as_me: failed program was:" >&5
9790 sed 's/^/| /' conftest.
$ac_ext >&5
9792 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
9795 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9796 conftest
$ac_exeext conftest.
$ac_ext
9797 LIBS
=$ac_check_lib_save_LIBS
9799 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9800 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9801 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9803 cat >>confdefs.h
<<\_ACEOF
9804 #define HAVE_LIBXXF86VM 1
9807 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
9812 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9813 wine_notices
="$wine_notices|Xxf86vm development files not found.
9814 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9818 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"
9820 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9821 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9822 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9823 echo $ECHO_N "(cached) $ECHO_C" >&6
9825 ac_check_soname_save_LIBS
=$LIBS
9826 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9827 cat >conftest.
$ac_ext <<_ACEOF
9830 cat confdefs.h
>>conftest.
$ac_ext
9831 cat >>conftest.
$ac_ext <<_ACEOF
9832 /* end confdefs.h. */
9834 /* Override any GCC internal prototype to avoid an error.
9835 Use char because int might match the return type of a GCC
9836 builtin and then its argument prototype would still apply. */
9840 char XRenderQueryExtension ();
9844 return XRenderQueryExtension ();
9849 rm -f conftest.
$ac_objext conftest
$ac_exeext
9850 if { (ac_try
="$ac_link"
9852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9853 *) ac_try_echo=$ac_try;;
9855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9856 (eval "$ac_link") 2>conftest.er1
9858 grep -v '^ *+' conftest.er1 >conftest.err
9860 cat conftest.err >&5
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 (exit $ac_status); } && {
9863 test -z "$ac_c_werror_flag" ||
9864 test ! -s conftest.err
9865 } && test -s conftest$ac_exeext &&
9866 $as_test_x conftest$ac_exeext; then
9869 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'` ;;
9870 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9873 echo "$as_me: failed program was:" >&5
9874 sed 's/^/| /' conftest.$ac_ext >&5
9879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9880 conftest$ac_exeext conftest.$ac_ext
9881 LIBS=$ac_check_soname_save_LIBS
9883 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9884 { echo "$as_me:$LINENO: result: not found" >&5
9885 echo "${ECHO_T}not found" >&6; }
9888 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9889 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9891 cat >>confdefs.h <<_ACEOF
9892 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9895 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9896 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9897 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9898 echo $ECHO_N "(cached) $ECHO_C" >&6
9900 ac_check_lib_save_LIBS=$LIBS
9901 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9902 cat >conftest.$ac_ext <<_ACEOF
9905 cat confdefs.h >>conftest.$ac_ext
9906 cat >>conftest.$ac_ext <<_ACEOF
9907 /* end confdefs.h. */
9909 /* Override any GCC internal prototype to avoid an error.
9910 Use char because int might match the return type of a GCC
9911 builtin and then its argument prototype would still apply. */
9915 char XRenderSetPictureTransform ();
9919 return XRenderSetPictureTransform ();
9924 rm -f conftest.$ac_objext conftest$ac_exeext
9925 if { (ac_try="$ac_link"
9927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9928 *) ac_try_echo
=$ac_try;;
9930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9931 (eval "$ac_link") 2>conftest.er1
9933 grep -v '^ *+' conftest.er1
>conftest.err
9935 cat conftest.err
>&5
9936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9937 (exit $ac_status); } && {
9938 test -z "$ac_c_werror_flag" ||
9939 test ! -s conftest.err
9940 } && test -s conftest
$ac_exeext &&
9941 $as_test_x conftest
$ac_exeext; then
9942 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9944 echo "$as_me: failed program was:" >&5
9945 sed 's/^/| /' conftest.
$ac_ext >&5
9947 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9950 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9951 conftest
$ac_exeext conftest.
$ac_ext
9952 LIBS
=$ac_check_lib_save_LIBS
9954 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9955 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9956 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9958 cat >>confdefs.h
<<\_ACEOF
9959 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9968 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9969 wine_notices
="$wine_notices|XRender development files not found.
9970 Wine will be built without XRender support. (winex11.drv)"
9974 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9976 cat >conftest.
$ac_ext <<_ACEOF
9979 cat confdefs.h
>>conftest.
$ac_ext
9980 cat >>conftest.
$ac_ext <<_ACEOF
9981 /* end confdefs.h. */
9982 #include <X11/Xlib.h>
9983 #include <X11/extensions/Xrandr.h>
9987 static typeof(XRRSetScreenConfigAndRate) * func;
9992 rm -f conftest.
$ac_objext
9993 if { (ac_try
="$ac_compile"
9995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9996 *) ac_try_echo=$ac_try;;
9998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9999 (eval "$ac_compile") 2>conftest.er1
10001 grep -v '^ *+' conftest.er1 >conftest.err
10003 cat conftest.err >&5
10004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10005 (exit $ac_status); } && {
10006 test -z "$ac_c_werror_flag" ||
10007 test ! -s conftest.err
10008 } && test -s conftest.$ac_objext; then
10009 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10010 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10011 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10012 echo $ECHO_N "(cached) $ECHO_C" >&6
10014 ac_check_soname_save_LIBS=$LIBS
10015 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10016 cat >conftest.$ac_ext <<_ACEOF
10019 cat confdefs.h >>conftest.$ac_ext
10020 cat >>conftest.$ac_ext <<_ACEOF
10021 /* end confdefs.h. */
10023 /* Override any GCC internal prototype to avoid an error.
10024 Use char because int might match the return type of a GCC
10025 builtin and then its argument prototype would still apply. */
10029 char XRRQueryExtension ();
10033 return XRRQueryExtension ();
10038 rm -f conftest.$ac_objext conftest$ac_exeext
10039 if { (ac_try="$ac_link"
10040 case "(($ac_try" in
10041 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10042 *) ac_try_echo
=$ac_try;;
10044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10045 (eval "$ac_link") 2>conftest.er1
10047 grep -v '^ *+' conftest.er1
>conftest.err
10049 cat conftest.err
>&5
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); } && {
10052 test -z "$ac_c_werror_flag" ||
10053 test ! -s conftest.err
10054 } && test -s conftest
$ac_exeext &&
10055 $as_test_x conftest
$ac_exeext; then
10058 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'` ;;
10059 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10062 echo "$as_me: failed program was:" >&5
10063 sed 's/^/| /' conftest.
$ac_ext >&5
10068 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10069 conftest
$ac_exeext conftest.
$ac_ext
10070 LIBS
=$ac_check_soname_save_LIBS
10072 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10073 { echo "$as_me:$LINENO: result: not found" >&5
10074 echo "${ECHO_T}not found" >&6; }
10077 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10078 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10080 cat >>confdefs.h
<<_ACEOF
10081 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10088 echo "$as_me: failed program was:" >&5
10089 sed 's/^/| /' conftest.
$ac_ext >&5
10094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10096 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10097 wine_notices
="$wine_notices|XRandr development files not found.
10098 Wine will be built without XRandr support. (winex11.drv)"
10102 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10104 cat >conftest.
$ac_ext <<_ACEOF
10107 cat confdefs.h
>>conftest.
$ac_ext
10108 cat >>conftest.
$ac_ext <<_ACEOF
10109 /* end confdefs.h. */
10110 #include <X11/Xlib.h>
10111 #include <X11/extensions/Xinerama.h>
10115 static typeof(XineramaQueryScreens) * func;
10120 rm -f conftest.
$ac_objext
10121 if { (ac_try
="$ac_compile"
10122 case "(($ac_try" in
10123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10124 *) ac_try_echo=$ac_try;;
10126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10127 (eval "$ac_compile") 2>conftest.er1
10129 grep -v '^ *+' conftest.er1 >conftest.err
10131 cat conftest.err >&5
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); } && {
10134 test -z "$ac_c_werror_flag" ||
10135 test ! -s conftest.err
10136 } && test -s conftest.$ac_objext; then
10137 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10138 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10139 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10140 echo $ECHO_N "(cached) $ECHO_C" >&6
10142 ac_check_soname_save_LIBS=$LIBS
10143 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10144 cat >conftest.$ac_ext <<_ACEOF
10147 cat confdefs.h >>conftest.$ac_ext
10148 cat >>conftest.$ac_ext <<_ACEOF
10149 /* end confdefs.h. */
10151 /* Override any GCC internal prototype to avoid an error.
10152 Use char because int might match the return type of a GCC
10153 builtin and then its argument prototype would still apply. */
10157 char XineramaQueryScreens ();
10161 return XineramaQueryScreens ();
10166 rm -f conftest.$ac_objext conftest$ac_exeext
10167 if { (ac_try="$ac_link"
10168 case "(($ac_try" in
10169 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10170 *) ac_try_echo
=$ac_try;;
10172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10173 (eval "$ac_link") 2>conftest.er1
10175 grep -v '^ *+' conftest.er1
>conftest.err
10177 cat conftest.err
>&5
10178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10179 (exit $ac_status); } && {
10180 test -z "$ac_c_werror_flag" ||
10181 test ! -s conftest.err
10182 } && test -s conftest
$ac_exeext &&
10183 $as_test_x conftest
$ac_exeext; then
10186 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'` ;;
10187 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10190 echo "$as_me: failed program was:" >&5
10191 sed 's/^/| /' conftest.
$ac_ext >&5
10196 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10197 conftest
$ac_exeext conftest.
$ac_ext
10198 LIBS
=$ac_check_soname_save_LIBS
10200 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10201 { echo "$as_me:$LINENO: result: not found" >&5
10202 echo "${ECHO_T}not found" >&6; }
10205 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10206 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10208 cat >>confdefs.h
<<_ACEOF
10209 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10216 echo "$as_me: failed program was:" >&5
10217 sed 's/^/| /' conftest.
$ac_ext >&5
10222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10224 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10225 wine_notices
="$wine_notices|Xinerama development files not found.
10226 Wine will be built without Xinerama support. (winex11.drv)"
10230 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10232 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10233 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10234 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10235 echo $ECHO_N "(cached) $ECHO_C" >&6
10237 ac_check_soname_save_LIBS
=$LIBS
10238 LIBS
="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10239 cat >conftest.
$ac_ext <<_ACEOF
10242 cat confdefs.h
>>conftest.
$ac_ext
10243 cat >>conftest.
$ac_ext <<_ACEOF
10244 /* end confdefs.h. */
10246 /* Override any GCC internal prototype to avoid an error.
10247 Use char because int might match the return type of a GCC
10248 builtin and then its argument prototype would still apply. */
10252 char XCompositeRedirectWindow ();
10256 return XCompositeRedirectWindow ();
10261 rm -f conftest.
$ac_objext conftest
$ac_exeext
10262 if { (ac_try
="$ac_link"
10263 case "(($ac_try" in
10264 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10265 *) ac_try_echo=$ac_try;;
10267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10268 (eval "$ac_link") 2>conftest.er1
10270 grep -v '^ *+' conftest.er1 >conftest.err
10272 cat conftest.err >&5
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); } && {
10275 test -z "$ac_c_werror_flag" ||
10276 test ! -s conftest.err
10277 } && test -s conftest$ac_exeext &&
10278 $as_test_x conftest$ac_exeext; then
10281 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'` ;;
10282 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXcomposite\\.$LIBEXT" |
sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10285 echo "$as_me: failed program was:" >&5
10286 sed 's/^/| /' conftest.$ac_ext >&5
10291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10292 conftest$ac_exeext conftest.$ac_ext
10293 LIBS=$ac_check_soname_save_LIBS
10295 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10296 { echo "$as_me:$LINENO: result: not found" >&5
10297 echo "${ECHO_T}not found" >&6; }
10300 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10301 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10303 cat >>confdefs.h <<_ACEOF
10304 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10311 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10312 wine_notices="$wine_notices|XComposite development files not found.
10313 Wine will be built without XComposite support. (winex11.drv)"
10318 if test "x$with_opengl" != "xno"
10324 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10326 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10327 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10329 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10330 echo $ECHO_N "(cached) $ECHO_C" >&6
10332 cat >conftest.$ac_ext <<_ACEOF
10335 cat confdefs.h >>conftest.$ac_ext
10336 cat >>conftest.$ac_ext <<_ACEOF
10337 /* end confdefs.h. */
10338 #ifdef HAVE_GL_GLX_H
10339 # include <GL/glx.h>
10342 #include <$ac_header>
10344 rm -f conftest.$ac_objext
10345 if { (ac_try="$ac_compile"
10346 case "(($ac_try" in
10347 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10348 *) ac_try_echo
=$ac_try;;
10350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10351 (eval "$ac_compile") 2>conftest.er1
10353 grep -v '^ *+' conftest.er1
>conftest.err
10355 cat conftest.err
>&5
10356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357 (exit $ac_status); } && {
10358 test -z "$ac_c_werror_flag" ||
10359 test ! -s conftest.err
10360 } && test -s conftest.
$ac_objext; then
10361 eval "$as_ac_Header=yes"
10363 echo "$as_me: failed program was:" >&5
10364 sed 's/^/| /' conftest.
$ac_ext >&5
10366 eval "$as_ac_Header=no"
10369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10371 ac_res
=`eval echo '${'$as_ac_Header'}'`
10372 { echo "$as_me:$LINENO: result: $ac_res" >&5
10373 echo "${ECHO_T}$ac_res" >&6; }
10374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10375 cat >>confdefs.h
<<_ACEOF
10376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10383 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10385 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10386 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10387 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10388 echo $ECHO_N "(cached) $ECHO_C" >&6
10390 cat >conftest.
$ac_ext <<_ACEOF
10393 cat confdefs.h
>>conftest.
$ac_ext
10394 cat >>conftest.
$ac_ext <<_ACEOF
10395 /* end confdefs.h. */
10400 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10405 rm -f conftest.
$ac_objext
10406 if { (ac_try
="$ac_compile"
10407 case "(($ac_try" in
10408 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10409 *) ac_try_echo=$ac_try;;
10411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10412 (eval "$ac_compile") 2>conftest.er1
10414 grep -v '^ *+' conftest.er1 >conftest.err
10416 cat conftest.err >&5
10417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10418 (exit $ac_status); } && {
10419 test -z "$ac_c_werror_flag" ||
10420 test ! -s conftest.err
10421 } && test -s conftest.$ac_objext; then
10422 wine_cv_opengl_header_version_OK="yes"
10424 echo "$as_me: failed program was:" >&5
10425 sed 's/^/| /' conftest.$ac_ext >&5
10427 wine_cv_opengl_header_version_OK="no"
10430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10432 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10433 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10435 if test "$wine_cv_opengl_header_version_OK" = "yes"
10437 { echo "$as_me:$LINENO: checking for -lGL" >&5
10438 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10439 if test "${ac_cv_lib_soname_GL+set}" = set; then
10440 echo $ECHO_N "(cached) $ECHO_C" >&6
10442 ac_check_soname_save_LIBS=$LIBS
10443 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10444 cat >conftest.$ac_ext <<_ACEOF
10447 cat confdefs.h >>conftest.$ac_ext
10448 cat >>conftest.$ac_ext <<_ACEOF
10449 /* end confdefs.h. */
10451 /* Override any GCC internal prototype to avoid an error.
10452 Use char because int might match the return type of a GCC
10453 builtin and then its argument prototype would still apply. */
10457 char glXCreateContext ();
10461 return glXCreateContext ();
10466 rm -f conftest.$ac_objext conftest$ac_exeext
10467 if { (ac_try="$ac_link"
10468 case "(($ac_try" in
10469 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10470 *) ac_try_echo
=$ac_try;;
10472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10473 (eval "$ac_link") 2>conftest.er1
10475 grep -v '^ *+' conftest.er1
>conftest.err
10477 cat conftest.err
>&5
10478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10479 (exit $ac_status); } && {
10480 test -z "$ac_c_werror_flag" ||
10481 test ! -s conftest.err
10482 } && test -s conftest
$ac_exeext &&
10483 $as_test_x conftest
$ac_exeext; then
10486 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'` ;;
10487 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10490 echo "$as_me: failed program was:" >&5
10491 sed 's/^/| /' conftest.
$ac_ext >&5
10496 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10497 conftest
$ac_exeext conftest.
$ac_ext
10498 LIBS
=$ac_check_soname_save_LIBS
10500 if test "x$ac_cv_lib_soname_GL" = "x"; then
10501 { echo "$as_me:$LINENO: result: not found" >&5
10502 echo "${ECHO_T}not found" >&6; }
10503 { echo "$as_me:$LINENO: checking for -lGL" >&5
10504 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10505 if test "${ac_cv_lib_soname_GL+set}" = set; then
10506 echo $ECHO_N "(cached) $ECHO_C" >&6
10508 ac_check_soname_save_LIBS
=$LIBS
10509 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"
10510 cat >conftest.
$ac_ext <<_ACEOF
10513 cat confdefs.h
>>conftest.
$ac_ext
10514 cat >>conftest.
$ac_ext <<_ACEOF
10515 /* end confdefs.h. */
10517 /* Override any GCC internal prototype to avoid an error.
10518 Use char because int might match the return type of a GCC
10519 builtin and then its argument prototype would still apply. */
10523 char glXCreateContext ();
10527 return glXCreateContext ();
10532 rm -f conftest.
$ac_objext conftest
$ac_exeext
10533 if { (ac_try
="$ac_link"
10534 case "(($ac_try" in
10535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10536 *) ac_try_echo=$ac_try;;
10538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10539 (eval "$ac_link") 2>conftest.er1
10541 grep -v '^ *+' conftest.er1 >conftest.err
10543 cat conftest.err >&5
10544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10545 (exit $ac_status); } && {
10546 test -z "$ac_c_werror_flag" ||
10547 test ! -s conftest.err
10548 } && test -s conftest$ac_exeext &&
10549 $as_test_x conftest$ac_exeext; then
10552 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'` ;;
10553 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libGL\\.$LIBEXT" |
sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10556 echo "$as_me: failed program was:" >&5
10557 sed 's/^/| /' conftest.$ac_ext >&5
10562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10563 conftest$ac_exeext conftest.$ac_ext
10564 LIBS=$ac_check_soname_save_LIBS
10566 if test "x$ac_cv_lib_soname_GL" = "x"; then
10567 { echo "$as_me:$LINENO: result: not found" >&5
10568 echo "${ECHO_T}not found" >&6; }
10569 if test -f /usr/X11R6/lib/libGL.a
10571 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10572 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10574 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10575 Wine will be built without OpenGL or Direct3D support."
10578 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10579 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10581 cat >>confdefs.h <<_ACEOF
10582 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10585 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"
10586 OPENGLFILES='$(OPENGLFILES)'
10588 cat >>confdefs.h <<\_ACEOF
10589 #define HAVE_OPENGL 1
10595 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10596 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10598 cat >>confdefs.h <<_ACEOF
10599 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10603 OPENGLFILES='$(OPENGLFILES)'
10605 cat >>confdefs.h <<\_ACEOF
10606 #define HAVE_OPENGL 1
10612 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10613 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10614 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10615 echo $ECHO_N "(cached) $ECHO_C" >&6
10617 ac_check_lib_save_LIBS=$LIBS
10618 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10619 cat >conftest.$ac_ext <<_ACEOF
10622 cat confdefs.h >>conftest.$ac_ext
10623 cat >>conftest.$ac_ext <<_ACEOF
10624 /* end confdefs.h. */
10626 /* Override any GCC internal prototype to avoid an error.
10627 Use char because int might match the return type of a GCC
10628 builtin and then its argument prototype would still apply. */
10636 return gluLookAt ();
10641 rm -f conftest.$ac_objext conftest$ac_exeext
10642 if { (ac_try="$ac_link"
10643 case "(($ac_try" in
10644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10645 *) ac_try_echo
=$ac_try;;
10647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10648 (eval "$ac_link") 2>conftest.er1
10650 grep -v '^ *+' conftest.er1
>conftest.err
10652 cat conftest.err
>&5
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); } && {
10655 test -z "$ac_c_werror_flag" ||
10656 test ! -s conftest.err
10657 } && test -s conftest
$ac_exeext &&
10658 $as_test_x conftest
$ac_exeext; then
10659 ac_cv_lib_GLU_gluLookAt
=yes
10661 echo "$as_me: failed program was:" >&5
10662 sed 's/^/| /' conftest.
$ac_ext >&5
10664 ac_cv_lib_GLU_gluLookAt
=no
10667 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10668 conftest
$ac_exeext conftest.
$ac_ext
10669 LIBS
=$ac_check_lib_save_LIBS
10671 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10672 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10673 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10674 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
10675 GLU32FILES
='$(GLU32FILES)'
10680 wine_warnings
="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10681 Wine will be built without OpenGL or Direct3D support."
10684 wine_warnings
="$wine_warnings|OpenGL development headers not found.
10685 Wine will be built without OpenGL or Direct3D support."
10692 for ac_header
in audio
/audiolib.h
10694 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10695 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10696 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10698 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10699 echo $ECHO_N "(cached) $ECHO_C" >&6
10701 ac_res
=`eval echo '${'$as_ac_Header'}'`
10702 { echo "$as_me:$LINENO: result: $ac_res" >&5
10703 echo "${ECHO_T}$ac_res" >&6; }
10705 # Is the header compilable?
10706 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10707 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10708 cat >conftest.
$ac_ext <<_ACEOF
10711 cat confdefs.h
>>conftest.
$ac_ext
10712 cat >>conftest.
$ac_ext <<_ACEOF
10713 /* end confdefs.h. */
10714 $ac_includes_default
10715 #include <$ac_header>
10717 rm -f conftest.
$ac_objext
10718 if { (ac_try
="$ac_compile"
10719 case "(($ac_try" in
10720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10721 *) ac_try_echo=$ac_try;;
10723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10724 (eval "$ac_compile") 2>conftest.er1
10726 grep -v '^ *+' conftest.er1 >conftest.err
10728 cat conftest.err >&5
10729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10730 (exit $ac_status); } && {
10731 test -z "$ac_c_werror_flag" ||
10732 test ! -s conftest.err
10733 } && test -s conftest.$ac_objext; then
10734 ac_header_compiler=yes
10736 echo "$as_me: failed program was:" >&5
10737 sed 's/^/| /' conftest.$ac_ext >&5
10739 ac_header_compiler=no
10742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10743 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10744 echo "${ECHO_T}$ac_header_compiler" >&6; }
10746 # Is the header present?
10747 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10748 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10749 cat >conftest.$ac_ext <<_ACEOF
10752 cat confdefs.h >>conftest.$ac_ext
10753 cat >>conftest.$ac_ext <<_ACEOF
10754 /* end confdefs.h. */
10755 #include <$ac_header>
10757 if { (ac_try="$ac_cpp conftest.$ac_ext"
10758 case "(($ac_try" in
10759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10760 *) ac_try_echo
=$ac_try;;
10762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10765 grep -v '^ *+' conftest.er1
>conftest.err
10767 cat conftest.err
>&5
10768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769 (exit $ac_status); } >/dev
/null
&& {
10770 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10771 test ! -s conftest.err
10773 ac_header_preproc
=yes
10775 echo "$as_me: failed program was:" >&5
10776 sed 's/^/| /' conftest.
$ac_ext >&5
10778 ac_header_preproc
=no
10781 rm -f conftest.err conftest.
$ac_ext
10782 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10783 echo "${ECHO_T}$ac_header_preproc" >&6; }
10785 # So? What about this header?
10786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10788 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10789 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10791 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10792 ac_header_preproc
=yes
10795 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10796 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10797 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10798 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10799 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10800 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10801 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10802 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10803 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10804 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10805 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10806 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10808 ## ------------------------------------ ##
10809 ## Report this to wine-devel@winehq.org ##
10810 ## ------------------------------------ ##
10812 ) |
sed "s/^/$as_me: WARNING: /" >&2
10815 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10817 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10818 echo $ECHO_N "(cached) $ECHO_C" >&6
10820 eval "$as_ac_Header=\$ac_header_preproc"
10822 ac_res
=`eval echo '${'$as_ac_Header'}'`
10823 { echo "$as_me:$LINENO: result: $ac_res" >&5
10824 echo "${ECHO_T}$ac_res" >&6; }
10827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10828 cat >>confdefs.h
<<_ACEOF
10829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10832 for ac_header
in audio
/soundlib.h
10834 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10835 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10837 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10838 echo $ECHO_N "(cached) $ECHO_C" >&6
10840 cat >conftest.
$ac_ext <<_ACEOF
10843 cat confdefs.h
>>conftest.
$ac_ext
10844 cat >>conftest.
$ac_ext <<_ACEOF
10845 /* end confdefs.h. */
10846 #include <audio/audiolib.h>
10848 #include <$ac_header>
10850 rm -f conftest.
$ac_objext
10851 if { (ac_try
="$ac_compile"
10852 case "(($ac_try" in
10853 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10854 *) ac_try_echo=$ac_try;;
10856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10857 (eval "$ac_compile") 2>conftest.er1
10859 grep -v '^ *+' conftest.er1 >conftest.err
10861 cat conftest.err >&5
10862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10863 (exit $ac_status); } && {
10864 test -z "$ac_c_werror_flag" ||
10865 test ! -s conftest.err
10866 } && test -s conftest.$ac_objext; then
10867 eval "$as_ac_Header=yes"
10869 echo "$as_me: failed program was:" >&5
10870 sed 's/^/| /' conftest.$ac_ext >&5
10872 eval "$as_ac_Header=no"
10875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10877 ac_res=`eval echo '${'$as_ac_Header'}'`
10878 { echo "$as_me:$LINENO: result: $ac_res" >&5
10879 echo "${ECHO_T}$ac_res" >&6; }
10880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10881 cat >>confdefs.h <<_ACEOF
10882 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10889 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10890 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10891 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10892 echo $ECHO_N "(cached) $ECHO_C" >&6
10894 ac_check_lib_save_LIBS=$LIBS
10895 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $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. */
10909 char AuCreateFlow ();
10913 return AuCreateFlow ();
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_audio_AuCreateFlow
=yes
10938 echo "$as_me: failed program was:" >&5
10939 sed 's/^/| /' conftest.
$ac_ext >&5
10941 ac_cv_lib_audio_AuCreateFlow
=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_audio_AuCreateFlow" >&5
10949 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10950 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10952 cat >>confdefs.h
<<\_ACEOF
10956 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10957 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10958 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10959 echo $ECHO_N "(cached) $ECHO_C" >&6
10961 ac_check_lib_save_LIBS
=$LIBS
10962 LIBS
="-lXau $X_LIBS $LIBS"
10963 cat >conftest.
$ac_ext <<_ACEOF
10966 cat confdefs.h
>>conftest.
$ac_ext
10967 cat >>conftest.
$ac_ext <<_ACEOF
10968 /* end confdefs.h. */
10970 /* Override any GCC internal prototype to avoid an error.
10971 Use char because int might match the return type of a GCC
10972 builtin and then its argument prototype would still apply. */
10976 char XauGetBestAuthByAddr ();
10980 return XauGetBestAuthByAddr ();
10985 rm -f conftest.
$ac_objext conftest
$ac_exeext
10986 if { (ac_try
="$ac_link"
10987 case "(($ac_try" in
10988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10989 *) ac_try_echo=$ac_try;;
10991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10992 (eval "$ac_link") 2>conftest.er1
10994 grep -v '^ *+' conftest.er1 >conftest.err
10996 cat conftest.err >&5
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10998 (exit $ac_status); } && {
10999 test -z "$ac_c_werror_flag" ||
11000 test ! -s conftest.err
11001 } && test -s conftest$ac_exeext &&
11002 $as_test_x conftest$ac_exeext; then
11003 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11005 echo "$as_me: failed program was:" >&5
11006 sed 's/^/| /' conftest.$ac_ext >&5
11008 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11012 conftest$ac_exeext conftest.$ac_ext
11013 LIBS=$ac_check_lib_save_LIBS
11015 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11016 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11017 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11018 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11020 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11031 CPPFLAGS="$ac_save_CPPFLAGS"
11037 wine_warnings="$wine_warnings|X development files not found. Wine will be built
11038 without X support, which probably isn't what you want. You will need to install
11039 development packages of Xlib/Xfree86 at the very least."
11051 ac_save_CPPFLAGS="$CPPFLAGS"
11052 if test "$PKG_CONFIG" != "false"
11054 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
11055 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
11057 ac_xml_libs="`xml2-config
--libs 2>/dev
/null
`"
11058 ac_xml_cflags="`xml2-config
--cflags 2>/dev
/null
`"
11060 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11062 for ac_header in libxml/parser.h
11064 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11065 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11066 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11068 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11069 echo $ECHO_N "(cached) $ECHO_C" >&6
11071 ac_res=`eval echo '${'$as_ac_Header'}'`
11072 { echo "$as_me:$LINENO: result: $ac_res" >&5
11073 echo "${ECHO_T}$ac_res" >&6; }
11075 # Is the header compilable?
11076 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11077 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11078 cat >conftest.$ac_ext <<_ACEOF
11081 cat confdefs.h >>conftest.$ac_ext
11082 cat >>conftest.$ac_ext <<_ACEOF
11083 /* end confdefs.h. */
11084 $ac_includes_default
11085 #include <$ac_header>
11087 rm -f conftest.$ac_objext
11088 if { (ac_try="$ac_compile"
11089 case "(($ac_try" in
11090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11091 *) ac_try_echo
=$ac_try;;
11093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11094 (eval "$ac_compile") 2>conftest.er1
11096 grep -v '^ *+' conftest.er1
>conftest.err
11098 cat conftest.err
>&5
11099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100 (exit $ac_status); } && {
11101 test -z "$ac_c_werror_flag" ||
11102 test ! -s conftest.err
11103 } && test -s conftest.
$ac_objext; then
11104 ac_header_compiler
=yes
11106 echo "$as_me: failed program was:" >&5
11107 sed 's/^/| /' conftest.
$ac_ext >&5
11109 ac_header_compiler
=no
11112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11113 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11114 echo "${ECHO_T}$ac_header_compiler" >&6; }
11116 # Is the header present?
11117 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11118 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11119 cat >conftest.
$ac_ext <<_ACEOF
11122 cat confdefs.h
>>conftest.
$ac_ext
11123 cat >>conftest.
$ac_ext <<_ACEOF
11124 /* end confdefs.h. */
11125 #include <$ac_header>
11127 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11128 case "(($ac_try" in
11129 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11130 *) ac_try_echo=$ac_try;;
11132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11133 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11135 grep -v '^ *+' conftest.er1 >conftest.err
11137 cat conftest.err >&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); } >/dev/null && {
11140 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11141 test ! -s conftest.err
11143 ac_header_preproc=yes
11145 echo "$as_me: failed program was:" >&5
11146 sed 's/^/| /' conftest.$ac_ext >&5
11148 ac_header_preproc=no
11151 rm -f conftest.err conftest.$ac_ext
11152 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11153 echo "${ECHO_T}$ac_header_preproc" >&6; }
11155 # So? What about this header?
11156 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11158 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11159 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11161 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11162 ac_header_preproc=yes
11165 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11166 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11167 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11168 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11169 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11170 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11171 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11172 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11173 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11174 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11175 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11176 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11178 ## ------------------------------------ ##
11179 ## Report this to wine-devel@winehq.org ##
11180 ## ------------------------------------ ##
11182 ) | sed "s/^/$as_me: WARNING: /" >&2
11185 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11188 echo $ECHO_N "(cached) $ECHO_C" >&6
11190 eval "$as_ac_Header=\$ac_header_preproc"
11192 ac_res=`eval echo '${'$as_ac_Header'}'`
11193 { echo "$as_me:$LINENO: result: $ac_res" >&5
11194 echo "${ECHO_T}$ac_res" >&6; }
11197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11198 cat >>confdefs.h <<_ACEOF
11199 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11201 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11202 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11203 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11204 echo $ECHO_N "(cached) $ECHO_C" >&6
11206 ac_check_lib_save_LIBS=$LIBS
11207 LIBS="-lxml2 $ac_xml_libs $LIBS"
11208 cat >conftest.$ac_ext <<_ACEOF
11211 cat confdefs.h >>conftest.$ac_ext
11212 cat >>conftest.$ac_ext <<_ACEOF
11213 /* end confdefs.h. */
11215 /* Override any GCC internal prototype to avoid an error.
11216 Use char because int might match the return type of a GCC
11217 builtin and then its argument prototype would still apply. */
11221 char xmlParseMemory ();
11225 return xmlParseMemory ();
11230 rm -f conftest.$ac_objext conftest$ac_exeext
11231 if { (ac_try="$ac_link"
11232 case "(($ac_try" in
11233 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11234 *) ac_try_echo
=$ac_try;;
11236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11237 (eval "$ac_link") 2>conftest.er1
11239 grep -v '^ *+' conftest.er1
>conftest.err
11241 cat conftest.err
>&5
11242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11243 (exit $ac_status); } && {
11244 test -z "$ac_c_werror_flag" ||
11245 test ! -s conftest.err
11246 } && test -s conftest
$ac_exeext &&
11247 $as_test_x conftest
$ac_exeext; then
11248 ac_cv_lib_xml2_xmlParseMemory
=yes
11250 echo "$as_me: failed program was:" >&5
11251 sed 's/^/| /' conftest.
$ac_ext >&5
11253 ac_cv_lib_xml2_xmlParseMemory
=no
11256 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11257 conftest
$ac_exeext conftest.
$ac_ext
11258 LIBS
=$ac_check_lib_save_LIBS
11260 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11261 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11262 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11264 cat >>confdefs.h
<<\_ACEOF
11265 #define HAVE_LIBXML2 1
11268 XML2LIBS
="$ac_xml_libs"
11269 XML2INCL
="$ac_xml_cflags"
11272 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11273 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11274 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11275 echo $ECHO_N "(cached) $ECHO_C" >&6
11277 ac_check_lib_save_LIBS
=$LIBS
11278 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11279 cat >conftest.
$ac_ext <<_ACEOF
11282 cat confdefs.h
>>conftest.
$ac_ext
11283 cat >>conftest.
$ac_ext <<_ACEOF
11284 /* end confdefs.h. */
11286 /* Override any GCC internal prototype to avoid an error.
11287 Use char because int might match the return type of a GCC
11288 builtin and then its argument prototype would still apply. */
11292 char xmlReadMemory ();
11296 return xmlReadMemory ();
11301 rm -f conftest.
$ac_objext conftest
$ac_exeext
11302 if { (ac_try
="$ac_link"
11303 case "(($ac_try" in
11304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11305 *) ac_try_echo=$ac_try;;
11307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11308 (eval "$ac_link") 2>conftest.er1
11310 grep -v '^ *+' conftest.er1 >conftest.err
11312 cat conftest.err >&5
11313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314 (exit $ac_status); } && {
11315 test -z "$ac_c_werror_flag" ||
11316 test ! -s conftest.err
11317 } && test -s conftest$ac_exeext &&
11318 $as_test_x conftest$ac_exeext; then
11319 ac_cv_lib_xml2_xmlReadMemory=yes
11321 echo "$as_me: failed program was:" >&5
11322 sed 's/^/| /' conftest.$ac_ext >&5
11324 ac_cv_lib_xml2_xmlReadMemory=no
11327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11328 conftest$ac_exeext conftest.$ac_ext
11329 LIBS=$ac_check_lib_save_LIBS
11331 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11332 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11333 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11335 cat >>confdefs.h <<\_ACEOF
11336 #define HAVE_XMLREADMEMORY 1
11341 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11342 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11343 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11344 echo $ECHO_N "(cached) $ECHO_C" >&6
11346 ac_check_lib_save_LIBS=$LIBS
11347 LIBS="-lxml2 $ac_xml_libs $LIBS"
11348 cat >conftest.$ac_ext <<_ACEOF
11351 cat confdefs.h >>conftest.$ac_ext
11352 cat >>conftest.$ac_ext <<_ACEOF
11353 /* end confdefs.h. */
11355 /* Override any GCC internal prototype to avoid an error.
11356 Use char because int might match the return type of a GCC
11357 builtin and then its argument prototype would still apply. */
11361 char xmlNewDocPI ();
11365 return xmlNewDocPI ();
11370 rm -f conftest.$ac_objext conftest$ac_exeext
11371 if { (ac_try="$ac_link"
11372 case "(($ac_try" in
11373 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11374 *) ac_try_echo
=$ac_try;;
11376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11377 (eval "$ac_link") 2>conftest.er1
11379 grep -v '^ *+' conftest.er1
>conftest.err
11381 cat conftest.err
>&5
11382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383 (exit $ac_status); } && {
11384 test -z "$ac_c_werror_flag" ||
11385 test ! -s conftest.err
11386 } && test -s conftest
$ac_exeext &&
11387 $as_test_x conftest
$ac_exeext; then
11388 ac_cv_lib_xml2_xmlNewDocPI
=yes
11390 echo "$as_me: failed program was:" >&5
11391 sed 's/^/| /' conftest.
$ac_ext >&5
11393 ac_cv_lib_xml2_xmlNewDocPI
=no
11396 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11397 conftest
$ac_exeext conftest.
$ac_ext
11398 LIBS
=$ac_check_lib_save_LIBS
11400 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11401 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11402 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11404 cat >>confdefs.h
<<\_ACEOF
11405 #define HAVE_XMLNEWDOCPI 1
11415 CPPFLAGS
="$ac_save_CPPFLAGS"
11416 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11417 wine_notices
="$wine_notices|libxml2 development files not found.
11418 Wine will be built without XML support. (msxml.dll)"
11422 if test "$PKG_CONFIG" != "false"
11424 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11425 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11427 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
11428 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
11430 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
11433 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11435 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11436 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11438 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11439 echo $ECHO_N "(cached) $ECHO_C" >&6
11441 cat >conftest.
$ac_ext <<_ACEOF
11444 cat confdefs.h
>>conftest.
$ac_ext
11445 cat >>conftest.
$ac_ext <<_ACEOF
11446 /* end confdefs.h. */
11447 #ifdef HAVE_LIBXSLT_PATTERN_H
11448 # include <libxslt/pattern.h>
11451 #include <$ac_header>
11453 rm -f conftest.
$ac_objext
11454 if { (ac_try
="$ac_compile"
11455 case "(($ac_try" in
11456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11457 *) ac_try_echo=$ac_try;;
11459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11460 (eval "$ac_compile") 2>conftest.er1
11462 grep -v '^ *+' conftest.er1 >conftest.err
11464 cat conftest.err >&5
11465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11466 (exit $ac_status); } && {
11467 test -z "$ac_c_werror_flag" ||
11468 test ! -s conftest.err
11469 } && test -s conftest.$ac_objext; then
11470 eval "$as_ac_Header=yes"
11472 echo "$as_me: failed program was:" >&5
11473 sed 's/^/| /' conftest.$ac_ext >&5
11475 eval "$as_ac_Header=no"
11478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11480 ac_res=`eval echo '${'$as_ac_Header'}'`
11481 { echo "$as_me:$LINENO: result: $ac_res" >&5
11482 echo "${ECHO_T}$ac_res" >&6; }
11483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11484 cat >>confdefs.h <<_ACEOF
11485 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11487 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11488 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11489 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11490 echo $ECHO_N "(cached) $ECHO_C" >&6
11492 ac_check_lib_save_LIBS=$LIBS
11493 LIBS="-lxslt $ac_xslt_libs $LIBS"
11494 cat >conftest.$ac_ext <<_ACEOF
11497 cat confdefs.h >>conftest.$ac_ext
11498 cat >>conftest.$ac_ext <<_ACEOF
11499 /* end confdefs.h. */
11501 /* Override any GCC internal prototype to avoid an error.
11502 Use char because int might match the return type of a GCC
11503 builtin and then its argument prototype would still apply. */
11507 char xsltCompilePattern ();
11511 return xsltCompilePattern ();
11516 rm -f conftest.$ac_objext conftest$ac_exeext
11517 if { (ac_try="$ac_link"
11518 case "(($ac_try" in
11519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11520 *) ac_try_echo
=$ac_try;;
11522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11523 (eval "$ac_link") 2>conftest.er1
11525 grep -v '^ *+' conftest.er1
>conftest.err
11527 cat conftest.err
>&5
11528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11529 (exit $ac_status); } && {
11530 test -z "$ac_c_werror_flag" ||
11531 test ! -s conftest.err
11532 } && test -s conftest
$ac_exeext &&
11533 $as_test_x conftest
$ac_exeext; then
11534 ac_cv_lib_xslt_xsltCompilePattern
=yes
11536 echo "$as_me: failed program was:" >&5
11537 sed 's/^/| /' conftest.
$ac_ext >&5
11539 ac_cv_lib_xslt_xsltCompilePattern
=no
11542 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11543 conftest
$ac_exeext conftest.
$ac_ext
11544 LIBS
=$ac_check_lib_save_LIBS
11546 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11547 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11548 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11550 cat >>confdefs.h
<<\_ACEOF
11551 #define HAVE_LIBXSLT 1
11554 XSLTLIBS
="$ac_xslt_libs"
11555 XSLTINCL
="$ac_xslt_cflags"
11563 CPPFLAGS
="$ac_save_CPPFLAGS"
11564 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11565 wine_notices
="$wine_notices|libxslt development files not found.
11566 Wine will be built without xslt support. (msxml.dll)"
11572 if test "$PKG_CONFIG" != "false"
11574 ac_save_CPPFLAGS
="$CPPFLAGS"
11575 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
11576 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11577 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
11580 for ac_header
in dbus
/dbus.h hal
/libhal.h
11582 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11583 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11584 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11586 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11587 echo $ECHO_N "(cached) $ECHO_C" >&6
11589 ac_res
=`eval echo '${'$as_ac_Header'}'`
11590 { echo "$as_me:$LINENO: result: $ac_res" >&5
11591 echo "${ECHO_T}$ac_res" >&6; }
11593 # Is the header compilable?
11594 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11595 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11596 cat >conftest.
$ac_ext <<_ACEOF
11599 cat confdefs.h
>>conftest.
$ac_ext
11600 cat >>conftest.
$ac_ext <<_ACEOF
11601 /* end confdefs.h. */
11602 $ac_includes_default
11603 #include <$ac_header>
11605 rm -f conftest.
$ac_objext
11606 if { (ac_try
="$ac_compile"
11607 case "(($ac_try" in
11608 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11609 *) ac_try_echo=$ac_try;;
11611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11612 (eval "$ac_compile") 2>conftest.er1
11614 grep -v '^ *+' conftest.er1 >conftest.err
11616 cat conftest.err >&5
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); } && {
11619 test -z "$ac_c_werror_flag" ||
11620 test ! -s conftest.err
11621 } && test -s conftest.$ac_objext; then
11622 ac_header_compiler=yes
11624 echo "$as_me: failed program was:" >&5
11625 sed 's/^/| /' conftest.$ac_ext >&5
11627 ac_header_compiler=no
11630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11631 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11632 echo "${ECHO_T}$ac_header_compiler" >&6; }
11634 # Is the header present?
11635 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11636 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11637 cat >conftest.$ac_ext <<_ACEOF
11640 cat confdefs.h >>conftest.$ac_ext
11641 cat >>conftest.$ac_ext <<_ACEOF
11642 /* end confdefs.h. */
11643 #include <$ac_header>
11645 if { (ac_try="$ac_cpp conftest.$ac_ext"
11646 case "(($ac_try" in
11647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11648 *) ac_try_echo
=$ac_try;;
11650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11651 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11653 grep -v '^ *+' conftest.er1
>conftest.err
11655 cat conftest.err
>&5
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); } >/dev
/null
&& {
11658 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11659 test ! -s conftest.err
11661 ac_header_preproc
=yes
11663 echo "$as_me: failed program was:" >&5
11664 sed 's/^/| /' conftest.
$ac_ext >&5
11666 ac_header_preproc
=no
11669 rm -f conftest.err conftest.
$ac_ext
11670 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11671 echo "${ECHO_T}$ac_header_preproc" >&6; }
11673 # So? What about this header?
11674 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11676 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11677 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11679 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11680 ac_header_preproc
=yes
11683 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11684 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11685 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11686 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11687 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11688 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11689 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11690 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11692 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11693 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11694 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11696 ## ------------------------------------ ##
11697 ## Report this to wine-devel@winehq.org ##
11698 ## ------------------------------------ ##
11700 ) |
sed "s/^/$as_me: WARNING: /" >&2
11703 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11705 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11706 echo $ECHO_N "(cached) $ECHO_C" >&6
11708 eval "$as_ac_Header=\$ac_header_preproc"
11710 ac_res
=`eval echo '${'$as_ac_Header'}'`
11711 { echo "$as_me:$LINENO: result: $ac_res" >&5
11712 echo "${ECHO_T}$ac_res" >&6; }
11715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11716 cat >>confdefs.h
<<_ACEOF
11717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11724 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11726 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11727 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11728 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11729 echo $ECHO_N "(cached) $ECHO_C" >&6
11731 ac_check_lib_save_LIBS
=$LIBS
11732 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
11733 cat >conftest.
$ac_ext <<_ACEOF
11736 cat confdefs.h
>>conftest.
$ac_ext
11737 cat >>conftest.
$ac_ext <<_ACEOF
11738 /* end confdefs.h. */
11740 /* Override any GCC internal prototype to avoid an error.
11741 Use char because int might match the return type of a GCC
11742 builtin and then its argument prototype would still apply. */
11746 char dbus_connection_close ();
11750 return dbus_connection_close ();
11755 rm -f conftest.
$ac_objext conftest
$ac_exeext
11756 if { (ac_try
="$ac_link"
11757 case "(($ac_try" in
11758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11759 *) ac_try_echo=$ac_try;;
11761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11762 (eval "$ac_link") 2>conftest.er1
11764 grep -v '^ *+' conftest.er1 >conftest.err
11766 cat conftest.err >&5
11767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11768 (exit $ac_status); } && {
11769 test -z "$ac_c_werror_flag" ||
11770 test ! -s conftest.err
11771 } && test -s conftest$ac_exeext &&
11772 $as_test_x conftest$ac_exeext; then
11773 ac_cv_lib_dbus_1_dbus_connection_close=yes
11775 echo "$as_me: failed program was:" >&5
11776 sed 's/^/| /' conftest.$ac_ext >&5
11778 ac_cv_lib_dbus_1_dbus_connection_close=no
11781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11782 conftest$ac_exeext conftest.$ac_ext
11783 LIBS=$ac_check_lib_save_LIBS
11785 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11786 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11787 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11788 { echo "$as_me:$LINENO: checking for -lhal" >&5
11789 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11790 if test "${ac_cv_lib_soname_hal+set}" = set; then
11791 echo $ECHO_N "(cached) $ECHO_C" >&6
11793 ac_check_soname_save_LIBS=$LIBS
11794 LIBS="-lhal $ac_hal_libs $LIBS"
11795 cat >conftest.$ac_ext <<_ACEOF
11798 cat confdefs.h >>conftest.$ac_ext
11799 cat >>conftest.$ac_ext <<_ACEOF
11800 /* end confdefs.h. */
11802 /* Override any GCC internal prototype to avoid an error.
11803 Use char because int might match the return type of a GCC
11804 builtin and then its argument prototype would still apply. */
11808 char libhal_ctx_new ();
11812 return libhal_ctx_new ();
11817 rm -f conftest.$ac_objext conftest$ac_exeext
11818 if { (ac_try="$ac_link"
11819 case "(($ac_try" in
11820 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11821 *) ac_try_echo
=$ac_try;;
11823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11824 (eval "$ac_link") 2>conftest.er1
11826 grep -v '^ *+' conftest.er1
>conftest.err
11828 cat conftest.err
>&5
11829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830 (exit $ac_status); } && {
11831 test -z "$ac_c_werror_flag" ||
11832 test ! -s conftest.err
11833 } && test -s conftest
$ac_exeext &&
11834 $as_test_x conftest
$ac_exeext; then
11837 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'` ;;
11838 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11841 echo "$as_me: failed program was:" >&5
11842 sed 's/^/| /' conftest.
$ac_ext >&5
11847 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11848 conftest
$ac_exeext conftest.
$ac_ext
11849 LIBS
=$ac_check_soname_save_LIBS
11851 if test "x$ac_cv_lib_soname_hal" = "x"; then
11852 { echo "$as_me:$LINENO: result: not found" >&5
11853 echo "${ECHO_T}not found" >&6; }
11856 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11857 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11859 cat >>confdefs.h
<<_ACEOF
11860 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11863 HALINCL
="$ac_hal_cflags"
11869 CPPFLAGS
="$ac_save_CPPFLAGS"
11871 if test "x$ac_cv_lib_soname_hal" = "x"; then
11872 wine_notices
="$wine_notices|libhal development files not found.
11873 Wine will be built without dynamic device support. (explorer.exe)"
11878 if test "$ac_cv_header_ncurses_h" = "yes"
11880 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11881 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11882 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11883 echo $ECHO_N "(cached) $ECHO_C" >&6
11885 ac_check_soname_save_LIBS
=$LIBS
11886 LIBS
="-lncurses $LIBS"
11887 cat >conftest.
$ac_ext <<_ACEOF
11890 cat confdefs.h
>>conftest.
$ac_ext
11891 cat >>conftest.
$ac_ext <<_ACEOF
11892 /* end confdefs.h. */
11894 /* Override any GCC internal prototype to avoid an error.
11895 Use char because int might match the return type of a GCC
11896 builtin and then its argument prototype would still apply. */
11909 rm -f conftest.
$ac_objext conftest
$ac_exeext
11910 if { (ac_try
="$ac_link"
11911 case "(($ac_try" in
11912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11913 *) ac_try_echo=$ac_try;;
11915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11916 (eval "$ac_link") 2>conftest.er1
11918 grep -v '^ *+' conftest.er1 >conftest.err
11920 cat conftest.err >&5
11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); } && {
11923 test -z "$ac_c_werror_flag" ||
11924 test ! -s conftest.err
11925 } && test -s conftest$ac_exeext &&
11926 $as_test_x conftest$ac_exeext; then
11929 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'` ;;
11930 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libncurses\\.$LIBEXT" |
sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11933 echo "$as_me: failed program was:" >&5
11934 sed 's/^/| /' conftest.$ac_ext >&5
11939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11940 conftest$ac_exeext conftest.$ac_ext
11941 LIBS=$ac_check_soname_save_LIBS
11943 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11944 { echo "$as_me:$LINENO: result: not found" >&5
11945 echo "${ECHO_T}not found" >&6; }
11948 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11949 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11951 cat >>confdefs.h <<_ACEOF
11952 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11955 CURSESLIBS="-lncurses"
11958 elif test "$ac_cv_header_curses_h" = "yes"
11960 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11961 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11962 if test "${ac_cv_lib_soname_curses+set}" = set; then
11963 echo $ECHO_N "(cached) $ECHO_C" >&6
11965 ac_check_soname_save_LIBS=$LIBS
11966 LIBS="-lcurses $LIBS"
11967 cat >conftest.$ac_ext <<_ACEOF
11970 cat confdefs.h >>conftest.$ac_ext
11971 cat >>conftest.$ac_ext <<_ACEOF
11972 /* end confdefs.h. */
11974 /* Override any GCC internal prototype to avoid an error.
11975 Use char because int might match the return type of a GCC
11976 builtin and then its argument prototype would still apply. */
11989 rm -f conftest.$ac_objext conftest$ac_exeext
11990 if { (ac_try="$ac_link"
11991 case "(($ac_try" in
11992 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11993 *) ac_try_echo
=$ac_try;;
11995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11996 (eval "$ac_link") 2>conftest.er1
11998 grep -v '^ *+' conftest.er1
>conftest.err
12000 cat conftest.err
>&5
12001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002 (exit $ac_status); } && {
12003 test -z "$ac_c_werror_flag" ||
12004 test ! -s conftest.err
12005 } && test -s conftest
$ac_exeext &&
12006 $as_test_x conftest
$ac_exeext; then
12009 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'` ;;
12010 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12013 echo "$as_me: failed program was:" >&5
12014 sed 's/^/| /' conftest.
$ac_ext >&5
12019 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12020 conftest
$ac_exeext conftest.
$ac_ext
12021 LIBS
=$ac_check_soname_save_LIBS
12023 if test "x$ac_cv_lib_soname_curses" = "x"; then
12024 { echo "$as_me:$LINENO: result: not found" >&5
12025 echo "${ECHO_T}not found" >&6; }
12028 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12029 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12031 cat >>confdefs.h
<<_ACEOF
12032 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12035 CURSESLIBS
="-lcurses"
12039 ac_save_LIBS
="$LIBS"
12040 LIBS
="$LIBS $CURSESLIBS"
12042 for ac_func
in mousemask
12044 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12045 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12047 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12048 echo $ECHO_N "(cached) $ECHO_C" >&6
12050 cat >conftest.
$ac_ext <<_ACEOF
12053 cat confdefs.h
>>conftest.
$ac_ext
12054 cat >>conftest.
$ac_ext <<_ACEOF
12055 /* end confdefs.h. */
12056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12058 #define $ac_func innocuous_$ac_func
12060 /* System header to define __stub macros and hopefully few prototypes,
12061 which can conflict with char $ac_func (); below.
12062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12063 <limits.h> exists even on freestanding compilers. */
12066 # include <limits.h>
12068 # include <assert.h>
12073 /* Override any GCC internal prototype to avoid an error.
12074 Use char because int might match the return type of a GCC
12075 builtin and then its argument prototype would still apply. */
12080 /* The GNU C library defines this for functions which it implements
12081 to always fail with ENOSYS. Some functions are actually named
12082 something starting with __ and the normal name is an alias. */
12083 #if defined __stub_$ac_func || defined __stub___$ac_func
12090 return $ac_func ();
12095 rm -f conftest.
$ac_objext conftest
$ac_exeext
12096 if { (ac_try
="$ac_link"
12097 case "(($ac_try" in
12098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12099 *) ac_try_echo=$ac_try;;
12101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12102 (eval "$ac_link") 2>conftest.er1
12104 grep -v '^ *+' conftest.er1 >conftest.err
12106 cat conftest.err >&5
12107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12108 (exit $ac_status); } && {
12109 test -z "$ac_c_werror_flag" ||
12110 test ! -s conftest.err
12111 } && test -s conftest$ac_exeext &&
12112 $as_test_x conftest$ac_exeext; then
12113 eval "$as_ac_var=yes"
12115 echo "$as_me: failed program was:" >&5
12116 sed 's/^/| /' conftest.$ac_ext >&5
12118 eval "$as_ac_var=no"
12121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12122 conftest$ac_exeext conftest.$ac_ext
12124 ac_res=`eval echo '${'$as_ac_var'}'`
12125 { echo "$as_me:$LINENO: result: $ac_res" >&5
12126 echo "${ECHO_T}$ac_res" >&6; }
12127 if test `eval echo '${'$as_ac_var'}'` = yes; then
12128 cat >>confdefs.h <<_ACEOF
12129 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12135 LIBS="$ac_save_LIBS"
12136 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12137 wine_notices="$wine_notices|lib(n)curses development files not found.
12138 Wine will be built without (n)curses support. (wineconsole.exe)"
12142 # Extract the first word of "sane-config", so it can be a program name with args.
12143 set dummy sane-config; ac_word=$2
12144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12146 if test "${ac_cv_prog_sane_devel+set}" = set; then
12147 echo $ECHO_N "(cached) $ECHO_C" >&6
12149 if test -n "$sane_devel"; then
12150 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12153 for as_dir in $PATH
12156 test -z "$as_dir" && as_dir=.
12157 for ac_exec_ext in '' $ac_executable_extensions; do
12158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12159 ac_cv_prog_sane_devel="sane-config"
12160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12167 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12170 sane_devel=$ac_cv_prog_sane_devel
12171 if test -n "$sane_devel"; then
12172 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12173 echo "${ECHO_T}$sane_devel" >&6; }
12175 { echo "$as_me:$LINENO: result: no" >&5
12176 echo "${ECHO_T}no" >&6; }
12180 if test "$sane_devel" != "no"
12182 ac_sane_incl="`$sane_devel --cflags`"
12183 ac_save_CPPFLAGS="$CPPFLAGS"
12184 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12185 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12186 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12187 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12188 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12189 echo $ECHO_N "(cached) $ECHO_C" >&6
12191 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12192 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12194 # Is the header compilable?
12195 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12196 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12197 cat >conftest.$ac_ext <<_ACEOF
12200 cat confdefs.h >>conftest.$ac_ext
12201 cat >>conftest.$ac_ext <<_ACEOF
12202 /* end confdefs.h. */
12203 $ac_includes_default
12204 #include <sane/sane.h>
12206 rm -f conftest.$ac_objext
12207 if { (ac_try="$ac_compile"
12208 case "(($ac_try" in
12209 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12210 *) ac_try_echo
=$ac_try;;
12212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12213 (eval "$ac_compile") 2>conftest.er1
12215 grep -v '^ *+' conftest.er1
>conftest.err
12217 cat conftest.err
>&5
12218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219 (exit $ac_status); } && {
12220 test -z "$ac_c_werror_flag" ||
12221 test ! -s conftest.err
12222 } && test -s conftest.
$ac_objext; then
12223 ac_header_compiler
=yes
12225 echo "$as_me: failed program was:" >&5
12226 sed 's/^/| /' conftest.
$ac_ext >&5
12228 ac_header_compiler
=no
12231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12232 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12233 echo "${ECHO_T}$ac_header_compiler" >&6; }
12235 # Is the header present?
12236 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12237 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12238 cat >conftest.
$ac_ext <<_ACEOF
12241 cat confdefs.h
>>conftest.
$ac_ext
12242 cat >>conftest.
$ac_ext <<_ACEOF
12243 /* end confdefs.h. */
12244 #include <sane/sane.h>
12246 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12247 case "(($ac_try" in
12248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12249 *) ac_try_echo=$ac_try;;
12251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12252 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12254 grep -v '^ *+' conftest.er1 >conftest.err
12256 cat conftest.err >&5
12257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12258 (exit $ac_status); } >/dev/null && {
12259 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12260 test ! -s conftest.err
12262 ac_header_preproc=yes
12264 echo "$as_me: failed program was:" >&5
12265 sed 's/^/| /' conftest.$ac_ext >&5
12267 ac_header_preproc=no
12270 rm -f conftest.err conftest.$ac_ext
12271 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12272 echo "${ECHO_T}$ac_header_preproc" >&6; }
12274 # So? What about this header?
12275 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12277 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12278 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12279 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12280 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12281 ac_header_preproc=yes
12284 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12285 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12286 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12287 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12288 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12289 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12290 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12291 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12292 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12293 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12294 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12295 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12297 ## ------------------------------------ ##
12298 ## Report this to wine-devel@winehq.org ##
12299 ## ------------------------------------ ##
12301 ) | sed "s/^/$as_me: WARNING: /" >&2
12304 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12305 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12306 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12307 echo $ECHO_N "(cached) $ECHO_C" >&6
12309 ac_cv_header_sane_sane_h=$ac_header_preproc
12311 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12312 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12315 if test $ac_cv_header_sane_sane_h = yes; then
12316 { echo "$as_me:$LINENO: checking for -lsane" >&5
12317 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12318 if test "${ac_cv_lib_soname_sane+set}" = set; then
12319 echo $ECHO_N "(cached) $ECHO_C" >&6
12321 ac_check_soname_save_LIBS=$LIBS
12322 LIBS="-lsane $LIBS"
12323 cat >conftest.$ac_ext <<_ACEOF
12326 cat confdefs.h >>conftest.$ac_ext
12327 cat >>conftest.$ac_ext <<_ACEOF
12328 /* end confdefs.h. */
12330 /* Override any GCC internal prototype to avoid an error.
12331 Use char because int might match the return type of a GCC
12332 builtin and then its argument prototype would still apply. */
12340 return sane_init ();
12345 rm -f conftest.$ac_objext conftest$ac_exeext
12346 if { (ac_try="$ac_link"
12347 case "(($ac_try" in
12348 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12349 *) ac_try_echo
=$ac_try;;
12351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12352 (eval "$ac_link") 2>conftest.er1
12354 grep -v '^ *+' conftest.er1
>conftest.err
12356 cat conftest.err
>&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); } && {
12359 test -z "$ac_c_werror_flag" ||
12360 test ! -s conftest.err
12361 } && test -s conftest
$ac_exeext &&
12362 $as_test_x conftest
$ac_exeext; then
12365 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'` ;;
12366 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12369 echo "$as_me: failed program was:" >&5
12370 sed 's/^/| /' conftest.
$ac_ext >&5
12375 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12376 conftest
$ac_exeext conftest.
$ac_ext
12377 LIBS
=$ac_check_soname_save_LIBS
12379 if test "x$ac_cv_lib_soname_sane" = "x"; then
12380 { echo "$as_me:$LINENO: result: not found" >&5
12381 echo "${ECHO_T}not found" >&6; }
12384 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12385 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12387 cat >>confdefs.h
<<_ACEOF
12388 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12391 SANEINCL
="$ac_sane_incl"
12398 CPPFLAGS
="$ac_save_CPPFLAGS"
12400 if test "x$ac_cv_lib_soname_sane" = "x"; then
12401 wine_notices
="$wine_notices|libsane development files not found.
12402 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12406 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12407 set dummy gphoto2-config
; ac_word
=$2
12408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12410 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12411 echo $ECHO_N "(cached) $ECHO_C" >&6
12413 if test -n "$gphoto2_devel"; then
12414 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
12416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12417 for as_dir
in $PATH
12420 test -z "$as_dir" && as_dir
=.
12421 for ac_exec_ext
in '' $ac_executable_extensions; do
12422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12423 ac_cv_prog_gphoto2_devel
="gphoto2-config"
12424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12431 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
12434 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
12435 if test -n "$gphoto2_devel"; then
12436 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12437 echo "${ECHO_T}$gphoto2_devel" >&6; }
12439 { echo "$as_me:$LINENO: result: no" >&5
12440 echo "${ECHO_T}no" >&6; }
12444 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12445 set dummy gphoto2-port-config
; ac_word
=$2
12446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12448 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12449 echo $ECHO_N "(cached) $ECHO_C" >&6
12451 if test -n "$gphoto2port_devel"; then
12452 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
12454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12455 for as_dir
in $PATH
12458 test -z "$as_dir" && as_dir
=.
12459 for ac_exec_ext
in '' $ac_executable_extensions; do
12460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12461 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
12462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12469 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
12472 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
12473 if test -n "$gphoto2port_devel"; then
12474 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12475 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12477 { echo "$as_me:$LINENO: result: no" >&5
12478 echo "${ECHO_T}no" >&6; }
12482 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12484 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12486 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12489 -L/usr
/lib|
-L/usr
/lib64
) ;;
12490 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
12493 ac_save_CPPFLAGS
="$CPPFLAGS"
12494 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
12495 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12496 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12497 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12498 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12499 echo $ECHO_N "(cached) $ECHO_C" >&6
12501 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12502 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12504 # Is the header compilable?
12505 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12506 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12507 cat >conftest.
$ac_ext <<_ACEOF
12510 cat confdefs.h
>>conftest.
$ac_ext
12511 cat >>conftest.
$ac_ext <<_ACEOF
12512 /* end confdefs.h. */
12513 $ac_includes_default
12514 #include <gphoto2-camera.h>
12516 rm -f conftest.
$ac_objext
12517 if { (ac_try
="$ac_compile"
12518 case "(($ac_try" in
12519 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12520 *) ac_try_echo=$ac_try;;
12522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12523 (eval "$ac_compile") 2>conftest.er1
12525 grep -v '^ *+' conftest.er1 >conftest.err
12527 cat conftest.err >&5
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); } && {
12530 test -z "$ac_c_werror_flag" ||
12531 test ! -s conftest.err
12532 } && test -s conftest.$ac_objext; then
12533 ac_header_compiler=yes
12535 echo "$as_me: failed program was:" >&5
12536 sed 's/^/| /' conftest.$ac_ext >&5
12538 ac_header_compiler=no
12541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12542 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12543 echo "${ECHO_T}$ac_header_compiler" >&6; }
12545 # Is the header present?
12546 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12547 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12548 cat >conftest.$ac_ext <<_ACEOF
12551 cat confdefs.h >>conftest.$ac_ext
12552 cat >>conftest.$ac_ext <<_ACEOF
12553 /* end confdefs.h. */
12554 #include <gphoto2-camera.h>
12556 if { (ac_try="$ac_cpp conftest.$ac_ext"
12557 case "(($ac_try" in
12558 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12559 *) ac_try_echo
=$ac_try;;
12561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12564 grep -v '^ *+' conftest.er1
>conftest.err
12566 cat conftest.err
>&5
12567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12568 (exit $ac_status); } >/dev
/null
&& {
12569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12570 test ! -s conftest.err
12572 ac_header_preproc
=yes
12574 echo "$as_me: failed program was:" >&5
12575 sed 's/^/| /' conftest.
$ac_ext >&5
12577 ac_header_preproc
=no
12580 rm -f conftest.err conftest.
$ac_ext
12581 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12582 echo "${ECHO_T}$ac_header_preproc" >&6; }
12584 # So? What about this header?
12585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12587 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12588 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12589 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12590 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12591 ac_header_preproc
=yes
12594 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12595 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12596 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12597 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12598 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12599 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12600 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12601 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12602 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12603 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12604 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12605 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12607 ## ------------------------------------ ##
12608 ## Report this to wine-devel@winehq.org ##
12609 ## ------------------------------------ ##
12611 ) |
sed "s/^/$as_me: WARNING: /" >&2
12614 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12615 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12616 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12617 echo $ECHO_N "(cached) $ECHO_C" >&6
12619 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
12621 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12622 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12625 if test $ac_cv_header_gphoto2_camera_h = yes; then
12626 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12627 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12628 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12629 echo $ECHO_N "(cached) $ECHO_C" >&6
12631 ac_check_lib_save_LIBS
=$LIBS
12632 LIBS
="-lgphoto2 $GPHOTO2LIBS $LIBS"
12633 cat >conftest.
$ac_ext <<_ACEOF
12636 cat confdefs.h
>>conftest.
$ac_ext
12637 cat >>conftest.
$ac_ext <<_ACEOF
12638 /* end confdefs.h. */
12640 /* Override any GCC internal prototype to avoid an error.
12641 Use char because int might match the return type of a GCC
12642 builtin and then its argument prototype would still apply. */
12646 char gp_camera_new ();
12650 return gp_camera_new ();
12655 rm -f conftest.
$ac_objext conftest
$ac_exeext
12656 if { (ac_try
="$ac_link"
12657 case "(($ac_try" in
12658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12659 *) ac_try_echo=$ac_try;;
12661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12662 (eval "$ac_link") 2>conftest.er1
12664 grep -v '^ *+' conftest.er1 >conftest.err
12666 cat conftest.err >&5
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); } && {
12669 test -z "$ac_c_werror_flag" ||
12670 test ! -s conftest.err
12671 } && test -s conftest$ac_exeext &&
12672 $as_test_x conftest$ac_exeext; then
12673 ac_cv_lib_gphoto2_gp_camera_new=yes
12675 echo "$as_me: failed program was:" >&5
12676 sed 's/^/| /' conftest.$ac_ext >&5
12678 ac_cv_lib_gphoto2_gp_camera_new=no
12681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12682 conftest$ac_exeext conftest.$ac_ext
12683 LIBS=$ac_check_lib_save_LIBS
12685 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12686 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12687 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12689 cat >>confdefs.h <<\_ACEOF
12690 #define HAVE_GPHOTO2 1
12693 GPHOTO2LIBS="$ac_gphoto2_libs"
12695 GPHOTO2INCL="$ac_gphoto2_incl"
12702 CPPFLAGS="$ac_save_CPPFLAGS"
12704 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12705 wine_notices="$wine_notices|libgphoto2 development files not found.
12706 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12713 if test "$ac_cv_header_resolv_h" = "yes"
12715 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12716 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12717 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12718 echo $ECHO_N "(cached) $ECHO_C" >&6
12720 ac_check_lib_save_LIBS=$LIBS
12721 LIBS="-lresolv $LIBS"
12722 cat >conftest.$ac_ext <<_ACEOF
12725 cat confdefs.h >>conftest.$ac_ext
12726 cat >>conftest.$ac_ext <<_ACEOF
12727 /* end confdefs.h. */
12729 /* Override any GCC internal prototype to avoid an error.
12730 Use char because int might match the return type of a GCC
12731 builtin and then its argument prototype would still apply. */
12739 return res_query ();
12744 rm -f conftest.$ac_objext conftest$ac_exeext
12745 if { (ac_try="$ac_link"
12746 case "(($ac_try" in
12747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12748 *) ac_try_echo
=$ac_try;;
12750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12751 (eval "$ac_link") 2>conftest.er1
12753 grep -v '^ *+' conftest.er1
>conftest.err
12755 cat conftest.err
>&5
12756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12757 (exit $ac_status); } && {
12758 test -z "$ac_c_werror_flag" ||
12759 test ! -s conftest.err
12760 } && test -s conftest
$ac_exeext &&
12761 $as_test_x conftest
$ac_exeext; then
12762 ac_cv_lib_resolv_res_query
=yes
12764 echo "$as_me: failed program was:" >&5
12765 sed 's/^/| /' conftest.
$ac_ext >&5
12767 ac_cv_lib_resolv_res_query
=no
12770 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12771 conftest
$ac_exeext conftest.
$ac_ext
12772 LIBS
=$ac_check_lib_save_LIBS
12774 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12775 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12776 if test $ac_cv_lib_resolv_res_query = yes; then
12778 cat >>confdefs.h
<<\_ACEOF
12779 #define HAVE_RESOLV 1
12782 RESOLVLIBS
="-lresolv"
12789 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12791 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12792 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12793 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12794 echo $ECHO_N "(cached) $ECHO_C" >&6
12796 ac_check_lib_save_LIBS
=$LIBS
12797 LIBS
="-llcms $LIBS"
12798 cat >conftest.
$ac_ext <<_ACEOF
12801 cat confdefs.h
>>conftest.
$ac_ext
12802 cat >>conftest.
$ac_ext <<_ACEOF
12803 /* end confdefs.h. */
12805 /* Override any GCC internal prototype to avoid an error.
12806 Use char because int might match the return type of a GCC
12807 builtin and then its argument prototype would still apply. */
12811 char cmsOpenProfileFromFile ();
12815 return cmsOpenProfileFromFile ();
12820 rm -f conftest.
$ac_objext conftest
$ac_exeext
12821 if { (ac_try
="$ac_link"
12822 case "(($ac_try" in
12823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12824 *) ac_try_echo=$ac_try;;
12826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12827 (eval "$ac_link") 2>conftest.er1
12829 grep -v '^ *+' conftest.er1 >conftest.err
12831 cat conftest.err >&5
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); } && {
12834 test -z "$ac_c_werror_flag" ||
12835 test ! -s conftest.err
12836 } && test -s conftest$ac_exeext &&
12837 $as_test_x conftest$ac_exeext; then
12838 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12840 echo "$as_me: failed program was:" >&5
12841 sed 's/^/| /' conftest.$ac_ext >&5
12843 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12847 conftest$ac_exeext conftest.$ac_ext
12848 LIBS=$ac_check_lib_save_LIBS
12850 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12851 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12852 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12854 cat >>confdefs.h <<\_ACEOF
12855 #define HAVE_LCMS 1
12862 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12863 wine_notices="$wine_notices|liblcms development files not found.
12864 Wine will be built without Color Management support. (mscms.dll)"
12870 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12872 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12873 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12874 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12875 echo $ECHO_N "(cached) $ECHO_C" >&6
12877 ac_check_lib_save_LIBS=$LIBS
12878 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12879 cat >conftest.$ac_ext <<_ACEOF
12882 cat confdefs.h >>conftest.$ac_ext
12883 cat >>conftest.$ac_ext <<_ACEOF
12884 /* end confdefs.h. */
12886 /* Override any GCC internal prototype to avoid an error.
12887 Use char because int might match the return type of a GCC
12888 builtin and then its argument prototype would still apply. */
12892 char ldap_initialize ();
12896 return ldap_initialize ();
12901 rm -f conftest.$ac_objext conftest$ac_exeext
12902 if { (ac_try="$ac_link"
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_link") 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); } && {
12915 test -z "$ac_c_werror_flag" ||
12916 test ! -s conftest.err
12917 } && test -s conftest
$ac_exeext &&
12918 $as_test_x conftest
$ac_exeext; then
12919 ac_cv_lib_ldap_r_ldap_initialize
=yes
12921 echo "$as_me: failed program was:" >&5
12922 sed 's/^/| /' conftest.
$ac_ext >&5
12924 ac_cv_lib_ldap_r_ldap_initialize
=no
12927 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12928 conftest
$ac_exeext conftest.
$ac_ext
12929 LIBS
=$ac_check_lib_save_LIBS
12931 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12932 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12933 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12934 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12935 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12936 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12937 echo $ECHO_N "(cached) $ECHO_C" >&6
12939 ac_check_lib_save_LIBS
=$LIBS
12940 LIBS
="-llber $LIBPTHREAD $LIBS"
12941 cat >conftest.
$ac_ext <<_ACEOF
12944 cat confdefs.h
>>conftest.
$ac_ext
12945 cat >>conftest.
$ac_ext <<_ACEOF
12946 /* end confdefs.h. */
12948 /* Override any GCC internal prototype to avoid an error.
12949 Use char because int might match the return type of a GCC
12950 builtin and then its argument prototype would still apply. */
12958 return ber_init ();
12963 rm -f conftest.
$ac_objext conftest
$ac_exeext
12964 if { (ac_try
="$ac_link"
12965 case "(($ac_try" in
12966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12967 *) ac_try_echo=$ac_try;;
12969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12970 (eval "$ac_link") 2>conftest.er1
12972 grep -v '^ *+' conftest.er1 >conftest.err
12974 cat conftest.err >&5
12975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12976 (exit $ac_status); } && {
12977 test -z "$ac_c_werror_flag" ||
12978 test ! -s conftest.err
12979 } && test -s conftest$ac_exeext &&
12980 $as_test_x conftest$ac_exeext; then
12981 ac_cv_lib_lber_ber_init=yes
12983 echo "$as_me: failed program was:" >&5
12984 sed 's/^/| /' conftest.$ac_ext >&5
12986 ac_cv_lib_lber_ber_init=no
12989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12990 conftest$ac_exeext conftest.$ac_ext
12991 LIBS=$ac_check_lib_save_LIBS
12993 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12994 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12995 if test $ac_cv_lib_lber_ber_init = yes; then
12997 cat >>confdefs.h <<\_ACEOF
12998 #define HAVE_LDAP 1
13001 LDAPLIBS="-lldap_r -llber"
13006 ac_wine_check_funcs_save_LIBS="$LIBS"
13007 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13017 ldap_count_references \
13018 ldap_first_reference \
13019 ldap_next_reference \
13020 ldap_parse_reference \
13021 ldap_parse_sort_control \
13022 ldap_parse_sortresponse_control \
13023 ldap_parse_vlv_control \
13024 ldap_parse_vlvresponse_control
13026 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13027 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13029 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13030 echo $ECHO_N "(cached) $ECHO_C" >&6
13032 cat >conftest.$ac_ext <<_ACEOF
13035 cat confdefs.h >>conftest.$ac_ext
13036 cat >>conftest.$ac_ext <<_ACEOF
13037 /* end confdefs.h. */
13038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13040 #define $ac_func innocuous_$ac_func
13042 /* System header to define __stub macros and hopefully few prototypes,
13043 which can conflict with char $ac_func (); below.
13044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13045 <limits.h> exists even on freestanding compilers. */
13048 # include <limits.h>
13050 # include <assert.h>
13055 /* Override any GCC internal prototype to avoid an error.
13056 Use char because int might match the return type of a GCC
13057 builtin and then its argument prototype would still apply. */
13062 /* The GNU C library defines this for functions which it implements
13063 to always fail with ENOSYS. Some functions are actually named
13064 something starting with __ and the normal name is an alias. */
13065 #if defined __stub_$ac_func || defined __stub___$ac_func
13072 return $ac_func ();
13077 rm -f conftest.$ac_objext conftest$ac_exeext
13078 if { (ac_try="$ac_link"
13079 case "(($ac_try" in
13080 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13081 *) ac_try_echo
=$ac_try;;
13083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13084 (eval "$ac_link") 2>conftest.er1
13086 grep -v '^ *+' conftest.er1
>conftest.err
13088 cat conftest.err
>&5
13089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13090 (exit $ac_status); } && {
13091 test -z "$ac_c_werror_flag" ||
13092 test ! -s conftest.err
13093 } && test -s conftest
$ac_exeext &&
13094 $as_test_x conftest
$ac_exeext; then
13095 eval "$as_ac_var=yes"
13097 echo "$as_me: failed program was:" >&5
13098 sed 's/^/| /' conftest.
$ac_ext >&5
13100 eval "$as_ac_var=no"
13103 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13104 conftest
$ac_exeext conftest.
$ac_ext
13106 ac_res
=`eval echo '${'$as_ac_var'}'`
13107 { echo "$as_me:$LINENO: result: $ac_res" >&5
13108 echo "${ECHO_T}$ac_res" >&6; }
13109 if test `eval echo '${'$as_ac_var'}'` = yes; then
13110 cat >>confdefs.h
<<_ACEOF
13111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13117 LIBS
="$ac_wine_check_funcs_save_LIBS"
13119 if test "x$LDAPLIBS" = "x"; then
13120 wine_notices
="$wine_notices|libldap (OpenLDAP) development files not found.
13121 Wine will be built without LDAP support. (wldap32.dll)"
13125 for ac_prog
in freetype-config freetype2-config
13127 # Extract the first word of "$ac_prog", so it can be a program name with args.
13128 set dummy
$ac_prog; ac_word
=$2
13129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13131 if test "${ac_cv_prog_ft_devel+set}" = set; then
13132 echo $ECHO_N "(cached) $ECHO_C" >&6
13134 if test -n "$ft_devel"; then
13135 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
13137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13138 for as_dir
in $PATH
13141 test -z "$as_dir" && as_dir
=.
13142 for ac_exec_ext
in '' $ac_executable_extensions; do
13143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13144 ac_cv_prog_ft_devel
="$ac_prog"
13145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13154 ft_devel
=$ac_cv_prog_ft_devel
13155 if test -n "$ft_devel"; then
13156 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13157 echo "${ECHO_T}$ft_devel" >&6; }
13159 { echo "$as_me:$LINENO: result: no" >&5
13160 echo "${ECHO_T}no" >&6; }
13164 test -n "$ft_devel" && break
13166 test -n "$ft_devel" || ft_devel
="false"
13168 if test "$ft_devel" != "false"
13170 ac_freetype_libs
=`$ft_devel --libs`
13171 ac_freetype_incl
=`$ft_devel --cflags`
13172 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13173 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13174 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13175 echo $ECHO_N "(cached) $ECHO_C" >&6
13177 ac_check_soname_save_LIBS
=$LIBS
13178 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
13179 cat >conftest.
$ac_ext <<_ACEOF
13182 cat confdefs.h
>>conftest.
$ac_ext
13183 cat >>conftest.
$ac_ext <<_ACEOF
13184 /* end confdefs.h. */
13186 /* Override any GCC internal prototype to avoid an error.
13187 Use char because int might match the return type of a GCC
13188 builtin and then its argument prototype would still apply. */
13192 char FT_Init_FreeType ();
13196 return FT_Init_FreeType ();
13201 rm -f conftest.
$ac_objext conftest
$ac_exeext
13202 if { (ac_try
="$ac_link"
13203 case "(($ac_try" in
13204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13205 *) ac_try_echo=$ac_try;;
13207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13208 (eval "$ac_link") 2>conftest.er1
13210 grep -v '^ *+' conftest.er1 >conftest.err
13212 cat conftest.err >&5
13213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13214 (exit $ac_status); } && {
13215 test -z "$ac_c_werror_flag" ||
13216 test ! -s conftest.err
13217 } && test -s conftest$ac_exeext &&
13218 $as_test_x conftest$ac_exeext; then
13221 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'` ;;
13222 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfreetype\\.$LIBEXT" |
sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13225 echo "$as_me: failed program was:" >&5
13226 sed 's/^/| /' conftest.$ac_ext >&5
13231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13232 conftest$ac_exeext conftest.$ac_ext
13233 LIBS=$ac_check_soname_save_LIBS
13235 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13236 { echo "$as_me:$LINENO: result: not found" >&5
13237 echo "${ECHO_T}not found" >&6; }
13240 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13241 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13243 cat >>confdefs.h <<_ACEOF
13244 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13250 if test "$ft_lib" = "yes"
13252 ac_save_CPPFLAGS="$CPPFLAGS"
13253 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13266 for ac_header in ft2build.h \
13267 freetype/freetype.h \
13268 freetype/ftglyph.h \
13269 freetype/fttypes.h \
13270 freetype/tttables.h \
13271 freetype/ftnames.h \
13272 freetype/ftsnames.h \
13273 freetype/ttnameid.h \
13274 freetype/ftoutln.h \
13275 freetype/ftwinfnt.h \
13276 freetype/ftmodapi.h \
13277 freetype/internal/sfnt.h
13279 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13280 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13282 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13283 echo $ECHO_N "(cached) $ECHO_C" >&6
13285 cat >conftest.$ac_ext <<_ACEOF
13288 cat confdefs.h >>conftest.$ac_ext
13289 cat >>conftest.$ac_ext <<_ACEOF
13290 /* end confdefs.h. */
13291 #if HAVE_FT2BUILD_H
13292 #include <ft2build.h>
13295 #include <$ac_header>
13297 rm -f conftest.$ac_objext
13298 if { (ac_try="$ac_compile"
13299 case "(($ac_try" in
13300 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13301 *) ac_try_echo
=$ac_try;;
13303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13304 (eval "$ac_compile") 2>conftest.er1
13306 grep -v '^ *+' conftest.er1
>conftest.err
13308 cat conftest.err
>&5
13309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310 (exit $ac_status); } && {
13311 test -z "$ac_c_werror_flag" ||
13312 test ! -s conftest.err
13313 } && test -s conftest.
$ac_objext; then
13314 eval "$as_ac_Header=yes"
13316 echo "$as_me: failed program was:" >&5
13317 sed 's/^/| /' conftest.
$ac_ext >&5
13319 eval "$as_ac_Header=no"
13322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13324 ac_res
=`eval echo '${'$as_ac_Header'}'`
13325 { echo "$as_me:$LINENO: result: $ac_res" >&5
13326 echo "${ECHO_T}$ac_res" >&6; }
13327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13328 cat >>confdefs.h
<<_ACEOF
13329 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13336 cat >conftest.
$ac_ext <<_ACEOF
13339 cat confdefs.h
>>conftest.
$ac_ext
13340 cat >>conftest.
$ac_ext <<_ACEOF
13341 /* end confdefs.h. */
13342 #include <ft2build.h>
13343 #include <freetype/fttrigon.h>
13345 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13346 case "(($ac_try" in
13347 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13348 *) ac_try_echo=$ac_try;;
13350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13351 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13353 grep -v '^ *+' conftest.er1 >conftest.err
13355 cat conftest.err >&5
13356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357 (exit $ac_status); } >/dev/null && {
13358 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13359 test ! -s conftest.err
13362 cat >>confdefs.h <<\_ACEOF
13363 #define HAVE_FREETYPE_FTTRIGON_H 1
13366 wine_cv_fttrigon=yes
13368 echo "$as_me: failed program was:" >&5
13369 sed 's/^/| /' conftest.$ac_ext >&5
13371 wine_cv_fttrigon=no
13374 rm -f conftest.err conftest.$ac_ext
13375 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13376 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13377 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13378 echo $ECHO_N "(cached) $ECHO_C" >&6
13380 cat >conftest.$ac_ext <<_ACEOF
13383 cat confdefs.h >>conftest.$ac_ext
13384 cat >>conftest.$ac_ext <<_ACEOF
13385 /* end confdefs.h. */
13386 #include <freetype/ftmodapi.h>
13388 typedef FT_TrueTypeEngineType ac__type_new_;
13392 if ((ac__type_new_ *) 0)
13394 if (sizeof (ac__type_new_))
13400 rm -f conftest.$ac_objext
13401 if { (ac_try="$ac_compile"
13402 case "(($ac_try" in
13403 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13404 *) ac_try_echo
=$ac_try;;
13406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13407 (eval "$ac_compile") 2>conftest.er1
13409 grep -v '^ *+' conftest.er1
>conftest.err
13411 cat conftest.err
>&5
13412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13413 (exit $ac_status); } && {
13414 test -z "$ac_c_werror_flag" ||
13415 test ! -s conftest.err
13416 } && test -s conftest.
$ac_objext; then
13417 ac_cv_type_FT_TrueTypeEngineType
=yes
13419 echo "$as_me: failed program was:" >&5
13420 sed 's/^/| /' conftest.
$ac_ext >&5
13422 ac_cv_type_FT_TrueTypeEngineType
=no
13425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13427 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13428 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13429 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13431 cat >>confdefs.h
<<_ACEOF
13432 #define HAVE_FT_TRUETYPEENGINETYPE 1
13438 ac_save_CFLAGS
="$CFLAGS"
13439 CFLAGS
="$CFLAGS $ac_freetype_libs"
13441 for ac_func
in FT_Load_Sfnt_Table
13443 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13444 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13446 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13447 echo $ECHO_N "(cached) $ECHO_C" >&6
13449 cat >conftest.
$ac_ext <<_ACEOF
13452 cat confdefs.h
>>conftest.
$ac_ext
13453 cat >>conftest.
$ac_ext <<_ACEOF
13454 /* end confdefs.h. */
13455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13457 #define $ac_func innocuous_$ac_func
13459 /* System header to define __stub macros and hopefully few prototypes,
13460 which can conflict with char $ac_func (); below.
13461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13462 <limits.h> exists even on freestanding compilers. */
13465 # include <limits.h>
13467 # include <assert.h>
13472 /* Override any GCC internal prototype to avoid an error.
13473 Use char because int might match the return type of a GCC
13474 builtin and then its argument prototype would still apply. */
13479 /* The GNU C library defines this for functions which it implements
13480 to always fail with ENOSYS. Some functions are actually named
13481 something starting with __ and the normal name is an alias. */
13482 #if defined __stub_$ac_func || defined __stub___$ac_func
13489 return $ac_func ();
13494 rm -f conftest.
$ac_objext conftest
$ac_exeext
13495 if { (ac_try
="$ac_link"
13496 case "(($ac_try" in
13497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13498 *) ac_try_echo=$ac_try;;
13500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13501 (eval "$ac_link") 2>conftest.er1
13503 grep -v '^ *+' conftest.er1 >conftest.err
13505 cat conftest.err >&5
13506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13507 (exit $ac_status); } && {
13508 test -z "$ac_c_werror_flag" ||
13509 test ! -s conftest.err
13510 } && test -s conftest$ac_exeext &&
13511 $as_test_x conftest$ac_exeext; then
13512 eval "$as_ac_var=yes"
13514 echo "$as_me: failed program was:" >&5
13515 sed 's/^/| /' conftest.$ac_ext >&5
13517 eval "$as_ac_var=no"
13520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13521 conftest$ac_exeext conftest.$ac_ext
13523 ac_res=`eval echo '${'$as_ac_var'}'`
13524 { echo "$as_me:$LINENO: result: $ac_res" >&5
13525 echo "${ECHO_T}$ac_res" >&6; }
13526 if test `eval echo '${'$as_ac_var'}'` = yes; then
13527 cat >>confdefs.h <<_ACEOF
13528 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13534 CFLAGS="$ac_save_CFLAGS"
13535 CPPFLAGS="$ac_save_CPPFLAGS"
13536 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13539 cat >>confdefs.h <<\_ACEOF
13540 #define HAVE_FREETYPE 1
13543 FREETYPELIBS="$ac_freetype_libs"
13545 FREETYPEINCL="$ac_freetype_incl"
13551 if test "$FONTFORGE" = "false"
13553 wine_warnings="$wine_warnings|FontForge is missing.
13554 Fonts will not be built. Dialog text may be invisible or unaligned."
13555 elif test "x$FREETYPELIBS" = "x"
13557 wine_warnings="$wine_warnings|FreeType development files not found.
13558 Fonts will not be built. Dialog text may be invisible or unaligned."
13560 FONTSSUBDIRS="fonts"
13564 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13565 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13566 if test "${ac_cv_c_ppdev+set}" = set; then
13567 echo $ECHO_N "(cached) $ECHO_C" >&6
13569 cat >conftest.$ac_ext <<_ACEOF
13572 cat confdefs.h >>conftest.$ac_ext
13573 cat >>conftest.$ac_ext <<_ACEOF
13574 /* end confdefs.h. */
13575 #include <linux/ppdev.h>
13579 ioctl (1,PPCLAIM,0)
13584 rm -f conftest.$ac_objext
13585 if { (ac_try="$ac_compile"
13586 case "(($ac_try" in
13587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13588 *) ac_try_echo
=$ac_try;;
13590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13591 (eval "$ac_compile") 2>conftest.er1
13593 grep -v '^ *+' conftest.er1
>conftest.err
13595 cat conftest.err
>&5
13596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597 (exit $ac_status); } && {
13598 test -z "$ac_c_werror_flag" ||
13599 test ! -s conftest.err
13600 } && test -s conftest.
$ac_objext; then
13601 ac_cv_c_ppdev
="yes"
13603 echo "$as_me: failed program was:" >&5
13604 sed 's/^/| /' conftest.
$ac_ext >&5
13609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13611 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13612 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13613 if test "$ac_cv_c_ppdev" = "yes"
13616 cat >>confdefs.h
<<\_ACEOF
13617 #define HAVE_PPDEV 1
13622 { echo "$as_me:$LINENO: checking for va_copy" >&5
13623 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13624 if test "${ac_cv_c_va_copy+set}" = set; then
13625 echo $ECHO_N "(cached) $ECHO_C" >&6
13627 cat >conftest.
$ac_ext <<_ACEOF
13630 cat confdefs.h
>>conftest.
$ac_ext
13631 cat >>conftest.
$ac_ext <<_ACEOF
13632 /* end confdefs.h. */
13633 #include <stdarg.h>
13637 va_list ap1, ap2; va_copy(ap1,ap2);
13642 rm -f conftest.
$ac_objext conftest
$ac_exeext
13643 if { (ac_try
="$ac_link"
13644 case "(($ac_try" in
13645 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13646 *) ac_try_echo=$ac_try;;
13648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13649 (eval "$ac_link") 2>conftest.er1
13651 grep -v '^ *+' conftest.er1 >conftest.err
13653 cat conftest.err >&5
13654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); } && {
13656 test -z "$ac_c_werror_flag" ||
13657 test ! -s conftest.err
13658 } && test -s conftest$ac_exeext &&
13659 $as_test_x conftest$ac_exeext; then
13660 ac_cv_c_va_copy="yes"
13662 echo "$as_me: failed program was:" >&5
13663 sed 's/^/| /' conftest.$ac_ext >&5
13665 ac_cv_c_va_copy="no"
13668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13669 conftest$ac_exeext conftest.$ac_ext
13672 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13673 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13674 if test "$ac_cv_c_va_copy" = "yes"
13677 cat >>confdefs.h <<\_ACEOF
13678 #define HAVE_VA_COPY 1
13682 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13683 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13684 if test "${ac_cv_c___va_copy+set}" = set; then
13685 echo $ECHO_N "(cached) $ECHO_C" >&6
13687 cat >conftest.$ac_ext <<_ACEOF
13690 cat confdefs.h >>conftest.$ac_ext
13691 cat >>conftest.$ac_ext <<_ACEOF
13692 /* end confdefs.h. */
13693 #include <stdarg.h>
13697 va_list ap1, ap2; __va_copy(ap1,ap2);
13702 rm -f conftest.$ac_objext conftest$ac_exeext
13703 if { (ac_try="$ac_link"
13704 case "(($ac_try" in
13705 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13706 *) ac_try_echo
=$ac_try;;
13708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13709 (eval "$ac_link") 2>conftest.er1
13711 grep -v '^ *+' conftest.er1
>conftest.err
13713 cat conftest.err
>&5
13714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13715 (exit $ac_status); } && {
13716 test -z "$ac_c_werror_flag" ||
13717 test ! -s conftest.err
13718 } && test -s conftest
$ac_exeext &&
13719 $as_test_x conftest
$ac_exeext; then
13720 ac_cv_c___va_copy
="yes"
13722 echo "$as_me: failed program was:" >&5
13723 sed 's/^/| /' conftest.
$ac_ext >&5
13725 ac_cv_c___va_copy
="no"
13728 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13729 conftest
$ac_exeext conftest.
$ac_ext
13732 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13733 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13734 if test "$ac_cv_c___va_copy" = "yes"
13737 cat >>confdefs.h
<<\_ACEOF
13738 #define HAVE___VA_COPY 1
13743 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13744 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13745 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13746 echo $ECHO_N "(cached) $ECHO_C" >&6
13748 cat >conftest.
$ac_ext <<_ACEOF
13751 cat confdefs.h
>>conftest.
$ac_ext
13752 cat >>conftest.
$ac_ext <<_ACEOF
13753 /* end confdefs.h. */
13754 #include <setjmp.h>
13759 sigsetjmp( buf, 1 );
13760 siglongjmp( buf, 1 );
13765 rm -f conftest.
$ac_objext conftest
$ac_exeext
13766 if { (ac_try
="$ac_link"
13767 case "(($ac_try" in
13768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13769 *) ac_try_echo=$ac_try;;
13771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13772 (eval "$ac_link") 2>conftest.er1
13774 grep -v '^ *+' conftest.er1 >conftest.err
13776 cat conftest.err >&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 (exit $ac_status); } && {
13779 test -z "$ac_c_werror_flag" ||
13780 test ! -s conftest.err
13781 } && test -s conftest$ac_exeext &&
13782 $as_test_x conftest$ac_exeext; then
13783 ac_cv_c_sigsetjmp="yes"
13785 echo "$as_me: failed program was:" >&5
13786 sed 's/^/| /' conftest.$ac_ext >&5
13788 ac_cv_c_sigsetjmp="no"
13791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13792 conftest$ac_exeext conftest.$ac_ext
13795 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13796 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13797 if test "$ac_cv_c_sigsetjmp" = "yes"
13800 cat >>confdefs.h <<\_ACEOF
13801 #define HAVE_SIGSETJMP 1
13806 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13807 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13808 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13809 echo $ECHO_N "(cached) $ECHO_C" >&6
13811 cat >conftest.$ac_ext <<_ACEOF
13814 cat confdefs.h >>conftest.$ac_ext
13815 cat >>conftest.$ac_ext <<_ACEOF
13816 /* end confdefs.h. */
13817 #define _GNU_SOURCE
13818 #include <pthread.h>
13820 typedef pthread_rwlock_t ac__type_new_;
13824 if ((ac__type_new_ *) 0)
13826 if (sizeof (ac__type_new_))
13832 rm -f conftest.$ac_objext
13833 if { (ac_try="$ac_compile"
13834 case "(($ac_try" in
13835 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13836 *) ac_try_echo
=$ac_try;;
13838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13839 (eval "$ac_compile") 2>conftest.er1
13841 grep -v '^ *+' conftest.er1
>conftest.err
13843 cat conftest.err
>&5
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); } && {
13846 test -z "$ac_c_werror_flag" ||
13847 test ! -s conftest.err
13848 } && test -s conftest.
$ac_objext; then
13849 ac_cv_type_pthread_rwlock_t
=yes
13851 echo "$as_me: failed program was:" >&5
13852 sed 's/^/| /' conftest.
$ac_ext >&5
13854 ac_cv_type_pthread_rwlock_t
=no
13857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13859 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13860 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13861 if test $ac_cv_type_pthread_rwlock_t = yes; then
13863 cat >>confdefs.h
<<_ACEOF
13864 #define HAVE_PTHREAD_RWLOCK_T 1
13869 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13870 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13871 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13872 echo $ECHO_N "(cached) $ECHO_C" >&6
13874 cat >conftest.
$ac_ext <<_ACEOF
13877 cat confdefs.h
>>conftest.
$ac_ext
13878 cat >>conftest.
$ac_ext <<_ACEOF
13879 /* end confdefs.h. */
13880 #define _GNU_SOURCE
13881 #include <pthread.h>
13883 typedef pthread_rwlockattr_t ac__type_new_;
13887 if ((ac__type_new_ *) 0)
13889 if (sizeof (ac__type_new_))
13895 rm -f conftest.
$ac_objext
13896 if { (ac_try
="$ac_compile"
13897 case "(($ac_try" in
13898 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13899 *) ac_try_echo=$ac_try;;
13901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13902 (eval "$ac_compile") 2>conftest.er1
13904 grep -v '^ *+' conftest.er1 >conftest.err
13906 cat conftest.err >&5
13907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908 (exit $ac_status); } && {
13909 test -z "$ac_c_werror_flag" ||
13910 test ! -s conftest.err
13911 } && test -s conftest.$ac_objext; then
13912 ac_cv_type_pthread_rwlockattr_t=yes
13914 echo "$as_me: failed program was:" >&5
13915 sed 's/^/| /' conftest.$ac_ext >&5
13917 ac_cv_type_pthread_rwlockattr_t=no
13920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13922 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13923 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13924 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13926 cat >>confdefs.h <<_ACEOF
13927 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13934 ac_wine_check_funcs_save_LIBS="$LIBS"
13935 LIBS="$LIBS $LIBPTHREAD"
13941 pthread_attr_get_np \
13942 pthread_getattr_np \
13943 pthread_get_stackaddr_np \
13944 pthread_get_stacksize_np
13946 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13947 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13949 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13950 echo $ECHO_N "(cached) $ECHO_C" >&6
13952 cat >conftest.$ac_ext <<_ACEOF
13955 cat confdefs.h >>conftest.$ac_ext
13956 cat >>conftest.$ac_ext <<_ACEOF
13957 /* end confdefs.h. */
13958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13960 #define $ac_func innocuous_$ac_func
13962 /* System header to define __stub macros and hopefully few prototypes,
13963 which can conflict with char $ac_func (); below.
13964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13965 <limits.h> exists even on freestanding compilers. */
13968 # include <limits.h>
13970 # include <assert.h>
13975 /* Override any GCC internal prototype to avoid an error.
13976 Use char because int might match the return type of a GCC
13977 builtin and then its argument prototype would still apply. */
13982 /* The GNU C library defines this for functions which it implements
13983 to always fail with ENOSYS. Some functions are actually named
13984 something starting with __ and the normal name is an alias. */
13985 #if defined __stub_$ac_func || defined __stub___$ac_func
13992 return $ac_func ();
13997 rm -f conftest.$ac_objext conftest$ac_exeext
13998 if { (ac_try="$ac_link"
13999 case "(($ac_try" in
14000 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14001 *) ac_try_echo
=$ac_try;;
14003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14004 (eval "$ac_link") 2>conftest.er1
14006 grep -v '^ *+' conftest.er1
>conftest.err
14008 cat conftest.err
>&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); } && {
14011 test -z "$ac_c_werror_flag" ||
14012 test ! -s conftest.err
14013 } && test -s conftest
$ac_exeext &&
14014 $as_test_x conftest
$ac_exeext; then
14015 eval "$as_ac_var=yes"
14017 echo "$as_me: failed program was:" >&5
14018 sed 's/^/| /' conftest.
$ac_ext >&5
14020 eval "$as_ac_var=no"
14023 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14024 conftest
$ac_exeext conftest.
$ac_ext
14026 ac_res
=`eval echo '${'$as_ac_var'}'`
14027 { echo "$as_me:$LINENO: result: $ac_res" >&5
14028 echo "${ECHO_T}$ac_res" >&6; }
14029 if test `eval echo '${'$as_ac_var'}'` = yes; then
14030 cat >>confdefs.h
<<_ACEOF
14031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14037 LIBS
="$ac_wine_check_funcs_save_LIBS"
14039 # Extract the first word of "esd-config", so it can be a program name with args.
14040 set dummy esd-config
; ac_word
=$2
14041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14043 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14044 echo $ECHO_N "(cached) $ECHO_C" >&6
14048 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
14051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14052 for as_dir
in $PATH
14055 test -z "$as_dir" && as_dir
=.
14056 for ac_exec_ext
in '' $ac_executable_extensions; do
14057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14058 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
14059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14069 ESDCONFIG
=$ac_cv_path_ESDCONFIG
14070 if test -n "$ESDCONFIG"; then
14071 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14072 echo "${ECHO_T}$ESDCONFIG" >&6; }
14074 { echo "$as_me:$LINENO: result: no" >&5
14075 echo "${ECHO_T}no" >&6; }
14079 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
14082 for i
in `$ESDCONFIG --cflags`
14085 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
14088 ESD_LIBS
=`$ESDCONFIG --libs`
14089 save_CFLAGS
="$CFLAGS"
14090 CFLAGS
="$CFLAGS $ESD_CFLAGS"
14091 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14092 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14093 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14094 echo $ECHO_N "(cached) $ECHO_C" >&6
14096 ac_check_lib_save_LIBS
=$LIBS
14098 cat >conftest.
$ac_ext <<_ACEOF
14101 cat confdefs.h
>>conftest.
$ac_ext
14102 cat >>conftest.
$ac_ext <<_ACEOF
14103 /* end confdefs.h. */
14105 /* Override any GCC internal prototype to avoid an error.
14106 Use char because int might match the return type of a GCC
14107 builtin and then its argument prototype would still apply. */
14111 char esd_open_sound ();
14115 return esd_open_sound ();
14120 rm -f conftest.
$ac_objext conftest
$ac_exeext
14121 if { (ac_try
="$ac_link"
14122 case "(($ac_try" in
14123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14124 *) ac_try_echo=$ac_try;;
14126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14127 (eval "$ac_link") 2>conftest.er1
14129 grep -v '^ *+' conftest.er1 >conftest.err
14131 cat conftest.err >&5
14132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 (exit $ac_status); } && {
14134 test -z "$ac_c_werror_flag" ||
14135 test ! -s conftest.err
14136 } && test -s conftest$ac_exeext &&
14137 $as_test_x conftest$ac_exeext; then
14138 ac_cv_lib_esd_esd_open_sound=yes
14140 echo "$as_me: failed program was:" >&5
14141 sed 's/^/| /' conftest.$ac_ext >&5
14143 ac_cv_lib_esd_esd_open_sound=no
14146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14147 conftest$ac_exeext conftest.$ac_ext
14148 LIBS=$ac_check_lib_save_LIBS
14150 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14151 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14152 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14155 ESDINCL=$ESD_CFLAGS
14158 cat >>confdefs.h <<\_ACEOF
14164 CFLAGS="$save_CFLAGS"
14169 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14171 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14172 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14173 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14174 echo $ECHO_N "(cached) $ECHO_C" >&6
14176 ac_check_lib_save_LIBS=$LIBS
14177 LIBS="-lasound $LIBS"
14178 cat >conftest.$ac_ext <<_ACEOF
14181 cat confdefs.h >>conftest.$ac_ext
14182 cat >>conftest.$ac_ext <<_ACEOF
14183 /* end confdefs.h. */
14185 /* Override any GCC internal prototype to avoid an error.
14186 Use char because int might match the return type of a GCC
14187 builtin and then its argument prototype would still apply. */
14191 char snd_pcm_hw_params_get_access ();
14195 return snd_pcm_hw_params_get_access ();
14200 rm -f conftest.$ac_objext conftest$ac_exeext
14201 if { (ac_try="$ac_link"
14202 case "(($ac_try" in
14203 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14204 *) ac_try_echo
=$ac_try;;
14206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14207 (eval "$ac_link") 2>conftest.er1
14209 grep -v '^ *+' conftest.er1
>conftest.err
14211 cat conftest.err
>&5
14212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14213 (exit $ac_status); } && {
14214 test -z "$ac_c_werror_flag" ||
14215 test ! -s conftest.err
14216 } && test -s conftest
$ac_exeext &&
14217 $as_test_x conftest
$ac_exeext; then
14218 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
14220 echo "$as_me: failed program was:" >&5
14221 sed 's/^/| /' conftest.
$ac_ext >&5
14223 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
14226 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14227 conftest
$ac_exeext conftest.
$ac_ext
14228 LIBS
=$ac_check_lib_save_LIBS
14230 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14231 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14232 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14233 cat >conftest.
$ac_ext <<_ACEOF
14236 cat confdefs.h
>>conftest.
$ac_ext
14237 cat >>conftest.
$ac_ext <<_ACEOF
14238 /* end confdefs.h. */
14239 #ifdef HAVE_ALSA_ASOUNDLIB_H
14240 #include <alsa/asoundlib.h>
14241 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14242 #include <sys/asoundlib.h>
14247 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14252 rm -f conftest.
$ac_objext
14253 if { (ac_try
="$ac_compile"
14254 case "(($ac_try" in
14255 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14256 *) ac_try_echo=$ac_try;;
14258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14259 (eval "$ac_compile") 2>conftest.er1
14261 grep -v '^ *+' conftest.er1 >conftest.err
14263 cat conftest.err >&5
14264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 (exit $ac_status); } && {
14266 test -z "$ac_c_werror_flag" ||
14267 test ! -s conftest.err
14268 } && test -s conftest.$ac_objext; then
14270 cat >>confdefs.h <<\_ACEOF
14271 #define HAVE_ALSA 1
14274 ALSALIBS="-lasound"
14276 echo "$as_me: failed program was:" >&5
14277 sed 's/^/| /' conftest.$ac_ext >&5
14282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14289 if test "$ac_cv_header_libaudioio_h" = "yes"
14291 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14292 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14293 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14294 echo $ECHO_N "(cached) $ECHO_C" >&6
14296 ac_check_lib_save_LIBS=$LIBS
14297 LIBS="-laudioio $LIBS"
14298 cat >conftest.$ac_ext <<_ACEOF
14301 cat confdefs.h >>conftest.$ac_ext
14302 cat >>conftest.$ac_ext <<_ACEOF
14303 /* end confdefs.h. */
14305 /* Override any GCC internal prototype to avoid an error.
14306 Use char because int might match the return type of a GCC
14307 builtin and then its argument prototype would still apply. */
14311 char AudioIOGetVersion ();
14315 return AudioIOGetVersion ();
14320 rm -f conftest.$ac_objext conftest$ac_exeext
14321 if { (ac_try="$ac_link"
14322 case "(($ac_try" in
14323 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14324 *) ac_try_echo
=$ac_try;;
14326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14327 (eval "$ac_link") 2>conftest.er1
14329 grep -v '^ *+' conftest.er1
>conftest.err
14331 cat conftest.err
>&5
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 (exit $ac_status); } && {
14334 test -z "$ac_c_werror_flag" ||
14335 test ! -s conftest.err
14336 } && test -s conftest
$ac_exeext &&
14337 $as_test_x conftest
$ac_exeext; then
14338 ac_cv_lib_audioio_AudioIOGetVersion
=yes
14340 echo "$as_me: failed program was:" >&5
14341 sed 's/^/| /' conftest.
$ac_ext >&5
14343 ac_cv_lib_audioio_AudioIOGetVersion
=no
14346 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14347 conftest
$ac_exeext conftest.
$ac_ext
14348 LIBS
=$ac_check_lib_save_LIBS
14350 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14351 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14352 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14353 AUDIOIOLIBS
="-laudioio"
14355 cat >>confdefs.h
<<\_ACEOF
14356 #define HAVE_LIBAUDIOIO 1
14364 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14366 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14367 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14368 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14369 echo $ECHO_N "(cached) $ECHO_C" >&6
14371 ac_check_soname_save_LIBS
=$LIBS
14372 LIBS
="-lcapi20 $LIBS"
14373 cat >conftest.
$ac_ext <<_ACEOF
14376 cat confdefs.h
>>conftest.
$ac_ext
14377 cat >>conftest.
$ac_ext <<_ACEOF
14378 /* end confdefs.h. */
14380 /* Override any GCC internal prototype to avoid an error.
14381 Use char because int might match the return type of a GCC
14382 builtin and then its argument prototype would still apply. */
14386 char capi20_register ();
14390 return capi20_register ();
14395 rm -f conftest.
$ac_objext conftest
$ac_exeext
14396 if { (ac_try
="$ac_link"
14397 case "(($ac_try" in
14398 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14399 *) ac_try_echo=$ac_try;;
14401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14402 (eval "$ac_link") 2>conftest.er1
14404 grep -v '^ *+' conftest.er1 >conftest.err
14406 cat conftest.err >&5
14407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408 (exit $ac_status); } && {
14409 test -z "$ac_c_werror_flag" ||
14410 test ! -s conftest.err
14411 } && test -s conftest$ac_exeext &&
14412 $as_test_x conftest$ac_exeext; then
14415 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'` ;;
14416 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcapi20\\.$LIBEXT" |
sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14419 echo "$as_me: failed program was:" >&5
14420 sed 's/^/| /' conftest.$ac_ext >&5
14425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14426 conftest$ac_exeext conftest.$ac_ext
14427 LIBS=$ac_check_soname_save_LIBS
14429 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14430 { echo "$as_me:$LINENO: result: not found" >&5
14431 echo "${ECHO_T}not found" >&6; }
14434 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14435 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14437 cat >>confdefs.h <<_ACEOF
14438 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14445 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14446 wine_notices="$wine_notices|libcapi20 development files not found.
14447 Wine will be built without ISDN support. (capi2032.dll)"
14451 if test "$ac_cv_header_cups_cups_h" = "yes"
14453 { echo "$as_me:$LINENO: checking for -lcups" >&5
14454 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14455 if test "${ac_cv_lib_soname_cups+set}" = set; then
14456 echo $ECHO_N "(cached) $ECHO_C" >&6
14458 ac_check_soname_save_LIBS=$LIBS
14459 LIBS="-lcups $LIBS"
14460 cat >conftest.$ac_ext <<_ACEOF
14463 cat confdefs.h >>conftest.$ac_ext
14464 cat >>conftest.$ac_ext <<_ACEOF
14465 /* end confdefs.h. */
14467 /* Override any GCC internal prototype to avoid an error.
14468 Use char because int might match the return type of a GCC
14469 builtin and then its argument prototype would still apply. */
14473 char cupsGetDefault ();
14477 return cupsGetDefault ();
14482 rm -f conftest.$ac_objext conftest$ac_exeext
14483 if { (ac_try="$ac_link"
14484 case "(($ac_try" in
14485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14486 *) ac_try_echo
=$ac_try;;
14488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14489 (eval "$ac_link") 2>conftest.er1
14491 grep -v '^ *+' conftest.er1
>conftest.err
14493 cat conftest.err
>&5
14494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 (exit $ac_status); } && {
14496 test -z "$ac_c_werror_flag" ||
14497 test ! -s conftest.err
14498 } && test -s conftest
$ac_exeext &&
14499 $as_test_x conftest
$ac_exeext; then
14502 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'` ;;
14503 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14506 echo "$as_me: failed program was:" >&5
14507 sed 's/^/| /' conftest.
$ac_ext >&5
14512 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14513 conftest
$ac_exeext conftest.
$ac_ext
14514 LIBS
=$ac_check_soname_save_LIBS
14516 if test "x$ac_cv_lib_soname_cups" = "x"; then
14517 { echo "$as_me:$LINENO: result: not found" >&5
14518 echo "${ECHO_T}not found" >&6; }
14521 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14522 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14524 cat >>confdefs.h
<<_ACEOF
14525 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14532 if test "x$ac_cv_lib_soname_cups" = "x"; then
14533 wine_notices
="$wine_notices|libcups development files not found.
14534 Wine will be built without CUPS support."
14538 if test "$ac_cv_header_jack_jack_h" = "yes"
14540 { echo "$as_me:$LINENO: checking for -ljack" >&5
14541 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14542 if test "${ac_cv_lib_soname_jack+set}" = set; then
14543 echo $ECHO_N "(cached) $ECHO_C" >&6
14545 ac_check_soname_save_LIBS
=$LIBS
14546 LIBS
="-ljack $LIBS"
14547 cat >conftest.
$ac_ext <<_ACEOF
14550 cat confdefs.h
>>conftest.
$ac_ext
14551 cat >>conftest.
$ac_ext <<_ACEOF
14552 /* end confdefs.h. */
14554 /* Override any GCC internal prototype to avoid an error.
14555 Use char because int might match the return type of a GCC
14556 builtin and then its argument prototype would still apply. */
14560 char jack_client_new ();
14564 return jack_client_new ();
14569 rm -f conftest.
$ac_objext conftest
$ac_exeext
14570 if { (ac_try
="$ac_link"
14571 case "(($ac_try" in
14572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14573 *) ac_try_echo=$ac_try;;
14575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14576 (eval "$ac_link") 2>conftest.er1
14578 grep -v '^ *+' conftest.er1 >conftest.err
14580 cat conftest.err >&5
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 (exit $ac_status); } && {
14583 test -z "$ac_c_werror_flag" ||
14584 test ! -s conftest.err
14585 } && test -s conftest$ac_exeext &&
14586 $as_test_x conftest$ac_exeext; then
14589 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'` ;;
14590 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjack\\.$LIBEXT" |
sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14593 echo "$as_me: failed program was:" >&5
14594 sed 's/^/| /' conftest.$ac_ext >&5
14599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14600 conftest$ac_exeext conftest.$ac_ext
14601 LIBS=$ac_check_soname_save_LIBS
14603 if test "x$ac_cv_lib_soname_jack" = "x"; then
14604 { echo "$as_me:$LINENO: result: not found" >&5
14605 echo "${ECHO_T}not found" >&6; }
14608 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14609 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14611 cat >>confdefs.h <<_ACEOF
14612 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14620 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14622 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14623 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14624 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14625 echo $ECHO_N "(cached) $ECHO_C" >&6
14627 ac_check_soname_save_LIBS=$LIBS
14628 LIBS="-lfontconfig $LIBS"
14629 cat >conftest.$ac_ext <<_ACEOF
14632 cat confdefs.h >>conftest.$ac_ext
14633 cat >>conftest.$ac_ext <<_ACEOF
14634 /* end confdefs.h. */
14636 /* Override any GCC internal prototype to avoid an error.
14637 Use char because int might match the return type of a GCC
14638 builtin and then its argument prototype would still apply. */
14651 rm -f conftest.$ac_objext conftest$ac_exeext
14652 if { (ac_try="$ac_link"
14653 case "(($ac_try" in
14654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14655 *) ac_try_echo
=$ac_try;;
14657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14658 (eval "$ac_link") 2>conftest.er1
14660 grep -v '^ *+' conftest.er1
>conftest.err
14662 cat conftest.err
>&5
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); } && {
14665 test -z "$ac_c_werror_flag" ||
14666 test ! -s conftest.err
14667 } && test -s conftest
$ac_exeext &&
14668 $as_test_x conftest
$ac_exeext; then
14671 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'` ;;
14672 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14675 echo "$as_me: failed program was:" >&5
14676 sed 's/^/| /' conftest.
$ac_ext >&5
14681 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14682 conftest
$ac_exeext conftest.
$ac_ext
14683 LIBS
=$ac_check_soname_save_LIBS
14685 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14686 { echo "$as_me:$LINENO: result: not found" >&5
14687 echo "${ECHO_T}not found" >&6; }
14690 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14691 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14693 cat >>confdefs.h
<<_ACEOF
14694 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14700 elif test -n "$X_CFLAGS"
14702 ac_save_CPPFLAGS
="$CPPFLAGS"
14703 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14704 $as_unset ac_cv_header_fontconfig_fontconfig_h
14706 for ac_header
in fontconfig
/fontconfig.h
14708 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14709 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14710 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14712 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14713 echo $ECHO_N "(cached) $ECHO_C" >&6
14715 ac_res
=`eval echo '${'$as_ac_Header'}'`
14716 { echo "$as_me:$LINENO: result: $ac_res" >&5
14717 echo "${ECHO_T}$ac_res" >&6; }
14719 # Is the header compilable?
14720 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14721 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14722 cat >conftest.
$ac_ext <<_ACEOF
14725 cat confdefs.h
>>conftest.
$ac_ext
14726 cat >>conftest.
$ac_ext <<_ACEOF
14727 /* end confdefs.h. */
14728 $ac_includes_default
14729 #include <$ac_header>
14731 rm -f conftest.
$ac_objext
14732 if { (ac_try
="$ac_compile"
14733 case "(($ac_try" in
14734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14735 *) ac_try_echo=$ac_try;;
14737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14738 (eval "$ac_compile") 2>conftest.er1
14740 grep -v '^ *+' conftest.er1 >conftest.err
14742 cat conftest.err >&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); } && {
14745 test -z "$ac_c_werror_flag" ||
14746 test ! -s conftest.err
14747 } && test -s conftest.$ac_objext; then
14748 ac_header_compiler=yes
14750 echo "$as_me: failed program was:" >&5
14751 sed 's/^/| /' conftest.$ac_ext >&5
14753 ac_header_compiler=no
14756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14757 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14758 echo "${ECHO_T}$ac_header_compiler" >&6; }
14760 # Is the header present?
14761 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14762 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14763 cat >conftest.$ac_ext <<_ACEOF
14766 cat confdefs.h >>conftest.$ac_ext
14767 cat >>conftest.$ac_ext <<_ACEOF
14768 /* end confdefs.h. */
14769 #include <$ac_header>
14771 if { (ac_try="$ac_cpp conftest.$ac_ext"
14772 case "(($ac_try" in
14773 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14774 *) ac_try_echo
=$ac_try;;
14776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14777 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14779 grep -v '^ *+' conftest.er1
>conftest.err
14781 cat conftest.err
>&5
14782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14783 (exit $ac_status); } >/dev
/null
&& {
14784 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14785 test ! -s conftest.err
14787 ac_header_preproc
=yes
14789 echo "$as_me: failed program was:" >&5
14790 sed 's/^/| /' conftest.
$ac_ext >&5
14792 ac_header_preproc
=no
14795 rm -f conftest.err conftest.
$ac_ext
14796 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14797 echo "${ECHO_T}$ac_header_preproc" >&6; }
14799 # So? What about this header?
14800 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14802 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14803 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14805 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14806 ac_header_preproc
=yes
14809 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14810 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14811 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14812 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14813 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14814 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14815 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14816 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14818 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14819 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14820 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14822 ## ------------------------------------ ##
14823 ## Report this to wine-devel@winehq.org ##
14824 ## ------------------------------------ ##
14826 ) |
sed "s/^/$as_me: WARNING: /" >&2
14829 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14831 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14832 echo $ECHO_N "(cached) $ECHO_C" >&6
14834 eval "$as_ac_Header=\$ac_header_preproc"
14836 ac_res
=`eval echo '${'$as_ac_Header'}'`
14837 { echo "$as_me:$LINENO: result: $ac_res" >&5
14838 echo "${ECHO_T}$ac_res" >&6; }
14841 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14842 cat >>confdefs.h
<<_ACEOF
14843 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14850 CPPFLAGS
="$ac_save_CPPFLAGS"
14851 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14853 FONTCONFIGINCL
="$X_CFLAGS"
14855 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14856 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14857 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14858 echo $ECHO_N "(cached) $ECHO_C" >&6
14860 ac_check_soname_save_LIBS
=$LIBS
14861 LIBS
="-lfontconfig $X_LIBS $LIBS"
14862 cat >conftest.
$ac_ext <<_ACEOF
14865 cat confdefs.h
>>conftest.
$ac_ext
14866 cat >>conftest.
$ac_ext <<_ACEOF
14867 /* end confdefs.h. */
14869 /* Override any GCC internal prototype to avoid an error.
14870 Use char because int might match the return type of a GCC
14871 builtin and then its argument prototype would still apply. */
14884 rm -f conftest.
$ac_objext conftest
$ac_exeext
14885 if { (ac_try
="$ac_link"
14886 case "(($ac_try" in
14887 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14888 *) ac_try_echo=$ac_try;;
14890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14891 (eval "$ac_link") 2>conftest.er1
14893 grep -v '^ *+' conftest.er1 >conftest.err
14895 cat conftest.err >&5
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); } && {
14898 test -z "$ac_c_werror_flag" ||
14899 test ! -s conftest.err
14900 } && test -s conftest$ac_exeext &&
14901 $as_test_x conftest$ac_exeext; then
14904 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'` ;;
14905 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14908 echo "$as_me: failed program was:" >&5
14909 sed 's/^/| /' conftest.$ac_ext >&5
14914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14915 conftest$ac_exeext conftest.$ac_ext
14916 LIBS=$ac_check_soname_save_LIBS
14918 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14919 { echo "$as_me:$LINENO: result: not found" >&5
14920 echo "${ECHO_T}not found" >&6; }
14923 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14924 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14926 cat >>confdefs.h <<_ACEOF
14927 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14935 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14936 wine_notices="$wine_notices|fontconfig development files not found.
14937 Wine will be built without fontconfig support."
14941 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14943 { echo "$as_me:$LINENO: checking for -lssl" >&5
14944 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14945 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14946 echo $ECHO_N "(cached) $ECHO_C" >&6
14948 ac_check_soname_save_LIBS=$LIBS
14950 cat >conftest.$ac_ext <<_ACEOF
14953 cat confdefs.h >>conftest.$ac_ext
14954 cat >>conftest.$ac_ext <<_ACEOF
14955 /* end confdefs.h. */
14957 /* Override any GCC internal prototype to avoid an error.
14958 Use char because int might match the return type of a GCC
14959 builtin and then its argument prototype would still apply. */
14963 char SSL_library_init ();
14967 return SSL_library_init ();
14972 rm -f conftest.$ac_objext conftest$ac_exeext
14973 if { (ac_try="$ac_link"
14974 case "(($ac_try" in
14975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14976 *) ac_try_echo
=$ac_try;;
14978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14979 (eval "$ac_link") 2>conftest.er1
14981 grep -v '^ *+' conftest.er1
>conftest.err
14983 cat conftest.err
>&5
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); } && {
14986 test -z "$ac_c_werror_flag" ||
14987 test ! -s conftest.err
14988 } && test -s conftest
$ac_exeext &&
14989 $as_test_x conftest
$ac_exeext; then
14992 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'` ;;
14993 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14996 echo "$as_me: failed program was:" >&5
14997 sed 's/^/| /' conftest.
$ac_ext >&5
15002 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15003 conftest
$ac_exeext conftest.
$ac_ext
15004 LIBS
=$ac_check_soname_save_LIBS
15006 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15007 { echo "$as_me:$LINENO: result: not found" >&5
15008 echo "${ECHO_T}not found" >&6; }
15011 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15012 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15014 cat >>confdefs.h
<<_ACEOF
15015 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15021 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15022 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15023 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15024 echo $ECHO_N "(cached) $ECHO_C" >&6
15026 ac_check_soname_save_LIBS
=$LIBS
15027 LIBS
="-lcrypto $LIBS"
15028 cat >conftest.
$ac_ext <<_ACEOF
15031 cat confdefs.h
>>conftest.
$ac_ext
15032 cat >>conftest.
$ac_ext <<_ACEOF
15033 /* end confdefs.h. */
15035 /* Override any GCC internal prototype to avoid an error.
15036 Use char because int might match the return type of a GCC
15037 builtin and then its argument prototype would still apply. */
15041 char BIO_new_socket ();
15045 return BIO_new_socket ();
15050 rm -f conftest.
$ac_objext conftest
$ac_exeext
15051 if { (ac_try
="$ac_link"
15052 case "(($ac_try" in
15053 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15054 *) ac_try_echo=$ac_try;;
15056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15057 (eval "$ac_link") 2>conftest.er1
15059 grep -v '^ *+' conftest.er1 >conftest.err
15061 cat conftest.err >&5
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); } && {
15064 test -z "$ac_c_werror_flag" ||
15065 test ! -s conftest.err
15066 } && test -s conftest$ac_exeext &&
15067 $as_test_x conftest$ac_exeext; then
15070 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'` ;;
15071 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcrypto\\.$LIBEXT" |
sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15074 echo "$as_me: failed program was:" >&5
15075 sed 's/^/| /' conftest.$ac_ext >&5
15080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15081 conftest$ac_exeext conftest.$ac_ext
15082 LIBS=$ac_check_soname_save_LIBS
15084 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15085 { echo "$as_me:$LINENO: result: not found" >&5
15086 echo "${ECHO_T}not found" >&6; }
15089 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15090 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15092 cat >>confdefs.h <<_ACEOF
15093 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15100 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15101 wine_notices="$wine_notices|OpenSSL development files not found.
15102 Wine will be built without SSL support. (wininet.dll)"
15106 if test "$ac_cv_header_jpeglib_h" = "yes"
15108 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15109 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15110 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15111 echo $ECHO_N "(cached) $ECHO_C" >&6
15113 ac_check_soname_save_LIBS=$LIBS
15114 LIBS="-ljpeg $LIBS"
15115 cat >conftest.$ac_ext <<_ACEOF
15118 cat confdefs.h >>conftest.$ac_ext
15119 cat >>conftest.$ac_ext <<_ACEOF
15120 /* end confdefs.h. */
15122 /* Override any GCC internal prototype to avoid an error.
15123 Use char because int might match the return type of a GCC
15124 builtin and then its argument prototype would still apply. */
15128 char jpeg_start_decompress ();
15132 return jpeg_start_decompress ();
15137 rm -f conftest.$ac_objext conftest$ac_exeext
15138 if { (ac_try="$ac_link"
15139 case "(($ac_try" in
15140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15141 *) ac_try_echo
=$ac_try;;
15143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15144 (eval "$ac_link") 2>conftest.er1
15146 grep -v '^ *+' conftest.er1
>conftest.err
15148 cat conftest.err
>&5
15149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); } && {
15151 test -z "$ac_c_werror_flag" ||
15152 test ! -s conftest.err
15153 } && test -s conftest
$ac_exeext &&
15154 $as_test_x conftest
$ac_exeext; then
15157 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'` ;;
15158 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15161 echo "$as_me: failed program was:" >&5
15162 sed 's/^/| /' conftest.
$ac_ext >&5
15167 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15168 conftest
$ac_exeext conftest.
$ac_ext
15169 LIBS
=$ac_check_soname_save_LIBS
15171 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15172 { echo "$as_me:$LINENO: result: not found" >&5
15173 echo "${ECHO_T}not found" >&6; }
15176 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15177 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15179 cat >>confdefs.h
<<_ACEOF
15180 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15187 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15188 wine_notices
="$wine_notices|libjpeg development files not found.
15189 Wine will be built without JPEG support. (oleaut32.dll)"
15193 if test "$ac_cv_header_png_h" = "yes"
15195 { echo "$as_me:$LINENO: checking for -lpng" >&5
15196 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15197 if test "${ac_cv_lib_soname_png+set}" = set; then
15198 echo $ECHO_N "(cached) $ECHO_C" >&6
15200 ac_check_soname_save_LIBS
=$LIBS
15202 cat >conftest.
$ac_ext <<_ACEOF
15205 cat confdefs.h
>>conftest.
$ac_ext
15206 cat >>conftest.
$ac_ext <<_ACEOF
15207 /* end confdefs.h. */
15209 /* Override any GCC internal prototype to avoid an error.
15210 Use char because int might match the return type of a GCC
15211 builtin and then its argument prototype would still apply. */
15215 char png_create_read_struct ();
15219 return png_create_read_struct ();
15224 rm -f conftest.
$ac_objext conftest
$ac_exeext
15225 if { (ac_try
="$ac_link"
15226 case "(($ac_try" in
15227 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15228 *) ac_try_echo=$ac_try;;
15230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15231 (eval "$ac_link") 2>conftest.er1
15233 grep -v '^ *+' conftest.er1 >conftest.err
15235 cat conftest.err >&5
15236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15237 (exit $ac_status); } && {
15238 test -z "$ac_c_werror_flag" ||
15239 test ! -s conftest.err
15240 } && test -s conftest$ac_exeext &&
15241 $as_test_x conftest$ac_exeext; then
15244 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'` ;;
15245 *) 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'` ;;
15248 echo "$as_me: failed program was:" >&5
15249 sed 's/^/| /' conftest.$ac_ext >&5
15254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15255 conftest$ac_exeext conftest.$ac_ext
15256 LIBS=$ac_check_soname_save_LIBS
15258 if test "x$ac_cv_lib_soname_png" = "x"; then
15259 { echo "$as_me:$LINENO: result: not found" >&5
15260 echo "${ECHO_T}not found" >&6; }
15263 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15264 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15266 cat >>confdefs.h <<_ACEOF
15267 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15274 if test "x$ac_cv_lib_soname_png" = "x"; then
15275 wine_notices="$wine_notices|libpng development files not found.
15276 Wine will be built without PNG support. (oleaut32.dll)"
15280 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15281 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15282 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15283 "$ac_cv_header_soundcard_h" != "yes"; then
15284 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15291 if test "x${GCC}" = "xyes"
15293 EXTRACFLAGS="-Wall -pipe"
15295 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15296 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15297 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15298 echo $ECHO_N "(cached) $ECHO_C" >&6
15300 if test "$cross_compiling" = yes; then
15301 ac_cv_c_gcc_strength_bug="yes"
15303 cat >conftest.$ac_ext <<_ACEOF
15306 cat confdefs.h >>conftest.$ac_ext
15307 cat >>conftest.$ac_ext <<_ACEOF
15308 /* end confdefs.h. */
15309 int L[4] = {0,1,2,3};
15313 static int Array[3];
15314 unsigned int B = 3;
15316 for(i=0; i<B; i++) Array[i] = i - 3;
15317 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15319 exit( Array[1] != -2 || L[2] != 3)
15324 rm -f conftest$ac_exeext
15325 if { (ac_try="$ac_link"
15326 case "(($ac_try" in
15327 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15328 *) ac_try_echo
=$ac_try;;
15330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15331 (eval "$ac_link") 2>&5
15333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15334 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15335 { (case "(($ac_try" in
15336 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15337 *) ac_try_echo=$ac_try;;
15339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15340 (eval "$ac_try") 2>&5
15342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343 (exit $ac_status); }; }; then
15344 ac_cv_c_gcc_strength_bug="no"
15346 echo "$as_me: program exited with status $ac_status" >&5
15347 echo "$as_me: failed program was:" >&5
15348 sed 's/^/| /' conftest.$ac_ext >&5
15350 ( exit $ac_status )
15351 ac_cv_c_gcc_strength_bug="yes"
15353 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15358 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15359 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15360 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15362 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15366 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15367 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15368 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15369 echo $ECHO_N "(cached) $ECHO_C" >&6
15371 ac_wine_try_cflags_saved=$CFLAGS
15372 CFLAGS="$CFLAGS -fshort-wchar"
15373 cat >conftest.$ac_ext <<_ACEOF
15376 cat confdefs.h >>conftest.$ac_ext
15377 cat >>conftest.$ac_ext <<_ACEOF
15378 /* end confdefs.h. */
15388 rm -f conftest.$ac_objext conftest$ac_exeext
15389 if { (ac_try="$ac_link"
15390 case "(($ac_try" in
15391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15392 *) ac_try_echo
=$ac_try;;
15394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15395 (eval "$ac_link") 2>conftest.er1
15397 grep -v '^ *+' conftest.er1
>conftest.err
15399 cat conftest.err
>&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); } && {
15402 test -z "$ac_c_werror_flag" ||
15403 test ! -s conftest.err
15404 } && test -s conftest
$ac_exeext &&
15405 $as_test_x conftest
$ac_exeext; then
15406 ac_cv_cflags__fshort_wchar
=yes
15408 echo "$as_me: failed program was:" >&5
15409 sed 's/^/| /' conftest.
$ac_ext >&5
15411 ac_cv_cflags__fshort_wchar
=no
15414 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15415 conftest
$ac_exeext conftest.
$ac_ext
15416 CFLAGS
=$ac_wine_try_cflags_saved
15418 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15419 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15420 if test $ac_cv_cflags__fshort_wchar = yes; then
15422 cat >>confdefs.h
<<\_ACEOF
15423 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15428 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15429 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15430 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15431 echo $ECHO_N "(cached) $ECHO_C" >&6
15433 ac_wine_try_cflags_saved
=$CFLAGS
15434 CFLAGS
="$CFLAGS -fno-strict-aliasing"
15435 cat >conftest.
$ac_ext <<_ACEOF
15438 cat confdefs.h
>>conftest.
$ac_ext
15439 cat >>conftest.
$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15450 rm -f conftest.
$ac_objext conftest
$ac_exeext
15451 if { (ac_try
="$ac_link"
15452 case "(($ac_try" in
15453 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15454 *) ac_try_echo=$ac_try;;
15456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15457 (eval "$ac_link") 2>conftest.er1
15459 grep -v '^ *+' conftest.er1 >conftest.err
15461 cat conftest.err >&5
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); } && {
15464 test -z "$ac_c_werror_flag" ||
15465 test ! -s conftest.err
15466 } && test -s conftest$ac_exeext &&
15467 $as_test_x conftest$ac_exeext; then
15468 ac_cv_cflags__fno_strict_aliasing=yes
15470 echo "$as_me: failed program was:" >&5
15471 sed 's/^/| /' conftest.$ac_ext >&5
15473 ac_cv_cflags__fno_strict_aliasing=no
15476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15477 conftest$ac_exeext conftest.$ac_ext
15478 CFLAGS=$ac_wine_try_cflags_saved
15480 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15481 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15482 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15483 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15486 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15487 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15488 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15489 echo $ECHO_N "(cached) $ECHO_C" >&6
15491 ac_wine_try_cflags_saved=$CFLAGS
15492 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15493 cat >conftest.$ac_ext <<_ACEOF
15496 cat confdefs.h >>conftest.$ac_ext
15497 cat >>conftest.$ac_ext <<_ACEOF
15498 /* end confdefs.h. */
15508 rm -f conftest.$ac_objext conftest$ac_exeext
15509 if { (ac_try="$ac_link"
15510 case "(($ac_try" in
15511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15512 *) ac_try_echo
=$ac_try;;
15514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15515 (eval "$ac_link") 2>conftest.er1
15517 grep -v '^ *+' conftest.er1
>conftest.err
15519 cat conftest.err
>&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); } && {
15522 test -z "$ac_c_werror_flag" ||
15523 test ! -s conftest.err
15524 } && test -s conftest
$ac_exeext &&
15525 $as_test_x conftest
$ac_exeext; then
15526 ac_cv_cflags__Wdeclaration_after_statement
=yes
15528 echo "$as_me: failed program was:" >&5
15529 sed 's/^/| /' conftest.
$ac_ext >&5
15531 ac_cv_cflags__Wdeclaration_after_statement
=no
15534 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15535 conftest
$ac_exeext conftest.
$ac_ext
15536 CFLAGS
=$ac_wine_try_cflags_saved
15538 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15539 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15540 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15541 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
15544 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15545 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15546 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15547 echo $ECHO_N "(cached) $ECHO_C" >&6
15549 ac_wine_try_cflags_saved
=$CFLAGS
15550 CFLAGS
="$CFLAGS -Wwrite-strings"
15551 cat >conftest.
$ac_ext <<_ACEOF
15554 cat confdefs.h
>>conftest.
$ac_ext
15555 cat >>conftest.
$ac_ext <<_ACEOF
15556 /* end confdefs.h. */
15566 rm -f conftest.
$ac_objext conftest
$ac_exeext
15567 if { (ac_try
="$ac_link"
15568 case "(($ac_try" in
15569 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15570 *) ac_try_echo=$ac_try;;
15572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15573 (eval "$ac_link") 2>conftest.er1
15575 grep -v '^ *+' conftest.er1 >conftest.err
15577 cat conftest.err >&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } && {
15580 test -z "$ac_c_werror_flag" ||
15581 test ! -s conftest.err
15582 } && test -s conftest$ac_exeext &&
15583 $as_test_x conftest$ac_exeext; then
15584 ac_cv_cflags__Wwrite_strings=yes
15586 echo "$as_me: failed program was:" >&5
15587 sed 's/^/| /' conftest.$ac_ext >&5
15589 ac_cv_cflags__Wwrite_strings=no
15592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15593 conftest$ac_exeext conftest.$ac_ext
15594 CFLAGS=$ac_wine_try_cflags_saved
15596 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15597 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15598 if test $ac_cv_cflags__Wwrite_strings = yes; then
15599 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15603 saved_CFLAGS="$CFLAGS"
15604 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15605 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15606 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15607 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15608 echo $ECHO_N "(cached) $ECHO_C" >&6
15610 cat >conftest.$ac_ext <<_ACEOF
15613 cat confdefs.h >>conftest.$ac_ext
15614 cat >>conftest.$ac_ext <<_ACEOF
15615 /* end confdefs.h. */
15616 #include <string.h>
15625 rm -f conftest.$ac_objext
15626 if { (ac_try="$ac_compile"
15627 case "(($ac_try" in
15628 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15629 *) ac_try_echo
=$ac_try;;
15631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15632 (eval "$ac_compile") 2>conftest.er1
15634 grep -v '^ *+' conftest.er1
>conftest.err
15636 cat conftest.err
>&5
15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); } && {
15639 test -z "$ac_c_werror_flag" ||
15640 test ! -s conftest.err
15641 } && test -s conftest.
$ac_objext; then
15642 ac_cv_c_string_h_warnings
=no
15644 echo "$as_me: failed program was:" >&5
15645 sed 's/^/| /' conftest.
$ac_ext >&5
15647 ac_cv_c_string_h_warnings
=yes
15650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15652 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15653 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15654 CFLAGS
="$saved_CFLAGS"
15655 if test "$ac_cv_c_string_h_warnings" = "no"
15657 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
15662 saved_CFLAGS
="$CFLAGS"
15663 CFLAGS
="$CFLAGS -Werror"
15664 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15665 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15666 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15667 echo $ECHO_N "(cached) $ECHO_C" >&6
15669 cat >conftest.
$ac_ext <<_ACEOF
15672 cat confdefs.h
>>conftest.
$ac_ext
15673 cat >>conftest.
$ac_ext <<_ACEOF
15674 /* end confdefs.h. */
15679 int iswlower(unsigned short);
15684 rm -f conftest.
$ac_objext
15685 if { (ac_try
="$ac_compile"
15686 case "(($ac_try" in
15687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15688 *) ac_try_echo=$ac_try;;
15690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15691 (eval "$ac_compile") 2>conftest.er1
15693 grep -v '^ *+' conftest.er1 >conftest.err
15695 cat conftest.err >&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); } && {
15698 test -z "$ac_c_werror_flag" ||
15699 test ! -s conftest.err
15700 } && test -s conftest.$ac_objext; then
15701 ac_cv_c_builtin_wchar_ctype=no
15703 echo "$as_me: failed program was:" >&5
15704 sed 's/^/| /' conftest.$ac_ext >&5
15706 ac_cv_c_builtin_wchar_ctype=yes
15709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15711 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15712 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15713 CFLAGS="$saved_CFLAGS"
15714 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15716 BUILTINFLAG="-fno-builtin"
15721 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15722 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15723 if test "${ac_cv_asm_func_def+set}" = set; then
15724 echo $ECHO_N "(cached) $ECHO_C" >&6
15726 cat >conftest.$ac_ext <<_ACEOF
15729 cat confdefs.h >>conftest.$ac_ext
15730 cat >>conftest.$ac_ext <<_ACEOF
15731 /* end confdefs.h. */
15736 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15741 rm -f conftest.$ac_objext conftest$ac_exeext
15742 if { (ac_try="$ac_link"
15743 case "(($ac_try" in
15744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15745 *) ac_try_echo
=$ac_try;;
15747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15748 (eval "$ac_link") 2>conftest.er1
15750 grep -v '^ *+' conftest.er1
>conftest.err
15752 cat conftest.err
>&5
15753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754 (exit $ac_status); } && {
15755 test -z "$ac_c_werror_flag" ||
15756 test ! -s conftest.err
15757 } && test -s conftest
$ac_exeext &&
15758 $as_test_x conftest
$ac_exeext; then
15759 ac_cv_asm_func_def
=".def"
15761 echo "$as_me: failed program was:" >&5
15762 sed 's/^/| /' conftest.
$ac_ext >&5
15764 cat >conftest.
$ac_ext <<_ACEOF
15767 cat confdefs.h
>>conftest.
$ac_ext
15768 cat >>conftest.
$ac_ext <<_ACEOF
15769 /* end confdefs.h. */
15774 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15779 rm -f conftest.
$ac_objext conftest
$ac_exeext
15780 if { (ac_try
="$ac_link"
15781 case "(($ac_try" in
15782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15783 *) ac_try_echo=$ac_try;;
15785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15786 (eval "$ac_link") 2>conftest.er1
15788 grep -v '^ *+' conftest.er1 >conftest.err
15790 cat conftest.err >&5
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); } && {
15793 test -z "$ac_c_werror_flag" ||
15794 test ! -s conftest.err
15795 } && test -s conftest$ac_exeext &&
15796 $as_test_x conftest$ac_exeext; then
15797 ac_cv_asm_func_def=".type @function"
15799 echo "$as_me: failed program was:" >&5
15800 sed 's/^/| /' conftest.$ac_ext >&5
15802 cat >conftest.$ac_ext <<_ACEOF
15805 cat confdefs.h >>conftest.$ac_ext
15806 cat >>conftest.$ac_ext <<_ACEOF
15807 /* end confdefs.h. */
15812 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15817 rm -f conftest.$ac_objext conftest$ac_exeext
15818 if { (ac_try="$ac_link"
15819 case "(($ac_try" in
15820 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15821 *) ac_try_echo
=$ac_try;;
15823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15824 (eval "$ac_link") 2>conftest.er1
15826 grep -v '^ *+' conftest.er1
>conftest.err
15828 cat conftest.err
>&5
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); } && {
15831 test -z "$ac_c_werror_flag" ||
15832 test ! -s conftest.err
15833 } && test -s conftest
$ac_exeext &&
15834 $as_test_x conftest
$ac_exeext; then
15835 ac_cv_asm_func_def
=".type 2"
15837 echo "$as_me: failed program was:" >&5
15838 sed 's/^/| /' conftest.
$ac_ext >&5
15840 ac_cv_asm_func_def
="unknown"
15843 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15844 conftest
$ac_exeext conftest.
$ac_ext
15847 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15848 conftest
$ac_exeext conftest.
$ac_ext
15851 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15852 conftest
$ac_exeext conftest.
$ac_ext
15854 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15855 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15859 case "$ac_cv_asm_func_def" in
15861 cat >>confdefs.h
<<\_ACEOF
15862 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15866 cat >>confdefs.h
<<\_ACEOF
15867 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15871 cat >>confdefs.h
<<\_ACEOF
15872 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15876 cat >>confdefs.h
<<\_ACEOF
15877 #define __ASM_FUNC(name) ""
15883 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15884 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15885 if test "${ac_cv_c_extern_prefix+set}" = set; then
15886 echo $ECHO_N "(cached) $ECHO_C" >&6
15888 cat >conftest.
$ac_ext <<_ACEOF
15891 cat confdefs.h
>>conftest.
$ac_ext
15892 cat >>conftest.
$ac_ext <<_ACEOF
15893 /* end confdefs.h. */
15894 extern int ac_test;
15898 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15903 rm -f conftest.
$ac_objext conftest
$ac_exeext
15904 if { (ac_try
="$ac_link"
15905 case "(($ac_try" in
15906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15907 *) ac_try_echo=$ac_try;;
15909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15910 (eval "$ac_link") 2>conftest.er1
15912 grep -v '^ *+' conftest.er1 >conftest.err
15914 cat conftest.err >&5
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); } && {
15917 test -z "$ac_c_werror_flag" ||
15918 test ! -s conftest.err
15919 } && test -s conftest$ac_exeext &&
15920 $as_test_x conftest$ac_exeext; then
15921 ac_cv_c_extern_prefix="yes"
15923 echo "$as_me: failed program was:" >&5
15924 sed 's/^/| /' conftest.$ac_ext >&5
15926 ac_cv_c_extern_prefix="no"
15929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15930 conftest$ac_exeext conftest.$ac_ext
15932 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15933 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15937 if test "$ac_cv_c_extern_prefix" = "yes"
15939 cat >>confdefs.h <<\_ACEOF
15940 #define __ASM_NAME(name) "_" name
15944 cat >>confdefs.h <<\_ACEOF
15945 #define __ASM_NAME(name) name
15955 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15959 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15961 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15965 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15973 SOCKETLIBS="-lws2_32"
15978 MAIN_BINARY="wine-pthread"
15982 linux* | k*bsd*-gnu)
15983 MAIN_BINARY="wine-glibc"
15985 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15988 MAIN_BINARY="wine-freebsd"
15990 EXTRA_BINARIES="wine-pthread"
16128 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16129 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16131 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16132 echo $ECHO_N "(cached) $ECHO_C" >&6
16134 cat >conftest.$ac_ext <<_ACEOF
16137 cat confdefs.h >>conftest.$ac_ext
16138 cat >>conftest.$ac_ext <<_ACEOF
16139 /* end confdefs.h. */
16140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16142 #define $ac_func innocuous_$ac_func
16144 /* System header to define __stub macros and hopefully few prototypes,
16145 which can conflict with char $ac_func (); below.
16146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16147 <limits.h> exists even on freestanding compilers. */
16150 # include <limits.h>
16152 # include <assert.h>
16157 /* Override any GCC internal prototype to avoid an error.
16158 Use char because int might match the return type of a GCC
16159 builtin and then its argument prototype would still apply. */
16164 /* The GNU C library defines this for functions which it implements
16165 to always fail with ENOSYS. Some functions are actually named
16166 something starting with __ and the normal name is an alias. */
16167 #if defined __stub_$ac_func || defined __stub___$ac_func
16174 return $ac_func ();
16179 rm -f conftest.$ac_objext conftest$ac_exeext
16180 if { (ac_try="$ac_link"
16181 case "(($ac_try" in
16182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16183 *) ac_try_echo
=$ac_try;;
16185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16186 (eval "$ac_link") 2>conftest.er1
16188 grep -v '^ *+' conftest.er1
>conftest.err
16190 cat conftest.err
>&5
16191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16192 (exit $ac_status); } && {
16193 test -z "$ac_c_werror_flag" ||
16194 test ! -s conftest.err
16195 } && test -s conftest
$ac_exeext &&
16196 $as_test_x conftest
$ac_exeext; then
16197 eval "$as_ac_var=yes"
16199 echo "$as_me: failed program was:" >&5
16200 sed 's/^/| /' conftest.
$ac_ext >&5
16202 eval "$as_ac_var=no"
16205 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16206 conftest
$ac_exeext conftest.
$ac_ext
16208 ac_res
=`eval echo '${'$as_ac_var'}'`
16209 { echo "$as_me:$LINENO: result: $ac_res" >&5
16210 echo "${ECHO_T}$ac_res" >&6; }
16211 if test `eval echo '${'$as_ac_var'}'` = yes; then
16212 cat >>confdefs.h
<<_ACEOF
16213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16220 if test "$ac_cv_func_dlopen" = no
16222 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16223 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16224 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16225 echo $ECHO_N "(cached) $ECHO_C" >&6
16227 ac_check_lib_save_LIBS
=$LIBS
16229 cat >conftest.
$ac_ext <<_ACEOF
16232 cat confdefs.h
>>conftest.
$ac_ext
16233 cat >>conftest.
$ac_ext <<_ACEOF
16234 /* end confdefs.h. */
16236 /* Override any GCC internal prototype to avoid an error.
16237 Use char because int might match the return type of a GCC
16238 builtin and then its argument prototype would still apply. */
16251 rm -f conftest.
$ac_objext conftest
$ac_exeext
16252 if { (ac_try
="$ac_link"
16253 case "(($ac_try" in
16254 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16255 *) ac_try_echo=$ac_try;;
16257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16258 (eval "$ac_link") 2>conftest.er1
16260 grep -v '^ *+' conftest.er1 >conftest.err
16262 cat conftest.err >&5
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); } && {
16265 test -z "$ac_c_werror_flag" ||
16266 test ! -s conftest.err
16267 } && test -s conftest$ac_exeext &&
16268 $as_test_x conftest$ac_exeext; then
16269 ac_cv_lib_dl_dlopen=yes
16271 echo "$as_me: failed program was:" >&5
16272 sed 's/^/| /' conftest.$ac_ext >&5
16274 ac_cv_lib_dl_dlopen=no
16277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16278 conftest$ac_exeext conftest.$ac_ext
16279 LIBS=$ac_check_lib_save_LIBS
16281 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16282 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16283 if test $ac_cv_lib_dl_dlopen = yes; then
16284 cat >>confdefs.h <<\_ACEOF
16285 #define HAVE_DLOPEN 1
16292 ac_wine_check_funcs_save_LIBS="$LIBS"
16293 LIBS="$LIBS $LIBDL"
16295 for ac_func in dladdr
16297 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16298 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16300 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16303 cat >conftest.$ac_ext <<_ACEOF
16306 cat confdefs.h >>conftest.$ac_ext
16307 cat >>conftest.$ac_ext <<_ACEOF
16308 /* end confdefs.h. */
16309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16311 #define $ac_func innocuous_$ac_func
16313 /* System header to define __stub macros and hopefully few prototypes,
16314 which can conflict with char $ac_func (); below.
16315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16316 <limits.h> exists even on freestanding compilers. */
16319 # include <limits.h>
16321 # include <assert.h>
16326 /* Override any GCC internal prototype to avoid an error.
16327 Use char because int might match the return type of a GCC
16328 builtin and then its argument prototype would still apply. */
16333 /* The GNU C library defines this for functions which it implements
16334 to always fail with ENOSYS. Some functions are actually named
16335 something starting with __ and the normal name is an alias. */
16336 #if defined __stub_$ac_func || defined __stub___$ac_func
16343 return $ac_func ();
16348 rm -f conftest.$ac_objext conftest$ac_exeext
16349 if { (ac_try="$ac_link"
16350 case "(($ac_try" in
16351 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16352 *) ac_try_echo
=$ac_try;;
16354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16355 (eval "$ac_link") 2>conftest.er1
16357 grep -v '^ *+' conftest.er1
>conftest.err
16359 cat conftest.err
>&5
16360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361 (exit $ac_status); } && {
16362 test -z "$ac_c_werror_flag" ||
16363 test ! -s conftest.err
16364 } && test -s conftest
$ac_exeext &&
16365 $as_test_x conftest
$ac_exeext; then
16366 eval "$as_ac_var=yes"
16368 echo "$as_me: failed program was:" >&5
16369 sed 's/^/| /' conftest.
$ac_ext >&5
16371 eval "$as_ac_var=no"
16374 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16375 conftest
$ac_exeext conftest.
$ac_ext
16377 ac_res
=`eval echo '${'$as_ac_var'}'`
16378 { echo "$as_me:$LINENO: result: $ac_res" >&5
16379 echo "${ECHO_T}$ac_res" >&6; }
16380 if test `eval echo '${'$as_ac_var'}'` = yes; then
16381 cat >>confdefs.h
<<_ACEOF
16382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16388 LIBS
="$ac_wine_check_funcs_save_LIBS"
16390 if test "$ac_cv_func_poll" = no
16392 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16393 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16394 if test "${ac_cv_lib_poll_poll+set}" = set; then
16395 echo $ECHO_N "(cached) $ECHO_C" >&6
16397 ac_check_lib_save_LIBS
=$LIBS
16398 LIBS
="-lpoll $LIBS"
16399 cat >conftest.
$ac_ext <<_ACEOF
16402 cat confdefs.h
>>conftest.
$ac_ext
16403 cat >>conftest.
$ac_ext <<_ACEOF
16404 /* end confdefs.h. */
16406 /* Override any GCC internal prototype to avoid an error.
16407 Use char because int might match the return type of a GCC
16408 builtin and then its argument prototype would still apply. */
16421 rm -f conftest.
$ac_objext conftest
$ac_exeext
16422 if { (ac_try
="$ac_link"
16423 case "(($ac_try" in
16424 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16425 *) ac_try_echo=$ac_try;;
16427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16428 (eval "$ac_link") 2>conftest.er1
16430 grep -v '^ *+' conftest.er1 >conftest.err
16432 cat conftest.err >&5
16433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434 (exit $ac_status); } && {
16435 test -z "$ac_c_werror_flag" ||
16436 test ! -s conftest.err
16437 } && test -s conftest$ac_exeext &&
16438 $as_test_x conftest$ac_exeext; then
16439 ac_cv_lib_poll_poll=yes
16441 echo "$as_me: failed program was:" >&5
16442 sed 's/^/| /' conftest.$ac_ext >&5
16444 ac_cv_lib_poll_poll=no
16447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16448 conftest$ac_exeext conftest.$ac_ext
16449 LIBS=$ac_check_lib_save_LIBS
16451 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16452 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16453 if test $ac_cv_lib_poll_poll = yes; then
16454 cat >>confdefs.h <<\_ACEOF
16455 #define HAVE_POLL 1
16463 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16464 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16465 if test "${ac_cv_search_gethostbyname+set}" = set; then
16466 echo $ECHO_N "(cached) $ECHO_C" >&6
16468 ac_func_search_save_LIBS=$LIBS
16469 cat >conftest.$ac_ext <<_ACEOF
16472 cat confdefs.h >>conftest.$ac_ext
16473 cat >>conftest.$ac_ext <<_ACEOF
16474 /* end confdefs.h. */
16476 /* Override any GCC internal prototype to avoid an error.
16477 Use char because int might match the return type of a GCC
16478 builtin and then its argument prototype would still apply. */
16482 char gethostbyname ();
16486 return gethostbyname ();
16491 for ac_lib in '' nsl; do
16492 if test -z "$ac_lib"; then
16493 ac_res="none required"
16496 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16498 rm -f conftest.$ac_objext conftest$ac_exeext
16499 if { (ac_try="$ac_link"
16500 case "(($ac_try" in
16501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16502 *) ac_try_echo
=$ac_try;;
16504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16505 (eval "$ac_link") 2>conftest.er1
16507 grep -v '^ *+' conftest.er1
>conftest.err
16509 cat conftest.err
>&5
16510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511 (exit $ac_status); } && {
16512 test -z "$ac_c_werror_flag" ||
16513 test ! -s conftest.err
16514 } && test -s conftest
$ac_exeext &&
16515 $as_test_x conftest
$ac_exeext; then
16516 ac_cv_search_gethostbyname
=$ac_res
16518 echo "$as_me: failed program was:" >&5
16519 sed 's/^/| /' conftest.
$ac_ext >&5
16524 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16526 if test "${ac_cv_search_gethostbyname+set}" = set; then
16530 if test "${ac_cv_search_gethostbyname+set}" = set; then
16533 ac_cv_search_gethostbyname
=no
16535 rm conftest.
$ac_ext
16536 LIBS
=$ac_func_search_save_LIBS
16538 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16539 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16540 ac_res
=$ac_cv_search_gethostbyname
16541 if test "$ac_res" != no
; then
16542 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16547 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16548 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16549 if test "${ac_cv_search_connect+set}" = set; then
16550 echo $ECHO_N "(cached) $ECHO_C" >&6
16552 ac_func_search_save_LIBS
=$LIBS
16553 cat >conftest.
$ac_ext <<_ACEOF
16556 cat confdefs.h
>>conftest.
$ac_ext
16557 cat >>conftest.
$ac_ext <<_ACEOF
16558 /* end confdefs.h. */
16560 /* Override any GCC internal prototype to avoid an error.
16561 Use char because int might match the return type of a GCC
16562 builtin and then its argument prototype would still apply. */
16575 for ac_lib
in '' socket
; do
16576 if test -z "$ac_lib"; then
16577 ac_res
="none required"
16580 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16582 rm -f conftest.
$ac_objext conftest
$ac_exeext
16583 if { (ac_try
="$ac_link"
16584 case "(($ac_try" in
16585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16586 *) ac_try_echo=$ac_try;;
16588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16589 (eval "$ac_link") 2>conftest.er1
16591 grep -v '^ *+' conftest.er1 >conftest.err
16593 cat conftest.err >&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); } && {
16596 test -z "$ac_c_werror_flag" ||
16597 test ! -s conftest.err
16598 } && test -s conftest$ac_exeext &&
16599 $as_test_x conftest$ac_exeext; then
16600 ac_cv_search_connect=$ac_res
16602 echo "$as_me: failed program was:" >&5
16603 sed 's/^/| /' conftest.$ac_ext >&5
16608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16610 if test "${ac_cv_search_connect+set}" = set; then
16614 if test "${ac_cv_search_connect+set}" = set; then
16617 ac_cv_search_connect=no
16619 rm conftest.$ac_ext
16620 LIBS=$ac_func_search_save_LIBS
16622 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16623 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16624 ac_res=$ac_cv_search_connect
16625 if test "$ac_res" != no; then
16626 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16631 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16632 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16633 if test "${ac_cv_search_inet_aton+set}" = set; then
16634 echo $ECHO_N "(cached) $ECHO_C" >&6
16636 ac_func_search_save_LIBS=$LIBS
16637 cat >conftest.$ac_ext <<_ACEOF
16640 cat confdefs.h >>conftest.$ac_ext
16641 cat >>conftest.$ac_ext <<_ACEOF
16642 /* end confdefs.h. */
16644 /* Override any GCC internal prototype to avoid an error.
16645 Use char because int might match the return type of a GCC
16646 builtin and then its argument prototype would still apply. */
16654 return inet_aton ();
16659 for ac_lib in '' resolv; do
16660 if test -z "$ac_lib"; then
16661 ac_res="none required"
16664 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16666 rm -f conftest.$ac_objext conftest$ac_exeext
16667 if { (ac_try="$ac_link"
16668 case "(($ac_try" in
16669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16670 *) ac_try_echo
=$ac_try;;
16672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16673 (eval "$ac_link") 2>conftest.er1
16675 grep -v '^ *+' conftest.er1
>conftest.err
16677 cat conftest.err
>&5
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); } && {
16680 test -z "$ac_c_werror_flag" ||
16681 test ! -s conftest.err
16682 } && test -s conftest
$ac_exeext &&
16683 $as_test_x conftest
$ac_exeext; then
16684 ac_cv_search_inet_aton
=$ac_res
16686 echo "$as_me: failed program was:" >&5
16687 sed 's/^/| /' conftest.
$ac_ext >&5
16692 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16694 if test "${ac_cv_search_inet_aton+set}" = set; then
16698 if test "${ac_cv_search_inet_aton+set}" = set; then
16701 ac_cv_search_inet_aton
=no
16703 rm conftest.
$ac_ext
16704 LIBS
=$ac_func_search_save_LIBS
16706 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16707 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16708 ac_res
=$ac_cv_search_inet_aton
16709 if test "$ac_res" != no
; then
16710 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16734 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16735 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16737 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16738 echo $ECHO_N "(cached) $ECHO_C" >&6
16740 cat >conftest.
$ac_ext <<_ACEOF
16743 cat confdefs.h
>>conftest.
$ac_ext
16744 cat >>conftest.
$ac_ext <<_ACEOF
16745 /* end confdefs.h. */
16746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16748 #define $ac_func innocuous_$ac_func
16750 /* System header to define __stub macros and hopefully few prototypes,
16751 which can conflict with char $ac_func (); below.
16752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16753 <limits.h> exists even on freestanding compilers. */
16756 # include <limits.h>
16758 # include <assert.h>
16763 /* Override any GCC internal prototype to avoid an error.
16764 Use char because int might match the return type of a GCC
16765 builtin and then its argument prototype would still apply. */
16770 /* The GNU C library defines this for functions which it implements
16771 to always fail with ENOSYS. Some functions are actually named
16772 something starting with __ and the normal name is an alias. */
16773 #if defined __stub_$ac_func || defined __stub___$ac_func
16780 return $ac_func ();
16785 rm -f conftest.
$ac_objext conftest
$ac_exeext
16786 if { (ac_try
="$ac_link"
16787 case "(($ac_try" in
16788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16789 *) ac_try_echo=$ac_try;;
16791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16792 (eval "$ac_link") 2>conftest.er1
16794 grep -v '^ *+' conftest.er1 >conftest.err
16796 cat conftest.err >&5
16797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798 (exit $ac_status); } && {
16799 test -z "$ac_c_werror_flag" ||
16800 test ! -s conftest.err
16801 } && test -s conftest$ac_exeext &&
16802 $as_test_x conftest$ac_exeext; then
16803 eval "$as_ac_var=yes"
16805 echo "$as_me: failed program was:" >&5
16806 sed 's/^/| /' conftest.$ac_ext >&5
16808 eval "$as_ac_var=no"
16811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16812 conftest$ac_exeext conftest.$ac_ext
16814 ac_res=`eval echo '${'$as_ac_var'}'`
16815 { echo "$as_me:$LINENO: result: $ac_res" >&5
16816 echo "${ECHO_T}$ac_res" >&6; }
16817 if test `eval echo '${'$as_ac_var'}'` = yes; then
16818 cat >>confdefs.h <<_ACEOF
16819 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16827 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16828 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16829 if test "${ac_cv_c_const+set}" = set; then
16830 echo $ECHO_N "(cached) $ECHO_C" >&6
16832 cat >conftest.$ac_ext <<_ACEOF
16835 cat confdefs.h >>conftest.$ac_ext
16836 cat >>conftest.$ac_ext <<_ACEOF
16837 /* end confdefs.h. */
16842 /* FIXME: Include the comments suggested by Paul. */
16843 #ifndef __cplusplus
16844 /* Ultrix mips cc rejects this. */
16845 typedef int charset[2];
16847 /* SunOS 4.1.1 cc rejects this. */
16848 char const *const *pcpcc;
16850 /* NEC SVR4.0.2 mips cc rejects this. */
16851 struct point {int x, y;};
16852 static struct point const zero = {0,0};
16853 /* AIX XL C 1.02.0.0 rejects this.
16854 It does not let you subtract one const X* pointer from another in
16855 an arm of an if-expression whose if-part is not a constant
16857 const char *g = "string";
16858 pcpcc = &g + (g ? g-g : 0);
16859 /* HPUX 7.0 cc rejects these. */
16861 ppc = (char**) pcpcc;
16862 pcpcc = (char const *const *) ppc;
16863 { /* SCO 3.2v4 cc rejects this. */
16865 char const *s = 0 ? (char *) 0 : (char const *) 0;
16870 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16871 int x[] = {25, 17};
16872 const int *foo = &x[0];
16875 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16876 typedef const int *iptr;
16880 { /* AIX XL C 1.02.0.0 rejects this saying
16881 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16882 struct s { int j; const int *ap[3]; };
16883 struct s *b; b->j = 5;
16885 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16886 const int foo = 10;
16887 if (!foo) return 0;
16889 return !cs[0] && !zero.x;
16896 rm -f conftest.$ac_objext
16897 if { (ac_try="$ac_compile"
16898 case "(($ac_try" in
16899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16900 *) ac_try_echo
=$ac_try;;
16902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16903 (eval "$ac_compile") 2>conftest.er1
16905 grep -v '^ *+' conftest.er1
>conftest.err
16907 cat conftest.err
>&5
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 (exit $ac_status); } && {
16910 test -z "$ac_c_werror_flag" ||
16911 test ! -s conftest.err
16912 } && test -s conftest.
$ac_objext; then
16915 echo "$as_me: failed program was:" >&5
16916 sed 's/^/| /' conftest.
$ac_ext >&5
16921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16923 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16924 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16925 if test $ac_cv_c_const = no
; then
16927 cat >>confdefs.h
<<\_ACEOF
16933 { echo "$as_me:$LINENO: checking for inline" >&5
16934 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16935 if test "${ac_cv_c_inline+set}" = set; then
16936 echo $ECHO_N "(cached) $ECHO_C" >&6
16939 for ac_kw
in inline __inline__ __inline
; do
16940 cat >conftest.
$ac_ext <<_ACEOF
16943 cat confdefs.h
>>conftest.
$ac_ext
16944 cat >>conftest.
$ac_ext <<_ACEOF
16945 /* end confdefs.h. */
16946 #ifndef __cplusplus
16948 static $ac_kw foo_t static_foo () {return 0; }
16949 $ac_kw foo_t foo () {return 0; }
16953 rm -f conftest.
$ac_objext
16954 if { (ac_try
="$ac_compile"
16955 case "(($ac_try" in
16956 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16957 *) ac_try_echo=$ac_try;;
16959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16960 (eval "$ac_compile") 2>conftest.er1
16962 grep -v '^ *+' conftest.er1 >conftest.err
16964 cat conftest.err >&5
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); } && {
16967 test -z "$ac_c_werror_flag" ||
16968 test ! -s conftest.err
16969 } && test -s conftest.$ac_objext; then
16970 ac_cv_c_inline=$ac_kw
16972 echo "$as_me: failed program was:" >&5
16973 sed 's/^/| /' conftest.$ac_ext >&5
16978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16979 test "$ac_cv_c_inline" != no && break
16983 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16984 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16987 case $ac_cv_c_inline in
16990 case $ac_cv_c_inline in
16992 *) ac_val=$ac_cv_c_inline;;
16994 cat >>confdefs.h <<_ACEOF
16995 #ifndef __cplusplus
16996 #define inline $ac_val
17002 { echo "$as_me:$LINENO: checking for mode_t" >&5
17003 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17004 if test "${ac_cv_type_mode_t+set}" = set; then
17005 echo $ECHO_N "(cached) $ECHO_C" >&6
17007 cat >conftest.$ac_ext <<_ACEOF
17010 cat confdefs.h >>conftest.$ac_ext
17011 cat >>conftest.$ac_ext <<_ACEOF
17012 /* end confdefs.h. */
17013 $ac_includes_default
17014 typedef mode_t ac__type_new_;
17018 if ((ac__type_new_ *) 0)
17020 if (sizeof (ac__type_new_))
17026 rm -f conftest.$ac_objext
17027 if { (ac_try="$ac_compile"
17028 case "(($ac_try" in
17029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17030 *) ac_try_echo
=$ac_try;;
17032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17033 (eval "$ac_compile") 2>conftest.er1
17035 grep -v '^ *+' conftest.er1
>conftest.err
17037 cat conftest.err
>&5
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); } && {
17040 test -z "$ac_c_werror_flag" ||
17041 test ! -s conftest.err
17042 } && test -s conftest.
$ac_objext; then
17043 ac_cv_type_mode_t
=yes
17045 echo "$as_me: failed program was:" >&5
17046 sed 's/^/| /' conftest.
$ac_ext >&5
17048 ac_cv_type_mode_t
=no
17051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17053 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17054 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17055 if test $ac_cv_type_mode_t = yes; then
17057 cat >>confdefs.h
<<_ACEOF
17058 #define HAVE_MODE_T 1
17063 { echo "$as_me:$LINENO: checking for off_t" >&5
17064 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17065 if test "${ac_cv_type_off_t+set}" = set; then
17066 echo $ECHO_N "(cached) $ECHO_C" >&6
17068 cat >conftest.
$ac_ext <<_ACEOF
17071 cat confdefs.h
>>conftest.
$ac_ext
17072 cat >>conftest.
$ac_ext <<_ACEOF
17073 /* end confdefs.h. */
17074 $ac_includes_default
17075 typedef off_t ac__type_new_;
17079 if ((ac__type_new_ *) 0)
17081 if (sizeof (ac__type_new_))
17087 rm -f conftest.
$ac_objext
17088 if { (ac_try
="$ac_compile"
17089 case "(($ac_try" in
17090 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17091 *) ac_try_echo=$ac_try;;
17093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17094 (eval "$ac_compile") 2>conftest.er1
17096 grep -v '^ *+' conftest.er1 >conftest.err
17098 cat conftest.err >&5
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); } && {
17101 test -z "$ac_c_werror_flag" ||
17102 test ! -s conftest.err
17103 } && test -s conftest.$ac_objext; then
17104 ac_cv_type_off_t=yes
17106 echo "$as_me: failed program was:" >&5
17107 sed 's/^/| /' conftest.$ac_ext >&5
17109 ac_cv_type_off_t=no
17112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17114 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17115 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17116 if test $ac_cv_type_off_t = yes; then
17118 cat >>confdefs.h <<_ACEOF
17119 #define HAVE_OFF_T 1
17124 { echo "$as_me:$LINENO: checking for pid_t" >&5
17125 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17126 if test "${ac_cv_type_pid_t+set}" = set; then
17127 echo $ECHO_N "(cached) $ECHO_C" >&6
17129 cat >conftest.$ac_ext <<_ACEOF
17132 cat confdefs.h >>conftest.$ac_ext
17133 cat >>conftest.$ac_ext <<_ACEOF
17134 /* end confdefs.h. */
17135 $ac_includes_default
17136 typedef pid_t ac__type_new_;
17140 if ((ac__type_new_ *) 0)
17142 if (sizeof (ac__type_new_))
17148 rm -f conftest.$ac_objext
17149 if { (ac_try="$ac_compile"
17150 case "(($ac_try" in
17151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17152 *) ac_try_echo
=$ac_try;;
17154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17155 (eval "$ac_compile") 2>conftest.er1
17157 grep -v '^ *+' conftest.er1
>conftest.err
17159 cat conftest.err
>&5
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); } && {
17162 test -z "$ac_c_werror_flag" ||
17163 test ! -s conftest.err
17164 } && test -s conftest.
$ac_objext; then
17165 ac_cv_type_pid_t
=yes
17167 echo "$as_me: failed program was:" >&5
17168 sed 's/^/| /' conftest.
$ac_ext >&5
17170 ac_cv_type_pid_t
=no
17173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17175 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17176 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17177 if test $ac_cv_type_pid_t = yes; then
17179 cat >>confdefs.h
<<_ACEOF
17180 #define HAVE_PID_T 1
17185 { echo "$as_me:$LINENO: checking for size_t" >&5
17186 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17187 if test "${ac_cv_type_size_t+set}" = set; then
17188 echo $ECHO_N "(cached) $ECHO_C" >&6
17190 cat >conftest.
$ac_ext <<_ACEOF
17193 cat confdefs.h
>>conftest.
$ac_ext
17194 cat >>conftest.
$ac_ext <<_ACEOF
17195 /* end confdefs.h. */
17196 $ac_includes_default
17197 typedef size_t ac__type_new_;
17201 if ((ac__type_new_ *) 0)
17203 if (sizeof (ac__type_new_))
17209 rm -f conftest.
$ac_objext
17210 if { (ac_try
="$ac_compile"
17211 case "(($ac_try" in
17212 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17213 *) ac_try_echo=$ac_try;;
17215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17216 (eval "$ac_compile") 2>conftest.er1
17218 grep -v '^ *+' conftest.er1 >conftest.err
17220 cat conftest.err >&5
17221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17222 (exit $ac_status); } && {
17223 test -z "$ac_c_werror_flag" ||
17224 test ! -s conftest.err
17225 } && test -s conftest.$ac_objext; then
17226 ac_cv_type_size_t=yes
17228 echo "$as_me: failed program was:" >&5
17229 sed 's/^/| /' conftest.$ac_ext >&5
17231 ac_cv_type_size_t=no
17234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17236 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17237 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17238 if test $ac_cv_type_size_t = yes; then
17240 cat >>confdefs.h <<_ACEOF
17241 #define HAVE_SIZE_T 1
17246 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17247 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17248 if test "${ac_cv_type_ssize_t+set}" = set; then
17249 echo $ECHO_N "(cached) $ECHO_C" >&6
17251 cat >conftest.$ac_ext <<_ACEOF
17254 cat confdefs.h >>conftest.$ac_ext
17255 cat >>conftest.$ac_ext <<_ACEOF
17256 /* end confdefs.h. */
17257 $ac_includes_default
17258 typedef ssize_t ac__type_new_;
17262 if ((ac__type_new_ *) 0)
17264 if (sizeof (ac__type_new_))
17270 rm -f conftest.$ac_objext
17271 if { (ac_try="$ac_compile"
17272 case "(($ac_try" in
17273 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17274 *) ac_try_echo
=$ac_try;;
17276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17277 (eval "$ac_compile") 2>conftest.er1
17279 grep -v '^ *+' conftest.er1
>conftest.err
17281 cat conftest.err
>&5
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); } && {
17284 test -z "$ac_c_werror_flag" ||
17285 test ! -s conftest.err
17286 } && test -s conftest.
$ac_objext; then
17287 ac_cv_type_ssize_t
=yes
17289 echo "$as_me: failed program was:" >&5
17290 sed 's/^/| /' conftest.
$ac_ext >&5
17292 ac_cv_type_ssize_t
=no
17295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17297 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17298 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17299 if test $ac_cv_type_ssize_t = yes; then
17301 cat >>confdefs.h
<<_ACEOF
17302 #define HAVE_SSIZE_T 1
17307 { echo "$as_me:$LINENO: checking for long long" >&5
17308 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17309 if test "${ac_cv_type_long_long+set}" = set; then
17310 echo $ECHO_N "(cached) $ECHO_C" >&6
17312 cat >conftest.
$ac_ext <<_ACEOF
17315 cat confdefs.h
>>conftest.
$ac_ext
17316 cat >>conftest.
$ac_ext <<_ACEOF
17317 /* end confdefs.h. */
17318 $ac_includes_default
17319 typedef long long ac__type_new_;
17323 if ((ac__type_new_ *) 0)
17325 if (sizeof (ac__type_new_))
17331 rm -f conftest.
$ac_objext
17332 if { (ac_try
="$ac_compile"
17333 case "(($ac_try" in
17334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17335 *) ac_try_echo=$ac_try;;
17337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17338 (eval "$ac_compile") 2>conftest.er1
17340 grep -v '^ *+' conftest.er1 >conftest.err
17342 cat conftest.err >&5
17343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); } && {
17345 test -z "$ac_c_werror_flag" ||
17346 test ! -s conftest.err
17347 } && test -s conftest.$ac_objext; then
17348 ac_cv_type_long_long=yes
17350 echo "$as_me: failed program was:" >&5
17351 sed 's/^/| /' conftest.$ac_ext >&5
17353 ac_cv_type_long_long=no
17356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17358 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17359 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17360 if test $ac_cv_type_long_long = yes; then
17362 cat >>confdefs.h <<_ACEOF
17363 #define HAVE_LONG_LONG 1
17368 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17369 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17370 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17371 echo $ECHO_N "(cached) $ECHO_C" >&6
17373 cat >conftest.$ac_ext <<_ACEOF
17376 cat confdefs.h >>conftest.$ac_ext
17377 cat >>conftest.$ac_ext <<_ACEOF
17378 /* end confdefs.h. */
17379 $ac_includes_default
17380 typedef fsblkcnt_t ac__type_new_;
17384 if ((ac__type_new_ *) 0)
17386 if (sizeof (ac__type_new_))
17392 rm -f conftest.$ac_objext
17393 if { (ac_try="$ac_compile"
17394 case "(($ac_try" in
17395 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17396 *) ac_try_echo
=$ac_try;;
17398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17399 (eval "$ac_compile") 2>conftest.er1
17401 grep -v '^ *+' conftest.er1
>conftest.err
17403 cat conftest.err
>&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } && {
17406 test -z "$ac_c_werror_flag" ||
17407 test ! -s conftest.err
17408 } && test -s conftest.
$ac_objext; then
17409 ac_cv_type_fsblkcnt_t
=yes
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.
$ac_ext >&5
17414 ac_cv_type_fsblkcnt_t
=no
17417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17419 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17420 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17421 if test $ac_cv_type_fsblkcnt_t = yes; then
17423 cat >>confdefs.h
<<_ACEOF
17424 #define HAVE_FSBLKCNT_T 1
17429 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17430 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17431 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17432 echo $ECHO_N "(cached) $ECHO_C" >&6
17434 cat >conftest.
$ac_ext <<_ACEOF
17437 cat confdefs.h
>>conftest.
$ac_ext
17438 cat >>conftest.
$ac_ext <<_ACEOF
17439 /* end confdefs.h. */
17440 $ac_includes_default
17441 typedef fsfilcnt_t ac__type_new_;
17445 if ((ac__type_new_ *) 0)
17447 if (sizeof (ac__type_new_))
17453 rm -f conftest.
$ac_objext
17454 if { (ac_try
="$ac_compile"
17455 case "(($ac_try" in
17456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17457 *) ac_try_echo=$ac_try;;
17459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17460 (eval "$ac_compile") 2>conftest.er1
17462 grep -v '^ *+' conftest.er1 >conftest.err
17464 cat conftest.err >&5
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); } && {
17467 test -z "$ac_c_werror_flag" ||
17468 test ! -s conftest.err
17469 } && test -s conftest.$ac_objext; then
17470 ac_cv_type_fsfilcnt_t=yes
17472 echo "$as_me: failed program was:" >&5
17473 sed 's/^/| /' conftest.$ac_ext >&5
17475 ac_cv_type_fsfilcnt_t=no
17478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17480 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17481 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17482 if test $ac_cv_type_fsfilcnt_t = yes; then
17484 cat >>confdefs.h <<_ACEOF
17485 #define HAVE_FSFILCNT_T 1
17491 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17492 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17493 if test "${ac_cv_type_sigset_t+set}" = set; then
17494 echo $ECHO_N "(cached) $ECHO_C" >&6
17496 cat >conftest.$ac_ext <<_ACEOF
17499 cat confdefs.h >>conftest.$ac_ext
17500 cat >>conftest.$ac_ext <<_ACEOF
17501 /* end confdefs.h. */
17502 #include <signal.h>
17504 typedef sigset_t ac__type_new_;
17508 if ((ac__type_new_ *) 0)
17510 if (sizeof (ac__type_new_))
17516 rm -f conftest.$ac_objext
17517 if { (ac_try="$ac_compile"
17518 case "(($ac_try" in
17519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17520 *) ac_try_echo
=$ac_try;;
17522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17523 (eval "$ac_compile") 2>conftest.er1
17525 grep -v '^ *+' conftest.er1
>conftest.err
17527 cat conftest.err
>&5
17528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); } && {
17530 test -z "$ac_c_werror_flag" ||
17531 test ! -s conftest.err
17532 } && test -s conftest.
$ac_objext; then
17533 ac_cv_type_sigset_t
=yes
17535 echo "$as_me: failed program was:" >&5
17536 sed 's/^/| /' conftest.
$ac_ext >&5
17538 ac_cv_type_sigset_t
=no
17541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17543 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17544 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17545 if test $ac_cv_type_sigset_t = yes; then
17547 cat >>confdefs.h
<<_ACEOF
17548 #define HAVE_SIGSET_T 1
17554 { echo "$as_me:$LINENO: checking for request_sense" >&5
17555 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17556 if test "${ac_cv_type_request_sense+set}" = set; then
17557 echo $ECHO_N "(cached) $ECHO_C" >&6
17559 cat >conftest.
$ac_ext <<_ACEOF
17562 cat confdefs.h
>>conftest.
$ac_ext
17563 cat >>conftest.
$ac_ext <<_ACEOF
17564 /* end confdefs.h. */
17565 #include <linux/cdrom.h>
17567 typedef request_sense ac__type_new_;
17571 if ((ac__type_new_ *) 0)
17573 if (sizeof (ac__type_new_))
17579 rm -f conftest.
$ac_objext
17580 if { (ac_try
="$ac_compile"
17581 case "(($ac_try" in
17582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17583 *) ac_try_echo=$ac_try;;
17585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17586 (eval "$ac_compile") 2>conftest.er1
17588 grep -v '^ *+' conftest.er1 >conftest.err
17590 cat conftest.err >&5
17591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592 (exit $ac_status); } && {
17593 test -z "$ac_c_werror_flag" ||
17594 test ! -s conftest.err
17595 } && test -s conftest.$ac_objext; then
17596 ac_cv_type_request_sense=yes
17598 echo "$as_me: failed program was:" >&5
17599 sed 's/^/| /' conftest.$ac_ext >&5
17601 ac_cv_type_request_sense=no
17604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17606 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17607 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17608 if test $ac_cv_type_request_sense = yes; then
17610 cat >>confdefs.h <<_ACEOF
17611 #define HAVE_REQUEST_SENSE 1
17618 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17619 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17620 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17621 echo $ECHO_N "(cached) $ECHO_C" >&6
17623 cat >conftest.$ac_ext <<_ACEOF
17626 cat confdefs.h >>conftest.$ac_ext
17627 cat >>conftest.$ac_ext <<_ACEOF
17628 /* end confdefs.h. */
17629 #ifdef HAVE_LINUX_INPUT_H
17630 #include <linux/input.h>
17636 static struct ff_effect ac_aggr;
17637 if (ac_aggr.direction)
17643 rm -f conftest.$ac_objext
17644 if { (ac_try="$ac_compile"
17645 case "(($ac_try" in
17646 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17647 *) ac_try_echo
=$ac_try;;
17649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17650 (eval "$ac_compile") 2>conftest.er1
17652 grep -v '^ *+' conftest.er1
>conftest.err
17654 cat conftest.err
>&5
17655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17656 (exit $ac_status); } && {
17657 test -z "$ac_c_werror_flag" ||
17658 test ! -s conftest.err
17659 } && test -s conftest.
$ac_objext; then
17660 ac_cv_member_struct_ff_effect_direction
=yes
17662 echo "$as_me: failed program was:" >&5
17663 sed 's/^/| /' conftest.
$ac_ext >&5
17665 cat >conftest.
$ac_ext <<_ACEOF
17668 cat confdefs.h
>>conftest.
$ac_ext
17669 cat >>conftest.
$ac_ext <<_ACEOF
17670 /* end confdefs.h. */
17671 #ifdef HAVE_LINUX_INPUT_H
17672 #include <linux/input.h>
17678 static struct ff_effect ac_aggr;
17679 if (sizeof ac_aggr.direction)
17685 rm -f conftest.
$ac_objext
17686 if { (ac_try
="$ac_compile"
17687 case "(($ac_try" in
17688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17689 *) ac_try_echo=$ac_try;;
17691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17692 (eval "$ac_compile") 2>conftest.er1
17694 grep -v '^ *+' conftest.er1 >conftest.err
17696 cat conftest.err >&5
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); } && {
17699 test -z "$ac_c_werror_flag" ||
17700 test ! -s conftest.err
17701 } && test -s conftest.$ac_objext; then
17702 ac_cv_member_struct_ff_effect_direction=yes
17704 echo "$as_me: failed program was:" >&5
17705 sed 's/^/| /' conftest.$ac_ext >&5
17707 ac_cv_member_struct_ff_effect_direction=no
17710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17715 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17716 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17717 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17719 cat >>confdefs.h <<_ACEOF
17720 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17727 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17728 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17729 if test "${wine_cv_have_sigaddset+set}" = set; then
17730 echo $ECHO_N "(cached) $ECHO_C" >&6
17732 cat >conftest.$ac_ext <<_ACEOF
17735 cat confdefs.h >>conftest.$ac_ext
17736 cat >>conftest.$ac_ext <<_ACEOF
17737 /* end confdefs.h. */
17738 #include <signal.h>
17742 sigset_t set; sigaddset(&set,SIGTERM);
17747 rm -f conftest.$ac_objext conftest$ac_exeext
17748 if { (ac_try="$ac_link"
17749 case "(($ac_try" in
17750 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17751 *) ac_try_echo
=$ac_try;;
17753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17754 (eval "$ac_link") 2>conftest.er1
17756 grep -v '^ *+' conftest.er1
>conftest.err
17758 cat conftest.err
>&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); } && {
17761 test -z "$ac_c_werror_flag" ||
17762 test ! -s conftest.err
17763 } && test -s conftest
$ac_exeext &&
17764 $as_test_x conftest
$ac_exeext; then
17765 wine_cv_have_sigaddset
=yes
17767 echo "$as_me: failed program was:" >&5
17768 sed 's/^/| /' conftest.
$ac_ext >&5
17770 wine_cv_have_sigaddset
=no
17773 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17774 conftest
$ac_exeext conftest.
$ac_ext
17776 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17777 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17778 if test "$wine_cv_have_sigaddset" = "yes"
17781 cat >>confdefs.h
<<\_ACEOF
17782 #define HAVE_SIGADDSET 1
17788 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17789 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17790 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17791 echo $ECHO_N "(cached) $ECHO_C" >&6
17793 cat >conftest.
$ac_ext <<_ACEOF
17796 cat confdefs.h
>>conftest.
$ac_ext
17797 cat >>conftest.
$ac_ext <<_ACEOF
17798 /* end confdefs.h. */
17806 struct hostent *result;
17813 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17814 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17820 rm -f conftest.
$ac_objext conftest
$ac_exeext
17821 if { (ac_try
="$ac_link"
17822 case "(($ac_try" in
17823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17824 *) ac_try_echo=$ac_try;;
17826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17827 (eval "$ac_link") 2>conftest.er1
17829 grep -v '^ *+' conftest.er1 >conftest.err
17831 cat conftest.err >&5
17832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17833 (exit $ac_status); } && {
17834 test -z "$ac_c_werror_flag" ||
17835 test ! -s conftest.err
17836 } && test -s conftest$ac_exeext &&
17837 $as_test_x conftest$ac_exeext; then
17838 wine_cv_linux_gethostbyname_r_6=yes
17840 echo "$as_me: failed program was:" >&5
17841 sed 's/^/| /' conftest.$ac_ext >&5
17843 wine_cv_linux_gethostbyname_r_6=no
17847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17848 conftest$ac_exeext conftest.$ac_ext
17851 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17852 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17853 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17856 cat >>confdefs.h <<\_ACEOF
17857 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17862 if test "$ac_cv_header_linux_joystick_h" = "yes"
17864 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17865 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17866 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17867 echo $ECHO_N "(cached) $ECHO_C" >&6
17869 cat >conftest.$ac_ext <<_ACEOF
17872 cat confdefs.h >>conftest.$ac_ext
17873 cat >>conftest.$ac_ext <<_ACEOF
17874 /* end confdefs.h. */
17876 #include <sys/ioctl.h>
17877 #include <sys/types.h>
17878 #include <linux/joystick.h>
17880 struct js_event blub;
17881 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17882 #error "no 2.2 header"
17893 rm -f conftest.$ac_objext
17894 if { (ac_try="$ac_compile"
17895 case "(($ac_try" in
17896 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17897 *) ac_try_echo
=$ac_try;;
17899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17900 (eval "$ac_compile") 2>conftest.er1
17902 grep -v '^ *+' conftest.er1
>conftest.err
17904 cat conftest.err
>&5
17905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); } && {
17907 test -z "$ac_c_werror_flag" ||
17908 test ! -s conftest.err
17909 } && test -s conftest.
$ac_objext; then
17910 wine_cv_linux_joystick_22_api
=yes
17912 echo "$as_me: failed program was:" >&5
17913 sed 's/^/| /' conftest.
$ac_ext >&5
17915 wine_cv_linux_joystick_22_api
=no
17918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17921 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17922 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17923 if test "$wine_cv_linux_joystick_22_api" = "yes"
17926 cat >>confdefs.h
<<\_ACEOF
17927 #define HAVE_LINUX_22_JOYSTICK_API 1
17934 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17935 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17936 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17937 echo $ECHO_N "(cached) $ECHO_C" >&6
17939 cat >conftest.
$ac_ext <<_ACEOF
17942 cat confdefs.h
>>conftest.
$ac_ext
17943 cat >>conftest.
$ac_ext <<_ACEOF
17944 /* end confdefs.h. */
17945 #include <sys/types.h>
17946 #ifdef HAVE_SYS_PARAM_H
17947 # include <sys/param.h>
17949 #ifdef HAVE_SYS_MOUNT_H
17950 # include <sys/mount.h>
17952 #ifdef HAVE_SYS_VFS_H
17953 # include <sys/vfs.h>
17955 #ifdef HAVE_SYS_STATFS_H
17956 # include <sys/statfs.h>
17962 static struct statfs ac_aggr;
17963 if (ac_aggr.f_bfree)
17969 rm -f conftest.
$ac_objext
17970 if { (ac_try
="$ac_compile"
17971 case "(($ac_try" in
17972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17973 *) ac_try_echo=$ac_try;;
17975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17976 (eval "$ac_compile") 2>conftest.er1
17978 grep -v '^ *+' conftest.er1 >conftest.err
17980 cat conftest.err >&5
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); } && {
17983 test -z "$ac_c_werror_flag" ||
17984 test ! -s conftest.err
17985 } && test -s conftest.$ac_objext; then
17986 ac_cv_member_struct_statfs_f_bfree=yes
17988 echo "$as_me: failed program was:" >&5
17989 sed 's/^/| /' conftest.$ac_ext >&5
17991 cat >conftest.$ac_ext <<_ACEOF
17994 cat confdefs.h >>conftest.$ac_ext
17995 cat >>conftest.$ac_ext <<_ACEOF
17996 /* end confdefs.h. */
17997 #include <sys/types.h>
17998 #ifdef HAVE_SYS_PARAM_H
17999 # include <sys/param.h>
18001 #ifdef HAVE_SYS_MOUNT_H
18002 # include <sys/mount.h>
18004 #ifdef HAVE_SYS_VFS_H
18005 # include <sys/vfs.h>
18007 #ifdef HAVE_SYS_STATFS_H
18008 # include <sys/statfs.h>
18014 static struct statfs ac_aggr;
18015 if (sizeof ac_aggr.f_bfree)
18021 rm -f conftest.$ac_objext
18022 if { (ac_try="$ac_compile"
18023 case "(($ac_try" in
18024 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18025 *) ac_try_echo
=$ac_try;;
18027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18028 (eval "$ac_compile") 2>conftest.er1
18030 grep -v '^ *+' conftest.er1
>conftest.err
18032 cat conftest.err
>&5
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); } && {
18035 test -z "$ac_c_werror_flag" ||
18036 test ! -s conftest.err
18037 } && test -s conftest.
$ac_objext; then
18038 ac_cv_member_struct_statfs_f_bfree
=yes
18040 echo "$as_me: failed program was:" >&5
18041 sed 's/^/| /' conftest.
$ac_ext >&5
18043 ac_cv_member_struct_statfs_f_bfree
=no
18046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18051 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18052 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18053 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18055 cat >>confdefs.h
<<_ACEOF
18056 #define HAVE_STRUCT_STATFS_F_BFREE 1
18061 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18062 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18063 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18064 echo $ECHO_N "(cached) $ECHO_C" >&6
18066 cat >conftest.
$ac_ext <<_ACEOF
18069 cat confdefs.h
>>conftest.
$ac_ext
18070 cat >>conftest.
$ac_ext <<_ACEOF
18071 /* end confdefs.h. */
18072 #include <sys/types.h>
18073 #ifdef HAVE_SYS_PARAM_H
18074 # include <sys/param.h>
18076 #ifdef HAVE_SYS_MOUNT_H
18077 # include <sys/mount.h>
18079 #ifdef HAVE_SYS_VFS_H
18080 # include <sys/vfs.h>
18082 #ifdef HAVE_SYS_STATFS_H
18083 # include <sys/statfs.h>
18089 static struct statfs ac_aggr;
18090 if (ac_aggr.f_bavail)
18096 rm -f conftest.
$ac_objext
18097 if { (ac_try
="$ac_compile"
18098 case "(($ac_try" in
18099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18100 *) ac_try_echo=$ac_try;;
18102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18103 (eval "$ac_compile") 2>conftest.er1
18105 grep -v '^ *+' conftest.er1 >conftest.err
18107 cat conftest.err >&5
18108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109 (exit $ac_status); } && {
18110 test -z "$ac_c_werror_flag" ||
18111 test ! -s conftest.err
18112 } && test -s conftest.$ac_objext; then
18113 ac_cv_member_struct_statfs_f_bavail=yes
18115 echo "$as_me: failed program was:" >&5
18116 sed 's/^/| /' conftest.$ac_ext >&5
18118 cat >conftest.$ac_ext <<_ACEOF
18121 cat confdefs.h >>conftest.$ac_ext
18122 cat >>conftest.$ac_ext <<_ACEOF
18123 /* end confdefs.h. */
18124 #include <sys/types.h>
18125 #ifdef HAVE_SYS_PARAM_H
18126 # include <sys/param.h>
18128 #ifdef HAVE_SYS_MOUNT_H
18129 # include <sys/mount.h>
18131 #ifdef HAVE_SYS_VFS_H
18132 # include <sys/vfs.h>
18134 #ifdef HAVE_SYS_STATFS_H
18135 # include <sys/statfs.h>
18141 static struct statfs ac_aggr;
18142 if (sizeof ac_aggr.f_bavail)
18148 rm -f conftest.$ac_objext
18149 if { (ac_try="$ac_compile"
18150 case "(($ac_try" in
18151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18152 *) ac_try_echo
=$ac_try;;
18154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18155 (eval "$ac_compile") 2>conftest.er1
18157 grep -v '^ *+' conftest.er1
>conftest.err
18159 cat conftest.err
>&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); } && {
18162 test -z "$ac_c_werror_flag" ||
18163 test ! -s conftest.err
18164 } && test -s conftest.
$ac_objext; then
18165 ac_cv_member_struct_statfs_f_bavail
=yes
18167 echo "$as_me: failed program was:" >&5
18168 sed 's/^/| /' conftest.
$ac_ext >&5
18170 ac_cv_member_struct_statfs_f_bavail
=no
18173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18178 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18179 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18180 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18182 cat >>confdefs.h
<<_ACEOF
18183 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18188 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18189 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18190 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18191 echo $ECHO_N "(cached) $ECHO_C" >&6
18193 cat >conftest.
$ac_ext <<_ACEOF
18196 cat confdefs.h
>>conftest.
$ac_ext
18197 cat >>conftest.
$ac_ext <<_ACEOF
18198 /* end confdefs.h. */
18199 #include <sys/types.h>
18200 #ifdef HAVE_SYS_PARAM_H
18201 # include <sys/param.h>
18203 #ifdef HAVE_SYS_MOUNT_H
18204 # include <sys/mount.h>
18206 #ifdef HAVE_SYS_VFS_H
18207 # include <sys/vfs.h>
18209 #ifdef HAVE_SYS_STATFS_H
18210 # include <sys/statfs.h>
18216 static struct statfs ac_aggr;
18217 if (ac_aggr.f_frsize)
18223 rm -f conftest.
$ac_objext
18224 if { (ac_try
="$ac_compile"
18225 case "(($ac_try" in
18226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18227 *) ac_try_echo=$ac_try;;
18229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18230 (eval "$ac_compile") 2>conftest.er1
18232 grep -v '^ *+' conftest.er1 >conftest.err
18234 cat conftest.err >&5
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); } && {
18237 test -z "$ac_c_werror_flag" ||
18238 test ! -s conftest.err
18239 } && test -s conftest.$ac_objext; then
18240 ac_cv_member_struct_statfs_f_frsize=yes
18242 echo "$as_me: failed program was:" >&5
18243 sed 's/^/| /' conftest.$ac_ext >&5
18245 cat >conftest.$ac_ext <<_ACEOF
18248 cat confdefs.h >>conftest.$ac_ext
18249 cat >>conftest.$ac_ext <<_ACEOF
18250 /* end confdefs.h. */
18251 #include <sys/types.h>
18252 #ifdef HAVE_SYS_PARAM_H
18253 # include <sys/param.h>
18255 #ifdef HAVE_SYS_MOUNT_H
18256 # include <sys/mount.h>
18258 #ifdef HAVE_SYS_VFS_H
18259 # include <sys/vfs.h>
18261 #ifdef HAVE_SYS_STATFS_H
18262 # include <sys/statfs.h>
18268 static struct statfs ac_aggr;
18269 if (sizeof ac_aggr.f_frsize)
18275 rm -f conftest.$ac_objext
18276 if { (ac_try="$ac_compile"
18277 case "(($ac_try" in
18278 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18279 *) ac_try_echo
=$ac_try;;
18281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18282 (eval "$ac_compile") 2>conftest.er1
18284 grep -v '^ *+' conftest.er1
>conftest.err
18286 cat conftest.err
>&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); } && {
18289 test -z "$ac_c_werror_flag" ||
18290 test ! -s conftest.err
18291 } && test -s conftest.
$ac_objext; then
18292 ac_cv_member_struct_statfs_f_frsize
=yes
18294 echo "$as_me: failed program was:" >&5
18295 sed 's/^/| /' conftest.
$ac_ext >&5
18297 ac_cv_member_struct_statfs_f_frsize
=no
18300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18305 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18306 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18307 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18309 cat >>confdefs.h
<<_ACEOF
18310 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18315 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18316 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18317 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18318 echo $ECHO_N "(cached) $ECHO_C" >&6
18320 cat >conftest.
$ac_ext <<_ACEOF
18323 cat confdefs.h
>>conftest.
$ac_ext
18324 cat >>conftest.
$ac_ext <<_ACEOF
18325 /* end confdefs.h. */
18326 #include <sys/types.h>
18327 #ifdef HAVE_SYS_PARAM_H
18328 # include <sys/param.h>
18330 #ifdef HAVE_SYS_MOUNT_H
18331 # include <sys/mount.h>
18333 #ifdef HAVE_SYS_VFS_H
18334 # include <sys/vfs.h>
18336 #ifdef HAVE_SYS_STATFS_H
18337 # include <sys/statfs.h>
18343 static struct statfs ac_aggr;
18344 if (ac_aggr.f_ffree)
18350 rm -f conftest.
$ac_objext
18351 if { (ac_try
="$ac_compile"
18352 case "(($ac_try" in
18353 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18354 *) ac_try_echo=$ac_try;;
18356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18357 (eval "$ac_compile") 2>conftest.er1
18359 grep -v '^ *+' conftest.er1 >conftest.err
18361 cat conftest.err >&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } && {
18364 test -z "$ac_c_werror_flag" ||
18365 test ! -s conftest.err
18366 } && test -s conftest.$ac_objext; then
18367 ac_cv_member_struct_statfs_f_ffree=yes
18369 echo "$as_me: failed program was:" >&5
18370 sed 's/^/| /' conftest.$ac_ext >&5
18372 cat >conftest.$ac_ext <<_ACEOF
18375 cat confdefs.h >>conftest.$ac_ext
18376 cat >>conftest.$ac_ext <<_ACEOF
18377 /* end confdefs.h. */
18378 #include <sys/types.h>
18379 #ifdef HAVE_SYS_PARAM_H
18380 # include <sys/param.h>
18382 #ifdef HAVE_SYS_MOUNT_H
18383 # include <sys/mount.h>
18385 #ifdef HAVE_SYS_VFS_H
18386 # include <sys/vfs.h>
18388 #ifdef HAVE_SYS_STATFS_H
18389 # include <sys/statfs.h>
18395 static struct statfs ac_aggr;
18396 if (sizeof ac_aggr.f_ffree)
18402 rm -f conftest.$ac_objext
18403 if { (ac_try="$ac_compile"
18404 case "(($ac_try" in
18405 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18406 *) ac_try_echo
=$ac_try;;
18408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18409 (eval "$ac_compile") 2>conftest.er1
18411 grep -v '^ *+' conftest.er1
>conftest.err
18413 cat conftest.err
>&5
18414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18415 (exit $ac_status); } && {
18416 test -z "$ac_c_werror_flag" ||
18417 test ! -s conftest.err
18418 } && test -s conftest.
$ac_objext; then
18419 ac_cv_member_struct_statfs_f_ffree
=yes
18421 echo "$as_me: failed program was:" >&5
18422 sed 's/^/| /' conftest.
$ac_ext >&5
18424 ac_cv_member_struct_statfs_f_ffree
=no
18427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18432 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18433 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18434 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18436 cat >>confdefs.h
<<_ACEOF
18437 #define HAVE_STRUCT_STATFS_F_FFREE 1
18442 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18443 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18444 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18445 echo $ECHO_N "(cached) $ECHO_C" >&6
18447 cat >conftest.
$ac_ext <<_ACEOF
18450 cat confdefs.h
>>conftest.
$ac_ext
18451 cat >>conftest.
$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18453 #include <sys/types.h>
18454 #ifdef HAVE_SYS_PARAM_H
18455 # include <sys/param.h>
18457 #ifdef HAVE_SYS_MOUNT_H
18458 # include <sys/mount.h>
18460 #ifdef HAVE_SYS_VFS_H
18461 # include <sys/vfs.h>
18463 #ifdef HAVE_SYS_STATFS_H
18464 # include <sys/statfs.h>
18470 static struct statfs ac_aggr;
18471 if (ac_aggr.f_favail)
18477 rm -f conftest.
$ac_objext
18478 if { (ac_try
="$ac_compile"
18479 case "(($ac_try" in
18480 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18481 *) ac_try_echo=$ac_try;;
18483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18484 (eval "$ac_compile") 2>conftest.er1
18486 grep -v '^ *+' conftest.er1 >conftest.err
18488 cat conftest.err >&5
18489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18490 (exit $ac_status); } && {
18491 test -z "$ac_c_werror_flag" ||
18492 test ! -s conftest.err
18493 } && test -s conftest.$ac_objext; then
18494 ac_cv_member_struct_statfs_f_favail=yes
18496 echo "$as_me: failed program was:" >&5
18497 sed 's/^/| /' conftest.$ac_ext >&5
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 (sizeof ac_aggr.f_favail)
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_favail
=yes
18548 echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.
$ac_ext >&5
18551 ac_cv_member_struct_statfs_f_favail
=no
18554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18559 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18560 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18561 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18563 cat >>confdefs.h
<<_ACEOF
18564 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18569 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18570 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18571 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18572 echo $ECHO_N "(cached) $ECHO_C" >&6
18574 cat >conftest.
$ac_ext <<_ACEOF
18577 cat confdefs.h
>>conftest.
$ac_ext
18578 cat >>conftest.
$ac_ext <<_ACEOF
18579 /* end confdefs.h. */
18580 #include <sys/types.h>
18581 #ifdef HAVE_SYS_PARAM_H
18582 # include <sys/param.h>
18584 #ifdef HAVE_SYS_MOUNT_H
18585 # include <sys/mount.h>
18587 #ifdef HAVE_SYS_VFS_H
18588 # include <sys/vfs.h>
18590 #ifdef HAVE_SYS_STATFS_H
18591 # include <sys/statfs.h>
18597 static struct statfs ac_aggr;
18598 if (ac_aggr.f_namelen)
18604 rm -f conftest.
$ac_objext
18605 if { (ac_try
="$ac_compile"
18606 case "(($ac_try" in
18607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18608 *) ac_try_echo=$ac_try;;
18610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18611 (eval "$ac_compile") 2>conftest.er1
18613 grep -v '^ *+' conftest.er1 >conftest.err
18615 cat conftest.err >&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } && {
18618 test -z "$ac_c_werror_flag" ||
18619 test ! -s conftest.err
18620 } && test -s conftest.$ac_objext; then
18621 ac_cv_member_struct_statfs_f_namelen=yes
18623 echo "$as_me: failed program was:" >&5
18624 sed 's/^/| /' conftest.$ac_ext >&5
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 (sizeof ac_aggr.f_namelen)
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_namelen
=yes
18675 echo "$as_me: failed program was:" >&5
18676 sed 's/^/| /' conftest.
$ac_ext >&5
18678 ac_cv_member_struct_statfs_f_namelen
=no
18681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18686 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18687 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18688 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18690 cat >>confdefs.h
<<_ACEOF
18691 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18698 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18699 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18700 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18701 echo $ECHO_N "(cached) $ECHO_C" >&6
18703 cat >conftest.
$ac_ext <<_ACEOF
18706 cat confdefs.h
>>conftest.
$ac_ext
18707 cat >>conftest.
$ac_ext <<_ACEOF
18708 /* end confdefs.h. */
18709 #ifdef HAVE_SYS_STATVFS_H
18710 #include <sys/statvfs.h>
18716 static struct statvfs ac_aggr;
18717 if (ac_aggr.f_blocks)
18723 rm -f conftest.
$ac_objext
18724 if { (ac_try
="$ac_compile"
18725 case "(($ac_try" in
18726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18727 *) ac_try_echo=$ac_try;;
18729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18730 (eval "$ac_compile") 2>conftest.er1
18732 grep -v '^ *+' conftest.er1 >conftest.err
18734 cat conftest.err >&5
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); } && {
18737 test -z "$ac_c_werror_flag" ||
18738 test ! -s conftest.err
18739 } && test -s conftest.$ac_objext; then
18740 ac_cv_member_struct_statvfs_f_blocks=yes
18742 echo "$as_me: failed program was:" >&5
18743 sed 's/^/| /' conftest.$ac_ext >&5
18745 cat >conftest.$ac_ext <<_ACEOF
18748 cat confdefs.h >>conftest.$ac_ext
18749 cat >>conftest.$ac_ext <<_ACEOF
18750 /* end confdefs.h. */
18751 #ifdef HAVE_SYS_STATVFS_H
18752 #include <sys/statvfs.h>
18758 static struct statvfs ac_aggr;
18759 if (sizeof ac_aggr.f_blocks)
18765 rm -f conftest.$ac_objext
18766 if { (ac_try="$ac_compile"
18767 case "(($ac_try" in
18768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18769 *) ac_try_echo
=$ac_try;;
18771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18772 (eval "$ac_compile") 2>conftest.er1
18774 grep -v '^ *+' conftest.er1
>conftest.err
18776 cat conftest.err
>&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); } && {
18779 test -z "$ac_c_werror_flag" ||
18780 test ! -s conftest.err
18781 } && test -s conftest.
$ac_objext; then
18782 ac_cv_member_struct_statvfs_f_blocks
=yes
18784 echo "$as_me: failed program was:" >&5
18785 sed 's/^/| /' conftest.
$ac_ext >&5
18787 ac_cv_member_struct_statvfs_f_blocks
=no
18790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18795 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18796 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18797 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18799 cat >>confdefs.h
<<_ACEOF
18800 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18807 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18808 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18809 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18810 echo $ECHO_N "(cached) $ECHO_C" >&6
18812 cat >conftest.
$ac_ext <<_ACEOF
18815 cat confdefs.h
>>conftest.
$ac_ext
18816 cat >>conftest.
$ac_ext <<_ACEOF
18817 /* end confdefs.h. */
18818 #include <sys/types.h>
18819 #ifdef HAVE_SYS_SOCKET_H
18820 # include <sys/socket.h>
18822 #ifdef HAVE_SYS_UN_H
18823 # include <sys/un.h>
18829 static struct msghdr ac_aggr;
18830 if (ac_aggr.msg_accrights)
18836 rm -f conftest.
$ac_objext
18837 if { (ac_try
="$ac_compile"
18838 case "(($ac_try" in
18839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18840 *) ac_try_echo=$ac_try;;
18842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18843 (eval "$ac_compile") 2>conftest.er1
18845 grep -v '^ *+' conftest.er1 >conftest.err
18847 cat conftest.err >&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); } && {
18850 test -z "$ac_c_werror_flag" ||
18851 test ! -s conftest.err
18852 } && test -s conftest.$ac_objext; then
18853 ac_cv_member_struct_msghdr_msg_accrights=yes
18855 echo "$as_me: failed program was:" >&5
18856 sed 's/^/| /' conftest.$ac_ext >&5
18858 cat >conftest.$ac_ext <<_ACEOF
18861 cat confdefs.h >>conftest.$ac_ext
18862 cat >>conftest.$ac_ext <<_ACEOF
18863 /* end confdefs.h. */
18864 #include <sys/types.h>
18865 #ifdef HAVE_SYS_SOCKET_H
18866 # include <sys/socket.h>
18868 #ifdef HAVE_SYS_UN_H
18869 # include <sys/un.h>
18875 static struct msghdr ac_aggr;
18876 if (sizeof ac_aggr.msg_accrights)
18882 rm -f conftest.$ac_objext
18883 if { (ac_try="$ac_compile"
18884 case "(($ac_try" in
18885 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18886 *) ac_try_echo
=$ac_try;;
18888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18889 (eval "$ac_compile") 2>conftest.er1
18891 grep -v '^ *+' conftest.er1
>conftest.err
18893 cat conftest.err
>&5
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); } && {
18896 test -z "$ac_c_werror_flag" ||
18897 test ! -s conftest.err
18898 } && test -s conftest.
$ac_objext; then
18899 ac_cv_member_struct_msghdr_msg_accrights
=yes
18901 echo "$as_me: failed program was:" >&5
18902 sed 's/^/| /' conftest.
$ac_ext >&5
18904 ac_cv_member_struct_msghdr_msg_accrights
=no
18907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18912 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18913 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18914 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18916 cat >>confdefs.h
<<_ACEOF
18917 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18922 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18923 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18924 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18925 echo $ECHO_N "(cached) $ECHO_C" >&6
18927 cat >conftest.
$ac_ext <<_ACEOF
18930 cat confdefs.h
>>conftest.
$ac_ext
18931 cat >>conftest.
$ac_ext <<_ACEOF
18932 /* end confdefs.h. */
18933 #include <sys/types.h>
18934 #ifdef HAVE_SYS_SOCKET_H
18935 # include <sys/socket.h>
18937 #ifdef HAVE_SYS_UN_H
18938 # include <sys/un.h>
18944 static struct sockaddr ac_aggr;
18945 if (ac_aggr.sa_len)
18951 rm -f conftest.
$ac_objext
18952 if { (ac_try
="$ac_compile"
18953 case "(($ac_try" in
18954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18955 *) ac_try_echo=$ac_try;;
18957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18958 (eval "$ac_compile") 2>conftest.er1
18960 grep -v '^ *+' conftest.er1 >conftest.err
18962 cat conftest.err >&5
18963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18964 (exit $ac_status); } && {
18965 test -z "$ac_c_werror_flag" ||
18966 test ! -s conftest.err
18967 } && test -s conftest.$ac_objext; then
18968 ac_cv_member_struct_sockaddr_sa_len=yes
18970 echo "$as_me: failed program was:" >&5
18971 sed 's/^/| /' conftest.$ac_ext >&5
18973 cat >conftest.$ac_ext <<_ACEOF
18976 cat confdefs.h >>conftest.$ac_ext
18977 cat >>conftest.$ac_ext <<_ACEOF
18978 /* end confdefs.h. */
18979 #include <sys/types.h>
18980 #ifdef HAVE_SYS_SOCKET_H
18981 # include <sys/socket.h>
18983 #ifdef HAVE_SYS_UN_H
18984 # include <sys/un.h>
18990 static struct sockaddr ac_aggr;
18991 if (sizeof ac_aggr.sa_len)
18997 rm -f conftest.$ac_objext
18998 if { (ac_try="$ac_compile"
18999 case "(($ac_try" in
19000 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19001 *) ac_try_echo
=$ac_try;;
19003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19004 (eval "$ac_compile") 2>conftest.er1
19006 grep -v '^ *+' conftest.er1
>conftest.err
19008 cat conftest.err
>&5
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); } && {
19011 test -z "$ac_c_werror_flag" ||
19012 test ! -s conftest.err
19013 } && test -s conftest.
$ac_objext; then
19014 ac_cv_member_struct_sockaddr_sa_len
=yes
19016 echo "$as_me: failed program was:" >&5
19017 sed 's/^/| /' conftest.
$ac_ext >&5
19019 ac_cv_member_struct_sockaddr_sa_len
=no
19022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19027 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19028 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19029 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19031 cat >>confdefs.h
<<_ACEOF
19032 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19037 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19038 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19039 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19040 echo $ECHO_N "(cached) $ECHO_C" >&6
19042 cat >conftest.
$ac_ext <<_ACEOF
19045 cat confdefs.h
>>conftest.
$ac_ext
19046 cat >>conftest.
$ac_ext <<_ACEOF
19047 /* end confdefs.h. */
19048 #include <sys/types.h>
19049 #ifdef HAVE_SYS_SOCKET_H
19050 # include <sys/socket.h>
19052 #ifdef HAVE_SYS_UN_H
19053 # include <sys/un.h>
19059 static struct sockaddr_un ac_aggr;
19060 if (ac_aggr.sun_len)
19066 rm -f conftest.
$ac_objext
19067 if { (ac_try
="$ac_compile"
19068 case "(($ac_try" in
19069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19070 *) ac_try_echo=$ac_try;;
19072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19073 (eval "$ac_compile") 2>conftest.er1
19075 grep -v '^ *+' conftest.er1 >conftest.err
19077 cat conftest.err >&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); } && {
19080 test -z "$ac_c_werror_flag" ||
19081 test ! -s conftest.err
19082 } && test -s conftest.$ac_objext; then
19083 ac_cv_member_struct_sockaddr_un_sun_len=yes
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.$ac_ext >&5
19088 cat >conftest.$ac_ext <<_ACEOF
19091 cat confdefs.h >>conftest.$ac_ext
19092 cat >>conftest.$ac_ext <<_ACEOF
19093 /* end confdefs.h. */
19094 #include <sys/types.h>
19095 #ifdef HAVE_SYS_SOCKET_H
19096 # include <sys/socket.h>
19098 #ifdef HAVE_SYS_UN_H
19099 # include <sys/un.h>
19105 static struct sockaddr_un ac_aggr;
19106 if (sizeof ac_aggr.sun_len)
19112 rm -f conftest.$ac_objext
19113 if { (ac_try="$ac_compile"
19114 case "(($ac_try" in
19115 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19116 *) ac_try_echo
=$ac_try;;
19118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19119 (eval "$ac_compile") 2>conftest.er1
19121 grep -v '^ *+' conftest.er1
>conftest.err
19123 cat conftest.err
>&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } && {
19126 test -z "$ac_c_werror_flag" ||
19127 test ! -s conftest.err
19128 } && test -s conftest.
$ac_objext; then
19129 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19131 echo "$as_me: failed program was:" >&5
19132 sed 's/^/| /' conftest.
$ac_ext >&5
19134 ac_cv_member_struct_sockaddr_un_sun_len
=no
19137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19142 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19143 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19144 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19146 cat >>confdefs.h
<<_ACEOF
19147 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19154 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19155 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19156 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19157 echo $ECHO_N "(cached) $ECHO_C" >&6
19159 cat >conftest.
$ac_ext <<_ACEOF
19162 cat confdefs.h
>>conftest.
$ac_ext
19163 cat >>conftest.
$ac_ext <<_ACEOF
19164 /* end confdefs.h. */
19165 #include <sys/types.h>
19166 #ifdef HAVE_SCSI_SG_H
19167 #include <scsi/sg.h>
19173 static scsireq_t ac_aggr;
19180 rm -f conftest.
$ac_objext
19181 if { (ac_try
="$ac_compile"
19182 case "(($ac_try" in
19183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19184 *) ac_try_echo=$ac_try;;
19186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19187 (eval "$ac_compile") 2>conftest.er1
19189 grep -v '^ *+' conftest.er1 >conftest.err
19191 cat conftest.err >&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); } && {
19194 test -z "$ac_c_werror_flag" ||
19195 test ! -s conftest.err
19196 } && test -s conftest.$ac_objext; then
19197 ac_cv_member_scsireq_t_cmd=yes
19199 echo "$as_me: failed program was:" >&5
19200 sed 's/^/| /' conftest.$ac_ext >&5
19202 cat >conftest.$ac_ext <<_ACEOF
19205 cat confdefs.h >>conftest.$ac_ext
19206 cat >>conftest.$ac_ext <<_ACEOF
19207 /* end confdefs.h. */
19208 #include <sys/types.h>
19209 #ifdef HAVE_SCSI_SG_H
19210 #include <scsi/sg.h>
19216 static scsireq_t ac_aggr;
19217 if (sizeof ac_aggr.cmd)
19223 rm -f conftest.$ac_objext
19224 if { (ac_try="$ac_compile"
19225 case "(($ac_try" in
19226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19227 *) ac_try_echo
=$ac_try;;
19229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19230 (eval "$ac_compile") 2>conftest.er1
19232 grep -v '^ *+' conftest.er1
>conftest.err
19234 cat conftest.err
>&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); } && {
19237 test -z "$ac_c_werror_flag" ||
19238 test ! -s conftest.err
19239 } && test -s conftest.
$ac_objext; then
19240 ac_cv_member_scsireq_t_cmd
=yes
19242 echo "$as_me: failed program was:" >&5
19243 sed 's/^/| /' conftest.
$ac_ext >&5
19245 ac_cv_member_scsireq_t_cmd
=no
19248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19253 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19254 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19255 if test $ac_cv_member_scsireq_t_cmd = yes; then
19257 cat >>confdefs.h
<<_ACEOF
19258 #define HAVE_SCSIREQ_T_CMD 1
19263 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19264 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19265 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19266 echo $ECHO_N "(cached) $ECHO_C" >&6
19268 cat >conftest.
$ac_ext <<_ACEOF
19271 cat confdefs.h
>>conftest.
$ac_ext
19272 cat >>conftest.
$ac_ext <<_ACEOF
19273 /* end confdefs.h. */
19274 #include <sys/types.h>
19275 #ifdef HAVE_SCSI_SG_H
19276 #include <scsi/sg.h>
19282 static sg_io_hdr_t ac_aggr;
19283 if (ac_aggr.interface_id)
19289 rm -f conftest.
$ac_objext
19290 if { (ac_try
="$ac_compile"
19291 case "(($ac_try" in
19292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19293 *) ac_try_echo=$ac_try;;
19295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19296 (eval "$ac_compile") 2>conftest.er1
19298 grep -v '^ *+' conftest.er1 >conftest.err
19300 cat conftest.err >&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } && {
19303 test -z "$ac_c_werror_flag" ||
19304 test ! -s conftest.err
19305 } && test -s conftest.$ac_objext; then
19306 ac_cv_member_sg_io_hdr_t_interface_id=yes
19308 echo "$as_me: failed program was:" >&5
19309 sed 's/^/| /' conftest.$ac_ext >&5
19311 cat >conftest.$ac_ext <<_ACEOF
19314 cat confdefs.h >>conftest.$ac_ext
19315 cat >>conftest.$ac_ext <<_ACEOF
19316 /* end confdefs.h. */
19317 #include <sys/types.h>
19318 #ifdef HAVE_SCSI_SG_H
19319 #include <scsi/sg.h>
19325 static sg_io_hdr_t ac_aggr;
19326 if (sizeof ac_aggr.interface_id)
19332 rm -f conftest.$ac_objext
19333 if { (ac_try="$ac_compile"
19334 case "(($ac_try" in
19335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19336 *) ac_try_echo
=$ac_try;;
19338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19339 (eval "$ac_compile") 2>conftest.er1
19341 grep -v '^ *+' conftest.er1
>conftest.err
19343 cat conftest.err
>&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); } && {
19346 test -z "$ac_c_werror_flag" ||
19347 test ! -s conftest.err
19348 } && test -s conftest.
$ac_objext; then
19349 ac_cv_member_sg_io_hdr_t_interface_id
=yes
19351 echo "$as_me: failed program was:" >&5
19352 sed 's/^/| /' conftest.
$ac_ext >&5
19354 ac_cv_member_sg_io_hdr_t_interface_id
=no
19357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19362 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19363 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19364 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19366 cat >>confdefs.h
<<_ACEOF
19367 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19374 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19375 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19376 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19377 echo $ECHO_N "(cached) $ECHO_C" >&6
19379 cat >conftest.
$ac_ext <<_ACEOF
19382 cat confdefs.h
>>conftest.
$ac_ext
19383 cat >>conftest.
$ac_ext <<_ACEOF
19384 /* end confdefs.h. */
19385 #include <signal.h>
19390 static siginfo_t ac_aggr;
19397 rm -f conftest.
$ac_objext
19398 if { (ac_try
="$ac_compile"
19399 case "(($ac_try" in
19400 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19401 *) ac_try_echo=$ac_try;;
19403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19404 (eval "$ac_compile") 2>conftest.er1
19406 grep -v '^ *+' conftest.er1 >conftest.err
19408 cat conftest.err >&5
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); } && {
19411 test -z "$ac_c_werror_flag" ||
19412 test ! -s conftest.err
19413 } && test -s conftest.$ac_objext; then
19414 ac_cv_member_siginfo_t_si_fd=yes
19416 echo "$as_me: failed program was:" >&5
19417 sed 's/^/| /' conftest.$ac_ext >&5
19419 cat >conftest.$ac_ext <<_ACEOF
19422 cat confdefs.h >>conftest.$ac_ext
19423 cat >>conftest.$ac_ext <<_ACEOF
19424 /* end confdefs.h. */
19425 #include <signal.h>
19430 static siginfo_t ac_aggr;
19431 if (sizeof ac_aggr.si_fd)
19437 rm -f conftest.$ac_objext
19438 if { (ac_try="$ac_compile"
19439 case "(($ac_try" in
19440 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19441 *) ac_try_echo
=$ac_try;;
19443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19444 (eval "$ac_compile") 2>conftest.er1
19446 grep -v '^ *+' conftest.er1
>conftest.err
19448 cat conftest.err
>&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); } && {
19451 test -z "$ac_c_werror_flag" ||
19452 test ! -s conftest.err
19453 } && test -s conftest.
$ac_objext; then
19454 ac_cv_member_siginfo_t_si_fd
=yes
19456 echo "$as_me: failed program was:" >&5
19457 sed 's/^/| /' conftest.
$ac_ext >&5
19459 ac_cv_member_siginfo_t_si_fd
=no
19462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19467 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19468 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19469 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19471 cat >>confdefs.h
<<_ACEOF
19472 #define HAVE_SIGINFO_T_SI_FD 1
19479 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19480 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19481 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19482 echo $ECHO_N "(cached) $ECHO_C" >&6
19484 cat >conftest.
$ac_ext <<_ACEOF
19487 cat confdefs.h
>>conftest.
$ac_ext
19488 cat >>conftest.
$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 #include <sys/types.h>
19491 #ifdef HAVE_SYS_MTIO_H
19492 #include <sys/mtio.h>
19498 static struct mtget ac_aggr;
19499 if (ac_aggr.mt_blksiz)
19505 rm -f conftest.
$ac_objext
19506 if { (ac_try
="$ac_compile"
19507 case "(($ac_try" in
19508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19509 *) ac_try_echo=$ac_try;;
19511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19512 (eval "$ac_compile") 2>conftest.er1
19514 grep -v '^ *+' conftest.er1 >conftest.err
19516 cat conftest.err >&5
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); } && {
19519 test -z "$ac_c_werror_flag" ||
19520 test ! -s conftest.err
19521 } && test -s conftest.$ac_objext; then
19522 ac_cv_member_struct_mtget_mt_blksiz=yes
19524 echo "$as_me: failed program was:" >&5
19525 sed 's/^/| /' conftest.$ac_ext >&5
19527 cat >conftest.$ac_ext <<_ACEOF
19530 cat confdefs.h >>conftest.$ac_ext
19531 cat >>conftest.$ac_ext <<_ACEOF
19532 /* end confdefs.h. */
19533 #include <sys/types.h>
19534 #ifdef HAVE_SYS_MTIO_H
19535 #include <sys/mtio.h>
19541 static struct mtget ac_aggr;
19542 if (sizeof ac_aggr.mt_blksiz)
19548 rm -f conftest.$ac_objext
19549 if { (ac_try="$ac_compile"
19550 case "(($ac_try" in
19551 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19552 *) ac_try_echo
=$ac_try;;
19554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19555 (eval "$ac_compile") 2>conftest.er1
19557 grep -v '^ *+' conftest.er1
>conftest.err
19559 cat conftest.err
>&5
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); } && {
19562 test -z "$ac_c_werror_flag" ||
19563 test ! -s conftest.err
19564 } && test -s conftest.
$ac_objext; then
19565 ac_cv_member_struct_mtget_mt_blksiz
=yes
19567 echo "$as_me: failed program was:" >&5
19568 sed 's/^/| /' conftest.
$ac_ext >&5
19570 ac_cv_member_struct_mtget_mt_blksiz
=no
19573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19578 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19579 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19580 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19582 cat >>confdefs.h
<<_ACEOF
19583 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19588 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19589 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19590 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19591 echo $ECHO_N "(cached) $ECHO_C" >&6
19593 cat >conftest.
$ac_ext <<_ACEOF
19596 cat confdefs.h
>>conftest.
$ac_ext
19597 cat >>conftest.
$ac_ext <<_ACEOF
19598 /* end confdefs.h. */
19599 #include <sys/types.h>
19600 #ifdef HAVE_SYS_MTIO_H
19601 #include <sys/mtio.h>
19607 static struct mtget ac_aggr;
19608 if (ac_aggr.mt_gstat)
19614 rm -f conftest.
$ac_objext
19615 if { (ac_try
="$ac_compile"
19616 case "(($ac_try" in
19617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19618 *) ac_try_echo=$ac_try;;
19620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19621 (eval "$ac_compile") 2>conftest.er1
19623 grep -v '^ *+' conftest.er1 >conftest.err
19625 cat conftest.err >&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); } && {
19628 test -z "$ac_c_werror_flag" ||
19629 test ! -s conftest.err
19630 } && test -s conftest.$ac_objext; then
19631 ac_cv_member_struct_mtget_mt_gstat=yes
19633 echo "$as_me: failed program was:" >&5
19634 sed 's/^/| /' conftest.$ac_ext >&5
19636 cat >conftest.$ac_ext <<_ACEOF
19639 cat confdefs.h >>conftest.$ac_ext
19640 cat >>conftest.$ac_ext <<_ACEOF
19641 /* end confdefs.h. */
19642 #include <sys/types.h>
19643 #ifdef HAVE_SYS_MTIO_H
19644 #include <sys/mtio.h>
19650 static struct mtget ac_aggr;
19651 if (sizeof ac_aggr.mt_gstat)
19657 rm -f conftest.$ac_objext
19658 if { (ac_try="$ac_compile"
19659 case "(($ac_try" in
19660 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19661 *) ac_try_echo
=$ac_try;;
19663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19664 (eval "$ac_compile") 2>conftest.er1
19666 grep -v '^ *+' conftest.er1
>conftest.err
19668 cat conftest.err
>&5
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); } && {
19671 test -z "$ac_c_werror_flag" ||
19672 test ! -s conftest.err
19673 } && test -s conftest.
$ac_objext; then
19674 ac_cv_member_struct_mtget_mt_gstat
=yes
19676 echo "$as_me: failed program was:" >&5
19677 sed 's/^/| /' conftest.
$ac_ext >&5
19679 ac_cv_member_struct_mtget_mt_gstat
=no
19682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19687 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19688 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19689 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19691 cat >>confdefs.h
<<_ACEOF
19692 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19697 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19698 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19699 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19700 echo $ECHO_N "(cached) $ECHO_C" >&6
19702 cat >conftest.
$ac_ext <<_ACEOF
19705 cat confdefs.h
>>conftest.
$ac_ext
19706 cat >>conftest.
$ac_ext <<_ACEOF
19707 /* end confdefs.h. */
19708 #include <sys/types.h>
19709 #ifdef HAVE_SYS_MTIO_H
19710 #include <sys/mtio.h>
19716 static struct mtget ac_aggr;
19717 if (ac_aggr.mt_blkno)
19723 rm -f conftest.
$ac_objext
19724 if { (ac_try
="$ac_compile"
19725 case "(($ac_try" in
19726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19727 *) ac_try_echo=$ac_try;;
19729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19730 (eval "$ac_compile") 2>conftest.er1
19732 grep -v '^ *+' conftest.er1 >conftest.err
19734 cat conftest.err >&5
19735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736 (exit $ac_status); } && {
19737 test -z "$ac_c_werror_flag" ||
19738 test ! -s conftest.err
19739 } && test -s conftest.$ac_objext; then
19740 ac_cv_member_struct_mtget_mt_blkno=yes
19742 echo "$as_me: failed program was:" >&5
19743 sed 's/^/| /' conftest.$ac_ext >&5
19745 cat >conftest.$ac_ext <<_ACEOF
19748 cat confdefs.h >>conftest.$ac_ext
19749 cat >>conftest.$ac_ext <<_ACEOF
19750 /* end confdefs.h. */
19751 #include <sys/types.h>
19752 #ifdef HAVE_SYS_MTIO_H
19753 #include <sys/mtio.h>
19759 static struct mtget ac_aggr;
19760 if (sizeof ac_aggr.mt_blkno)
19766 rm -f conftest.$ac_objext
19767 if { (ac_try="$ac_compile"
19768 case "(($ac_try" in
19769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19770 *) ac_try_echo
=$ac_try;;
19772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_compile") 2>conftest.er1
19775 grep -v '^ *+' conftest.er1
>conftest.err
19777 cat conftest.err
>&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } && {
19780 test -z "$ac_c_werror_flag" ||
19781 test ! -s conftest.err
19782 } && test -s conftest.
$ac_objext; then
19783 ac_cv_member_struct_mtget_mt_blkno
=yes
19785 echo "$as_me: failed program was:" >&5
19786 sed 's/^/| /' conftest.
$ac_ext >&5
19788 ac_cv_member_struct_mtget_mt_blkno
=no
19791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19796 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19797 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19798 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19800 cat >>confdefs.h
<<_ACEOF
19801 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19808 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19809 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19810 if test "${ac_cv_member_struct_option_name+set}" = set; then
19811 echo $ECHO_N "(cached) $ECHO_C" >&6
19813 cat >conftest.
$ac_ext <<_ACEOF
19816 cat confdefs.h
>>conftest.
$ac_ext
19817 cat >>conftest.
$ac_ext <<_ACEOF
19818 /* end confdefs.h. */
19819 #ifdef HAVE_GETOPT_H
19820 #include <getopt.h>
19826 static struct option ac_aggr;
19833 rm -f conftest.
$ac_objext
19834 if { (ac_try
="$ac_compile"
19835 case "(($ac_try" in
19836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19837 *) ac_try_echo=$ac_try;;
19839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19840 (eval "$ac_compile") 2>conftest.er1
19842 grep -v '^ *+' conftest.er1 >conftest.err
19844 cat conftest.err >&5
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); } && {
19847 test -z "$ac_c_werror_flag" ||
19848 test ! -s conftest.err
19849 } && test -s conftest.$ac_objext; then
19850 ac_cv_member_struct_option_name=yes
19852 echo "$as_me: failed program was:" >&5
19853 sed 's/^/| /' conftest.$ac_ext >&5
19855 cat >conftest.$ac_ext <<_ACEOF
19858 cat confdefs.h >>conftest.$ac_ext
19859 cat >>conftest.$ac_ext <<_ACEOF
19860 /* end confdefs.h. */
19861 #ifdef HAVE_GETOPT_H
19862 #include <getopt.h>
19868 static struct option ac_aggr;
19869 if (sizeof ac_aggr.name)
19875 rm -f conftest.$ac_objext
19876 if { (ac_try="$ac_compile"
19877 case "(($ac_try" in
19878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19879 *) ac_try_echo
=$ac_try;;
19881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19882 (eval "$ac_compile") 2>conftest.er1
19884 grep -v '^ *+' conftest.er1
>conftest.err
19886 cat conftest.err
>&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } && {
19889 test -z "$ac_c_werror_flag" ||
19890 test ! -s conftest.err
19891 } && test -s conftest.
$ac_objext; then
19892 ac_cv_member_struct_option_name
=yes
19894 echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.
$ac_ext >&5
19897 ac_cv_member_struct_option_name
=no
19900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19905 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19906 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19907 if test $ac_cv_member_struct_option_name = yes; then
19909 cat >>confdefs.h
<<_ACEOF
19910 #define HAVE_STRUCT_OPTION_NAME 1
19917 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19918 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19919 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19920 echo $ECHO_N "(cached) $ECHO_C" >&6
19922 cat >conftest.
$ac_ext <<_ACEOF
19925 cat confdefs.h
>>conftest.
$ac_ext
19926 cat >>conftest.
$ac_ext <<_ACEOF
19927 /* end confdefs.h. */
19928 $ac_includes_default
19932 static struct stat ac_aggr;
19933 if (ac_aggr.st_blocks)
19939 rm -f conftest.
$ac_objext
19940 if { (ac_try
="$ac_compile"
19941 case "(($ac_try" in
19942 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19943 *) ac_try_echo=$ac_try;;
19945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19946 (eval "$ac_compile") 2>conftest.er1
19948 grep -v '^ *+' conftest.er1 >conftest.err
19950 cat conftest.err >&5
19951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19952 (exit $ac_status); } && {
19953 test -z "$ac_c_werror_flag" ||
19954 test ! -s conftest.err
19955 } && test -s conftest.$ac_objext; then
19956 ac_cv_member_struct_stat_st_blocks=yes
19958 echo "$as_me: failed program was:" >&5
19959 sed 's/^/| /' conftest.$ac_ext >&5
19961 cat >conftest.$ac_ext <<_ACEOF
19964 cat confdefs.h >>conftest.$ac_ext
19965 cat >>conftest.$ac_ext <<_ACEOF
19966 /* end confdefs.h. */
19967 $ac_includes_default
19971 static struct stat ac_aggr;
19972 if (sizeof ac_aggr.st_blocks)
19978 rm -f conftest.$ac_objext
19979 if { (ac_try="$ac_compile"
19980 case "(($ac_try" in
19981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19982 *) ac_try_echo
=$ac_try;;
19984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19985 (eval "$ac_compile") 2>conftest.er1
19987 grep -v '^ *+' conftest.er1
>conftest.err
19989 cat conftest.err
>&5
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); } && {
19992 test -z "$ac_c_werror_flag" ||
19993 test ! -s conftest.err
19994 } && test -s conftest.
$ac_objext; then
19995 ac_cv_member_struct_stat_st_blocks
=yes
19997 echo "$as_me: failed program was:" >&5
19998 sed 's/^/| /' conftest.
$ac_ext >&5
20000 ac_cv_member_struct_stat_st_blocks
=no
20003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20008 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20009 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20010 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20012 cat >>confdefs.h
<<_ACEOF
20013 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20020 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20021 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20022 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20023 echo $ECHO_N "(cached) $ECHO_C" >&6
20025 cat >conftest.
$ac_ext <<_ACEOF
20028 cat confdefs.h
>>conftest.
$ac_ext
20029 cat >>conftest.
$ac_ext <<_ACEOF
20030 /* end confdefs.h. */
20031 #ifdef HAVE_SYS_TYPES_H
20032 #include <sys/types.h>
20034 #ifdef HAVE_NETINET_IN_H
20035 #include <netinet/in.h>
20041 static struct sockaddr_in6 ac_aggr;
20042 if (ac_aggr.sin6_scope_id)
20048 rm -f conftest.
$ac_objext
20049 if { (ac_try
="$ac_compile"
20050 case "(($ac_try" in
20051 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20052 *) ac_try_echo=$ac_try;;
20054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20055 (eval "$ac_compile") 2>conftest.er1
20057 grep -v '^ *+' conftest.er1 >conftest.err
20059 cat conftest.err >&5
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); } && {
20062 test -z "$ac_c_werror_flag" ||
20063 test ! -s conftest.err
20064 } && test -s conftest.$ac_objext; then
20065 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20067 echo "$as_me: failed program was:" >&5
20068 sed 's/^/| /' conftest.$ac_ext >&5
20070 cat >conftest.$ac_ext <<_ACEOF
20073 cat confdefs.h >>conftest.$ac_ext
20074 cat >>conftest.$ac_ext <<_ACEOF
20075 /* end confdefs.h. */
20076 #ifdef HAVE_SYS_TYPES_H
20077 #include <sys/types.h>
20079 #ifdef HAVE_NETINET_IN_H
20080 #include <netinet/in.h>
20086 static struct sockaddr_in6 ac_aggr;
20087 if (sizeof ac_aggr.sin6_scope_id)
20093 rm -f conftest.$ac_objext
20094 if { (ac_try="$ac_compile"
20095 case "(($ac_try" in
20096 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20097 *) ac_try_echo
=$ac_try;;
20099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20100 (eval "$ac_compile") 2>conftest.er1
20102 grep -v '^ *+' conftest.er1
>conftest.err
20104 cat conftest.err
>&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); } && {
20107 test -z "$ac_c_werror_flag" ||
20108 test ! -s conftest.err
20109 } && test -s conftest.
$ac_objext; then
20110 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
20112 echo "$as_me: failed program was:" >&5
20113 sed 's/^/| /' conftest.
$ac_ext >&5
20115 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
20118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20123 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20124 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20125 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20127 cat >>confdefs.h
<<_ACEOF
20128 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20135 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20136 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20137 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20138 echo $ECHO_N "(cached) $ECHO_C" >&6
20140 cat >conftest.
$ac_ext <<_ACEOF
20143 cat confdefs.h
>>conftest.
$ac_ext
20144 cat >>conftest.
$ac_ext <<_ACEOF
20145 /* end confdefs.h. */
20146 #ifdef HAVE_SYS_TYPES_H
20147 #include <sys/types.h>
20149 #ifdef HAVE_NETINET_IN_H
20150 # include <netinet/in.h>
20152 #ifdef HAVE_ARPA_NAMESER_H
20153 # include <arpa/nameser.h>
20159 static ns_msg ac_aggr;
20160 if (ac_aggr._msg_ptr)
20166 rm -f conftest.
$ac_objext
20167 if { (ac_try
="$ac_compile"
20168 case "(($ac_try" in
20169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20170 *) ac_try_echo=$ac_try;;
20172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20173 (eval "$ac_compile") 2>conftest.er1
20175 grep -v '^ *+' conftest.er1 >conftest.err
20177 cat conftest.err >&5
20178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20179 (exit $ac_status); } && {
20180 test -z "$ac_c_werror_flag" ||
20181 test ! -s conftest.err
20182 } && test -s conftest.$ac_objext; then
20183 ac_cv_member_ns_msg__msg_ptr=yes
20185 echo "$as_me: failed program was:" >&5
20186 sed 's/^/| /' conftest.$ac_ext >&5
20188 cat >conftest.$ac_ext <<_ACEOF
20191 cat confdefs.h >>conftest.$ac_ext
20192 cat >>conftest.$ac_ext <<_ACEOF
20193 /* end confdefs.h. */
20194 #ifdef HAVE_SYS_TYPES_H
20195 #include <sys/types.h>
20197 #ifdef HAVE_NETINET_IN_H
20198 # include <netinet/in.h>
20200 #ifdef HAVE_ARPA_NAMESER_H
20201 # include <arpa/nameser.h>
20207 static ns_msg ac_aggr;
20208 if (sizeof ac_aggr._msg_ptr)
20214 rm -f conftest.$ac_objext
20215 if { (ac_try="$ac_compile"
20216 case "(($ac_try" in
20217 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20218 *) ac_try_echo
=$ac_try;;
20220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20221 (eval "$ac_compile") 2>conftest.er1
20223 grep -v '^ *+' conftest.er1
>conftest.err
20225 cat conftest.err
>&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); } && {
20228 test -z "$ac_c_werror_flag" ||
20229 test ! -s conftest.err
20230 } && test -s conftest.
$ac_objext; then
20231 ac_cv_member_ns_msg__msg_ptr
=yes
20233 echo "$as_me: failed program was:" >&5
20234 sed 's/^/| /' conftest.
$ac_ext >&5
20236 ac_cv_member_ns_msg__msg_ptr
=no
20239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20244 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20245 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20246 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20248 cat >>confdefs.h
<<_ACEOF
20249 #define HAVE_NS_MSG__MSG_PTR 1
20256 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20257 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20258 if test "${ac_cv_have_timezone+set}" = set; then
20259 echo $ECHO_N "(cached) $ECHO_C" >&6
20261 cat >conftest.
$ac_ext <<_ACEOF
20264 cat confdefs.h
>>conftest.
$ac_ext
20265 cat >>conftest.
$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20276 rm -f conftest.
$ac_objext conftest
$ac_exeext
20277 if { (ac_try
="$ac_link"
20278 case "(($ac_try" in
20279 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20280 *) ac_try_echo=$ac_try;;
20282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20283 (eval "$ac_link") 2>conftest.er1
20285 grep -v '^ *+' conftest.er1 >conftest.err
20287 cat conftest.err >&5
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); } && {
20290 test -z "$ac_c_werror_flag" ||
20291 test ! -s conftest.err
20292 } && test -s conftest$ac_exeext &&
20293 $as_test_x conftest$ac_exeext; then
20294 ac_cv_have_timezone="yes"
20296 echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.$ac_ext >&5
20299 ac_cv_have_timezone="no"
20302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20303 conftest$ac_exeext conftest.$ac_ext
20305 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20306 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20307 if test "$ac_cv_have_timezone" = "yes"
20310 cat >>confdefs.h <<\_ACEOF
20311 #define HAVE_TIMEZONE 1
20315 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20316 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20317 if test "${ac_cv_have_daylight+set}" = set; then
20318 echo $ECHO_N "(cached) $ECHO_C" >&6
20320 cat >conftest.$ac_ext <<_ACEOF
20323 cat confdefs.h >>conftest.$ac_ext
20324 cat >>conftest.$ac_ext <<_ACEOF
20325 /* end confdefs.h. */
20335 rm -f conftest.$ac_objext conftest$ac_exeext
20336 if { (ac_try="$ac_link"
20337 case "(($ac_try" in
20338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20339 *) ac_try_echo
=$ac_try;;
20341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20342 (eval "$ac_link") 2>conftest.er1
20344 grep -v '^ *+' conftest.er1
>conftest.err
20346 cat conftest.err
>&5
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); } && {
20349 test -z "$ac_c_werror_flag" ||
20350 test ! -s conftest.err
20351 } && test -s conftest
$ac_exeext &&
20352 $as_test_x conftest
$ac_exeext; then
20353 ac_cv_have_daylight
="yes"
20355 echo "$as_me: failed program was:" >&5
20356 sed 's/^/| /' conftest.
$ac_ext >&5
20358 ac_cv_have_daylight
="no"
20361 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20362 conftest
$ac_exeext conftest.
$ac_ext
20364 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20365 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20366 if test "$ac_cv_have_daylight" = "yes"
20369 cat >>confdefs.h
<<\_ACEOF
20370 #define HAVE_DAYLIGHT 1
20377 *i
[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20378 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20379 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20380 echo $ECHO_N "(cached) $ECHO_C" >&6
20382 cat >conftest.
$ac_ext <<_ACEOF
20385 cat confdefs.h
>>conftest.
$ac_ext
20386 cat >>conftest.
$ac_ext <<_ACEOF
20387 /* end confdefs.h. */
20392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20393 $EGREP "yes" >/dev
/null
2>&1; then
20394 ac_cv_cpp_def___i386__
=yes
20396 ac_cv_cpp_def___i386__
=no
20401 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20402 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20403 if test $ac_cv_cpp_def___i386__ = yes; then
20404 CFLAGS
="$CFLAGS -D__i386__"
20405 LINTFLAGS
="$LINTFLAGS -D__i386__"
20408 *x86_64
*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20409 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20410 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20411 echo $ECHO_N "(cached) $ECHO_C" >&6
20413 cat >conftest.
$ac_ext <<_ACEOF
20416 cat confdefs.h
>>conftest.
$ac_ext
20417 cat >>conftest.
$ac_ext <<_ACEOF
20418 /* end confdefs.h. */
20423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20424 $EGREP "yes" >/dev
/null
2>&1; then
20425 ac_cv_cpp_def___x86_64__
=yes
20427 ac_cv_cpp_def___x86_64__
=no
20432 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20433 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20434 if test $ac_cv_cpp_def___x86_64__ = yes; then
20435 CFLAGS
="$CFLAGS -D__x86_64__"
20436 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20439 *alpha
*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20440 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20441 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20442 echo $ECHO_N "(cached) $ECHO_C" >&6
20444 cat >conftest.
$ac_ext <<_ACEOF
20447 cat confdefs.h
>>conftest.
$ac_ext
20448 cat >>conftest.
$ac_ext <<_ACEOF
20449 /* end confdefs.h. */
20454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20455 $EGREP "yes" >/dev
/null
2>&1; then
20456 ac_cv_cpp_def___ALPHA__
=yes
20458 ac_cv_cpp_def___ALPHA__
=no
20463 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20464 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20465 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20466 CFLAGS
="$CFLAGS -D__ALPHA__"
20467 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
20470 *sparc
*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20471 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20472 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20473 echo $ECHO_N "(cached) $ECHO_C" >&6
20475 cat >conftest.
$ac_ext <<_ACEOF
20478 cat confdefs.h
>>conftest.
$ac_ext
20479 cat >>conftest.
$ac_ext <<_ACEOF
20480 /* end confdefs.h. */
20485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20486 $EGREP "yes" >/dev
/null
2>&1; then
20487 ac_cv_cpp_def___sparc__
=yes
20489 ac_cv_cpp_def___sparc__
=no
20494 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20495 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20496 if test $ac_cv_cpp_def___sparc__ = yes; then
20497 CFLAGS
="$CFLAGS -D__sparc__"
20498 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20501 *powerpc
*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20502 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20503 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20504 echo $ECHO_N "(cached) $ECHO_C" >&6
20506 cat >conftest.
$ac_ext <<_ACEOF
20509 cat confdefs.h
>>conftest.
$ac_ext
20510 cat >>conftest.
$ac_ext <<_ACEOF
20511 /* end confdefs.h. */
20512 #ifndef __powerpc__
20516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20517 $EGREP "yes" >/dev
/null
2>&1; then
20518 ac_cv_cpp_def___powerpc__
=yes
20520 ac_cv_cpp_def___powerpc__
=no
20525 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20526 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20527 if test $ac_cv_cpp_def___powerpc__ = yes; then
20528 CFLAGS
="$CFLAGS -D__powerpc__"
20529 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20534 case $host_vendor in
20535 *sun
*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20536 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20537 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20538 echo $ECHO_N "(cached) $ECHO_C" >&6
20540 cat >conftest.
$ac_ext <<_ACEOF
20543 cat confdefs.h
>>conftest.
$ac_ext
20544 cat >>conftest.
$ac_ext <<_ACEOF
20545 /* end confdefs.h. */
20550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20551 $EGREP "yes" >/dev
/null
2>&1; then
20552 ac_cv_cpp_def___sun__
=yes
20554 ac_cv_cpp_def___sun__
=no
20559 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20560 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20561 if test $ac_cv_cpp_def___sun__ = yes; then
20562 CFLAGS
="$CFLAGS -D__sun__"
20563 LINTFLAGS
="$LINTFLAGS -D__sun__"
20569 DEPENDENCIES
="### Dependencies:
20574 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20576 \$(OBJS): \$(IDL_GEN_HEADERS)
20577 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20578 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20579 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20585 ac_config_commands
="$ac_config_commands include/stamp-h"
20588 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
20590 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
20592 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
20594 ac_config_commands
="$ac_config_commands dlls/user32/resources"
20596 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
20598 ac_config_commands
="$ac_config_commands include/wine"
20601 MAKE_RULES
=Make.rules
20604 MAKE_DLL_RULES
=dlls
/Makedll.rules
20607 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
20610 MAKE_TEST_RULES
=dlls
/Maketest.rules
20613 MAKE_PROG_RULES
=programs
/Makeprog.rules
20616 ac_config_files
="$ac_config_files Make.rules"
20618 ac_config_files
="$ac_config_files dlls/Makedll.rules"
20620 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
20622 ac_config_files
="$ac_config_files dlls/Maketest.rules"
20624 ac_config_files
="$ac_config_files programs/Makeprog.rules"
20626 ac_config_files
="$ac_config_files Makefile"
20628 ac_config_files
="$ac_config_files dlls/Makefile"
20630 ac_config_files
="$ac_config_files dlls/acledit/Makefile"
20632 ac_config_files
="$ac_config_files dlls/activeds/Makefile"
20634 ac_config_files
="$ac_config_files dlls/actxprxy/Makefile"
20636 ac_config_files
="$ac_config_files dlls/advapi32/Makefile"
20638 ac_config_files
="$ac_config_files dlls/advapi32/tests/Makefile"
20640 ac_config_files
="$ac_config_files dlls/advpack/Makefile"
20642 ac_config_files
="$ac_config_files dlls/advpack/tests/Makefile"
20644 ac_config_files
="$ac_config_files dlls/amstream/Makefile"
20646 ac_config_files
="$ac_config_files dlls/atl/Makefile"
20648 ac_config_files
="$ac_config_files dlls/avicap32/Makefile"
20650 ac_config_files
="$ac_config_files dlls/avifil32/Makefile"
20652 ac_config_files
="$ac_config_files dlls/browseui/Makefile"
20654 ac_config_files
="$ac_config_files dlls/browseui/tests/Makefile"
20656 ac_config_files
="$ac_config_files dlls/cabinet/Makefile"
20658 ac_config_files
="$ac_config_files dlls/cabinet/tests/Makefile"
20660 ac_config_files
="$ac_config_files dlls/capi2032/Makefile"
20662 ac_config_files
="$ac_config_files dlls/cards/Makefile"
20664 ac_config_files
="$ac_config_files dlls/cfgmgr32/Makefile"
20666 ac_config_files
="$ac_config_files dlls/clusapi/Makefile"
20668 ac_config_files
="$ac_config_files dlls/comcat/Makefile"
20670 ac_config_files
="$ac_config_files dlls/comcat/tests/Makefile"
20672 ac_config_files
="$ac_config_files dlls/comctl32/Makefile"
20674 ac_config_files
="$ac_config_files dlls/comctl32/tests/Makefile"
20676 ac_config_files
="$ac_config_files dlls/comdlg32/Makefile"
20678 ac_config_files
="$ac_config_files dlls/comdlg32/tests/Makefile"
20680 ac_config_files
="$ac_config_files dlls/compstui/Makefile"
20682 ac_config_files
="$ac_config_files dlls/credui/Makefile"
20684 ac_config_files
="$ac_config_files dlls/credui/tests/Makefile"
20686 ac_config_files
="$ac_config_files dlls/crtdll/Makefile"
20688 ac_config_files
="$ac_config_files dlls/crypt32/Makefile"
20690 ac_config_files
="$ac_config_files dlls/crypt32/tests/Makefile"
20692 ac_config_files
="$ac_config_files dlls/cryptdll/Makefile"
20694 ac_config_files
="$ac_config_files dlls/cryptnet/Makefile"
20696 ac_config_files
="$ac_config_files dlls/cryptnet/tests/Makefile"
20698 ac_config_files
="$ac_config_files dlls/ctapi32/Makefile"
20700 ac_config_files
="$ac_config_files dlls/ctl3d32/Makefile"
20702 ac_config_files
="$ac_config_files dlls/d3d10/Makefile"
20704 ac_config_files
="$ac_config_files dlls/d3d8/Makefile"
20706 ac_config_files
="$ac_config_files dlls/d3d8/tests/Makefile"
20708 ac_config_files
="$ac_config_files dlls/d3d9/Makefile"
20710 ac_config_files
="$ac_config_files dlls/d3d9/tests/Makefile"
20712 ac_config_files
="$ac_config_files dlls/d3dim/Makefile"
20714 ac_config_files
="$ac_config_files dlls/d3drm/Makefile"
20716 ac_config_files
="$ac_config_files dlls/d3drm/tests/Makefile"
20718 ac_config_files
="$ac_config_files dlls/d3dx8/Makefile"
20720 ac_config_files
="$ac_config_files dlls/d3dx8/tests/Makefile"
20722 ac_config_files
="$ac_config_files dlls/d3dxof/Makefile"
20724 ac_config_files
="$ac_config_files dlls/dbghelp/Makefile"
20726 ac_config_files
="$ac_config_files dlls/dciman32/Makefile"
20728 ac_config_files
="$ac_config_files dlls/ddraw/Makefile"
20730 ac_config_files
="$ac_config_files dlls/ddraw/tests/Makefile"
20732 ac_config_files
="$ac_config_files dlls/ddrawex/Makefile"
20734 ac_config_files
="$ac_config_files dlls/devenum/Makefile"
20736 ac_config_files
="$ac_config_files dlls/dinput/Makefile"
20738 ac_config_files
="$ac_config_files dlls/dinput/tests/Makefile"
20740 ac_config_files
="$ac_config_files dlls/dinput8/Makefile"
20742 ac_config_files
="$ac_config_files dlls/dmband/Makefile"
20744 ac_config_files
="$ac_config_files dlls/dmcompos/Makefile"
20746 ac_config_files
="$ac_config_files dlls/dmime/Makefile"
20748 ac_config_files
="$ac_config_files dlls/dmloader/Makefile"
20750 ac_config_files
="$ac_config_files dlls/dmscript/Makefile"
20752 ac_config_files
="$ac_config_files dlls/dmstyle/Makefile"
20754 ac_config_files
="$ac_config_files dlls/dmsynth/Makefile"
20756 ac_config_files
="$ac_config_files dlls/dmusic/Makefile"
20758 ac_config_files
="$ac_config_files dlls/dmusic32/Makefile"
20760 ac_config_files
="$ac_config_files dlls/dnsapi/Makefile"
20762 ac_config_files
="$ac_config_files dlls/dnsapi/tests/Makefile"
20764 ac_config_files
="$ac_config_files dlls/dplay/Makefile"
20766 ac_config_files
="$ac_config_files dlls/dplayx/Makefile"
20768 ac_config_files
="$ac_config_files dlls/dplayx/tests/Makefile"
20770 ac_config_files
="$ac_config_files dlls/dpnaddr/Makefile"
20772 ac_config_files
="$ac_config_files dlls/dpnet/Makefile"
20774 ac_config_files
="$ac_config_files dlls/dpnhpast/Makefile"
20776 ac_config_files
="$ac_config_files dlls/dpnlobby/Makefile"
20778 ac_config_files
="$ac_config_files dlls/dsound/Makefile"
20780 ac_config_files
="$ac_config_files dlls/dsound/tests/Makefile"
20782 ac_config_files
="$ac_config_files dlls/dswave/Makefile"
20784 ac_config_files
="$ac_config_files dlls/dwmapi/Makefile"
20786 ac_config_files
="$ac_config_files dlls/dxdiagn/Makefile"
20788 ac_config_files
="$ac_config_files dlls/dxerr8/Makefile"
20790 ac_config_files
="$ac_config_files dlls/dxerr9/Makefile"
20792 ac_config_files
="$ac_config_files dlls/dxguid/Makefile"
20794 ac_config_files
="$ac_config_files dlls/faultrep/Makefile"
20796 ac_config_files
="$ac_config_files dlls/gdi32/Makefile"
20798 ac_config_files
="$ac_config_files dlls/gdi32/tests/Makefile"
20800 ac_config_files
="$ac_config_files dlls/gdiplus/Makefile"
20802 ac_config_files
="$ac_config_files dlls/gdiplus/tests/Makefile"
20804 ac_config_files
="$ac_config_files dlls/glu32/Makefile"
20806 ac_config_files
="$ac_config_files dlls/gphoto2.ds/Makefile"
20808 ac_config_files
="$ac_config_files dlls/hal/Makefile"
20810 ac_config_files
="$ac_config_files dlls/hhctrl.ocx/Makefile"
20812 ac_config_files
="$ac_config_files dlls/hid/Makefile"
20814 ac_config_files
="$ac_config_files dlls/hlink/Makefile"
20816 ac_config_files
="$ac_config_files dlls/hlink/tests/Makefile"
20818 ac_config_files
="$ac_config_files dlls/hnetcfg/Makefile"
20820 ac_config_files
="$ac_config_files dlls/iccvid/Makefile"
20822 ac_config_files
="$ac_config_files dlls/icmp/Makefile"
20824 ac_config_files
="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20826 ac_config_files
="$ac_config_files dlls/imaadp32.acm/Makefile"
20828 ac_config_files
="$ac_config_files dlls/imagehlp/Makefile"
20830 ac_config_files
="$ac_config_files dlls/imm32/Makefile"
20832 ac_config_files
="$ac_config_files dlls/inetcomm/Makefile"
20834 ac_config_files
="$ac_config_files dlls/inetcomm/tests/Makefile"
20836 ac_config_files
="$ac_config_files dlls/infosoft/Makefile"
20838 ac_config_files
="$ac_config_files dlls/infosoft/tests/Makefile"
20840 ac_config_files
="$ac_config_files dlls/inkobj/Makefile"
20842 ac_config_files
="$ac_config_files dlls/inseng/Makefile"
20844 ac_config_files
="$ac_config_files dlls/iphlpapi/Makefile"
20846 ac_config_files
="$ac_config_files dlls/iphlpapi/tests/Makefile"
20848 ac_config_files
="$ac_config_files dlls/itss/Makefile"
20850 ac_config_files
="$ac_config_files dlls/itss/tests/Makefile"
20852 ac_config_files
="$ac_config_files dlls/kernel32/Makefile"
20854 ac_config_files
="$ac_config_files dlls/kernel32/tests/Makefile"
20856 ac_config_files
="$ac_config_files dlls/localspl/Makefile"
20858 ac_config_files
="$ac_config_files dlls/localspl/tests/Makefile"
20860 ac_config_files
="$ac_config_files dlls/localui/Makefile"
20862 ac_config_files
="$ac_config_files dlls/localui/tests/Makefile"
20864 ac_config_files
="$ac_config_files dlls/lz32/Makefile"
20866 ac_config_files
="$ac_config_files dlls/lz32/tests/Makefile"
20868 ac_config_files
="$ac_config_files dlls/mapi32/Makefile"
20870 ac_config_files
="$ac_config_files dlls/mapi32/tests/Makefile"
20872 ac_config_files
="$ac_config_files dlls/mciavi32/Makefile"
20874 ac_config_files
="$ac_config_files dlls/mcicda/Makefile"
20876 ac_config_files
="$ac_config_files dlls/mciseq/Makefile"
20878 ac_config_files
="$ac_config_files dlls/mciwave/Makefile"
20880 ac_config_files
="$ac_config_files dlls/midimap/Makefile"
20882 ac_config_files
="$ac_config_files dlls/mlang/Makefile"
20884 ac_config_files
="$ac_config_files dlls/mlang/tests/Makefile"
20886 ac_config_files
="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20888 ac_config_files
="$ac_config_files dlls/monodebg.vxd/Makefile"
20890 ac_config_files
="$ac_config_files dlls/mpr/Makefile"
20892 ac_config_files
="$ac_config_files dlls/mprapi/Makefile"
20894 ac_config_files
="$ac_config_files dlls/msacm32.drv/Makefile"
20896 ac_config_files
="$ac_config_files dlls/msacm32/Makefile"
20898 ac_config_files
="$ac_config_files dlls/msacm32/tests/Makefile"
20900 ac_config_files
="$ac_config_files dlls/msadp32.acm/Makefile"
20902 ac_config_files
="$ac_config_files dlls/mscat32/Makefile"
20904 ac_config_files
="$ac_config_files dlls/mscms/Makefile"
20906 ac_config_files
="$ac_config_files dlls/mscms/tests/Makefile"
20908 ac_config_files
="$ac_config_files dlls/mscoree/Makefile"
20910 ac_config_files
="$ac_config_files dlls/msdmo/Makefile"
20912 ac_config_files
="$ac_config_files dlls/msftedit/Makefile"
20914 ac_config_files
="$ac_config_files dlls/msg711.acm/Makefile"
20916 ac_config_files
="$ac_config_files dlls/mshtml.tlb/Makefile"
20918 ac_config_files
="$ac_config_files dlls/mshtml/Makefile"
20920 ac_config_files
="$ac_config_files dlls/mshtml/tests/Makefile"
20922 ac_config_files
="$ac_config_files dlls/msi/Makefile"
20924 ac_config_files
="$ac_config_files dlls/msi/tests/Makefile"
20926 ac_config_files
="$ac_config_files dlls/msimg32/Makefile"
20928 ac_config_files
="$ac_config_files dlls/msimtf/Makefile"
20930 ac_config_files
="$ac_config_files dlls/msisys.ocx/Makefile"
20932 ac_config_files
="$ac_config_files dlls/msnet32/Makefile"
20934 ac_config_files
="$ac_config_files dlls/msrle32/Makefile"
20936 ac_config_files
="$ac_config_files dlls/msvcirt/Makefile"
20938 ac_config_files
="$ac_config_files dlls/msvcrt/Makefile"
20940 ac_config_files
="$ac_config_files dlls/msvcrt/tests/Makefile"
20942 ac_config_files
="$ac_config_files dlls/msvcrt20/Makefile"
20944 ac_config_files
="$ac_config_files dlls/msvcrt40/Makefile"
20946 ac_config_files
="$ac_config_files dlls/msvcrtd/Makefile"
20948 ac_config_files
="$ac_config_files dlls/msvcrtd/tests/Makefile"
20950 ac_config_files
="$ac_config_files dlls/msvfw32/Makefile"
20952 ac_config_files
="$ac_config_files dlls/msvidc32/Makefile"
20954 ac_config_files
="$ac_config_files dlls/mswsock/Makefile"
20956 ac_config_files
="$ac_config_files dlls/msxml3/Makefile"
20958 ac_config_files
="$ac_config_files dlls/msxml3/tests/Makefile"
20960 ac_config_files
="$ac_config_files dlls/nddeapi/Makefile"
20962 ac_config_files
="$ac_config_files dlls/netapi32/Makefile"
20964 ac_config_files
="$ac_config_files dlls/netapi32/tests/Makefile"
20966 ac_config_files
="$ac_config_files dlls/newdev/Makefile"
20968 ac_config_files
="$ac_config_files dlls/ntdll/Makefile"
20970 ac_config_files
="$ac_config_files dlls/ntdll/tests/Makefile"
20972 ac_config_files
="$ac_config_files dlls/ntdsapi/Makefile"
20974 ac_config_files
="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20976 ac_config_files
="$ac_config_files dlls/ntprint/Makefile"
20978 ac_config_files
="$ac_config_files dlls/ntprint/tests/Makefile"
20980 ac_config_files
="$ac_config_files dlls/objsel/Makefile"
20982 ac_config_files
="$ac_config_files dlls/odbc32/Makefile"
20984 ac_config_files
="$ac_config_files dlls/odbccp32/Makefile"
20986 ac_config_files
="$ac_config_files dlls/odbccp32/tests/Makefile"
20988 ac_config_files
="$ac_config_files dlls/ole32/Makefile"
20990 ac_config_files
="$ac_config_files dlls/ole32/tests/Makefile"
20992 ac_config_files
="$ac_config_files dlls/oleacc/Makefile"
20994 ac_config_files
="$ac_config_files dlls/oleaut32/Makefile"
20996 ac_config_files
="$ac_config_files dlls/oleaut32/tests/Makefile"
20998 ac_config_files
="$ac_config_files dlls/olecli32/Makefile"
21000 ac_config_files
="$ac_config_files dlls/oledlg/Makefile"
21002 ac_config_files
="$ac_config_files dlls/olepro32/Makefile"
21004 ac_config_files
="$ac_config_files dlls/olesvr32/Makefile"
21006 ac_config_files
="$ac_config_files dlls/olethk32/Makefile"
21008 ac_config_files
="$ac_config_files dlls/opengl32/Makefile"
21010 ac_config_files
="$ac_config_files dlls/opengl32/tests/Makefile"
21012 ac_config_files
="$ac_config_files dlls/pdh/Makefile"
21014 ac_config_files
="$ac_config_files dlls/pdh/tests/Makefile"
21016 ac_config_files
="$ac_config_files dlls/powrprof/Makefile"
21018 ac_config_files
="$ac_config_files dlls/printui/Makefile"
21020 ac_config_files
="$ac_config_files dlls/psapi/Makefile"
21022 ac_config_files
="$ac_config_files dlls/psapi/tests/Makefile"
21024 ac_config_files
="$ac_config_files dlls/pstorec/Makefile"
21026 ac_config_files
="$ac_config_files dlls/qcap/Makefile"
21028 ac_config_files
="$ac_config_files dlls/qmgr/Makefile"
21030 ac_config_files
="$ac_config_files dlls/qmgrprxy/Makefile"
21032 ac_config_files
="$ac_config_files dlls/quartz/Makefile"
21034 ac_config_files
="$ac_config_files dlls/quartz/tests/Makefile"
21036 ac_config_files
="$ac_config_files dlls/query/Makefile"
21038 ac_config_files
="$ac_config_files dlls/rasapi32/Makefile"
21040 ac_config_files
="$ac_config_files dlls/resutils/Makefile"
21042 ac_config_files
="$ac_config_files dlls/riched20/Makefile"
21044 ac_config_files
="$ac_config_files dlls/riched20/tests/Makefile"
21046 ac_config_files
="$ac_config_files dlls/riched32/Makefile"
21048 ac_config_files
="$ac_config_files dlls/riched32/tests/Makefile"
21050 ac_config_files
="$ac_config_files dlls/rpcrt4/Makefile"
21052 ac_config_files
="$ac_config_files dlls/rpcrt4/tests/Makefile"
21054 ac_config_files
="$ac_config_files dlls/rsabase/Makefile"
21056 ac_config_files
="$ac_config_files dlls/rsabase/tests/Makefile"
21058 ac_config_files
="$ac_config_files dlls/rsaenh/Makefile"
21060 ac_config_files
="$ac_config_files dlls/rsaenh/tests/Makefile"
21062 ac_config_files
="$ac_config_files dlls/sane.ds/Makefile"
21064 ac_config_files
="$ac_config_files dlls/schannel/Makefile"
21066 ac_config_files
="$ac_config_files dlls/schannel/tests/Makefile"
21068 ac_config_files
="$ac_config_files dlls/secur32/Makefile"
21070 ac_config_files
="$ac_config_files dlls/secur32/tests/Makefile"
21072 ac_config_files
="$ac_config_files dlls/security/Makefile"
21074 ac_config_files
="$ac_config_files dlls/sensapi/Makefile"
21076 ac_config_files
="$ac_config_files dlls/serialui/Makefile"
21078 ac_config_files
="$ac_config_files dlls/serialui/tests/Makefile"
21080 ac_config_files
="$ac_config_files dlls/setupapi/Makefile"
21082 ac_config_files
="$ac_config_files dlls/setupapi/tests/Makefile"
21084 ac_config_files
="$ac_config_files dlls/sfc/Makefile"
21086 ac_config_files
="$ac_config_files dlls/sfc_os/Makefile"
21088 ac_config_files
="$ac_config_files dlls/shdoclc/Makefile"
21090 ac_config_files
="$ac_config_files dlls/shdocvw/Makefile"
21092 ac_config_files
="$ac_config_files dlls/shdocvw/tests/Makefile"
21094 ac_config_files
="$ac_config_files dlls/shell32/Makefile"
21096 ac_config_files
="$ac_config_files dlls/shell32/tests/Makefile"
21098 ac_config_files
="$ac_config_files dlls/shfolder/Makefile"
21100 ac_config_files
="$ac_config_files dlls/shlwapi/Makefile"
21102 ac_config_files
="$ac_config_files dlls/shlwapi/tests/Makefile"
21104 ac_config_files
="$ac_config_files dlls/snmpapi/Makefile"
21106 ac_config_files
="$ac_config_files dlls/snmpapi/tests/Makefile"
21108 ac_config_files
="$ac_config_files dlls/spoolss/Makefile"
21110 ac_config_files
="$ac_config_files dlls/spoolss/tests/Makefile"
21112 ac_config_files
="$ac_config_files dlls/stdole2.tlb/Makefile"
21114 ac_config_files
="$ac_config_files dlls/stdole32.tlb/Makefile"
21116 ac_config_files
="$ac_config_files dlls/sti/Makefile"
21118 ac_config_files
="$ac_config_files dlls/strmiids/Makefile"
21120 ac_config_files
="$ac_config_files dlls/svrapi/Makefile"
21122 ac_config_files
="$ac_config_files dlls/sxs/Makefile"
21124 ac_config_files
="$ac_config_files dlls/tapi32/Makefile"
21126 ac_config_files
="$ac_config_files dlls/twain_32/Makefile"
21128 ac_config_files
="$ac_config_files dlls/unicows/Makefile"
21130 ac_config_files
="$ac_config_files dlls/url/Makefile"
21132 ac_config_files
="$ac_config_files dlls/urlmon/Makefile"
21134 ac_config_files
="$ac_config_files dlls/urlmon/tests/Makefile"
21136 ac_config_files
="$ac_config_files dlls/user32/Makefile"
21138 ac_config_files
="$ac_config_files dlls/user32/tests/Makefile"
21140 ac_config_files
="$ac_config_files dlls/userenv/Makefile"
21142 ac_config_files
="$ac_config_files dlls/usp10/Makefile"
21144 ac_config_files
="$ac_config_files dlls/usp10/tests/Makefile"
21146 ac_config_files
="$ac_config_files dlls/uuid/Makefile"
21148 ac_config_files
="$ac_config_files dlls/uxtheme/Makefile"
21150 ac_config_files
="$ac_config_files dlls/uxtheme/tests/Makefile"
21152 ac_config_files
="$ac_config_files dlls/vdhcp.vxd/Makefile"
21154 ac_config_files
="$ac_config_files dlls/vdmdbg/Makefile"
21156 ac_config_files
="$ac_config_files dlls/version/Makefile"
21158 ac_config_files
="$ac_config_files dlls/version/tests/Makefile"
21160 ac_config_files
="$ac_config_files dlls/vmm.vxd/Makefile"
21162 ac_config_files
="$ac_config_files dlls/vnbt.vxd/Makefile"
21164 ac_config_files
="$ac_config_files dlls/vnetbios.vxd/Makefile"
21166 ac_config_files
="$ac_config_files dlls/vtdapi.vxd/Makefile"
21168 ac_config_files
="$ac_config_files dlls/vwin32.vxd/Makefile"
21170 ac_config_files
="$ac_config_files dlls/w32skrnl/Makefile"
21172 ac_config_files
="$ac_config_files dlls/winealsa.drv/Makefile"
21174 ac_config_files
="$ac_config_files dlls/wineaudioio.drv/Makefile"
21176 ac_config_files
="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21178 ac_config_files
="$ac_config_files dlls/winecrt0/Makefile"
21180 ac_config_files
="$ac_config_files dlls/wined3d/Makefile"
21182 ac_config_files
="$ac_config_files dlls/winedos/Makefile"
21184 ac_config_files
="$ac_config_files dlls/wineesd.drv/Makefile"
21186 ac_config_files
="$ac_config_files dlls/winejack.drv/Makefile"
21188 ac_config_files
="$ac_config_files dlls/winejoystick.drv/Makefile"
21190 ac_config_files
="$ac_config_files dlls/winemp3.acm/Makefile"
21192 ac_config_files
="$ac_config_files dlls/winenas.drv/Makefile"
21194 ac_config_files
="$ac_config_files dlls/wineoss.drv/Makefile"
21196 ac_config_files
="$ac_config_files dlls/wineps.drv/Makefile"
21198 ac_config_files
="$ac_config_files dlls/winequartz.drv/Makefile"
21200 ac_config_files
="$ac_config_files dlls/winex11.drv/Makefile"
21202 ac_config_files
="$ac_config_files dlls/wing32/Makefile"
21204 ac_config_files
="$ac_config_files dlls/winhttp/Makefile"
21206 ac_config_files
="$ac_config_files dlls/wininet/Makefile"
21208 ac_config_files
="$ac_config_files dlls/wininet/tests/Makefile"
21210 ac_config_files
="$ac_config_files dlls/winmm/Makefile"
21212 ac_config_files
="$ac_config_files dlls/winmm/tests/Makefile"
21214 ac_config_files
="$ac_config_files dlls/winnls32/Makefile"
21216 ac_config_files
="$ac_config_files dlls/winscard/Makefile"
21218 ac_config_files
="$ac_config_files dlls/winspool.drv/Makefile"
21220 ac_config_files
="$ac_config_files dlls/winspool.drv/tests/Makefile"
21222 ac_config_files
="$ac_config_files dlls/wintab32/Makefile"
21224 ac_config_files
="$ac_config_files dlls/wintrust/Makefile"
21226 ac_config_files
="$ac_config_files dlls/wintrust/tests/Makefile"
21228 ac_config_files
="$ac_config_files dlls/wldap32/Makefile"
21230 ac_config_files
="$ac_config_files dlls/wnaspi32/Makefile"
21232 ac_config_files
="$ac_config_files dlls/wow32/Makefile"
21234 ac_config_files
="$ac_config_files dlls/ws2_32/Makefile"
21236 ac_config_files
="$ac_config_files dlls/ws2_32/tests/Makefile"
21238 ac_config_files
="$ac_config_files dlls/wsock32/Makefile"
21240 ac_config_files
="$ac_config_files dlls/wtsapi32/Makefile"
21242 ac_config_files
="$ac_config_files documentation/Makefile"
21244 ac_config_files
="$ac_config_files fonts/Makefile"
21246 ac_config_files
="$ac_config_files include/Makefile"
21248 ac_config_files
="$ac_config_files libs/Makefile"
21250 ac_config_files
="$ac_config_files libs/port/Makefile"
21252 ac_config_files
="$ac_config_files libs/wine/Makefile"
21254 ac_config_files
="$ac_config_files libs/wpp/Makefile"
21256 ac_config_files
="$ac_config_files loader/Makefile"
21258 ac_config_files
="$ac_config_files programs/Makefile"
21260 ac_config_files
="$ac_config_files programs/clock/Makefile"
21262 ac_config_files
="$ac_config_files programs/cmd/Makefile"
21264 ac_config_files
="$ac_config_files programs/cmdlgtst/Makefile"
21266 ac_config_files
="$ac_config_files programs/control/Makefile"
21268 ac_config_files
="$ac_config_files programs/eject/Makefile"
21270 ac_config_files
="$ac_config_files programs/expand/Makefile"
21272 ac_config_files
="$ac_config_files programs/explorer/Makefile"
21274 ac_config_files
="$ac_config_files programs/hh/Makefile"
21276 ac_config_files
="$ac_config_files programs/icinfo/Makefile"
21278 ac_config_files
="$ac_config_files programs/iexplore/Makefile"
21280 ac_config_files
="$ac_config_files programs/msiexec/Makefile"
21282 ac_config_files
="$ac_config_files programs/net/Makefile"
21284 ac_config_files
="$ac_config_files programs/notepad/Makefile"
21286 ac_config_files
="$ac_config_files programs/oleview/Makefile"
21288 ac_config_files
="$ac_config_files programs/progman/Makefile"
21290 ac_config_files
="$ac_config_files programs/regedit/Makefile"
21292 ac_config_files
="$ac_config_files programs/regsvr32/Makefile"
21294 ac_config_files
="$ac_config_files programs/rpcss/Makefile"
21296 ac_config_files
="$ac_config_files programs/rundll32/Makefile"
21298 ac_config_files
="$ac_config_files programs/spoolsv/Makefile"
21300 ac_config_files
="$ac_config_files programs/start/Makefile"
21302 ac_config_files
="$ac_config_files programs/svchost/Makefile"
21304 ac_config_files
="$ac_config_files programs/taskmgr/Makefile"
21306 ac_config_files
="$ac_config_files programs/uninstaller/Makefile"
21308 ac_config_files
="$ac_config_files programs/view/Makefile"
21310 ac_config_files
="$ac_config_files programs/wineboot/Makefile"
21312 ac_config_files
="$ac_config_files programs/winebrowser/Makefile"
21314 ac_config_files
="$ac_config_files programs/winecfg/Makefile"
21316 ac_config_files
="$ac_config_files programs/wineconsole/Makefile"
21318 ac_config_files
="$ac_config_files programs/winedbg/Makefile"
21320 ac_config_files
="$ac_config_files programs/winedevice/Makefile"
21322 ac_config_files
="$ac_config_files programs/winefile/Makefile"
21324 ac_config_files
="$ac_config_files programs/winemenubuilder/Makefile"
21326 ac_config_files
="$ac_config_files programs/winemine/Makefile"
21328 ac_config_files
="$ac_config_files programs/winepath/Makefile"
21330 ac_config_files
="$ac_config_files programs/winetest/Makefile"
21332 ac_config_files
="$ac_config_files programs/winevdm/Makefile"
21334 ac_config_files
="$ac_config_files programs/winhelp/Makefile"
21336 ac_config_files
="$ac_config_files programs/winver/Makefile"
21338 ac_config_files
="$ac_config_files programs/wordpad/Makefile"
21340 ac_config_files
="$ac_config_files programs/write/Makefile"
21342 ac_config_files
="$ac_config_files programs/xcopy/Makefile"
21344 ac_config_files
="$ac_config_files server/Makefile"
21346 ac_config_files
="$ac_config_files tools/Makefile"
21348 ac_config_files
="$ac_config_files tools/widl/Makefile"
21350 ac_config_files
="$ac_config_files tools/winebuild/Makefile"
21352 ac_config_files
="$ac_config_files tools/winedump/Makefile"
21354 ac_config_files
="$ac_config_files tools/winegcc/Makefile"
21356 ac_config_files
="$ac_config_files tools/wmc/Makefile"
21358 ac_config_files
="$ac_config_files tools/wrc/Makefile"
21361 cat >confcache
<<\_ACEOF
21362 # This file is a shell script that caches the results of configure
21363 # tests run on this system so they can be shared between configure
21364 # scripts and configure runs, see configure's option --config-cache.
21365 # It is not useful on other systems. If it contains results you don't
21366 # want to keep, you may remove or edit it.
21368 # config.status only pays attention to the cache file if you give it
21369 # the --recheck option to rerun configure.
21371 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21372 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21373 # following values.
21377 # The following way of writing the cache mishandles newlines in values,
21378 # but we know of no workaround that is simple, portable, and efficient.
21379 # So, we kill variables containing newlines.
21380 # Ultrix sh set writes to stderr and can't be redirected directly,
21381 # and sets the high bit in the cache file unless we assign to the vars.
21383 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21384 eval ac_val
=\$
$ac_var
21388 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21389 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21392 _ | IFS | as_nl
) ;; #(
21393 *) $as_unset $ac_var ;;
21399 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21400 *${as_nl}ac_space
=\
*)
21401 # `set' does not quote correctly, so add quotes (double-quote
21402 # substitution turns \\\\ into \\, and sed turns \\ into \).
21405 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21408 # `set' quotes correctly as required by POSIX, so do not add quotes.
21409 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21418 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21420 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21422 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21423 if test -w "$cache_file"; then
21424 test "x$cache_file" != "x/dev/null" &&
21425 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21426 echo "$as_me: updating cache $cache_file" >&6;}
21427 cat confcache
>$cache_file
21429 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21430 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21435 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21436 # Let make expand exec_prefix.
21437 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21439 DEFS
=-DHAVE_CONFIG_H
21443 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21444 # 1. Remove the extension, and $U if already installed.
21445 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21446 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21447 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21448 # will be set to the directory where LIBOBJS objects are built.
21449 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21450 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21452 LIBOBJS
=$ac_libobjs
21454 LTLIBOBJS
=$ac_ltlibobjs
21458 : ${CONFIG_STATUS=./config.status}
21459 ac_clean_files_save
=$ac_clean_files
21460 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21461 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21462 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21463 cat >$CONFIG_STATUS <<_ACEOF
21465 # Generated by $as_me.
21466 # Run this file to recreate the current configuration.
21467 # Compiler output produced by configure, useful for debugging
21468 # configure, is in config.log if it exists.
21471 ac_cs_recheck=false
21473 SHELL=\${CONFIG_SHELL-$SHELL}
21476 cat >>$CONFIG_STATUS <<\_ACEOF
21477 ## --------------------- ##
21478 ## M4sh Initialization. ##
21479 ## --------------------- ##
21481 # Be more Bourne compatible
21482 DUALCASE
=1; export DUALCASE
# for MKS sh
21483 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21486 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21487 # is contrary to our usage. Disable this feature.
21488 alias -g '${1+"$@"}'='"$@"'
21489 setopt NO_GLOB_SUBST
21491 case `(set -o) 2>/dev/null` in
21492 *posix
*) set -o posix
;;
21501 # Avoid depending upon Character Ranges.
21502 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21503 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21504 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21505 as_cr_digits
='0123456789'
21506 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21508 # The user is always right.
21509 if test "${PATH_SEPARATOR+set}" != set; then
21510 echo "#! /bin/sh" >conf$$.sh
21511 echo "exit 0" >>conf$$.sh
21513 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21521 # Support unset when possible.
21522 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21530 # We need space, tab and new line, in precisely that order. Quoting is
21531 # there to prevent editors from complaining about space-tab.
21532 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21533 # splitting by setting IFS to empty value.)
21538 # Find who we are. Look in the path if we contain no directory separator.
21540 *[\\/]* ) as_myself
=$0 ;;
21541 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21542 for as_dir
in $PATH
21545 test -z "$as_dir" && as_dir
=.
21546 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21552 # We did not find ourselves, most probably we were run as `sh COMMAND'
21553 # in which case we are not to be found in the path.
21554 if test "x$as_myself" = x
; then
21557 if test ! -f "$as_myself"; then
21558 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21559 { (exit 1); exit 1; }
21562 # Work around bugs in pre-3.0 UWIN ksh.
21563 for as_var
in ENV MAIL MAILPATH
21564 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21572 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21573 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21574 LC_TELEPHONE LC_TIME
21576 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21577 eval $as_var=C
; export $as_var
21579 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21583 # Required to use basename.
21584 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21585 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21591 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21592 as_basename
=basename
21598 # Name of the executable.
21599 as_me
=`$as_basename -- "$0" ||
21600 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21601 X"$0" : 'X\(//\)$' \| \
21602 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21604 sed '/^.*\/\([^/][^/]*\)\/*$/{
21623 as_lineno_1
=$LINENO
21624 as_lineno_2
=$LINENO
21625 test "x$as_lineno_1" != "x$as_lineno_2" &&
21626 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21628 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21629 # uniformly replaced by the line number. The first 'sed' inserts a
21630 # line-number line after each line using $LINENO; the second 'sed'
21631 # does the real work. The second script uses 'N' to pair each
21632 # line-number line with the line containing $LINENO, and appends
21633 # trailing '-' during substitution so that $LINENO is not a special
21634 # case at line end.
21635 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21636 # scripts with optimization help from Paolo Bonzini. Blame Lee
21637 # E. McMahon (1931-1989) for sed's syntax. :-)
21649 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21652 ' >$as_me.lineno
&&
21653 chmod +x
"$as_me.lineno" ||
21654 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21655 { (exit 1); exit 1; }; }
21657 # Don't try to exec as it changes $[0], causing all sort of problems
21658 # (the dirname of $[0] is not the place where we might find the
21659 # original and so on. Autoconf is especially sensitive to this).
21660 .
"./$as_me.lineno"
21661 # Exit status is that of the last command.
21666 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21672 ECHO_C
= ECHO_N
= ECHO_T
=
21673 case `echo -n x` in
21675 case `echo 'x\c'` in
21676 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21683 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21684 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21690 rm -f conf$$ conf$$.exe conf$$.
file
21691 if test -d conf$$.dir
; then
21692 rm -f conf$$.dir
/conf$$.
file
21698 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21700 # ... but there are two gotchas:
21701 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21702 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21703 # In both cases, we have to default to `cp -p'.
21704 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21706 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21711 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21712 rmdir conf$$.dir
2>/dev
/null
21714 if mkdir
-p .
2>/dev
/null
; then
21717 test -d .
/-p && rmdir .
/-p
21721 if test -x / >/dev
/null
2>&1; then
21722 as_test_x
='test -x'
21724 if ls -dL / >/dev
/null
2>&1; then
21731 if test -d "$1"; then
21737 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21738 ???[sx]*):;;*)false;;esac;fi
21742 as_executable_p
=$as_test_x
21744 # Sed expression to map a string onto a valid CPP name.
21745 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21747 # Sed expression to map a string onto a valid variable name.
21748 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21753 # Save the log message, to keep $[0] and so on meaningful, and to
21754 # report actual input values of CONFIG_FILES etc. instead of their
21755 # values after options handling.
21757 This file was extended by Wine $as_me 0.9.51, which was
21758 generated by GNU Autoconf 2.61. Invocation command line was
21760 CONFIG_FILES = $CONFIG_FILES
21761 CONFIG_HEADERS = $CONFIG_HEADERS
21762 CONFIG_LINKS = $CONFIG_LINKS
21763 CONFIG_COMMANDS = $CONFIG_COMMANDS
21766 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21771 cat >>$CONFIG_STATUS <<_ACEOF
21772 # Files that config.status was made for.
21773 config_files="$ac_config_files"
21774 config_headers="$ac_config_headers"
21775 config_commands="$ac_config_commands"
21779 cat >>$CONFIG_STATUS <<\_ACEOF
21781 \`$as_me' instantiates files from templates according to the
21782 current configuration.
21784 Usage: $0 [OPTIONS] [FILE]...
21786 -h, --help print this help, then exit
21787 -V, --version print version number and configuration settings, then exit
21788 -q, --quiet do not print progress messages
21789 -d, --debug don't remove temporary files
21790 --recheck update $as_me by reconfiguring in the same conditions
21791 --file=FILE[:TEMPLATE]
21792 instantiate the configuration file FILE
21793 --header=FILE[:TEMPLATE]
21794 instantiate the configuration header FILE
21796 Configuration files:
21799 Configuration headers:
21802 Configuration commands:
21805 Report bugs to <bug-autoconf@gnu.org>."
21808 cat >>$CONFIG_STATUS <<_ACEOF
21810 Wine config.status 0.9.51
21811 configured by $0, generated by GNU Autoconf 2.61,
21812 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21814 Copyright (C) 2006 Free Software Foundation, Inc.
21815 This config.status script is free software; the Free Software Foundation
21816 gives unlimited permission to copy, distribute and modify it."
21823 cat >>$CONFIG_STATUS <<\_ACEOF
21824 # If no file are specified by the user, then we need to provide default
21825 # value. By we need to know if files were specified by the user.
21831 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21832 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21843 # Handling of the options.
21844 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21846 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21847 echo "$ac_cs_version"; exit ;;
21848 --debug |
--debu |
--deb |
--de |
--d |
-d )
21850 --file |
--fil |
--fi |
--f )
21852 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21853 ac_need_defaults
=false
;;
21854 --header |
--heade |
--head |
--hea )
21856 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21857 ac_need_defaults
=false
;;
21859 # Conflict between --help and --header
21860 { echo "$as_me: error: ambiguous option: $1
21861 Try \`$0 --help' for more information." >&2
21862 { (exit 1); exit 1; }; };;
21863 --help |
--hel |
-h )
21864 echo "$ac_cs_usage"; exit ;;
21865 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21866 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21869 # This is an error.
21870 -*) { echo "$as_me: error: unrecognized option: $1
21871 Try \`$0 --help' for more information." >&2
21872 { (exit 1); exit 1; }; } ;;
21874 *) ac_config_targets
="$ac_config_targets $1"
21875 ac_need_defaults
=false
;;
21881 ac_configure_extra_args
=
21883 if $ac_cs_silent; then
21885 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21889 cat >>$CONFIG_STATUS <<_ACEOF
21890 if \$ac_cs_recheck; then
21891 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21892 CONFIG_SHELL=$SHELL
21893 export CONFIG_SHELL
21894 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21898 cat >>$CONFIG_STATUS <<\_ACEOF
21902 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21903 ## Running $as_me. ##
21909 cat >>$CONFIG_STATUS <<_ACEOF
21912 cat >>$CONFIG_STATUS <<\_ACEOF
21914 # Handling of arguments.
21915 for ac_config_target
in $ac_config_targets
21917 case $ac_config_target in
21918 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21919 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
21920 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21921 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21922 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21923 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
21924 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21925 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21926 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
21927 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
21928 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21929 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
21930 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
21931 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21932 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
21933 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
21934 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
21935 "dlls/actxprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
21936 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21937 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21938 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
21939 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21940 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
21941 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
21942 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21943 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21944 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
21945 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21946 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21947 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21948 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21949 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
21950 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21951 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21952 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
21953 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21954 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21955 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21956 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21957 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21958 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
21959 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
21960 "dlls/credui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
21961 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21962 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21963 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21964 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21965 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21966 "dlls/cryptnet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
21967 "dlls/ctapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
21968 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21969 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21970 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21971 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21972 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21973 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21974 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21975 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21976 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21977 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21978 "dlls/d3dx8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
21979 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21980 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21981 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21982 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21983 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21984 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21985 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
21986 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
21987 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21988 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21989 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
21990 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21991 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
21992 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21993 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21994 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21995 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21996 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21997 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21998 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21999 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22000 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
22001 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22002 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22003 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22004 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22005 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22006 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22007 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
22008 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22009 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
22010 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22011 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22012 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22013 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22014 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22015 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22016 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22017 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22018 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22019 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22020 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
22021 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22022 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
22023 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22024 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
22025 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
22026 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22027 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22028 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22029 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
22030 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22031 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22032 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22033 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
22034 "dlls/inetcomm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22035 "dlls/inetcomm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22036 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22037 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22038 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22039 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
22040 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22041 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22042 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
22043 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22044 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22045 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22046 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
22047 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22048 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
22049 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22050 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
22051 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22052 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22053 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22054 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22055 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22056 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22057 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22058 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
22059 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
22060 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22061 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22062 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22063 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
22064 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22065 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22066 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22067 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22068 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22069 "dlls/mscat32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22070 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
22071 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22072 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22073 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22074 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22075 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22076 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22077 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22078 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22079 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
22080 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22081 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22082 "dlls/msimtf/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22083 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22084 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22085 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22086 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22087 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22088 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22089 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22090 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22091 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22092 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22093 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22094 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22095 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22096 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22097 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22098 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22099 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22100 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22101 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
22102 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22103 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22104 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22105 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22106 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22107 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22108 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
22109 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22110 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22111 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22112 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
22113 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22114 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22115 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22116 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22117 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22118 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22119 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22120 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22121 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22122 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22123 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22124 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
22125 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22126 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22127 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
22128 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
22129 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22130 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22131 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
22132 "dlls/qmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22133 "dlls/qmgrprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22134 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
22135 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22136 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
22137 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22138 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
22139 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
22140 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22141 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
22142 "dlls/riched32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22143 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22144 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22145 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22146 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22147 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22148 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22149 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22150 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
22151 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22152 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
22153 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22154 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
22155 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22156 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
22157 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22158 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22159 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22160 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
22161 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22162 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22163 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22164 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22165 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
22166 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22167 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22168 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22169 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22170 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22171 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22172 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22173 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22174 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22175 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22176 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
22177 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22178 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22179 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
22180 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22181 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22182 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
22183 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
22184 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22185 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22186 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
22187 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22188 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
22189 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
22190 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22191 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
22192 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22193 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22194 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22195 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22196 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
22197 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22198 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22199 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22200 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22201 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22202 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22203 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22204 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22205 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22206 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22207 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22208 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22209 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
22210 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22211 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22212 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22213 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22214 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22215 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22216 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22217 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22218 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22219 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
22220 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22221 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
22222 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22223 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
22224 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22225 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22226 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
22227 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22228 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22229 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22230 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22231 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22232 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22233 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22234 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
22235 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22236 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22237 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22238 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22239 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
22240 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
22241 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
22242 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
22243 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
22244 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
22245 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
22246 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
22247 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
22248 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
22249 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
22250 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22251 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
22252 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
22253 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
22254 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
22255 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
22256 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
22257 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
22258 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
22259 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
22260 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
22261 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
22262 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
22263 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
22264 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22265 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
22266 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
22267 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22268 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
22269 "programs/svchost/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/svchost/Makefile" ;;
22270 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22271 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22272 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
22273 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
22274 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22275 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
22276 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22277 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
22278 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
22279 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
22280 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22281 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
22282 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
22283 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
22284 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
22285 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
22286 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
22287 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
22288 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
22289 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
22290 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
22291 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
22292 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
22293 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
22294 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
22295 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
22296 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
22297 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
22299 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22300 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22301 { (exit 1); exit 1; }; };;
22306 # If the user did not use the arguments to specify the items to instantiate,
22307 # then the envvar interface is used. Set only those that are not.
22308 # We use the long form for the default assignment because of an extremely
22309 # bizarre bug on SunOS 4.1.3.
22310 if $ac_need_defaults; then
22311 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22312 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22313 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22316 # Have a temporary directory for convenience. Make it in the build tree
22317 # simply because there is no reason against having it here, and in addition,
22318 # creating and moving files from /tmp can sometimes cause problems.
22319 # Hook for its removal unless debugging.
22320 # Note that there is a small window in which the directory will not be cleaned:
22321 # after its creation but before its name has been assigned to `$tmp'.
22325 trap 'exit_status=$?
22326 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22328 trap '{ (exit 1); exit 1; }' 1 2 13 15
22330 # Create a (secure) tmp directory for tmp files.
22333 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22334 test -n "$tmp" && test -d "$tmp"
22337 tmp
=.
/conf$$
-$RANDOM
22338 (umask 077 && mkdir
"$tmp")
22341 echo "$me: cannot create a temporary directory in ." >&2
22342 { (exit 1); exit 1; }
22346 # Set up the sed scripts for CONFIG_FILES section.
22349 # No need to generate the scripts if there are no CONFIG_FILES.
22350 # This happens for instance when ./config.status config.h
22351 if test -n "$CONFIG_FILES"; then
22355 # Create sed commands to just substitute file output variables.
22357 # Remaining file output variables are in a fragment that also has non-file
22363 for ac_last_try
in false false false false false
:; do
22364 cat >conf$
$subs.
sed <<_ACEOF
22365 SHELL!$SHELL$ac_delim
22366 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22367 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22368 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22369 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22370 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22371 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22372 exec_prefix!$exec_prefix$ac_delim
22373 prefix!$prefix$ac_delim
22374 program_transform_name!$program_transform_name$ac_delim
22375 bindir!$bindir$ac_delim
22376 sbindir!$sbindir$ac_delim
22377 libexecdir!$libexecdir$ac_delim
22378 datarootdir!$datarootdir$ac_delim
22379 datadir!$datadir$ac_delim
22380 sysconfdir!$sysconfdir$ac_delim
22381 sharedstatedir!$sharedstatedir$ac_delim
22382 localstatedir!$localstatedir$ac_delim
22383 includedir!$includedir$ac_delim
22384 oldincludedir!$oldincludedir$ac_delim
22385 docdir!$docdir$ac_delim
22386 infodir!$infodir$ac_delim
22387 htmldir!$htmldir$ac_delim
22388 dvidir!$dvidir$ac_delim
22389 pdfdir!$pdfdir$ac_delim
22390 psdir!$psdir$ac_delim
22391 libdir!$libdir$ac_delim
22392 localedir!$localedir$ac_delim
22393 mandir!$mandir$ac_delim
22394 DEFS!$DEFS$ac_delim
22395 ECHO_C!$ECHO_C$ac_delim
22396 ECHO_N!$ECHO_N$ac_delim
22397 ECHO_T!$ECHO_T$ac_delim
22398 LIBS!$LIBS$ac_delim
22399 build_alias!$build_alias$ac_delim
22400 host_alias!$host_alias$ac_delim
22401 target_alias!$target_alias$ac_delim
22402 build!$build$ac_delim
22403 build_cpu!$build_cpu$ac_delim
22404 build_vendor!$build_vendor$ac_delim
22405 build_os!$build_os$ac_delim
22406 host!$host$ac_delim
22407 host_cpu!$host_cpu$ac_delim
22408 host_vendor!$host_vendor$ac_delim
22409 host_os!$host_os$ac_delim
22410 WIN16_FILES!$WIN16_FILES$ac_delim
22411 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22412 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
22413 WINETEST!$WINETEST$ac_delim
22414 SET_MAKE!$SET_MAKE$ac_delim
22416 CFLAGS!$CFLAGS$ac_delim
22417 LDFLAGS!$LDFLAGS$ac_delim
22418 CPPFLAGS!$CPPFLAGS$ac_delim
22419 ac_ct_CC!$ac_ct_CC$ac_delim
22420 EXEEXT!$EXEEXT$ac_delim
22421 OBJEXT!$OBJEXT$ac_delim
22423 CXXFLAGS!$CXXFLAGS$ac_delim
22424 ac_ct_CXX!$ac_ct_CXX$ac_delim
22425 CPPBIN!$CPPBIN$ac_delim
22426 TOOLSDIR!$TOOLSDIR$ac_delim
22427 XMKMF!$XMKMF$ac_delim
22429 X_CFLAGS!$X_CFLAGS$ac_delim
22430 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22431 X_LIBS!$X_LIBS$ac_delim
22432 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22433 FLEX!$FLEX$ac_delim
22434 BISON!$BISON$ac_delim
22436 ac_ct_AS!$ac_ct_AS$ac_delim
22439 RANLIB!$RANLIB$ac_delim
22440 STRIP!$STRIP$ac_delim
22441 WINDRES!$WINDRES$ac_delim
22442 LN_S!$LN_S$ac_delim
22444 GREP!$GREP$ac_delim
22445 EGREP!$EGREP$ac_delim
22446 LDCONFIG!$LDCONFIG$ac_delim
22449 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22451 elif $ac_last_try; then
22452 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22453 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22454 { (exit 1); exit 1; }; }
22456 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22460 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22461 if test -n "$ac_eof"; then
22462 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22463 ac_eof
=`expr $ac_eof + 1`
22466 cat >>$CONFIG_STATUS <<_ACEOF
22467 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22468 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22469 /^[ ]*@MAKE_RULES@[ ]*$/{
22473 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22477 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22478 r $MAKE_IMPLIB_RULES
22481 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22485 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22491 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22492 s/^/s,@/; s/!/@,|#_!!_#|/
22495 s/'"$ac_delim"'$/,g/; t
22497 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22498 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22499 rm -f conf$
$subs.
sed
22500 cat >>$CONFIG_STATUS <<_ACEOF
22506 for ac_last_try
in false false false false false
:; do
22507 cat >conf$
$subs.
sed <<_ACEOF
22508 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22509 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22510 INSTALL_DATA!$INSTALL_DATA$ac_delim
22511 LINT!$LINT$ac_delim
22512 LINTFLAGS!$LINTFLAGS$ac_delim
22513 FONTFORGE!$FONTFORGE$ac_delim
22514 PKG_CONFIG!$PKG_CONFIG$ac_delim
22515 PRELINK!$PRELINK$ac_delim
22516 LIBPTHREAD!$LIBPTHREAD$ac_delim
22517 XLIB!$XLIB$ac_delim
22518 XFILES!$XFILES$ac_delim
22519 OPENGLFILES!$OPENGLFILES$ac_delim
22520 GLU32FILES!$GLU32FILES$ac_delim
22521 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22522 QUARTZFILES!$QUARTZFILES$ac_delim
22523 DLLEXT!$DLLEXT$ac_delim
22524 DLLFLAGS!$DLLFLAGS$ac_delim
22525 LDSHARED!$LDSHARED$ac_delim
22526 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22527 LIBEXT!$LIBEXT$ac_delim
22528 IMPLIBEXT!$IMPLIBEXT$ac_delim
22529 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22530 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22532 DLLTOOL!$DLLTOOL$ac_delim
22533 DLLWRAP!$DLLWRAP$ac_delim
22534 MINGWAR!$MINGWAR$ac_delim
22535 SECURITYLIB!$SECURITYLIB$ac_delim
22536 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22537 IOKITLIB!$IOKITLIB$ac_delim
22538 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22539 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22540 COREAUDIO!$COREAUDIO$ac_delim
22541 CARBONLIB!$CARBONLIB$ac_delim
22542 CROSSTEST!$CROSSTEST$ac_delim
22543 CROSSCC!$CROSSCC$ac_delim
22544 CROSSWINDRES!$CROSSWINDRES$ac_delim
22545 NASLIBS!$NASLIBS$ac_delim
22546 XML2LIBS!$XML2LIBS$ac_delim
22547 XML2INCL!$XML2INCL$ac_delim
22548 XSLTLIBS!$XSLTLIBS$ac_delim
22549 XSLTINCL!$XSLTINCL$ac_delim
22550 HALINCL!$HALINCL$ac_delim
22551 sane_devel!$sane_devel$ac_delim
22552 SANEINCL!$SANEINCL$ac_delim
22553 gphoto2_devel!$gphoto2_devel$ac_delim
22554 gphoto2port_devel!$gphoto2port_devel$ac_delim
22555 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22556 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22557 RESOLVLIBS!$RESOLVLIBS$ac_delim
22558 LCMSLIBS!$LCMSLIBS$ac_delim
22559 LDAPLIBS!$LDAPLIBS$ac_delim
22560 ft_devel!$ft_devel$ac_delim
22561 FREETYPELIBS!$FREETYPELIBS$ac_delim
22562 FREETYPEINCL!$FREETYPEINCL$ac_delim
22563 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22564 ESDCONFIG!$ESDCONFIG$ac_delim
22565 ESDLIBS!$ESDLIBS$ac_delim
22566 ESDINCL!$ESDINCL$ac_delim
22567 ALSALIBS!$ALSALIBS$ac_delim
22568 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22569 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
22570 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22571 BUILTINFLAG!$BUILTINFLAG$ac_delim
22572 LDPATH!$LDPATH$ac_delim
22573 CRTLIBS!$CRTLIBS$ac_delim
22574 SOCKETLIBS!$SOCKETLIBS$ac_delim
22575 MAIN_BINARY!$MAIN_BINARY$ac_delim
22576 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22577 LIBDL!$LIBDL$ac_delim
22578 LIBPOLL!$LIBPOLL$ac_delim
22579 DEPENDENCIES!$DEPENDENCIES$ac_delim
22580 LIBOBJS!$LIBOBJS$ac_delim
22581 LTLIBOBJS!$LTLIBOBJS$ac_delim
22584 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
22586 elif $ac_last_try; then
22587 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22588 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22589 { (exit 1); exit 1; }; }
22591 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22595 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22596 if test -n "$ac_eof"; then
22597 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22598 ac_eof
=`expr $ac_eof + 1`
22601 cat >>$CONFIG_STATUS <<_ACEOF
22602 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22603 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22606 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22607 s/^/s,@/; s/!/@,|#_!!_#|/
22610 s/'"$ac_delim"'$/,g/; t
22612 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22613 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22614 rm -f conf$
$subs.
sed
22615 cat >>$CONFIG_STATUS <<_ACEOF
22622 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22623 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22624 # trailing colons and then remove the whole line if VPATH becomes empty
22625 # (actually we leave an empty line to preserve line numbers).
22626 if test "x$srcdir" = x.
; then
22627 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22628 s/:*\$(srcdir):*/:/
22629 s/:*\${srcdir}:*/:/
22631 s/^\([^=]*=[ ]*\):*/\1/
22637 cat >>$CONFIG_STATUS <<\_ACEOF
22638 fi # test -n "$CONFIG_FILES"
22641 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22644 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22646 case $ac_mode$ac_tag in
22648 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22649 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22650 { (exit 1); exit 1; }; };;
22651 :[FH
]-) ac_tag
=-:-;;
22652 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22669 -) ac_f
="$tmp/stdin";;
22670 *) # Look for the file first in the build tree, then in the source tree
22671 # (if the path is not absolute). The absolute path cannot be DOS-style,
22672 # because $ac_f cannot contain `:'.
22676 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22678 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22679 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22680 { (exit 1); exit 1; }; };;
22682 ac_file_inputs
="$ac_file_inputs $ac_f"
22685 # Let's still pretend it is `configure' which instantiates (i.e., don't
22686 # use $as_me), people would be surprised to read:
22687 # /* config.h. Generated by config.status. */
22688 configure_input
="Generated from "`IFS=:
22689 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22690 if test x
"$ac_file" != x-
; then
22691 configure_input
="$ac_file. $configure_input"
22692 { echo "$as_me:$LINENO: creating $ac_file" >&5
22693 echo "$as_me: creating $ac_file" >&6;}
22697 *:-:* |
*:-) cat >"$tmp/stdin";;
22702 ac_dir
=`$as_dirname -- "$ac_file" ||
22703 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22704 X"$ac_file" : 'X\(//\)[^/]' \| \
22705 X"$ac_file" : 'X\(//\)$' \| \
22706 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22708 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22712 /^X\(\/\/\)[^/].*/{
22727 -*) as_dir
=.
/$as_dir;;
22729 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22733 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22734 *) as_qdir
=$as_dir;;
22736 as_dirs
="'$as_qdir' $as_dirs"
22737 as_dir
=`$as_dirname -- "$as_dir" ||
22738 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22739 X"$as_dir" : 'X\(//\)[^/]' \| \
22740 X"$as_dir" : 'X\(//\)$' \| \
22741 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22743 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22747 /^X\(\/\/\)[^/].*/{
22760 test -d "$as_dir" && break
22762 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22763 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22764 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22765 { (exit 1); exit 1; }; }; }
22769 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22771 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22772 # A ".." for each directory in $ac_dir_suffix.
22773 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22774 case $ac_top_builddir_sub in
22775 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22776 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22779 ac_abs_top_builddir
=$ac_pwd
22780 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22781 # for backward compatibility:
22782 ac_top_builddir
=$ac_top_build_prefix
22785 .
) # We are building in place.
22787 ac_top_srcdir
=$ac_top_builddir_sub
22788 ac_abs_top_srcdir
=$ac_pwd ;;
22789 [\\/]* | ?
:[\\/]* ) # Absolute name.
22790 ac_srcdir
=$srcdir$ac_dir_suffix;
22791 ac_top_srcdir
=$srcdir
22792 ac_abs_top_srcdir
=$srcdir ;;
22793 *) # Relative name.
22794 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22795 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22796 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22798 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22808 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22809 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22813 cat >>$CONFIG_STATUS <<\_ACEOF
22814 # If the template does not know about datarootdir, expand it.
22815 # FIXME: This hack should be removed a few years after 2.60.
22816 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22818 case `sed -n '/datarootdir/ {
22827 ' $ac_file_inputs` in
22828 *datarootdir
*) ac_datarootdir_seen
=yes;;
22829 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22830 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22831 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22833 cat >>$CONFIG_STATUS <<_ACEOF
22834 ac_datarootdir_hack='
22835 s&@datadir@&$datadir&g
22836 s&@docdir@&$docdir&g
22837 s&@infodir@&$infodir&g
22838 s&@localedir@&$localedir&g
22839 s&@mandir@&$mandir&g
22840 s&\\\${datarootdir}&$datarootdir&g' ;;
22844 # Neutralize VPATH when `$srcdir' = `.'.
22845 # Shell code in configure.ac might set extrasub.
22846 # FIXME: do we really want to maintain this feature?
22847 cat >>$CONFIG_STATUS <<_ACEOF
22851 cat >>$CONFIG_STATUS <<\_ACEOF
22853 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22854 s
&@configure_input@
&$configure_input&;t t
22855 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22856 s
&@srcdir@
&$ac_srcdir&;t t
22857 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22858 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22859 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22860 s
&@builddir@
&$ac_builddir&;t t
22861 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22862 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22863 s
&@INSTALL@
&$ac_INSTALL&;t t
22864 $ac_datarootdir_hack
22865 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22867 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22868 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22869 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22870 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22871 which seems to be undefined. Please make sure it is defined." >&5
22872 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22873 which seems to be undefined. Please make sure it is defined." >&2;}
22877 -) cat "$tmp/out"; rm -f "$tmp/out";;
22878 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22887 # Transform confdefs.h into a sed script `conftest.defines', that
22888 # substitutes the proper values into config.h.in to produce config.h.
22889 rm -f conftest.defines conftest.
tail
22890 # First, append a space to every undef/define line, to ease matching.
22891 echo 's/$/ /' >conftest.defines
22892 # Then, protect against being on the right side of a sed subst, or in
22893 # an unquoted here document, in config.status. If some macros were
22894 # called several times there might be several #defines for the same
22895 # symbol, which is useless. But do not sort them, since the last
22896 # AC_DEFINE must be honored.
22897 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22898 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22899 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22900 # PARAMS is the parameter list in the macro definition--in most cases, it's
22901 # just an empty string.
22902 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22903 ac_dB
='\\)[ (].*,\\1define\\2'
22911 s/^[ ]*#[ ]*define[ ][ ]*//
22916 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22917 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22918 ' >>conftest.defines
22920 # Remove the space that was appended to ease matching.
22921 # Then replace #undef with comments. This is necessary, for
22922 # example, in the case of _POSIX_SOURCE, which is predefined and required
22923 # on some systems where configure will not decide to define it.
22924 # (The regexp can be short, since the line contains either #define or #undef.)
22926 s,^[ #]*u.*,/* & */,' >>conftest.defines
22928 # Break up conftest.defines:
22929 ac_max_sed_lines
=50
22931 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22932 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22933 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22935 ac_in
='$ac_file_inputs'
22936 ac_out
='"$tmp/out1"'
22937 ac_nxt
='"$tmp/out2"'
22941 # Write a here document:
22942 cat >>$CONFIG_STATUS <<_ACEOF
22943 # First, check the format of the line:
22944 cat >"\$tmp/defines.sed" <<\\CEOF
22945 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22946 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22950 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22952 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22953 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22954 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22955 grep . conftest.
tail >/dev
/null ||
break
22956 rm -f conftest.defines
22957 mv conftest.
tail conftest.defines
22959 rm -f conftest.defines conftest.
tail
22961 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22962 cat >>$CONFIG_STATUS <<\_ACEOF
22963 if test x
"$ac_file" != x-
; then
22964 echo "/* $configure_input */" >"$tmp/config.h"
22965 cat "$ac_result" >>"$tmp/config.h"
22966 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22967 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22968 echo "$as_me: $ac_file is unchanged" >&6;}
22971 mv "$tmp/config.h" $ac_file
22974 echo "/* $configure_input */"
22980 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22981 echo "$as_me: executing $ac_file commands" >&6;}
22986 case $ac_file$ac_mode in
22987 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
22988 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22989 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
22990 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22991 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
22992 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22993 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
22994 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22995 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
22996 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22997 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
22998 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
22999 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
23005 { (exit 0); exit 0; }
23007 chmod +x
$CONFIG_STATUS
23008 ac_clean_files
=$ac_clean_files_save
23011 # configure is writing to config.log, and then calls config.status.
23012 # config.status does its own redirection, appending to config.log.
23013 # Unfortunately, on DOS this fails, as config.log is still kept open
23014 # by configure, so config.status won't be able to write to it; its
23015 # output is simply discarded. So we exec the FD to /dev/null,
23016 # effectively closing config.log, so it can be properly (re)opened and
23017 # appended to by config.status. When coming back to configure, we
23018 # need to make the FD available again.
23019 if test "$no_create" != yes; then
23021 ac_config_status_args
=
23022 test "$silent" = yes &&
23023 ac_config_status_args
="$ac_config_status_args --quiet"
23025 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23027 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23028 # would make configure fail if this is the last instruction.
23029 $ac_cs_success ||
{ (exit 1); exit 1; }
23033 if test "$no_create" = "yes"
23040 if test "$verbose" = "yes"; then
23041 for msg
in $wine_notices; do
23042 if test -n "$msg"; then
23044 { echo "$as_me:$LINENO: $msg" >&5
23045 echo "$as_me: $msg" >&6;}
23049 for msg
in $wine_warnings; do
23050 if test -n "$msg"; then
23052 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23053 echo "$as_me: WARNING: $msg" >&2;}
23059 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."