2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.48.
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.48'
578 PACKAGE_STRING
='Wine 0.9.48'
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
773 ac_subst_files
='MAKE_RULES
778 ac_precious_vars
='build_alias
793 # Initialize some variables set by options.
795 ac_init_version
=false
796 # The variables have the same names as the options, with
797 # dashes changed to underlines.
805 program_transform_name
=s
,x
,x
,
813 # Installation directory options.
814 # These are left unexpanded so users can "make install exec_prefix=/foo"
815 # and all the variables that are supposed to be based on exec_prefix
816 # by default will actually change.
817 # Use braces instead of parens because sh, perl, etc. also accept them.
818 # (The list follows the same order as the GNU Coding Standards.)
819 bindir
='${exec_prefix}/bin'
820 sbindir
='${exec_prefix}/sbin'
821 libexecdir
='${exec_prefix}/libexec'
822 datarootdir
='${prefix}/share'
823 datadir
='${datarootdir}'
824 sysconfdir
='${prefix}/etc'
825 sharedstatedir
='${prefix}/com'
826 localstatedir
='${prefix}/var'
827 includedir
='${prefix}/include'
828 oldincludedir
='/usr/include'
829 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
830 infodir
='${datarootdir}/info'
835 libdir
='${exec_prefix}/lib'
836 localedir
='${datarootdir}/locale'
837 mandir
='${datarootdir}/man'
843 # If the previous option needs an argument, assign it.
844 if test -n "$ac_prev"; then
845 eval $ac_prev=\
$ac_option
851 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 # Accept the important Cygnus configure options, so we can diagnose typos.
857 case $ac_dashdash$ac_option in
861 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
863 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
866 -build |
--build |
--buil |
--bui |
--bu)
867 ac_prev
=build_alias
;;
868 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
869 build_alias
=$ac_optarg ;;
871 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
872 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
873 ac_prev
=cache_file
;;
874 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
875 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
876 cache_file
=$ac_optarg ;;
879 cache_file
=config.cache
;;
881 -datadir |
--datadir |
--datadi |
--datad)
883 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
884 datadir
=$ac_optarg ;;
886 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
887 |
--dataroo |
--dataro |
--datar)
888 ac_prev
=datarootdir
;;
889 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
890 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
891 datarootdir
=$ac_optarg ;;
893 -disable-* |
--disable-*)
894 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
897 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
898 { (exit 1); exit 1; }; }
899 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
900 eval enable_
$ac_feature=no
;;
902 -docdir |
--docdir |
--docdi |
--doc |
--do)
904 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
907 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
909 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
912 -enable-* |
--enable-*)
913 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
916 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
917 { (exit 1); exit 1; }; }
918 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
919 eval enable_
$ac_feature=\
$ac_optarg ;;
921 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
922 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
923 |
--exec |
--exe |
--ex)
924 ac_prev
=exec_prefix
;;
925 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
926 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
927 |
--exec=* |
--exe=* |
--ex=*)
928 exec_prefix
=$ac_optarg ;;
930 -gas |
--gas |
--ga |
--g)
931 # Obsolete; use --with-gas.
934 -help |
--help |
--hel |
--he |
-h)
936 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
937 ac_init_help
=recursive
;;
938 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
939 ac_init_help
=short
;;
941 -host |
--host |
--hos |
--ho)
942 ac_prev
=host_alias
;;
943 -host=* |
--host=* |
--hos=* |
--ho=*)
944 host_alias
=$ac_optarg ;;
946 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
948 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
950 htmldir
=$ac_optarg ;;
952 -includedir |
--includedir |
--includedi |
--included |
--include \
953 |
--includ |
--inclu |
--incl |
--inc)
954 ac_prev
=includedir
;;
955 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
956 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
957 includedir
=$ac_optarg ;;
959 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
961 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
962 infodir
=$ac_optarg ;;
964 -libdir |
--libdir |
--libdi |
--libd)
966 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
969 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
970 |
--libexe |
--libex |
--libe)
971 ac_prev
=libexecdir
;;
972 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
973 |
--libexe=* |
--libex=* |
--libe=*)
974 libexecdir
=$ac_optarg ;;
976 -localedir |
--localedir |
--localedi |
--localed |
--locale)
978 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
979 localedir
=$ac_optarg ;;
981 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
982 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
983 ac_prev
=localstatedir
;;
984 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
985 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
986 localstatedir
=$ac_optarg ;;
988 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
990 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
994 # Obsolete; use --without-fp.
997 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
998 |
--no-cr |
--no-c |
-n)
1001 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1002 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1005 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1006 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1007 |
--oldin |
--oldi |
--old |
--ol |
--o)
1008 ac_prev
=oldincludedir
;;
1009 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1010 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1011 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1012 oldincludedir
=$ac_optarg ;;
1014 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1016 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1017 prefix
=$ac_optarg ;;
1019 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1020 |
--program-pre |
--program-pr |
--program-p)
1021 ac_prev
=program_prefix
;;
1022 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1023 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1024 program_prefix
=$ac_optarg ;;
1026 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1027 |
--program-suf |
--program-su |
--program-s)
1028 ac_prev
=program_suffix
;;
1029 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1030 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1031 program_suffix
=$ac_optarg ;;
1033 -program-transform-name |
--program-transform-name \
1034 |
--program-transform-nam |
--program-transform-na \
1035 |
--program-transform-n |
--program-transform- \
1036 |
--program-transform |
--program-transfor \
1037 |
--program-transfo |
--program-transf \
1038 |
--program-trans |
--program-tran \
1039 |
--progr-tra |
--program-tr |
--program-t)
1040 ac_prev
=program_transform_name
;;
1041 -program-transform-name=* |
--program-transform-name=* \
1042 |
--program-transform-nam=* |
--program-transform-na=* \
1043 |
--program-transform-n=* |
--program-transform-=* \
1044 |
--program-transform=* |
--program-transfor=* \
1045 |
--program-transfo=* |
--program-transf=* \
1046 |
--program-trans=* |
--program-tran=* \
1047 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1048 program_transform_name
=$ac_optarg ;;
1050 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1052 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1053 pdfdir
=$ac_optarg ;;
1055 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1057 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1060 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1061 |
-silent |
--silent |
--silen |
--sile |
--sil)
1064 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1066 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1068 sbindir
=$ac_optarg ;;
1070 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1071 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1072 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1074 ac_prev
=sharedstatedir
;;
1075 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1076 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1077 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1079 sharedstatedir
=$ac_optarg ;;
1081 -site |
--site |
--sit)
1083 -site=* |
--site=* |
--sit=*)
1086 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1088 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1089 srcdir
=$ac_optarg ;;
1091 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1092 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1093 ac_prev
=sysconfdir
;;
1094 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1095 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1096 sysconfdir
=$ac_optarg ;;
1098 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1099 ac_prev
=target_alias
;;
1100 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1101 target_alias
=$ac_optarg ;;
1103 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1106 -version |
--version |
--versio |
--versi |
--vers |
-V)
1107 ac_init_version
=: ;;
1110 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1113 { echo "$as_me: error: invalid package name: $ac_package" >&2
1114 { (exit 1); exit 1; }; }
1115 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1116 eval with_
$ac_package=\
$ac_optarg ;;
1118 -without-* |
--without-*)
1119 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1122 { echo "$as_me: error: invalid package name: $ac_package" >&2
1123 { (exit 1); exit 1; }; }
1124 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1125 eval with_
$ac_package=no
;;
1128 # Obsolete; use --with-x.
1131 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1132 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1133 ac_prev
=x_includes
;;
1134 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1135 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1136 x_includes
=$ac_optarg ;;
1138 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1139 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1140 ac_prev
=x_libraries
;;
1141 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1142 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1143 x_libraries
=$ac_optarg ;;
1145 -*) { echo "$as_me: error: unrecognized option: $ac_option
1146 Try \`$0 --help' for more information." >&2
1147 { (exit 1); exit 1; }; }
1151 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1154 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1155 { (exit 1); exit 1; }; }
1156 eval $ac_envvar=\
$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1163 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 if test -n "$ac_prev"; then
1171 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1172 { echo "$as_me: error: missing argument to $ac_option" >&2
1173 { (exit 1); exit 1; }; }
1176 # Be sure to have absolute directory names.
1177 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1178 datadir sysconfdir sharedstatedir localstatedir includedir \
1179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1180 libdir localedir mandir
1182 eval ac_val
=\$
$ac_var
1184 [\\/$
]* | ?
:[\\/]* ) continue;;
1185 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1187 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1188 { (exit 1); exit 1; }; }
1191 # There might be people who depend on the old broken behavior: `$host'
1192 # used to hold the argument of --host etc.
1193 # FIXME: To remove some day.
1196 target
=$target_alias
1198 # FIXME: To remove some day.
1199 if test "x$host_alias" != x
; then
1200 if test "x$build_alias" = x
; then
1201 cross_compiling
=maybe
1202 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1203 If a cross compiler is detected then cross compile mode will be used." >&2
1204 elif test "x$build_alias" != "x$host_alias"; then
1210 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1212 test "$silent" = yes && exec 6>/dev
/null
1215 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1216 ac_ls_di
=`ls -di .` &&
1217 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1218 { echo "$as_me: error: Working directory cannot be determined" >&2
1219 { (exit 1); exit 1; }; }
1220 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1221 { echo "$as_me: error: pwd does not report name of working directory" >&2
1222 { (exit 1); exit 1; }; }
1225 # Find the source files, if location was not specified.
1226 if test -z "$srcdir"; then
1227 ac_srcdir_defaulted
=yes
1228 # Try the directory containing this script, then the parent directory.
1229 ac_confdir
=`$as_dirname -- "$0" ||
1230 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1231 X"$0" : 'X\(//\)[^/]' \| \
1232 X"$0" : 'X\(//\)$' \| \
1233 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1257 ac_srcdir_defaulted
=no
1259 if test ! -r "$srcdir/$ac_unique_file"; then
1260 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1261 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1262 { (exit 1); exit 1; }; }
1264 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1266 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1267 { (exit 1); exit 1; }; }
1269 # When building in place, set srcdir=.
1270 if test "$ac_abs_confdir" = "$ac_pwd"; then
1273 # Remove unnecessary trailing slashes from srcdir.
1274 # Double slashes in file names in object file debugging info
1275 # mess up M-x gdb in Emacs.
1277 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1279 for ac_var
in $ac_precious_vars; do
1280 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1281 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1282 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1283 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1287 # Report the --help message.
1289 if test "$ac_init_help" = "long"; then
1290 # Omit some internal or obsolete options to make the list less imposing.
1291 # This message is too long to be a string in the A/UX 3.1 sh.
1293 \`configure' configures Wine 0.9.48 to adapt to many kinds of systems.
1295 Usage: $0 [OPTION]... [VAR=VALUE]...
1297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1298 VAR=VALUE. See below for descriptions of some of the useful variables.
1300 Defaults for the options are specified in brackets.
1303 -h, --help display this help and exit
1304 --help=short display options specific to this package
1305 --help=recursive display the short help of all the included packages
1306 -V, --version display version information and exit
1307 -q, --quiet, --silent do not print \`checking...' messages
1308 --cache-file=FILE cache test results in FILE [disabled]
1309 -C, --config-cache alias for \`--cache-file=config.cache'
1310 -n, --no-create do not create output files
1311 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1313 Installation directories:
1314 --prefix=PREFIX install architecture-independent files in PREFIX
1315 [$ac_default_prefix]
1316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1319 By default, \`make install' will install all the files in
1320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1322 for instance \`--prefix=\$HOME'.
1324 For better control, use the options below.
1326 Fine tuning of the installation directories:
1327 --bindir=DIR user executables [EPREFIX/bin]
1328 --sbindir=DIR system admin executables [EPREFIX/sbin]
1329 --libexecdir=DIR program executables [EPREFIX/libexec]
1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1333 --libdir=DIR object code libraries [EPREFIX/lib]
1334 --includedir=DIR C header files [PREFIX/include]
1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1338 --infodir=DIR info documentation [DATAROOTDIR/info]
1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1340 --mandir=DIR man documentation [DATAROOTDIR/man]
1341 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1342 --htmldir=DIR html documentation [DOCDIR]
1343 --dvidir=DIR dvi documentation [DOCDIR]
1344 --pdfdir=DIR pdf documentation [DOCDIR]
1345 --psdir=DIR ps documentation [DOCDIR]
1351 --x-includes=DIR X include files are
in DIR
1352 --x-libraries=DIR X library files are
in DIR
1355 --build=BUILD configure
for building on BUILD
[guessed
]
1356 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1360 if test -n "$ac_init_help"; then
1361 case $ac_init_help in
1362 short | recursive
) echo "Configuration of Wine 0.9.48:";;
1367 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1368 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1369 --disable-win16 do not include Win16 support
1370 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1372 --disable-tests do not build the testsuites
1375 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1376 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1377 --without-opengl do not use OpenGL
1378 --with-wine-tools=<dir> use Wine tools from directory <dir>
1379 --with-x use the X Window System
1381 Some influential environment variables:
1382 CC C compiler command
1383 CFLAGS C compiler flags
1384 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1385 nonstandard directory <lib dir>
1386 LIBS libraries to pass to the linker, e.g. -l<library>
1387 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1388 you have headers in a nonstandard directory <include dir>
1389 CXX C++ compiler command
1390 CXXFLAGS C++ compiler flags
1391 XMKMF Path to xmkmf, Makefile generator for X Window System
1394 Use these variables to override the choices made by `configure' or to
help
1395 it to
find libraries and programs with nonstandard names
/locations.
1397 Report bugs to
<wine-devel@winehq.org
>.
1402 if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1405 test -d "$ac_dir" ||
continue
1409 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1411 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1416 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1419 ac_abs_top_builddir
=$ac_pwd
1420 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir
=$ac_top_build_prefix
1425 .
) # We are building in place.
1427 ac_top_srcdir
=$ac_top_builddir_sub
1428 ac_abs_top_srcdir
=$ac_pwd ;;
1429 [\\/]* | ?
:[\\/]* ) # Absolute name.
1430 ac_srcdir
=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir
=$srcdir
1432 ac_abs_top_srcdir
=$srcdir ;;
1434 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1438 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1440 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1449 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1451 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1458 Wine configure
0.9.48
1459 generated by GNU Autoconf
2.61
1461 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1463 This configure
script is free software
; the Free Software Foundation
1464 gives unlimited permission to copy
, distribute and modify it.
1468 cat >config.log
<<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1472 It was created by Wine $as_me 0.9.48, which was
1473 generated by GNU Autoconf 2.61. Invocation command line was
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1508 test -z "$as_dir" && as_dir
=.
1509 echo "PATH: $as_dir"
1525 # Keep a trace of the command line.
1526 # Strip out --no-create and --no-recursion so they do not pile up.
1527 # Strip out --silent because we don't want to record it for future runs.
1528 # Also quote any args containing shell meta-characters.
1529 # Make two passes to allow for proper duplicate-argument suppression.
1533 ac_must_keep_next
=false
1539 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1540 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1541 |
-silent |
--silent |
--silen |
--sile |
--sil)
1544 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1547 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1549 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1550 if test $ac_must_keep_next = true
; then
1551 ac_must_keep_next
=false
# Got value, back to normal.
1554 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1555 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1556 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1557 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1558 case "$ac_configure_args0 " in
1559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1562 -* ) ac_must_keep_next
=true
;;
1565 ac_configure_args
="$ac_configure_args '$ac_arg'"
1570 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1571 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1573 # When interrupted or exit'd, cleanup temporary files, and complete
1574 # config.log. We remove comments because anyway the quotes in there
1575 # would cause problems or look ugly.
1576 # WARNING: Use '\'' to represent an apostrophe within the trap.
1577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578 trap 'exit_status=$?
1579 # Save into config.log some information that might help in debugging.
1584 ## ---------------- ##
1585 ## Cache variables. ##
1586 ## ---------------- ##
1589 # The following way of writing the cache mishandles newlines in values,
1591 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1592 eval ac_val=\$$ac_var
1596 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1597 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1600 _ | IFS | as_nl) ;; #(
1601 *) $as_unset $ac_var ;;
1606 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1607 *${as_nl}ac_space=\ *)
1609 "s/'\''/'\''\\\\'\'''\''/g;
1610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1621 ## ----------------- ##
1622 ## Output variables. ##
1623 ## ----------------- ##
1626 for ac_var in $ac_subst_vars
1628 eval ac_val=\$$ac_var
1630 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1632 echo "$ac_var='\''$ac_val'\''"
1636 if test -n "$ac_subst_files"; then
1638 ## ------------------- ##
1639 ## File substitutions. ##
1640 ## ------------------- ##
1643 for ac_var
in $ac_subst_files
1645 eval ac_val
=\$
$ac_var
1647 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1649 echo "$ac_var='\''$ac_val'\''"
1654 if test -s confdefs.h; then
1664 test "$ac_signal" != 0 &&
1665 echo "$as_me: caught signal $ac_signal"
1666 echo "$as_me: exit $exit_status"
1668 rm -f core *.core core.conftest.* &&
1669 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1672 for ac_signal
in 1 2 13 15; do
1673 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1677 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1678 rm -f -r conftest
* confdefs.h
1680 # Predefined preprocessor variables.
1682 cat >>confdefs.h
<<_ACEOF
1683 #define PACKAGE_NAME "$PACKAGE_NAME"
1687 cat >>confdefs.h
<<_ACEOF
1688 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1692 cat >>confdefs.h
<<_ACEOF
1693 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1697 cat >>confdefs.h
<<_ACEOF
1698 #define PACKAGE_STRING "$PACKAGE_STRING"
1702 cat >>confdefs.h
<<_ACEOF
1703 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer explicitly selected file to automatically selected ones.
1709 if test -n "$CONFIG_SITE"; then
1710 set x
"$CONFIG_SITE"
1711 elif test "x$prefix" != xNONE
; then
1712 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1714 set x
"$ac_default_prefix/share/config.site" \
1715 "$ac_default_prefix/etc/config.site"
1720 if test -r "$ac_site_file"; then
1721 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1722 echo "$as_me: loading site script $ac_site_file" >&6;}
1723 sed 's/^/| /' "$ac_site_file" >&5
1728 if test -r "$cache_file"; then
1729 # Some versions of bash will fail to source /dev/null (special
1730 # files actually), so we avoid doing that.
1731 if test -f "$cache_file"; then
1732 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1733 echo "$as_me: loading cache $cache_file" >&6;}
1735 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1736 *) .
"./$cache_file";;
1740 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1741 echo "$as_me: creating cache $cache_file" >&6;}
1745 # Check that the precious variables saved in the cache have kept the same
1747 ac_cache_corrupted
=false
1748 for ac_var
in $ac_precious_vars; do
1749 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1750 eval ac_new_set
=\
$ac_env_${ac_var}_set
1751 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1752 eval ac_new_val
=\
$ac_env_${ac_var}_value
1753 case $ac_old_set,$ac_new_set in
1755 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1756 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1757 ac_cache_corrupted
=: ;;
1759 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1760 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1761 ac_cache_corrupted
=: ;;
1764 if test "x$ac_old_val" != "x$ac_new_val"; then
1765 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1766 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1767 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1768 echo "$as_me: former value: $ac_old_val" >&2;}
1769 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1770 echo "$as_me: current value: $ac_new_val" >&2;}
1771 ac_cache_corrupted
=:
1774 # Pass precious variables to config.status.
1775 if test "$ac_new_set" = set; then
1777 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1778 *) ac_arg
=$ac_var=$ac_new_val ;;
1780 case " $ac_configure_args " in
1781 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1782 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1786 if $ac_cache_corrupted; then
1787 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1788 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1789 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1790 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1791 { (exit 1); exit 1; }; }
1819 ac_cpp
='$CPP $CPPFLAGS'
1820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1826 ac_config_headers
="$ac_config_headers include/config.h"
1829 for ac_dir
in tools
"$srcdir"/tools
; do
1830 if test -f "$ac_dir/install-sh"; then
1832 ac_install_sh
="$ac_aux_dir/install-sh -c"
1834 elif test -f "$ac_dir/install.sh"; then
1836 ac_install_sh
="$ac_aux_dir/install.sh -c"
1838 elif test -f "$ac_dir/shtool"; then
1840 ac_install_sh
="$ac_aux_dir/shtool install -c"
1844 if test -z "$ac_aux_dir"; then
1845 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1846 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # These three variables are undocumented and unsupported,
1851 # and are intended to be withdrawn in a future Autoconf release.
1852 # They can cause serious problems if a builder's source tree is in a directory
1853 # whose full name contains unusual characters.
1854 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1855 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1856 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1861 # Check whether --enable-win16 was given.
1862 if test "${enable_win16+set}" = set; then
1863 enableval
=$enable_win16;
1866 # Check whether --enable-win64 was given.
1867 if test "${enable_win64+set}" = set; then
1868 enableval
=$enable_win64;
1873 # Check whether --with-opengl was given.
1874 if test "${with_opengl+set}" = set; then
1875 withval
=$with_opengl;
1879 # Check whether --with-wine-tools was given.
1880 if test "${with_wine_tools+set}" = set; then
1881 withval
=$with_wine_tools;
1884 # Check whether --enable-tests was given.
1885 if test "${enable_tests+set}" = set; then
1886 enableval
=$enable_tests;
1890 # Make sure we can run config.sub.
1891 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1892 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1893 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1894 { (exit 1); exit 1; }; }
1896 { echo "$as_me:$LINENO: checking build system type" >&5
1897 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1898 if test "${ac_cv_build+set}" = set; then
1899 echo $ECHO_N "(cached) $ECHO_C" >&6
1901 ac_build_alias
=$build_alias
1902 test "x$ac_build_alias" = x
&&
1903 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1904 test "x$ac_build_alias" = x
&&
1905 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1906 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1907 { (exit 1); exit 1; }; }
1908 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1909 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1910 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1911 { (exit 1); exit 1; }; }
1914 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1915 echo "${ECHO_T}$ac_cv_build" >&6; }
1916 case $ac_cv_build in
1918 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1919 echo "$as_me: error: invalid value of canonical build" >&2;}
1920 { (exit 1); exit 1; }; };;
1923 ac_save_IFS
=$IFS; IFS
='-'
1929 # Remember, the first character of IFS is used to create $*,
1930 # except with old shells:
1933 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1936 { echo "$as_me:$LINENO: checking host system type" >&5
1937 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1938 if test "${ac_cv_host+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 if test "x$host_alias" = x
; then
1942 ac_cv_host
=$ac_cv_build
1944 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1945 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1946 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1947 { (exit 1); exit 1; }; }
1951 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1952 echo "${ECHO_T}$ac_cv_host" >&6; }
1955 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1956 echo "$as_me: error: invalid value of canonical host" >&2;}
1957 { (exit 1); exit 1; }; };;
1960 ac_save_IFS
=$IFS; IFS
='-'
1966 # Remember, the first character of IFS is used to create $*,
1967 # except with old shells:
1970 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1975 if test "x$enable_win64" != "xyes"
1977 test -n "$CC" || CC
="gcc -m32"
1978 test -n "$CXX"|| CXX
="g++ -m32"
1979 test -n "$LD" || LD
="ld -m elf_i386"
1980 test -n "$AS" || AS
="as --32"
1988 if test "x$enable_win16" != "xno"
1995 WIN16_FILES
="\$(WIN16_FILES)"
1997 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1999 if test "x$enable_win16" != "xyes"
2005 if test "x$enable_tests" == "xno"
2012 TESTSUBDIRS
="\$(TESTSUBDIRS)"
2020 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2021 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2022 You need to run 'make distclean' in the source tree first." >&5
2023 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2024 You need to run 'make distclean' in the source tree first." >&2;}
2025 { (exit 1); exit 1; }; }
2030 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2031 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2032 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2033 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 cat >conftest.
make <<\_ACEOF
2039 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2041 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2042 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2044 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2046 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2050 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2051 { echo "$as_me:$LINENO: result: yes" >&5
2052 echo "${ECHO_T}yes" >&6; }
2055 { echo "$as_me:$LINENO: result: no" >&5
2056 echo "${ECHO_T}no" >&6; }
2057 SET_MAKE
="MAKE=${MAKE-make}"
2061 ac_cpp
='$CPP $CPPFLAGS'
2062 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2063 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2064 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2065 if test -n "$ac_tool_prefix"; then
2066 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2067 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2070 if test "${ac_cv_prog_CC+set}" = set; then
2071 echo $ECHO_N "(cached) $ECHO_C" >&6
2073 if test -n "$CC"; then
2074 ac_cv_prog_CC
="$CC" # Let the user override the test.
2076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir
=.
2081 for ac_exec_ext
in '' $ac_executable_extensions; do
2082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2083 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2094 if test -n "$CC"; then
2095 { echo "$as_me:$LINENO: result: $CC" >&5
2096 echo "${ECHO_T}$CC" >&6; }
2098 { echo "$as_me:$LINENO: result: no" >&5
2099 echo "${ECHO_T}no" >&6; }
2104 if test -z "$ac_cv_prog_CC"; then
2106 # Extract the first word of "gcc", so it can be a program name with args.
2107 set dummy gcc
; ac_word
=$2
2108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2110 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 if test -n "$ac_ct_CC"; then
2114 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2120 test -z "$as_dir" && as_dir
=.
2121 for ac_exec_ext
in '' $ac_executable_extensions; do
2122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2123 ac_cv_prog_ac_ct_CC
="gcc"
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2133 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2134 if test -n "$ac_ct_CC"; then
2135 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2136 echo "${ECHO_T}$ac_ct_CC" >&6; }
2138 { echo "$as_me:$LINENO: result: no" >&5
2139 echo "${ECHO_T}no" >&6; }
2142 if test "x$ac_ct_CC" = x
; then
2145 case $cross_compiling:$ac_tool_warned in
2147 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2148 whose name does not start with the host triplet. If you think this
2149 configuration is useful to you, please write to autoconf@gnu.org." >&5
2150 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2151 whose name does not start with the host triplet. If you think this
2152 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2153 ac_tool_warned
=yes ;;
2161 if test -z "$CC"; then
2162 if test -n "$ac_tool_prefix"; then
2163 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2164 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2167 if test "${ac_cv_prog_CC+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 if test -n "$CC"; then
2171 ac_cv_prog_CC
="$CC" # Let the user override the test.
2173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2177 test -z "$as_dir" && as_dir
=.
2178 for ac_exec_ext
in '' $ac_executable_extensions; do
2179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2180 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191 if test -n "$CC"; then
2192 { echo "$as_me:$LINENO: result: $CC" >&5
2193 echo "${ECHO_T}$CC" >&6; }
2195 { echo "$as_me:$LINENO: result: no" >&5
2196 echo "${ECHO_T}no" >&6; }
2202 if test -z "$CC"; then
2203 # Extract the first word of "cc", so it can be a program name with args.
2204 set dummy cc
; ac_word
=$2
2205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2207 if test "${ac_cv_prog_CC+set}" = set; then
2208 echo $ECHO_N "(cached) $ECHO_C" >&6
2210 if test -n "$CC"; then
2211 ac_cv_prog_CC
="$CC" # Let the user override the test.
2214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2218 test -z "$as_dir" && as_dir
=.
2219 for ac_exec_ext
in '' $ac_executable_extensions; do
2220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2221 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2222 ac_prog_rejected
=yes
2226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2233 if test $ac_prog_rejected = yes; then
2234 # We found a bogon in the path, so make sure we never use it.
2235 set dummy
$ac_cv_prog_CC
2237 if test $# != 0; then
2238 # We chose a different compiler from the bogus one.
2239 # However, it has the same basename, so the bogon will be chosen
2240 # first if we set CC to just the basename; use the full file name.
2242 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2248 if test -n "$CC"; then
2249 { echo "$as_me:$LINENO: result: $CC" >&5
2250 echo "${ECHO_T}$CC" >&6; }
2252 { echo "$as_me:$LINENO: result: no" >&5
2253 echo "${ECHO_T}no" >&6; }
2258 if test -z "$CC"; then
2259 if test -n "$ac_tool_prefix"; then
2260 for ac_prog
in cl.exe
2262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2263 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2266 if test "${ac_cv_prog_CC+set}" = set; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2269 if test -n "$CC"; then
2270 ac_cv_prog_CC
="$CC" # Let the user override the test.
2272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2276 test -z "$as_dir" && as_dir
=.
2277 for ac_exec_ext
in '' $ac_executable_extensions; do
2278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2279 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 if test -n "$CC"; then
2291 { echo "$as_me:$LINENO: result: $CC" >&5
2292 echo "${ECHO_T}$CC" >&6; }
2294 { echo "$as_me:$LINENO: result: no" >&5
2295 echo "${ECHO_T}no" >&6; }
2299 test -n "$CC" && break
2302 if test -z "$CC"; then
2304 for ac_prog
in cl.exe
2306 # Extract the first word of "$ac_prog", so it can be a program name with args.
2307 set dummy
$ac_prog; ac_word
=$2
2308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2310 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
2313 if test -n "$ac_ct_CC"; then
2314 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2320 test -z "$as_dir" && as_dir
=.
2321 for ac_exec_ext
in '' $ac_executable_extensions; do
2322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2323 ac_cv_prog_ac_ct_CC
="$ac_prog"
2324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2333 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2334 if test -n "$ac_ct_CC"; then
2335 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2336 echo "${ECHO_T}$ac_ct_CC" >&6; }
2338 { echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6; }
2343 test -n "$ac_ct_CC" && break
2346 if test "x$ac_ct_CC" = x
; then
2349 case $cross_compiling:$ac_tool_warned in
2351 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2352 whose name does not start with the host triplet. If you think this
2353 configuration is useful to you, please write to autoconf@gnu.org." >&5
2354 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2355 whose name does not start with the host triplet. If you think this
2356 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2357 ac_tool_warned
=yes ;;
2366 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2367 See \`config.log' for more details." >&5
2368 echo "$as_me: error: no acceptable C compiler found in \$PATH
2369 See \`config.log' for more details." >&2;}
2370 { (exit 1); exit 1; }; }
2372 # Provide some information about the compiler.
2373 echo "$as_me:$LINENO: checking for C compiler version" >&5
2374 ac_compiler
=`set X $ac_compile; echo $2`
2375 { (ac_try
="$ac_compiler --version >&5"
2377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2381 (eval "$ac_compiler --version >&5") 2>&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }
2385 { (ac_try="$ac_compiler -v >&5"
2387 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2388 *) ac_try_echo
=$ac_try;;
2390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2391 (eval "$ac_compiler -v >&5") 2>&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); }
2395 { (ac_try
="$ac_compiler -V >&5"
2397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2398 *) ac_try_echo=$ac_try;;
2400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2401 (eval "$ac_compiler -V >&5") 2>&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }
2406 cat >conftest.$ac_ext <<_ACEOF
2409 cat confdefs.h >>conftest.$ac_ext
2410 cat >>conftest.$ac_ext <<_ACEOF
2411 /* end confdefs.h. */
2421 ac_clean_files_save=$ac_clean_files
2422 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2423 # Try to create an executable without -o first, disregard a.out.
2424 # It will help us diagnose broken compilers, and finding out an intuition
2426 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2427 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2428 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2430 # List of possible output files, starting from the most likely.
2431 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2432 # only as a last resort. b.out is created by i960 compilers.
2433 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2435 # The IRIX 6 linker writes into existing files which may not be
2436 # executable, retaining their permissions. Remove them first so a
2437 # subsequent execution test works.
2439 for ac_file in $ac_files
2442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2443 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2448 if { (ac_try="$ac_link_default"
2450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2451 *) ac_try_echo=$ac_try;;
2453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2454 (eval "$ac_link_default") 2>&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }; then
2458 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2459 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2460 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2461 # so that the user can short-circuit this test for compilers unknown to
2463 for ac_file
in $ac_files ''
2465 test -f "$ac_file" ||
continue
2467 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2470 # We found the default executable, but exeext='' is most
2474 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2476 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2478 # We set ac_cv_exeext here because the later test for it is not
2479 # safe: cross compilers may not add the suffix if given an `-o'
2480 # argument, so we may need to know it at that point already.
2481 # Even if this section looks crufty: it has the advantage of
2488 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2494 { echo "$as_me:$LINENO: result: $ac_file" >&5
2495 echo "${ECHO_T}$ac_file" >&6; }
2496 if test -z "$ac_file"; then
2497 echo "$as_me: failed program was:" >&5
2498 sed 's/^/| /' conftest.
$ac_ext >&5
2500 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2501 See \`config.log' for more details." >&5
2502 echo "$as_me: error: C compiler cannot create executables
2503 See \`config.log' for more details." >&2;}
2504 { (exit 77); exit 77; }; }
2507 ac_exeext
=$ac_cv_exeext
2509 # Check that the compiler produces executables we can run. If not, either
2510 # the compiler is broken, or we cross compile.
2511 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2512 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2513 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2514 # If not cross compiling, check that we can run a simple program.
2515 if test "$cross_compiling" != yes; then
2516 if { ac_try
='./$ac_file'
2517 { (case "(($ac_try" in
2518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2519 *) ac_try_echo=$ac_try;;
2521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2522 (eval "$ac_try") 2>&5
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }; }; then
2528 if test "$cross_compiling" = maybe; then
2531 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2532 If you meant to cross compile, use \`--host'.
2533 See \`config.log' for more details.
" >&5
2534 echo "$as_me: error
: cannot run C compiled programs.
2535 If you meant to cross compile
, use \
`--host'.
2536 See \`config.log
' for more details." >&2;}
2537 { (exit 1); exit 1; }; }
2541 { echo "$as_me:$LINENO: result: yes" >&5
2542 echo "${ECHO_T}yes" >&6; }
2544 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2545 ac_clean_files=$ac_clean_files_save
2546 # Check that the compiler produces executables we can run. If not, either
2547 # the compiler is broken, or we cross compile.
2548 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2549 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2550 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2551 echo "${ECHO_T}$cross_compiling" >&6; }
2553 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2554 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2555 if { (ac_try="$ac_link"
2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2558 *) ac_try_echo=$ac_try;;
2560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2561 (eval "$ac_link") 2>&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }; then
2565 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2566 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2567 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2569 for ac_file
in conftest.exe conftest conftest.
*; do
2570 test -f "$ac_file" ||
continue
2572 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2573 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2579 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2580 See \`config.log' for more details." >&5
2581 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2582 See \`config.log' for more details." >&2;}
2583 { (exit 1); exit 1; }; }
2586 rm -f conftest
$ac_cv_exeext
2587 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2588 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2590 rm -f conftest.
$ac_ext
2591 EXEEXT
=$ac_cv_exeext
2593 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2594 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2595 if test "${ac_cv_objext+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2598 cat >conftest.
$ac_ext <<_ACEOF
2601 cat confdefs.h
>>conftest.
$ac_ext
2602 cat >>conftest.
$ac_ext <<_ACEOF
2603 /* end confdefs.h. */
2613 rm -f conftest.o conftest.obj
2614 if { (ac_try
="$ac_compile"
2616 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2620 (eval "$ac_compile") 2>&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; then
2624 for ac_file in conftest.o conftest.obj conftest.*; do
2625 test -f "$ac_file" || continue;
2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2628 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2633 echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.$ac_ext >&5
2636 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2637 See \`config.log
' for more details." >&5
2638 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2639 See \`config.log' for more details.
" >&2;}
2640 { (exit 1); exit 1; }; }
2643 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2645 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2646 echo "${ECHO_T}$ac_cv_objext" >&6; }
2647 OBJEXT=$ac_cv_objext
2649 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2650 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2651 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2652 echo $ECHO_N "(cached
) $ECHO_C" >&6
2654 cat >conftest.$ac_ext <<_ACEOF
2657 cat confdefs.h >>conftest.$ac_ext
2658 cat >>conftest.$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2672 rm -f conftest.$ac_objext
2673 if { (ac_try="$ac_compile"
2675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676 *) ac_try_echo=$ac_try;;
2678 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2679 (eval "$ac_compile") 2>conftest.er1
2681 grep -v '^ *+' conftest.er1 >conftest.err
2683 cat conftest.err >&5
2684 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2685 (exit $ac_status); } && {
2686 test -z "$ac_c_werror_flag" ||
2687 test ! -s conftest.err
2688 } && test -s conftest.$ac_objext; then
2691 echo "$as_me: failed program was
:" >&5
2692 sed 's/^/| /' conftest.$ac_ext >&5
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2698 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2701 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2702 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2703 GCC=`test $ac_compiler_gnu = yes && echo yes`
2704 ac_test_CFLAGS=${CFLAGS+set}
2705 ac_save_CFLAGS=$CFLAGS
2706 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2707 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2708 if test "${ac_cv_prog_cc_g+set}" = set; then
2709 echo $ECHO_N "(cached
) $ECHO_C" >&6
2711 ac_save_c_werror_flag=$ac_c_werror_flag
2712 ac_c_werror_flag=yes
2715 cat >conftest.$ac_ext <<_ACEOF
2718 cat confdefs.h >>conftest.$ac_ext
2719 cat >>conftest.$ac_ext <<_ACEOF
2720 /* end confdefs.h. */
2730 rm -f conftest.$ac_objext
2731 if { (ac_try="$ac_compile"
2733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2734 *) ac_try_echo=$ac_try;;
2736 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2737 (eval "$ac_compile") 2>conftest.er1
2739 grep -v '^ *+' conftest.er1 >conftest.err
2741 cat conftest.err >&5
2742 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2743 (exit $ac_status); } && {
2744 test -z "$ac_c_werror_flag" ||
2745 test ! -s conftest.err
2746 } && test -s conftest.$ac_objext; then
2749 echo "$as_me: failed program was
:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2753 cat >conftest.$ac_ext <<_ACEOF
2756 cat confdefs.h >>conftest.$ac_ext
2757 cat >>conftest.$ac_ext <<_ACEOF
2758 /* end confdefs.h. */
2768 rm -f conftest.$ac_objext
2769 if { (ac_try="$ac_compile"
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2774 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2775 (eval "$ac_compile") 2>conftest.er1
2777 grep -v '^ *+' conftest.er1 >conftest.err
2779 cat conftest.err >&5
2780 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2781 (exit $ac_status); } && {
2782 test -z "$ac_c_werror_flag" ||
2783 test ! -s conftest.err
2784 } && test -s conftest.$ac_objext; then
2787 echo "$as_me: failed program was
:" >&5
2788 sed 's/^/| /' conftest.$ac_ext >&5
2790 ac_c_werror_flag=$ac_save_c_werror_flag
2792 cat >conftest.$ac_ext <<_ACEOF
2795 cat confdefs.h >>conftest.$ac_ext
2796 cat >>conftest.$ac_ext <<_ACEOF
2797 /* end confdefs.h. */
2807 rm -f conftest.$ac_objext
2808 if { (ac_try="$ac_compile"
2810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2811 *) ac_try_echo=$ac_try;;
2813 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2814 (eval "$ac_compile") 2>conftest.er1
2816 grep -v '^ *+' conftest.er1 >conftest.err
2818 cat conftest.err >&5
2819 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2820 (exit $ac_status); } && {
2821 test -z "$ac_c_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest.$ac_objext; then
2826 echo "$as_me: failed program was
:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2839 ac_c_werror_flag=$ac_save_c_werror_flag
2841 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2842 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2843 if test "$ac_test_CFLAGS" = set; then
2844 CFLAGS=$ac_save_CFLAGS
2845 elif test $ac_cv_prog_cc_g = yes; then
2846 if test "$GCC" = yes; then
2852 if test "$GCC" = yes; then
2858 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2859 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2860 if test "${ac_cv_prog_cc_c89+set}" = set; then
2861 echo $ECHO_N "(cached
) $ECHO_C" >&6
2863 ac_cv_prog_cc_c89=no
2865 cat >conftest.$ac_ext <<_ACEOF
2868 cat confdefs.h >>conftest.$ac_ext
2869 cat >>conftest.$ac_ext <<_ACEOF
2870 /* end confdefs.h. */
2873 #include <sys/types.h>
2874 #include <sys/stat.h>
2875 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2876 struct buf { int x; };
2877 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2878 static char *e (p, i)
2884 static char *f (char * (*g) (char **, int), char **p, ...)
2889 s = g (p, va_arg (v,int));
2894 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2895 function prototypes and stuff, but not '\xHH' hex character constants.
2896 These don't provoke an error unfortunately, instead are silently treated
2897 as 'x'. The following induces an error, until -std is added to get
2898 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2899 array size at least. It's necessary to write '\x00'==0 to get something
2900 that's true only with -std. */
2901 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2903 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2904 inside strings and character constants. */
2906 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2908 int test (int i, double x);
2909 struct s1 {int (*f) (int a);};
2910 struct s2 {int (*f) (double a);};
2911 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2917 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2922 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2923 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2925 CC="$ac_save_CC $ac_arg"
2926 rm -f conftest.$ac_objext
2927 if { (ac_try="$ac_compile"
2929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2930 *) ac_try_echo=$ac_try;;
2932 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2933 (eval "$ac_compile") 2>conftest.er1
2935 grep -v '^ *+' conftest.er1 >conftest.err
2937 cat conftest.err >&5
2938 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2939 (exit $ac_status); } && {
2940 test -z "$ac_c_werror_flag" ||
2941 test ! -s conftest.err
2942 } && test -s conftest.$ac_objext; then
2943 ac_cv_prog_cc_c89=$ac_arg
2945 echo "$as_me: failed program was
:" >&5
2946 sed 's/^/| /' conftest.$ac_ext >&5
2951 rm -f core conftest.err conftest.$ac_objext
2952 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2954 rm -f conftest.$ac_ext
2959 case "x
$ac_cv_prog_cc_c89" in
2961 { echo "$as_me:$LINENO: result
: none needed
" >&5
2962 echo "${ECHO_T}none needed
" >&6; } ;;
2964 { echo "$as_me:$LINENO: result
: unsupported
" >&5
2965 echo "${ECHO_T}unsupported
" >&6; } ;;
2967 CC="$CC $ac_cv_prog_cc_c89"
2968 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
2969 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2974 ac_cpp='$CPP $CPPFLAGS'
2975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2980 ac_cpp='$CXXCPP $CPPFLAGS'
2981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2984 if test -z "$CXX"; then
2985 if test -n "$CCC"; then
2988 if test -n "$ac_tool_prefix"; then
2989 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2992 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2993 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
2994 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
2995 if test "${ac_cv_prog_CXX+set}" = set; then
2996 echo $ECHO_N "(cached
) $ECHO_C" >&6
2998 if test -n "$CXX"; then
2999 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005 test -z "$as_dir" && as_dir=.
3006 for ac_exec_ext in '' $ac_executable_extensions; do
3007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3008 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3009 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3019 if test -n "$CXX"; then
3020 { echo "$as_me:$LINENO: result
: $CXX" >&5
3021 echo "${ECHO_T}$CXX" >&6; }
3023 { echo "$as_me:$LINENO: result
: no
" >&5
3024 echo "${ECHO_T}no
" >&6; }
3028 test -n "$CXX" && break
3031 if test -z "$CXX"; then
3033 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3035 # Extract the first word of "$ac_prog", so it can be a program name with args.
3036 set dummy $ac_prog; ac_word=$2
3037 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3038 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3039 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3040 echo $ECHO_N "(cached
) $ECHO_C" >&6
3042 if test -n "$ac_ct_CXX"; then
3043 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049 test -z "$as_dir" && as_dir=.
3050 for ac_exec_ext in '' $ac_executable_extensions; do
3051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3052 ac_cv_prog_ac_ct_CXX="$ac_prog"
3053 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3062 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3063 if test -n "$ac_ct_CXX"; then
3064 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3065 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3067 { echo "$as_me:$LINENO: result
: no
" >&5
3068 echo "${ECHO_T}no
" >&6; }
3072 test -n "$ac_ct_CXX" && break
3075 if test "x
$ac_ct_CXX" = x; then
3078 case $cross_compiling:$ac_tool_warned in
3080 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3081 whose name does not start with the
host triplet. If you think this
3082 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3083 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3084 whose name does not start with the
host triplet. If you think this
3085 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3086 ac_tool_warned=yes ;;
3094 # Provide some information about the compiler.
3095 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3096 ac_compiler=`set X $ac_compile; echo $2`
3097 { (ac_try="$ac_compiler --version >&5"
3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100 *) ac_try_echo=$ac_try;;
3102 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3103 (eval "$ac_compiler --version >&5") 2>&5
3105 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3106 (exit $ac_status); }
3107 { (ac_try="$ac_compiler -v >&5"
3109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3112 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3113 (eval "$ac_compiler -v >&5") 2>&5
3115 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3116 (exit $ac_status); }
3117 { (ac_try="$ac_compiler -V >&5"
3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120 *) ac_try_echo=$ac_try;;
3122 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3123 (eval "$ac_compiler -V >&5") 2>&5
3125 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3126 (exit $ac_status); }
3128 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3129 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3130 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3131 echo $ECHO_N "(cached
) $ECHO_C" >&6
3133 cat >conftest.$ac_ext <<_ACEOF
3136 cat confdefs.h >>conftest.$ac_ext
3137 cat >>conftest.$ac_ext <<_ACEOF
3138 /* end confdefs.h. */
3151 rm -f conftest.$ac_objext
3152 if { (ac_try="$ac_compile"
3154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3157 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3158 (eval "$ac_compile") 2>conftest.er1
3160 grep -v '^ *+' conftest.er1 >conftest.err
3162 cat conftest.err >&5
3163 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3164 (exit $ac_status); } && {
3165 test -z "$ac_cxx_werror_flag" ||
3166 test ! -s conftest.err
3167 } && test -s conftest.$ac_objext; then
3170 echo "$as_me: failed program was
:" >&5
3171 sed 's/^/| /' conftest.$ac_ext >&5
3176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3177 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3180 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3181 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3182 GXX=`test $ac_compiler_gnu = yes && echo yes`
3183 ac_test_CXXFLAGS=${CXXFLAGS+set}
3184 ac_save_CXXFLAGS=$CXXFLAGS
3185 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3186 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3187 if test "${ac_cv_prog_cxx_g+set}" = set; then
3188 echo $ECHO_N "(cached
) $ECHO_C" >&6
3190 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3191 ac_cxx_werror_flag=yes
3194 cat >conftest.$ac_ext <<_ACEOF
3197 cat confdefs.h >>conftest.$ac_ext
3198 cat >>conftest.$ac_ext <<_ACEOF
3199 /* end confdefs.h. */
3209 rm -f conftest.$ac_objext
3210 if { (ac_try="$ac_compile"
3212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3213 *) ac_try_echo=$ac_try;;
3215 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3216 (eval "$ac_compile") 2>conftest.er1
3218 grep -v '^ *+' conftest.er1 >conftest.err
3220 cat conftest.err >&5
3221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3222 (exit $ac_status); } && {
3223 test -z "$ac_cxx_werror_flag" ||
3224 test ! -s conftest.err
3225 } && test -s conftest.$ac_objext; then
3226 ac_cv_prog_cxx_g=yes
3228 echo "$as_me: failed program was
:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3232 cat >conftest.$ac_ext <<_ACEOF
3235 cat confdefs.h >>conftest.$ac_ext
3236 cat >>conftest.$ac_ext <<_ACEOF
3237 /* end confdefs.h. */
3247 rm -f conftest.$ac_objext
3248 if { (ac_try="$ac_compile"
3250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3251 *) ac_try_echo=$ac_try;;
3253 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3254 (eval "$ac_compile") 2>conftest.er1
3256 grep -v '^ *+' conftest.er1 >conftest.err
3258 cat conftest.err >&5
3259 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3260 (exit $ac_status); } && {
3261 test -z "$ac_cxx_werror_flag" ||
3262 test ! -s conftest.err
3263 } && test -s conftest.$ac_objext; then
3266 echo "$as_me: failed program was
:" >&5
3267 sed 's/^/| /' conftest.$ac_ext >&5
3269 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3271 cat >conftest.$ac_ext <<_ACEOF
3274 cat confdefs.h >>conftest.$ac_ext
3275 cat >>conftest.$ac_ext <<_ACEOF
3276 /* end confdefs.h. */
3286 rm -f conftest.$ac_objext
3287 if { (ac_try="$ac_compile"
3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290 *) ac_try_echo=$ac_try;;
3292 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3293 (eval "$ac_compile") 2>conftest.er1
3295 grep -v '^ *+' conftest.er1 >conftest.err
3297 cat conftest.err >&5
3298 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3299 (exit $ac_status); } && {
3300 test -z "$ac_cxx_werror_flag" ||
3301 test ! -s conftest.err
3302 } && test -s conftest.$ac_objext; then
3303 ac_cv_prog_cxx_g=yes
3305 echo "$as_me: failed program was
:" >&5
3306 sed 's/^/| /' conftest.$ac_ext >&5
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3318 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3320 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3321 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3322 if test "$ac_test_CXXFLAGS" = set; then
3323 CXXFLAGS=$ac_save_CXXFLAGS
3324 elif test $ac_cv_prog_cxx_g = yes; then
3325 if test "$GXX" = yes; then
3331 if test "$GXX" = yes; then
3338 ac_cpp='$CPP $CPPFLAGS'
3339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3343 if test -n "$ac_tool_prefix"; then
3344 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3345 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3346 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3347 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3348 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3349 echo $ECHO_N "(cached
) $ECHO_C" >&6
3351 if test -n "$CPPBIN"; then
3352 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 test -z "$as_dir" && as_dir=.
3359 for ac_exec_ext in '' $ac_executable_extensions; do
3360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3362 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3371 CPPBIN=$ac_cv_prog_CPPBIN
3372 if test -n "$CPPBIN"; then
3373 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3374 echo "${ECHO_T}$CPPBIN" >&6; }
3376 { echo "$as_me:$LINENO: result
: no
" >&5
3377 echo "${ECHO_T}no
" >&6; }
3382 if test -z "$ac_cv_prog_CPPBIN"; then
3383 ac_ct_CPPBIN=$CPPBIN
3384 # Extract the first word of "cpp
", so it can be a program name with args.
3385 set dummy cpp; ac_word=$2
3386 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3387 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3388 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3389 echo $ECHO_N "(cached
) $ECHO_C" >&6
3391 if test -n "$ac_ct_CPPBIN"; then
3392 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398 test -z "$as_dir" && as_dir=.
3399 for ac_exec_ext in '' $ac_executable_extensions; do
3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3402 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3411 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3412 if test -n "$ac_ct_CPPBIN"; then
3413 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3414 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3416 { echo "$as_me:$LINENO: result
: no
" >&5
3417 echo "${ECHO_T}no
" >&6; }
3420 if test "x
$ac_ct_CPPBIN" = x; then
3423 case $cross_compiling:$ac_tool_warned in
3425 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3426 whose name does not start with the
host triplet. If you think this
3427 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3428 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3429 whose name does not start with the
host triplet. If you think this
3430 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3431 ac_tool_warned=yes ;;
3433 CPPBIN=$ac_ct_CPPBIN
3436 CPPBIN="$ac_cv_prog_CPPBIN"
3440 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3441 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3442 if test "${wine_cv_toolsdir+set}" = set; then
3443 echo $ECHO_N "(cached
) $ECHO_C" >&6
3445 if test -z "$with_wine_tools"; then
3446 if test "$cross_compiling" = "yes"; then
3447 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3448 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3449 { (exit 1); exit 1; }; }
3451 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3453 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3454 case $with_wine_tools in
3455 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3456 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3459 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3460 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3461 { (exit 1); exit 1; }; }
3464 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3465 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3466 TOOLSDIR=$wine_cv_toolsdir
3471 ac_cpp='$CPP $CPPFLAGS'
3472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3475 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3476 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3477 # On Suns, sometimes $CPP names a directory.
3478 if test -n "$CPP" && test -d "$CPP"; then
3481 if test -z "$CPP"; then
3482 if test "${ac_cv_prog_CPP+set}" = set; then
3483 echo $ECHO_N "(cached
) $ECHO_C" >&6
3485 # Double quotes because CPP needs to be expanded
3486 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3489 for ac_c_preproc_warn_flag in '' yes
3491 # Use a header file that comes with gcc, so configuring glibc
3492 # with a fresh cross-compiler works.
3493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3494 # <limits.h> exists even on freestanding compilers.
3495 # On the NeXT, cc -E runs the code through the compiler's parser,
3496 # not just through cpp. "Syntax error
" is here to catch this case.
3497 cat >conftest.$ac_ext <<_ACEOF
3500 cat confdefs.h >>conftest.$ac_ext
3501 cat >>conftest.$ac_ext <<_ACEOF
3502 /* end confdefs.h. */
3504 # include <limits.h>
3506 # include <assert.h>
3510 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3515 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3516 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3518 grep -v '^ *+' conftest.er1 >conftest.err
3520 cat conftest.err >&5
3521 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3522 (exit $ac_status); } >/dev/null && {
3523 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3524 test ! -s conftest.err
3528 echo "$as_me: failed program was
:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3531 # Broken: fails on valid input.
3535 rm -f conftest.err conftest.$ac_ext
3537 # OK, works on sane cases. Now check whether nonexistent headers
3538 # can be detected and how.
3539 cat >conftest.$ac_ext <<_ACEOF
3542 cat confdefs.h >>conftest.$ac_ext
3543 cat >>conftest.$ac_ext <<_ACEOF
3544 /* end confdefs.h. */
3545 #include <ac_nonexistent.h>
3547 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3552 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3553 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3555 grep -v '^ *+' conftest.er1 >conftest.err
3557 cat conftest.err >&5
3558 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3559 (exit $ac_status); } >/dev/null && {
3560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3561 test ! -s conftest.err
3563 # Broken: success on invalid input.
3566 echo "$as_me: failed program was
:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3569 # Passes both tests.
3574 rm -f conftest.err conftest.$ac_ext
3577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3578 rm -f conftest.err conftest.$ac_ext
3579 if $ac_preproc_ok; then
3591 { echo "$as_me:$LINENO: result
: $CPP" >&5
3592 echo "${ECHO_T}$CPP" >&6; }
3594 for ac_c_preproc_warn_flag in '' yes
3596 # Use a header file that comes with gcc, so configuring glibc
3597 # with a fresh cross-compiler works.
3598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3599 # <limits.h> exists even on freestanding compilers.
3600 # On the NeXT, cc -E runs the code through the compiler's parser,
3601 # not just through cpp. "Syntax error
" is here to catch this case.
3602 cat >conftest.$ac_ext <<_ACEOF
3605 cat confdefs.h >>conftest.$ac_ext
3606 cat >>conftest.$ac_ext <<_ACEOF
3607 /* end confdefs.h. */
3609 # include <limits.h>
3611 # include <assert.h>
3615 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3618 *) ac_try_echo=$ac_try;;
3620 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3621 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3623 grep -v '^ *+' conftest.er1 >conftest.err
3625 cat conftest.err >&5
3626 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3627 (exit $ac_status); } >/dev/null && {
3628 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3629 test ! -s conftest.err
3633 echo "$as_me: failed program was
:" >&5
3634 sed 's/^/| /' conftest.$ac_ext >&5
3636 # Broken: fails on valid input.
3640 rm -f conftest.err conftest.$ac_ext
3642 # OK, works on sane cases. Now check whether nonexistent headers
3643 # can be detected and how.
3644 cat >conftest.$ac_ext <<_ACEOF
3647 cat confdefs.h >>conftest.$ac_ext
3648 cat >>conftest.$ac_ext <<_ACEOF
3649 /* end confdefs.h. */
3650 #include <ac_nonexistent.h>
3652 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3655 *) ac_try_echo=$ac_try;;
3657 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3658 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3660 grep -v '^ *+' conftest.er1 >conftest.err
3662 cat conftest.err >&5
3663 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3664 (exit $ac_status); } >/dev/null && {
3665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3666 test ! -s conftest.err
3668 # Broken: success on invalid input.
3671 echo "$as_me: failed program was
:" >&5
3672 sed 's/^/| /' conftest.$ac_ext >&5
3674 # Passes both tests.
3679 rm -f conftest.err conftest.$ac_ext
3682 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3683 rm -f conftest.err conftest.$ac_ext
3684 if $ac_preproc_ok; then
3687 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3688 See \
`config.log' for more details." >&5
3689 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3690 See \`config.log
' for more details." >&2;}
3691 { (exit 1); exit 1; }; }
3695 ac_cpp='$CPP $CPPFLAGS'
3696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3697 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3701 { echo "$as_me:$LINENO: checking for X" >&5
3702 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3705 # Check whether --with-x was given.
3706 if test "${with_x+set}" = set; then
3710 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3711 if test "x$with_x" = xno; then
3712 # The user explicitly disabled X.
3715 case $x_includes,$x_libraries in #(
3716 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3717 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3718 { (exit 1); exit 1; }; };; #(
3719 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 # One or both of the vars are not set, and there is no cached value.
3723 ac_x_includes=no ac_x_libraries=no
3724 rm -f -r conftest.dir
3725 if mkdir conftest.dir; then
3727 cat >Imakefile <<'_ACEOF'
3729 @echo incroot='${INCROOT}'
3731 @echo usrlibdir='${USRLIBDIR}'
3733 @echo libdir='${LIBDIR}'
3735 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3736 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3737 for ac_var in incroot usrlibdir libdir; do
3738 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3740 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3741 for ac_extension in a so sl; do
3742 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3743 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3744 ac_im_usrlibdir=$ac_im_libdir; break
3747 # Screen out bogus values from the imake configuration. They are
3748 # bogus both because they are the default anyway, and because
3749 # using them would break gcc on systems where it needs fixed includes.
3750 case $ac_im_incroot in
3751 /usr/include) ac_x_includes= ;;
3752 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3754 case $ac_im_usrlibdir in
3756 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3760 rm -f -r conftest.dir
3763 # Standard set of common directories for X headers.
3764 # Check X11 before X11Rn because it is often a symlink to the current release.
3776 /usr
/local
/X11
/include
3777 /usr
/local
/X11R
6/include
3778 /usr
/local
/X11R
5/include
3779 /usr
/local
/X11R
4/include
3781 /usr
/local
/include
/X11
3782 /usr
/local
/include
/X11R6
3783 /usr
/local
/include
/X11R5
3784 /usr
/local
/include
/X11R4
3788 /usr
/XFree86
/include
/X11
3792 /usr
/unsupported
/include
3794 /usr
/local
/x11r
5/include
3795 /usr
/lpp
/Xamples
/include
3797 /usr
/openwin
/include
3798 /usr
/openwin
/share
/include
'
3800 if test "$ac_x_includes" = no; then
3801 # Guess where to find include files, by looking for Xlib.h.
3802 # First, try using that file with no special directory specified.
3803 cat >conftest.$ac_ext <<_ACEOF
3806 cat confdefs.h >>conftest.$ac_ext
3807 cat >>conftest.$ac_ext <<_ACEOF
3808 /* end confdefs.h. */
3809 #include <X11/Xlib.h>
3811 if { (ac_try="$ac_cpp conftest.$ac_ext"
3813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3814 *) ac_try_echo=$ac_try;;
3816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3819 grep -v '^
*+' conftest.er1 >conftest.err
3821 cat conftest.err >&5
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); } >/dev/null && {
3824 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3825 test ! -s conftest.err
3827 # We can compile using X headers with no special include directory.
3830 echo "$as_me: failed program was:" >&5
3831 sed 's
/^
/|
/' conftest.$ac_ext >&5
3833 for ac_dir in $ac_x_header_dirs; do
3834 if test -r "$ac_dir/X11/Xlib.h"; then
3835 ac_x_includes=$ac_dir
3841 rm -f conftest.err conftest.$ac_ext
3842 fi # $ac_x_includes = no
3844 if test "$ac_x_libraries" = no; then
3845 # Check for the libraries.
3846 # See if we find them without any special options.
3847 # Don't add to
$LIBS permanently.
3850 cat >conftest.
$ac_ext <<_ACEOF
3853 cat confdefs.h
>>conftest.
$ac_ext
3854 cat >>conftest.
$ac_ext <<_ACEOF
3855 /* end confdefs.h. */
3856 #include <X11/Xlib.h>
3865 rm -f conftest.
$ac_objext conftest
$ac_exeext
3866 if { (ac_try
="$ac_link"
3868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3872 (eval "$ac_link") 2>conftest.er1
3874 grep -v '^ *+' conftest.er1 >conftest.err
3876 cat conftest.err >&5
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); } && {
3879 test -z "$ac_c_werror_flag" ||
3880 test ! -s conftest.err
3881 } && test -s conftest$ac_exeext &&
3882 $as_test_x conftest$ac_exeext; then
3884 # We can link X programs with no special library path.
3887 echo "$as_me: failed program was:" >&5
3888 sed 's/^/| /' conftest.$ac_ext >&5
3891 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
3893 # Don't even attempt the hair of trying to link an X program!
3894 for ac_extension in a so sl; do
3895 if test -r "$ac_dir/libX11.$ac_extension"; then
3896 ac_x_libraries=$ac_dir
3903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3904 conftest$ac_exeext conftest.$ac_ext
3905 fi # $ac_x_libraries = no
3907 case $ac_x_includes,$ac_x_libraries in #(
3909 # Didn't find X, or a directory has "'" in its name.
3910 ac_cv_have_x="have_x=no";; #(
3912 # Record where we found X for the cache.
3913 ac_cv_have_x="have_x=yes\
3914 ac_x_includes='$ac_x_includes'\
3915 ac_x_libraries='$ac_x_libraries'"
3921 eval "$ac_cv_have_x"
3924 if test "$have_x" != yes; then
3925 { echo "$as_me:$LINENO: result: $have_x" >&5
3926 echo "${ECHO_T}$have_x" >&6; }
3929 # If each of the values was on the command line, it overrides each guess.
3930 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3931 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3932 # Update the cache value to reflect the command line values.
3933 ac_cv_have_x="have_x=yes\
3934 ac_x_includes='$x_includes'\
3935 ac_x_libraries='$x_libraries'"
3936 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3937 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3940 if test "$no_x" = yes; then
3941 # Not all programs may use this symbol, but it does not hurt to define it.
3943 cat >>confdefs.h <<\_ACEOF
3944 #define X_DISPLAY_MISSING 1
3947 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3949 if test -n "$x_includes"; then
3950 X_CFLAGS="$X_CFLAGS -I$x_includes"
3953 # It would also be nice to do this for all -L options, not just this one.
3954 if test -n "$x_libraries"; then
3955 X_LIBS="$X_LIBS -L$x_libraries"
3956 # For Solaris; some versions of Sun CC require a space after -R and
3957 # others require no space. Words are not sufficient . . . .
3958 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3959 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3960 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3961 ac_xsave_c_werror_flag=$ac_c_werror_flag
3962 ac_c_werror_flag=yes
3963 cat >conftest.$ac_ext <<_ACEOF
3966 cat confdefs.h >>conftest.$ac_ext
3967 cat >>conftest.$ac_ext <<_ACEOF
3968 /* end confdefs.h. */
3978 rm -f conftest.$ac_objext conftest$ac_exeext
3979 if { (ac_try="$ac_link"
3981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3982 *) ac_try_echo
=$ac_try;;
3984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3985 (eval "$ac_link") 2>conftest.er1
3987 grep -v '^ *+' conftest.er1
>conftest.err
3989 cat conftest.err
>&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); } && {
3992 test -z "$ac_c_werror_flag" ||
3993 test ! -s conftest.err
3994 } && test -s conftest
$ac_exeext &&
3995 $as_test_x conftest
$ac_exeext; then
3996 { echo "$as_me:$LINENO: result: no" >&5
3997 echo "${ECHO_T}no" >&6; }
3998 X_LIBS
="$X_LIBS -R$x_libraries"
4000 echo "$as_me: failed program was:" >&5
4001 sed 's/^/| /' conftest.
$ac_ext >&5
4003 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4004 cat >conftest.
$ac_ext <<_ACEOF
4007 cat confdefs.h
>>conftest.
$ac_ext
4008 cat >>conftest.
$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4019 rm -f conftest.
$ac_objext conftest
$ac_exeext
4020 if { (ac_try
="$ac_link"
4022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4023 *) ac_try_echo=$ac_try;;
4025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4026 (eval "$ac_link") 2>conftest.er1
4028 grep -v '^ *+' conftest.er1 >conftest.err
4030 cat conftest.err >&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); } && {
4033 test -z "$ac_c_werror_flag" ||
4034 test ! -s conftest.err
4035 } && test -s conftest$ac_exeext &&
4036 $as_test_x conftest$ac_exeext; then
4037 { echo "$as_me:$LINENO: result: yes" >&5
4038 echo "${ECHO_T}yes" >&6; }
4039 X_LIBS="$X_LIBS -R $x_libraries"
4041 echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.$ac_ext >&5
4044 { echo "$as_me:$LINENO: result: neither works" >&5
4045 echo "${ECHO_T}neither works" >&6; }
4048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4049 conftest$ac_exeext conftest.$ac_ext
4052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4053 conftest$ac_exeext conftest.$ac_ext
4054 ac_c_werror_flag=$ac_xsave_c_werror_flag
4058 # Check for system-dependent libraries X programs must link with.
4059 # Do this before checking for the system-independent R6 libraries
4060 # (-lICE), since we may need -lsocket or whatever for X linking.
4062 if test "$ISC" = yes; then
4063 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4065 # Martyn Johnson says this is needed for Ultrix, if the X
4066 # libraries were built with DECnet support. And Karl Berry says
4067 # the Alpha needs dnet_stub (dnet does not exist).
4068 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4069 cat >conftest.$ac_ext <<_ACEOF
4072 cat confdefs.h >>conftest.$ac_ext
4073 cat >>conftest.$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4076 /* Override any GCC internal prototype to avoid an error.
4077 Use char because int might match the return type of a GCC
4078 builtin and then its argument prototype would still apply. */
4082 char XOpenDisplay ();
4086 return XOpenDisplay ();
4091 rm -f conftest.$ac_objext conftest$ac_exeext
4092 if { (ac_try="$ac_link"
4094 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4095 *) ac_try_echo
=$ac_try;;
4097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4098 (eval "$ac_link") 2>conftest.er1
4100 grep -v '^ *+' conftest.er1
>conftest.err
4102 cat conftest.err
>&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); } && {
4105 test -z "$ac_c_werror_flag" ||
4106 test ! -s conftest.err
4107 } && test -s conftest
$ac_exeext &&
4108 $as_test_x conftest
$ac_exeext; then
4111 echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.
$ac_ext >&5
4114 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4115 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4116 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4117 echo $ECHO_N "(cached) $ECHO_C" >&6
4119 ac_check_lib_save_LIBS
=$LIBS
4121 cat >conftest.
$ac_ext <<_ACEOF
4124 cat confdefs.h
>>conftest.
$ac_ext
4125 cat >>conftest.
$ac_ext <<_ACEOF
4126 /* end confdefs.h. */
4128 /* Override any GCC internal prototype to avoid an error.
4129 Use char because int might match the return type of a GCC
4130 builtin and then its argument prototype would still apply. */
4138 return dnet_ntoa ();
4143 rm -f conftest.
$ac_objext conftest
$ac_exeext
4144 if { (ac_try
="$ac_link"
4146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4147 *) ac_try_echo=$ac_try;;
4149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4150 (eval "$ac_link") 2>conftest.er1
4152 grep -v '^ *+' conftest.er1 >conftest.err
4154 cat conftest.err >&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); } && {
4157 test -z "$ac_c_werror_flag" ||
4158 test ! -s conftest.err
4159 } && test -s conftest$ac_exeext &&
4160 $as_test_x conftest$ac_exeext; then
4161 ac_cv_lib_dnet_dnet_ntoa=yes
4163 echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.$ac_ext >&5
4166 ac_cv_lib_dnet_dnet_ntoa=no
4169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4170 conftest$ac_exeext conftest.$ac_ext
4171 LIBS=$ac_check_lib_save_LIBS
4173 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4174 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4175 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4176 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4179 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4180 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4181 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4182 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4183 echo $ECHO_N "(cached) $ECHO_C" >&6
4185 ac_check_lib_save_LIBS=$LIBS
4186 LIBS="-ldnet_stub $LIBS"
4187 cat >conftest.$ac_ext <<_ACEOF
4190 cat confdefs.h >>conftest.$ac_ext
4191 cat >>conftest.$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4194 /* Override any GCC internal prototype to avoid an error.
4195 Use char because int might match the return type of a GCC
4196 builtin and then its argument prototype would still apply. */
4204 return dnet_ntoa ();
4209 rm -f conftest.$ac_objext conftest$ac_exeext
4210 if { (ac_try="$ac_link"
4212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4213 *) ac_try_echo
=$ac_try;;
4215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4216 (eval "$ac_link") 2>conftest.er1
4218 grep -v '^ *+' conftest.er1
>conftest.err
4220 cat conftest.err
>&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); } && {
4223 test -z "$ac_c_werror_flag" ||
4224 test ! -s conftest.err
4225 } && test -s conftest
$ac_exeext &&
4226 $as_test_x conftest
$ac_exeext; then
4227 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4229 echo "$as_me: failed program was:" >&5
4230 sed 's/^/| /' conftest.
$ac_ext >&5
4232 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4235 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4236 conftest
$ac_exeext conftest.
$ac_ext
4237 LIBS
=$ac_check_lib_save_LIBS
4239 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4240 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4241 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4242 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4248 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4249 conftest
$ac_exeext conftest.
$ac_ext
4250 LIBS
="$ac_xsave_LIBS"
4252 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4253 # to get the SysV transport functions.
4254 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4256 # The nsl library prevents programs from opening the X display
4257 # on Irix 5.2, according to T.E. Dickey.
4258 # The functions gethostbyname, getservbyname, and inet_addr are
4259 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4260 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4261 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4262 if test "${ac_cv_func_gethostbyname+set}" = set; then
4263 echo $ECHO_N "(cached) $ECHO_C" >&6
4265 cat >conftest.
$ac_ext <<_ACEOF
4268 cat confdefs.h
>>conftest.
$ac_ext
4269 cat >>conftest.
$ac_ext <<_ACEOF
4270 /* end confdefs.h. */
4271 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4273 #define gethostbyname innocuous_gethostbyname
4275 /* System header to define __stub macros and hopefully few prototypes,
4276 which can conflict with char gethostbyname (); below.
4277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4278 <limits.h> exists even on freestanding compilers. */
4281 # include <limits.h>
4283 # include <assert.h>
4286 #undef gethostbyname
4288 /* Override any GCC internal prototype to avoid an error.
4289 Use char because int might match the return type of a GCC
4290 builtin and then its argument prototype would still apply. */
4294 char gethostbyname ();
4295 /* The GNU C library defines this for functions which it implements
4296 to always fail with ENOSYS. Some functions are actually named
4297 something starting with __ and the normal name is an alias. */
4298 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4305 return gethostbyname ();
4310 rm -f conftest.
$ac_objext conftest
$ac_exeext
4311 if { (ac_try
="$ac_link"
4313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4314 *) ac_try_echo=$ac_try;;
4316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4317 (eval "$ac_link") 2>conftest.er1
4319 grep -v '^ *+' conftest.er1 >conftest.err
4321 cat conftest.err >&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); } && {
4324 test -z "$ac_c_werror_flag" ||
4325 test ! -s conftest.err
4326 } && test -s conftest$ac_exeext &&
4327 $as_test_x conftest$ac_exeext; then
4328 ac_cv_func_gethostbyname=yes
4330 echo "$as_me: failed program was:" >&5
4331 sed 's/^/| /' conftest.$ac_ext >&5
4333 ac_cv_func_gethostbyname=no
4336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4337 conftest$ac_exeext conftest.$ac_ext
4339 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4340 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4342 if test $ac_cv_func_gethostbyname = no; then
4343 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4344 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4345 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4346 echo $ECHO_N "(cached) $ECHO_C" >&6
4348 ac_check_lib_save_LIBS=$LIBS
4350 cat >conftest.$ac_ext <<_ACEOF
4353 cat confdefs.h >>conftest.$ac_ext
4354 cat >>conftest.$ac_ext <<_ACEOF
4355 /* end confdefs.h. */
4357 /* Override any GCC internal prototype to avoid an error.
4358 Use char because int might match the return type of a GCC
4359 builtin and then its argument prototype would still apply. */
4363 char gethostbyname ();
4367 return gethostbyname ();
4372 rm -f conftest.$ac_objext conftest$ac_exeext
4373 if { (ac_try="$ac_link"
4375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4376 *) ac_try_echo
=$ac_try;;
4378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4379 (eval "$ac_link") 2>conftest.er1
4381 grep -v '^ *+' conftest.er1
>conftest.err
4383 cat conftest.err
>&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); } && {
4386 test -z "$ac_c_werror_flag" ||
4387 test ! -s conftest.err
4388 } && test -s conftest
$ac_exeext &&
4389 $as_test_x conftest
$ac_exeext; then
4390 ac_cv_lib_nsl_gethostbyname
=yes
4392 echo "$as_me: failed program was:" >&5
4393 sed 's/^/| /' conftest.
$ac_ext >&5
4395 ac_cv_lib_nsl_gethostbyname
=no
4398 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4399 conftest
$ac_exeext conftest.
$ac_ext
4400 LIBS
=$ac_check_lib_save_LIBS
4402 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4403 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4404 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4405 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4408 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4409 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4410 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4411 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4412 echo $ECHO_N "(cached) $ECHO_C" >&6
4414 ac_check_lib_save_LIBS
=$LIBS
4416 cat >conftest.
$ac_ext <<_ACEOF
4419 cat confdefs.h
>>conftest.
$ac_ext
4420 cat >>conftest.
$ac_ext <<_ACEOF
4421 /* end confdefs.h. */
4423 /* Override any GCC internal prototype to avoid an error.
4424 Use char because int might match the return type of a GCC
4425 builtin and then its argument prototype would still apply. */
4429 char gethostbyname ();
4433 return gethostbyname ();
4438 rm -f conftest.
$ac_objext conftest
$ac_exeext
4439 if { (ac_try
="$ac_link"
4441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4442 *) ac_try_echo=$ac_try;;
4444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4445 (eval "$ac_link") 2>conftest.er1
4447 grep -v '^ *+' conftest.er1 >conftest.err
4449 cat conftest.err >&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); } && {
4452 test -z "$ac_c_werror_flag" ||
4453 test ! -s conftest.err
4454 } && test -s conftest$ac_exeext &&
4455 $as_test_x conftest$ac_exeext; then
4456 ac_cv_lib_bsd_gethostbyname=yes
4458 echo "$as_me: failed program was:" >&5
4459 sed 's/^/| /' conftest.$ac_ext >&5
4461 ac_cv_lib_bsd_gethostbyname=no
4464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4465 conftest$ac_exeext conftest.$ac_ext
4466 LIBS=$ac_check_lib_save_LIBS
4468 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4469 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4470 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4471 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4477 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4478 # socket/setsockopt and other routines are undefined under SCO ODT
4479 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4480 # on later versions), says Simon Leinen: it contains gethostby*
4481 # variants that don't use the name server (or something). -lsocket
4482 # must be given before -lnsl if both are needed. We assume that
4483 # if connect needs -lnsl, so does gethostbyname.
4484 { echo "$as_me:$LINENO: checking for connect" >&5
4485 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4486 if test "${ac_cv_func_connect+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 cat >conftest.$ac_ext <<_ACEOF
4492 cat confdefs.h >>conftest.$ac_ext
4493 cat >>conftest.$ac_ext <<_ACEOF
4494 /* end confdefs.h. */
4495 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4497 #define connect innocuous_connect
4499 /* System header to define __stub macros and hopefully few prototypes,
4500 which can conflict with char connect (); below.
4501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4502 <limits.h> exists even on freestanding compilers. */
4505 # include <limits.h>
4507 # include <assert.h>
4512 /* Override any GCC internal prototype to avoid an error.
4513 Use char because int might match the return type of a GCC
4514 builtin and then its argument prototype would still apply. */
4519 /* The GNU C library defines this for functions which it implements
4520 to always fail with ENOSYS. Some functions are actually named
4521 something starting with __ and the normal name is an alias. */
4522 #if defined __stub_connect || defined __stub___connect
4534 rm -f conftest.$ac_objext conftest$ac_exeext
4535 if { (ac_try="$ac_link"
4537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4538 *) ac_try_echo
=$ac_try;;
4540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4541 (eval "$ac_link") 2>conftest.er1
4543 grep -v '^ *+' conftest.er1
>conftest.err
4545 cat conftest.err
>&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } && {
4548 test -z "$ac_c_werror_flag" ||
4549 test ! -s conftest.err
4550 } && test -s conftest
$ac_exeext &&
4551 $as_test_x conftest
$ac_exeext; then
4552 ac_cv_func_connect
=yes
4554 echo "$as_me: failed program was:" >&5
4555 sed 's/^/| /' conftest.
$ac_ext >&5
4557 ac_cv_func_connect
=no
4560 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4561 conftest
$ac_exeext conftest.
$ac_ext
4563 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4564 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4566 if test $ac_cv_func_connect = no
; then
4567 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4568 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4569 if test "${ac_cv_lib_socket_connect+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 ac_check_lib_save_LIBS
=$LIBS
4573 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4574 cat >conftest.
$ac_ext <<_ACEOF
4577 cat confdefs.h
>>conftest.
$ac_ext
4578 cat >>conftest.
$ac_ext <<_ACEOF
4579 /* end confdefs.h. */
4581 /* Override any GCC internal prototype to avoid an error.
4582 Use char because int might match the return type of a GCC
4583 builtin and then its argument prototype would still apply. */
4596 rm -f conftest.
$ac_objext conftest
$ac_exeext
4597 if { (ac_try
="$ac_link"
4599 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4600 *) ac_try_echo=$ac_try;;
4602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4603 (eval "$ac_link") 2>conftest.er1
4605 grep -v '^ *+' conftest.er1 >conftest.err
4607 cat conftest.err >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); } && {
4610 test -z "$ac_c_werror_flag" ||
4611 test ! -s conftest.err
4612 } && test -s conftest$ac_exeext &&
4613 $as_test_x conftest$ac_exeext; then
4614 ac_cv_lib_socket_connect=yes
4616 echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.$ac_ext >&5
4619 ac_cv_lib_socket_connect=no
4622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4623 conftest$ac_exeext conftest.$ac_ext
4624 LIBS=$ac_check_lib_save_LIBS
4626 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4627 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4628 if test $ac_cv_lib_socket_connect = yes; then
4629 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4634 # Guillermo Gomez says -lposix is necessary on A/UX.
4635 { echo "$as_me:$LINENO: checking for remove" >&5
4636 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4637 if test "${ac_cv_func_remove+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4640 cat >conftest.$ac_ext <<_ACEOF
4643 cat confdefs.h >>conftest.$ac_ext
4644 cat >>conftest.$ac_ext <<_ACEOF
4645 /* end confdefs.h. */
4646 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4648 #define remove innocuous_remove
4650 /* System header to define __stub macros and hopefully few prototypes,
4651 which can conflict with char remove (); below.
4652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4653 <limits.h> exists even on freestanding compilers. */
4656 # include <limits.h>
4658 # include <assert.h>
4663 /* Override any GCC internal prototype to avoid an error.
4664 Use char because int might match the return type of a GCC
4665 builtin and then its argument prototype would still apply. */
4670 /* The GNU C library defines this for functions which it implements
4671 to always fail with ENOSYS. Some functions are actually named
4672 something starting with __ and the normal name is an alias. */
4673 #if defined __stub_remove || defined __stub___remove
4685 rm -f conftest.$ac_objext conftest$ac_exeext
4686 if { (ac_try="$ac_link"
4688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4689 *) ac_try_echo
=$ac_try;;
4691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4692 (eval "$ac_link") 2>conftest.er1
4694 grep -v '^ *+' conftest.er1
>conftest.err
4696 cat conftest.err
>&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); } && {
4699 test -z "$ac_c_werror_flag" ||
4700 test ! -s conftest.err
4701 } && test -s conftest
$ac_exeext &&
4702 $as_test_x conftest
$ac_exeext; then
4703 ac_cv_func_remove
=yes
4705 echo "$as_me: failed program was:" >&5
4706 sed 's/^/| /' conftest.
$ac_ext >&5
4708 ac_cv_func_remove
=no
4711 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4712 conftest
$ac_exeext conftest.
$ac_ext
4714 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4715 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4717 if test $ac_cv_func_remove = no
; then
4718 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4719 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4720 if test "${ac_cv_lib_posix_remove+set}" = set; then
4721 echo $ECHO_N "(cached) $ECHO_C" >&6
4723 ac_check_lib_save_LIBS
=$LIBS
4724 LIBS
="-lposix $LIBS"
4725 cat >conftest.
$ac_ext <<_ACEOF
4728 cat confdefs.h
>>conftest.
$ac_ext
4729 cat >>conftest.
$ac_ext <<_ACEOF
4730 /* end confdefs.h. */
4732 /* Override any GCC internal prototype to avoid an error.
4733 Use char because int might match the return type of a GCC
4734 builtin and then its argument prototype would still apply. */
4747 rm -f conftest.
$ac_objext conftest
$ac_exeext
4748 if { (ac_try
="$ac_link"
4750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4751 *) ac_try_echo=$ac_try;;
4753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4754 (eval "$ac_link") 2>conftest.er1
4756 grep -v '^ *+' conftest.er1 >conftest.err
4758 cat conftest.err >&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); } && {
4761 test -z "$ac_c_werror_flag" ||
4762 test ! -s conftest.err
4763 } && test -s conftest$ac_exeext &&
4764 $as_test_x conftest$ac_exeext; then
4765 ac_cv_lib_posix_remove=yes
4767 echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.$ac_ext >&5
4770 ac_cv_lib_posix_remove=no
4773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4774 conftest$ac_exeext conftest.$ac_ext
4775 LIBS=$ac_check_lib_save_LIBS
4777 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4778 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4779 if test $ac_cv_lib_posix_remove = yes; then
4780 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4785 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4786 { echo "$as_me:$LINENO: checking for shmat" >&5
4787 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4788 if test "${ac_cv_func_shmat+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 cat >conftest.$ac_ext <<_ACEOF
4794 cat confdefs.h >>conftest.$ac_ext
4795 cat >>conftest.$ac_ext <<_ACEOF
4796 /* end confdefs.h. */
4797 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4799 #define shmat innocuous_shmat
4801 /* System header to define __stub macros and hopefully few prototypes,
4802 which can conflict with char shmat (); below.
4803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4804 <limits.h> exists even on freestanding compilers. */
4807 # include <limits.h>
4809 # include <assert.h>
4814 /* Override any GCC internal prototype to avoid an error.
4815 Use char because int might match the return type of a GCC
4816 builtin and then its argument prototype would still apply. */
4821 /* The GNU C library defines this for functions which it implements
4822 to always fail with ENOSYS. Some functions are actually named
4823 something starting with __ and the normal name is an alias. */
4824 #if defined __stub_shmat || defined __stub___shmat
4836 rm -f conftest.$ac_objext conftest$ac_exeext
4837 if { (ac_try="$ac_link"
4839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4840 *) ac_try_echo
=$ac_try;;
4842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4843 (eval "$ac_link") 2>conftest.er1
4845 grep -v '^ *+' conftest.er1
>conftest.err
4847 cat conftest.err
>&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } && {
4850 test -z "$ac_c_werror_flag" ||
4851 test ! -s conftest.err
4852 } && test -s conftest
$ac_exeext &&
4853 $as_test_x conftest
$ac_exeext; then
4854 ac_cv_func_shmat
=yes
4856 echo "$as_me: failed program was:" >&5
4857 sed 's/^/| /' conftest.
$ac_ext >&5
4862 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4863 conftest
$ac_exeext conftest.
$ac_ext
4865 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4866 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4868 if test $ac_cv_func_shmat = no
; then
4869 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4870 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4871 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4872 echo $ECHO_N "(cached) $ECHO_C" >&6
4874 ac_check_lib_save_LIBS
=$LIBS
4876 cat >conftest.
$ac_ext <<_ACEOF
4879 cat confdefs.h
>>conftest.
$ac_ext
4880 cat >>conftest.
$ac_ext <<_ACEOF
4881 /* end confdefs.h. */
4883 /* Override any GCC internal prototype to avoid an error.
4884 Use char because int might match the return type of a GCC
4885 builtin and then its argument prototype would still apply. */
4898 rm -f conftest.
$ac_objext conftest
$ac_exeext
4899 if { (ac_try
="$ac_link"
4901 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4902 *) ac_try_echo=$ac_try;;
4904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4905 (eval "$ac_link") 2>conftest.er1
4907 grep -v '^ *+' conftest.er1 >conftest.err
4909 cat conftest.err >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); } && {
4912 test -z "$ac_c_werror_flag" ||
4913 test ! -s conftest.err
4914 } && test -s conftest$ac_exeext &&
4915 $as_test_x conftest$ac_exeext; then
4916 ac_cv_lib_ipc_shmat=yes
4918 echo "$as_me: failed program was:" >&5
4919 sed 's/^/| /' conftest.$ac_ext >&5
4921 ac_cv_lib_ipc_shmat=no
4924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4925 conftest$ac_exeext conftest.$ac_ext
4926 LIBS=$ac_check_lib_save_LIBS
4928 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4929 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4930 if test $ac_cv_lib_ipc_shmat = yes; then
4931 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4937 # Check for libraries that X11R6 Xt/Xaw programs need.
4938 ac_save_LDFLAGS=$LDFLAGS
4939 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4940 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4941 # check for ICE first), but we must link in the order -lSM -lICE or
4942 # we get undefined symbols. So assume we have SM if we have ICE.
4943 # These have to be linked with before -lX11, unlike the other
4944 # libraries we check for below, so use a different variable.
4945 # John Interrante, Karl Berry
4946 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4947 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4948 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4949 echo $ECHO_N "(cached) $ECHO_C" >&6
4951 ac_check_lib_save_LIBS=$LIBS
4952 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4953 cat >conftest.$ac_ext <<_ACEOF
4956 cat confdefs.h >>conftest.$ac_ext
4957 cat >>conftest.$ac_ext <<_ACEOF
4958 /* end confdefs.h. */
4960 /* Override any GCC internal prototype to avoid an error.
4961 Use char because int might match the return type of a GCC
4962 builtin and then its argument prototype would still apply. */
4966 char IceConnectionNumber ();
4970 return IceConnectionNumber ();
4975 rm -f conftest.$ac_objext conftest$ac_exeext
4976 if { (ac_try="$ac_link"
4978 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4979 *) ac_try_echo
=$ac_try;;
4981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4982 (eval "$ac_link") 2>conftest.er1
4984 grep -v '^ *+' conftest.er1
>conftest.err
4986 cat conftest.err
>&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); } && {
4989 test -z "$ac_c_werror_flag" ||
4990 test ! -s conftest.err
4991 } && test -s conftest
$ac_exeext &&
4992 $as_test_x conftest
$ac_exeext; then
4993 ac_cv_lib_ICE_IceConnectionNumber
=yes
4995 echo "$as_me: failed program was:" >&5
4996 sed 's/^/| /' conftest.
$ac_ext >&5
4998 ac_cv_lib_ICE_IceConnectionNumber
=no
5001 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5002 conftest
$ac_exeext conftest.
$ac_ext
5003 LIBS
=$ac_check_lib_save_LIBS
5005 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5006 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5007 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5008 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5011 LDFLAGS
=$ac_save_LDFLAGS
5018 # Extract the first word of "$ac_prog", so it can be a program name with args.
5019 set dummy
$ac_prog; ac_word
=$2
5020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5022 if test "${ac_cv_prog_FLEX+set}" = set; then
5023 echo $ECHO_N "(cached) $ECHO_C" >&6
5025 if test -n "$FLEX"; then
5026 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5032 test -z "$as_dir" && as_dir
=.
5033 for ac_exec_ext
in '' $ac_executable_extensions; do
5034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5035 ac_cv_prog_FLEX
="$ac_prog"
5036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5045 FLEX
=$ac_cv_prog_FLEX
5046 if test -n "$FLEX"; then
5047 { echo "$as_me:$LINENO: result: $FLEX" >&5
5048 echo "${ECHO_T}$FLEX" >&6; }
5050 { echo "$as_me:$LINENO: result: no" >&5
5051 echo "${ECHO_T}no" >&6; }
5055 test -n "$FLEX" && break
5057 test -n "$FLEX" || FLEX
="none"
5059 if test "$FLEX" = "none"
5061 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5062 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5063 { (exit 1); exit 1; }; }
5066 for ac_prog
in bison
5068 # Extract the first word of "$ac_prog", so it can be a program name with args.
5069 set dummy
$ac_prog; ac_word
=$2
5070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5072 if test "${ac_cv_prog_BISON+set}" = set; then
5073 echo $ECHO_N "(cached) $ECHO_C" >&6
5075 if test -n "$BISON"; then
5076 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5082 test -z "$as_dir" && as_dir
=.
5083 for ac_exec_ext
in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_BISON
="$ac_prog"
5086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5095 BISON
=$ac_cv_prog_BISON
5096 if test -n "$BISON"; then
5097 { echo "$as_me:$LINENO: result: $BISON" >&5
5098 echo "${ECHO_T}$BISON" >&6; }
5100 { echo "$as_me:$LINENO: result: no" >&5
5101 echo "${ECHO_T}no" >&6; }
5105 test -n "$BISON" && break
5107 test -n "$BISON" || BISON
="none"
5109 if test "$BISON" = "none"
5111 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5112 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5113 { (exit 1); exit 1; }; }
5116 if test -n "$ac_tool_prefix"; then
5117 for ac_prog
in gas as
5119 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5120 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5123 if test "${ac_cv_prog_AS+set}" = set; then
5124 echo $ECHO_N "(cached) $ECHO_C" >&6
5126 if test -n "$AS"; then
5127 ac_cv_prog_AS
="$AS" # Let the user override the test.
5129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5133 test -z "$as_dir" && as_dir
=.
5134 for ac_exec_ext
in '' $ac_executable_extensions; do
5135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5136 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5147 if test -n "$AS"; then
5148 { echo "$as_me:$LINENO: result: $AS" >&5
5149 echo "${ECHO_T}$AS" >&6; }
5151 { echo "$as_me:$LINENO: result: no" >&5
5152 echo "${ECHO_T}no" >&6; }
5156 test -n "$AS" && break
5159 if test -z "$AS"; then
5161 for ac_prog
in gas as
5163 # Extract the first word of "$ac_prog", so it can be a program name with args.
5164 set dummy
$ac_prog; ac_word
=$2
5165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5167 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6
5170 if test -n "$ac_ct_AS"; then
5171 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5177 test -z "$as_dir" && as_dir
=.
5178 for ac_exec_ext
in '' $ac_executable_extensions; do
5179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5180 ac_cv_prog_ac_ct_AS
="$ac_prog"
5181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5190 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5191 if test -n "$ac_ct_AS"; then
5192 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5193 echo "${ECHO_T}$ac_ct_AS" >&6; }
5195 { echo "$as_me:$LINENO: result: no" >&5
5196 echo "${ECHO_T}no" >&6; }
5200 test -n "$ac_ct_AS" && break
5203 if test "x$ac_ct_AS" = x
; then
5206 case $cross_compiling:$ac_tool_warned in
5208 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5209 whose name does not start with the host triplet. If you think this
5210 configuration is useful to you, please write to autoconf@gnu.org." >&5
5211 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5212 whose name does not start with the host triplet. If you think this
5213 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5214 ac_tool_warned
=yes ;;
5220 if test -n "$ac_tool_prefix"; then
5221 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5222 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5225 if test "${ac_cv_prog_LD+set}" = set; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5228 if test -n "$LD"; then
5229 ac_cv_prog_LD
="$LD" # Let the user override the test.
5231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5235 test -z "$as_dir" && as_dir
=.
5236 for ac_exec_ext
in '' $ac_executable_extensions; do
5237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5238 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 if test -n "$LD"; then
5250 { echo "$as_me:$LINENO: result: $LD" >&5
5251 echo "${ECHO_T}$LD" >&6; }
5253 { echo "$as_me:$LINENO: result: no" >&5
5254 echo "${ECHO_T}no" >&6; }
5259 if test -z "$ac_cv_prog_LD"; then
5261 # Extract the first word of "ld", so it can be a program name with args.
5262 set dummy ld
; ac_word
=$2
5263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5265 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5266 echo $ECHO_N "(cached) $ECHO_C" >&6
5268 if test -n "$ac_ct_LD"; then
5269 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5275 test -z "$as_dir" && as_dir
=.
5276 for ac_exec_ext
in '' $ac_executable_extensions; do
5277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5278 ac_cv_prog_ac_ct_LD
="ld"
5279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5289 if test -n "$ac_ct_LD"; then
5290 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5291 echo "${ECHO_T}$ac_ct_LD" >&6; }
5293 { echo "$as_me:$LINENO: result: no" >&5
5294 echo "${ECHO_T}no" >&6; }
5297 if test "x$ac_ct_LD" = x
; then
5300 case $cross_compiling:$ac_tool_warned in
5302 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5303 whose name does not start with the host triplet. If you think this
5304 configuration is useful to you, please write to autoconf@gnu.org." >&5
5305 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5306 whose name does not start with the host triplet. If you think this
5307 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5308 ac_tool_warned
=yes ;;
5316 if test -n "$ac_tool_prefix"; then
5317 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5318 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5321 if test "${ac_cv_prog_AR+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5324 if test -n "$AR"; then
5325 ac_cv_prog_AR
="$AR" # Let the user override the test.
5327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5331 test -z "$as_dir" && as_dir
=.
5332 for ac_exec_ext
in '' $ac_executable_extensions; do
5333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5334 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5345 if test -n "$AR"; then
5346 { echo "$as_me:$LINENO: result: $AR" >&5
5347 echo "${ECHO_T}$AR" >&6; }
5349 { echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6; }
5355 if test -z "$ac_cv_prog_AR"; then
5357 # Extract the first word of "ar", so it can be a program name with args.
5358 set dummy
ar; ac_word
=$2
5359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5361 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5362 echo $ECHO_N "(cached) $ECHO_C" >&6
5364 if test -n "$ac_ct_AR"; then
5365 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5371 test -z "$as_dir" && as_dir
=.
5372 for ac_exec_ext
in '' $ac_executable_extensions; do
5373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5374 ac_cv_prog_ac_ct_AR
="ar"
5375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5384 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5385 if test -n "$ac_ct_AR"; then
5386 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5387 echo "${ECHO_T}$ac_ct_AR" >&6; }
5389 { echo "$as_me:$LINENO: result: no" >&5
5390 echo "${ECHO_T}no" >&6; }
5393 if test "x$ac_ct_AR" = x
; then
5396 case $cross_compiling:$ac_tool_warned in
5398 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5399 whose name does not start with the host triplet. If you think this
5400 configuration is useful to you, please write to autoconf@gnu.org." >&5
5401 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5402 whose name does not start with the host triplet. If you think this
5403 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5404 ac_tool_warned
=yes ;;
5412 if test -n "$ac_tool_prefix"; then
5413 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5414 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5417 if test "${ac_cv_prog_RANLIB+set}" = set; then
5418 echo $ECHO_N "(cached) $ECHO_C" >&6
5420 if test -n "$RANLIB"; then
5421 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5427 test -z "$as_dir" && as_dir
=.
5428 for ac_exec_ext
in '' $ac_executable_extensions; do
5429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5430 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5440 RANLIB
=$ac_cv_prog_RANLIB
5441 if test -n "$RANLIB"; then
5442 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5443 echo "${ECHO_T}$RANLIB" >&6; }
5445 { echo "$as_me:$LINENO: result: no" >&5
5446 echo "${ECHO_T}no" >&6; }
5451 if test -z "$ac_cv_prog_RANLIB"; then
5452 ac_ct_RANLIB
=$RANLIB
5453 # Extract the first word of "ranlib", so it can be a program name with args.
5454 set dummy ranlib
; ac_word
=$2
5455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5457 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5458 echo $ECHO_N "(cached) $ECHO_C" >&6
5460 if test -n "$ac_ct_RANLIB"; then
5461 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5467 test -z "$as_dir" && as_dir
=.
5468 for ac_exec_ext
in '' $ac_executable_extensions; do
5469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5470 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5481 if test -n "$ac_ct_RANLIB"; then
5482 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5483 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5485 { echo "$as_me:$LINENO: result: no" >&5
5486 echo "${ECHO_T}no" >&6; }
5489 if test "x$ac_ct_RANLIB" = x
; then
5492 case $cross_compiling:$ac_tool_warned in
5494 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5495 whose name does not start with the host triplet. If you think this
5496 configuration is useful to you, please write to autoconf@gnu.org." >&5
5497 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5498 whose name does not start with the host triplet. If you think this
5499 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5500 ac_tool_warned
=yes ;;
5502 RANLIB
=$ac_ct_RANLIB
5505 RANLIB
="$ac_cv_prog_RANLIB"
5508 if test -n "$ac_tool_prefix"; then
5509 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5510 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5513 if test "${ac_cv_prog_STRIP+set}" = set; then
5514 echo $ECHO_N "(cached) $ECHO_C" >&6
5516 if test -n "$STRIP"; then
5517 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5523 test -z "$as_dir" && as_dir
=.
5524 for ac_exec_ext
in '' $ac_executable_extensions; do
5525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5526 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 STRIP
=$ac_cv_prog_STRIP
5537 if test -n "$STRIP"; then
5538 { echo "$as_me:$LINENO: result: $STRIP" >&5
5539 echo "${ECHO_T}$STRIP" >&6; }
5541 { echo "$as_me:$LINENO: result: no" >&5
5542 echo "${ECHO_T}no" >&6; }
5547 if test -z "$ac_cv_prog_STRIP"; then
5549 # Extract the first word of "strip", so it can be a program name with args.
5550 set dummy strip
; ac_word
=$2
5551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5553 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5554 echo $ECHO_N "(cached) $ECHO_C" >&6
5556 if test -n "$ac_ct_STRIP"; then
5557 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5563 test -z "$as_dir" && as_dir
=.
5564 for ac_exec_ext
in '' $ac_executable_extensions; do
5565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5566 ac_cv_prog_ac_ct_STRIP
="strip"
5567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5576 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5577 if test -n "$ac_ct_STRIP"; then
5578 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5579 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5581 { echo "$as_me:$LINENO: result: no" >&5
5582 echo "${ECHO_T}no" >&6; }
5585 if test "x$ac_ct_STRIP" = x
; then
5588 case $cross_compiling:$ac_tool_warned in
5590 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5591 whose name does not start with the host triplet. If you think this
5592 configuration is useful to you, please write to autoconf@gnu.org." >&5
5593 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5594 whose name does not start with the host triplet. If you think this
5595 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5596 ac_tool_warned
=yes ;;
5601 STRIP
="$ac_cv_prog_STRIP"
5604 if test -n "$ac_tool_prefix"; then
5605 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5606 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5609 if test "${ac_cv_prog_WINDRES+set}" = set; then
5610 echo $ECHO_N "(cached) $ECHO_C" >&6
5612 if test -n "$WINDRES"; then
5613 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5619 test -z "$as_dir" && as_dir
=.
5620 for ac_exec_ext
in '' $ac_executable_extensions; do
5621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5622 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5632 WINDRES
=$ac_cv_prog_WINDRES
5633 if test -n "$WINDRES"; then
5634 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5635 echo "${ECHO_T}$WINDRES" >&6; }
5637 { echo "$as_me:$LINENO: result: no" >&5
5638 echo "${ECHO_T}no" >&6; }
5643 if test -z "$ac_cv_prog_WINDRES"; then
5644 ac_ct_WINDRES
=$WINDRES
5645 # Extract the first word of "windres", so it can be a program name with args.
5646 set dummy windres
; ac_word
=$2
5647 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5649 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 if test -n "$ac_ct_WINDRES"; then
5653 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5659 test -z "$as_dir" && as_dir
=.
5660 for ac_exec_ext
in '' $ac_executable_extensions; do
5661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5662 ac_cv_prog_ac_ct_WINDRES
="windres"
5663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5672 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5673 if test -n "$ac_ct_WINDRES"; then
5674 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5675 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5677 { echo "$as_me:$LINENO: result: no" >&5
5678 echo "${ECHO_T}no" >&6; }
5681 if test "x$ac_ct_WINDRES" = x
; then
5684 case $cross_compiling:$ac_tool_warned in
5686 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5687 whose name does not start with the host triplet. If you think this
5688 configuration is useful to you, please write to autoconf@gnu.org." >&5
5689 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5690 whose name does not start with the host triplet. If you think this
5691 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5692 ac_tool_warned
=yes ;;
5694 WINDRES
=$ac_ct_WINDRES
5697 WINDRES
="$ac_cv_prog_WINDRES"
5700 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5701 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5703 if test "$LN_S" = "ln -s"; then
5704 { echo "$as_me:$LINENO: result: yes" >&5
5705 echo "${ECHO_T}yes" >&6; }
5707 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5708 echo "${ECHO_T}no, using $LN_S" >&6; }
5711 { echo "$as_me:$LINENO: checking whether ln works" >&5
5712 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5713 rm -f conf$$ conf$$.
file
5715 if ln conf$$.
file conf$$
2>/dev
/null
; then
5718 { echo "$as_me:$LINENO: result: yes" >&5
5719 echo "${ECHO_T}yes" >&6; }
5723 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5724 echo "${ECHO_T}no, using $LN" >&6; }
5726 rm -f conf$$ conf$$.
file
5727 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5728 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5729 if test "${ac_cv_path_GREP+set}" = set; then
5730 echo $ECHO_N "(cached) $ECHO_C" >&6
5732 # Extract the first word of "grep ggrep" to use in msg output
5733 if test -z "$GREP"; then
5734 set dummy
grep ggrep
; ac_prog_name
=$2
5735 if test "${ac_cv_path_GREP+set}" = set; then
5736 echo $ECHO_N "(cached) $ECHO_C" >&6
5738 ac_path_GREP_found
=false
5739 # Loop through the user's path and test for each of PROGNAME-LIST
5740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5741 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5744 test -z "$as_dir" && as_dir
=.
5745 for ac_prog
in grep ggrep
; do
5746 for ac_exec_ext
in '' $ac_executable_extensions; do
5747 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5748 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5749 # Check for GNU ac_path_GREP and select it if it is found.
5750 # Check for GNU $ac_path_GREP
5751 case `"$ac_path_GREP" --version 2>&1` in
5753 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5756 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5759 cat "conftest.in" "conftest.in" >"conftest.tmp"
5760 mv "conftest.tmp" "conftest.in"
5761 cp "conftest.in" "conftest.nl"
5762 echo 'GREP' >> "conftest.nl"
5763 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5764 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5765 ac_count
=`expr $ac_count + 1`
5766 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5767 # Best one so far, save it but keep looking for a better one
5768 ac_cv_path_GREP
="$ac_path_GREP"
5769 ac_path_GREP_max
=$ac_count
5771 # 10*(2^10) chars as input seems more than enough
5772 test $ac_count -gt 10 && break
5774 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5778 $ac_path_GREP_found && break 3
5788 GREP
="$ac_cv_path_GREP"
5789 if test -z "$GREP"; then
5790 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5791 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5792 { (exit 1); exit 1; }; }
5796 ac_cv_path_GREP
=$GREP
5801 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5802 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5803 GREP
="$ac_cv_path_GREP"
5806 { echo "$as_me:$LINENO: checking for egrep" >&5
5807 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5808 if test "${ac_cv_path_EGREP+set}" = set; then
5809 echo $ECHO_N "(cached) $ECHO_C" >&6
5811 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5812 then ac_cv_path_EGREP
="$GREP -E"
5814 # Extract the first word of "egrep" to use in msg output
5815 if test -z "$EGREP"; then
5816 set dummy
egrep; ac_prog_name
=$2
5817 if test "${ac_cv_path_EGREP+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5820 ac_path_EGREP_found
=false
5821 # Loop through the user's path and test for each of PROGNAME-LIST
5822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5823 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5826 test -z "$as_dir" && as_dir
=.
5827 for ac_prog
in egrep; do
5828 for ac_exec_ext
in '' $ac_executable_extensions; do
5829 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5830 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5831 # Check for GNU ac_path_EGREP and select it if it is found.
5832 # Check for GNU $ac_path_EGREP
5833 case `"$ac_path_EGREP" --version 2>&1` in
5835 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5838 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5841 cat "conftest.in" "conftest.in" >"conftest.tmp"
5842 mv "conftest.tmp" "conftest.in"
5843 cp "conftest.in" "conftest.nl"
5844 echo 'EGREP' >> "conftest.nl"
5845 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5846 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5847 ac_count
=`expr $ac_count + 1`
5848 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5849 # Best one so far, save it but keep looking for a better one
5850 ac_cv_path_EGREP
="$ac_path_EGREP"
5851 ac_path_EGREP_max
=$ac_count
5853 # 10*(2^10) chars as input seems more than enough
5854 test $ac_count -gt 10 && break
5856 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5860 $ac_path_EGREP_found && break 3
5870 EGREP
="$ac_cv_path_EGREP"
5871 if test -z "$EGREP"; then
5872 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5873 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5874 { (exit 1); exit 1; }; }
5878 ac_cv_path_EGREP
=$EGREP
5884 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5885 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5886 EGREP
="$ac_cv_path_EGREP"
5889 # Extract the first word of "ldconfig", so it can be a program name with args.
5890 set dummy ldconfig
; ac_word
=$2
5891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5893 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5894 echo $ECHO_N "(cached) $ECHO_C" >&6
5898 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5902 for as_dir
in /sbin
/usr
/sbin
$PATH
5905 test -z "$as_dir" && as_dir
=.
5906 for ac_exec_ext
in '' $ac_executable_extensions; do
5907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5908 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5920 LDCONFIG
=$ac_cv_path_LDCONFIG
5921 if test -n "$LDCONFIG"; then
5922 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5923 echo "${ECHO_T}$LDCONFIG" >&6; }
5925 { echo "$as_me:$LINENO: result: no" >&5
5926 echo "${ECHO_T}no" >&6; }
5930 # Find a good install program. We prefer a C program (faster),
5931 # so one script is as good as another. But avoid the broken or
5932 # incompatible versions:
5933 # SysV /etc/install, /usr/sbin/install
5934 # SunOS /usr/etc/install
5935 # IRIX /sbin/install
5937 # AmigaOS /C/install, which installs bootblocks on floppy discs
5938 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5939 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5940 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5941 # OS/2's system install, which has a completely different semantic
5942 # ./install, which can be erroneously created by make from ./install.sh.
5943 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5944 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5945 if test -z "$INSTALL"; then
5946 if test "${ac_cv_path_install+set}" = set; then
5947 echo $ECHO_N "(cached) $ECHO_C" >&6
5949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5953 test -z "$as_dir" && as_dir
=.
5954 # Account for people who put trailing slashes in PATH elements.
5956 .
/ | .
// |
/cC
/* | \
5957 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5958 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5961 # OSF1 and SCO ODT 3.0 have their own names for install.
5962 # Don't use installbsd from OSF since it installs stuff as root
5964 for ac_prog
in ginstall scoinst
install; do
5965 for ac_exec_ext
in '' $ac_executable_extensions; do
5966 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5967 if test $ac_prog = install &&
5968 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5969 # AIX install. It has an incompatible calling convention.
5971 elif test $ac_prog = install &&
5972 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5973 # program-specific install script used by HP pwplus--don't use.
5976 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5989 if test "${ac_cv_path_install+set}" = set; then
5990 INSTALL
=$ac_cv_path_install
5992 # As a last resort, use the slow shell script. Don't cache a
5993 # value for INSTALL within a source directory, because that will
5994 # break other packages using the cache if that directory is
5995 # removed, or if the value is a relative name.
5996 INSTALL
=$ac_install_sh
5999 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6000 echo "${ECHO_T}$INSTALL" >&6; }
6002 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6003 # It thinks the first close brace ends the variable substitution.
6004 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6006 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6008 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6011 [\\/$
]* | ?
:[\\/]* ) ;;
6012 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6015 for ac_prog
in lclint lint
6017 # Extract the first word of "$ac_prog", so it can be a program name with args.
6018 set dummy
$ac_prog; ac_word
=$2
6019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6021 if test "${ac_cv_prog_LINT+set}" = set; then
6022 echo $ECHO_N "(cached) $ECHO_C" >&6
6024 if test -n "$LINT"; then
6025 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6031 test -z "$as_dir" && as_dir
=.
6032 for ac_exec_ext
in '' $ac_executable_extensions; do
6033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6034 ac_cv_prog_LINT
="$ac_prog"
6035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 LINT
=$ac_cv_prog_LINT
6045 if test -n "$LINT"; then
6046 { echo "$as_me:$LINENO: result: $LINT" >&5
6047 echo "${ECHO_T}$LINT" >&6; }
6049 { echo "$as_me:$LINENO: result: no" >&5
6050 echo "${ECHO_T}no" >&6; }
6054 test -n "$LINT" && break
6057 if test "$LINT" = "lint"
6059 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6064 for ac_prog
in fontforge
6066 # Extract the first word of "$ac_prog", so it can be a program name with args.
6067 set dummy
$ac_prog; ac_word
=$2
6068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6070 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6071 echo $ECHO_N "(cached) $ECHO_C" >&6
6073 if test -n "$FONTFORGE"; then
6074 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6080 test -z "$as_dir" && as_dir
=.
6081 for ac_exec_ext
in '' $ac_executable_extensions; do
6082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6083 ac_cv_prog_FONTFORGE
="$ac_prog"
6084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6093 FONTFORGE
=$ac_cv_prog_FONTFORGE
6094 if test -n "$FONTFORGE"; then
6095 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6096 echo "${ECHO_T}$FONTFORGE" >&6; }
6098 { echo "$as_me:$LINENO: result: no" >&5
6099 echo "${ECHO_T}no" >&6; }
6103 test -n "$FONTFORGE" && break
6105 test -n "$FONTFORGE" || FONTFORGE
="false"
6107 for ac_prog
in pkg-config
6109 # Extract the first word of "$ac_prog", so it can be a program name with args.
6110 set dummy
$ac_prog; ac_word
=$2
6111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6113 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6114 echo $ECHO_N "(cached) $ECHO_C" >&6
6116 if test -n "$PKG_CONFIG"; then
6117 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6123 test -z "$as_dir" && as_dir
=.
6124 for ac_exec_ext
in '' $ac_executable_extensions; do
6125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6126 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6136 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6137 if test -n "$PKG_CONFIG"; then
6138 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6139 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6141 { echo "$as_me:$LINENO: result: no" >&5
6142 echo "${ECHO_T}no" >&6; }
6146 test -n "$PKG_CONFIG" && break
6148 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6153 # Extract the first word of "prelink", so it can be a program name with args.
6154 set dummy prelink
; ac_word
=$2
6155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6157 if test "${ac_cv_path_PRELINK+set}" = set; then
6158 echo $ECHO_N "(cached) $ECHO_C" >&6
6162 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6166 for as_dir
in /sbin
/usr
/sbin
$PATH
6169 test -z "$as_dir" && as_dir
=.
6170 for ac_exec_ext
in '' $ac_executable_extensions; do
6171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6172 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6180 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6184 PRELINK
=$ac_cv_path_PRELINK
6185 if test -n "$PRELINK"; then
6186 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6187 echo "${ECHO_T}$PRELINK" >&6; }
6189 { echo "$as_me:$LINENO: result: no" >&5
6190 echo "${ECHO_T}no" >&6; }
6199 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6200 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6201 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6202 echo $ECHO_N "(cached) $ECHO_C" >&6
6204 ac_check_lib_save_LIBS
=$LIBS
6206 cat >conftest.
$ac_ext <<_ACEOF
6209 cat confdefs.h
>>conftest.
$ac_ext
6210 cat >>conftest.
$ac_ext <<_ACEOF
6211 /* end confdefs.h. */
6213 /* Override any GCC internal prototype to avoid an error.
6214 Use char because int might match the return type of a GCC
6215 builtin and then its argument prototype would still apply. */
6219 char i386_set_ldt ();
6223 return i386_set_ldt ();
6228 rm -f conftest.
$ac_objext conftest
$ac_exeext
6229 if { (ac_try
="$ac_link"
6231 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6232 *) ac_try_echo=$ac_try;;
6234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6235 (eval "$ac_link") 2>conftest.er1
6237 grep -v '^ *+' conftest.er1 >conftest.err
6239 cat conftest.err >&5
6240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6241 (exit $ac_status); } && {
6242 test -z "$ac_c_werror_flag" ||
6243 test ! -s conftest.err
6244 } && test -s conftest$ac_exeext &&
6245 $as_test_x conftest$ac_exeext; then
6246 ac_cv_lib_i386_i386_set_ldt=yes
6248 echo "$as_me: failed program was:" >&5
6249 sed 's/^/| /' conftest.$ac_ext >&5
6251 ac_cv_lib_i386_i386_set_ldt=no
6254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6255 conftest$ac_exeext conftest.$ac_ext
6256 LIBS=$ac_check_lib_save_LIBS
6258 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6259 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6260 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6261 cat >>confdefs.h <<_ACEOF
6262 #define HAVE_LIBI386 1
6270 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6271 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6272 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6273 echo $ECHO_N "(cached) $ECHO_C" >&6
6275 ac_check_lib_save_LIBS=$LIBS
6276 LIBS="-lossaudio $LIBS"
6277 cat >conftest.$ac_ext <<_ACEOF
6280 cat confdefs.h >>conftest.$ac_ext
6281 cat >>conftest.$ac_ext <<_ACEOF
6282 /* end confdefs.h. */
6284 /* Override any GCC internal prototype to avoid an error.
6285 Use char because int might match the return type of a GCC
6286 builtin and then its argument prototype would still apply. */
6294 return _oss_ioctl ();
6299 rm -f conftest.$ac_objext conftest$ac_exeext
6300 if { (ac_try="$ac_link"
6302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6303 *) ac_try_echo
=$ac_try;;
6305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6306 (eval "$ac_link") 2>conftest.er1
6308 grep -v '^ *+' conftest.er1
>conftest.err
6310 cat conftest.err
>&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); } && {
6313 test -z "$ac_c_werror_flag" ||
6314 test ! -s conftest.err
6315 } && test -s conftest
$ac_exeext &&
6316 $as_test_x conftest
$ac_exeext; then
6317 ac_cv_lib_ossaudio__oss_ioctl
=yes
6319 echo "$as_me: failed program was:" >&5
6320 sed 's/^/| /' conftest.
$ac_ext >&5
6322 ac_cv_lib_ossaudio__oss_ioctl
=no
6325 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6326 conftest
$ac_exeext conftest.
$ac_ext
6327 LIBS
=$ac_check_lib_save_LIBS
6329 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6330 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6331 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6332 cat >>confdefs.h
<<_ACEOF
6333 #define HAVE_LIBOSSAUDIO 1
6336 LIBS
="-lossaudio $LIBS"
6340 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6341 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6342 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 ac_check_lib_save_LIBS
=$LIBS
6346 LIBS
="-lpthread $LIBS"
6347 cat >conftest.
$ac_ext <<_ACEOF
6350 cat confdefs.h
>>conftest.
$ac_ext
6351 cat >>conftest.
$ac_ext <<_ACEOF
6352 /* end confdefs.h. */
6354 /* Override any GCC internal prototype to avoid an error.
6355 Use char because int might match the return type of a GCC
6356 builtin and then its argument prototype would still apply. */
6360 char pthread_create ();
6364 return pthread_create ();
6369 rm -f conftest.
$ac_objext conftest
$ac_exeext
6370 if { (ac_try
="$ac_link"
6372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6373 *) ac_try_echo=$ac_try;;
6375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6376 (eval "$ac_link") 2>conftest.er1
6378 grep -v '^ *+' conftest.er1 >conftest.err
6380 cat conftest.err >&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); } && {
6383 test -z "$ac_c_werror_flag" ||
6384 test ! -s conftest.err
6385 } && test -s conftest$ac_exeext &&
6386 $as_test_x conftest$ac_exeext; then
6387 ac_cv_lib_pthread_pthread_create=yes
6389 echo "$as_me: failed program was:" >&5
6390 sed 's/^/| /' conftest.$ac_ext >&5
6392 ac_cv_lib_pthread_pthread_create=no
6395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6396 conftest$ac_exeext conftest.$ac_ext
6397 LIBS=$ac_check_lib_save_LIBS
6399 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6400 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6401 if test $ac_cv_lib_pthread_pthread_create = yes; then
6402 LIBPTHREAD="-lpthread"
6421 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6422 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6423 if test "${ac_cv_header_stdc+set}" = set; then
6424 echo $ECHO_N "(cached) $ECHO_C" >&6
6426 cat >conftest.$ac_ext <<_ACEOF
6429 cat confdefs.h >>conftest.$ac_ext
6430 cat >>conftest.$ac_ext <<_ACEOF
6431 /* end confdefs.h. */
6445 rm -f conftest.$ac_objext
6446 if { (ac_try="$ac_compile"
6448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6449 *) ac_try_echo
=$ac_try;;
6451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6452 (eval "$ac_compile") 2>conftest.er1
6454 grep -v '^ *+' conftest.er1
>conftest.err
6456 cat conftest.err
>&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); } && {
6459 test -z "$ac_c_werror_flag" ||
6460 test ! -s conftest.err
6461 } && test -s conftest.
$ac_objext; then
6462 ac_cv_header_stdc
=yes
6464 echo "$as_me: failed program was:" >&5
6465 sed 's/^/| /' conftest.
$ac_ext >&5
6467 ac_cv_header_stdc
=no
6470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6472 if test $ac_cv_header_stdc = yes; then
6473 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6474 cat >conftest.
$ac_ext <<_ACEOF
6477 cat confdefs.h
>>conftest.
$ac_ext
6478 cat >>conftest.
$ac_ext <<_ACEOF
6479 /* end confdefs.h. */
6483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6484 $EGREP "memchr" >/dev
/null
2>&1; then
6487 ac_cv_header_stdc
=no
6493 if test $ac_cv_header_stdc = yes; then
6494 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6495 cat >conftest.
$ac_ext <<_ACEOF
6498 cat confdefs.h
>>conftest.
$ac_ext
6499 cat >>conftest.
$ac_ext <<_ACEOF
6500 /* end confdefs.h. */
6504 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6505 $EGREP "free" >/dev
/null
2>&1; then
6508 ac_cv_header_stdc
=no
6514 if test $ac_cv_header_stdc = yes; then
6515 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6516 if test "$cross_compiling" = yes; then
6519 cat >conftest.
$ac_ext <<_ACEOF
6522 cat confdefs.h
>>conftest.
$ac_ext
6523 cat >>conftest.
$ac_ext <<_ACEOF
6524 /* end confdefs.h. */
6527 #if ((' ' & 0x0FF) == 0x020)
6528 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6529 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6531 # define ISLOWER(c) \
6532 (('a' <= (c) && (c) <= 'i') \
6533 || ('j' <= (c) && (c) <= 'r') \
6534 || ('s' <= (c) && (c) <= 'z'))
6535 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6538 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6543 for (i = 0; i < 256; i++)
6544 if (XOR (islower (i), ISLOWER (i))
6545 || toupper (i) != TOUPPER (i))
6550 rm -f conftest
$ac_exeext
6551 if { (ac_try
="$ac_link"
6553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6554 *) ac_try_echo=$ac_try;;
6556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6557 (eval "$ac_link") 2>&5
6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6561 { (case "(($ac_try" in
6562 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6563 *) ac_try_echo
=$ac_try;;
6565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6566 (eval "$ac_try") 2>&5
6568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6569 (exit $ac_status); }; }; then
6572 echo "$as_me: program exited with status $ac_status" >&5
6573 echo "$as_me: failed program was:" >&5
6574 sed 's/^/| /' conftest.
$ac_ext >&5
6577 ac_cv_header_stdc
=no
6579 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6585 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6586 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6587 if test $ac_cv_header_stdc = yes; then
6589 cat >>confdefs.h
<<\_ACEOF
6590 #define STDC_HEADERS 1
6595 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6605 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6606 inttypes.h stdint.h unistd.h
6608 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6611 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6612 echo $ECHO_N "(cached) $ECHO_C" >&6
6614 cat >conftest.
$ac_ext <<_ACEOF
6617 cat confdefs.h
>>conftest.
$ac_ext
6618 cat >>conftest.
$ac_ext <<_ACEOF
6619 /* end confdefs.h. */
6620 $ac_includes_default
6622 #include <$ac_header>
6624 rm -f conftest.
$ac_objext
6625 if { (ac_try
="$ac_compile"
6627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6628 *) ac_try_echo=$ac_try;;
6630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6631 (eval "$ac_compile") 2>conftest.er1
6633 grep -v '^ *+' conftest.er1 >conftest.err
6635 cat conftest.err >&5
6636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637 (exit $ac_status); } && {
6638 test -z "$ac_c_werror_flag" ||
6639 test ! -s conftest.err
6640 } && test -s conftest.$ac_objext; then
6641 eval "$as_ac_Header=yes"
6643 echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.$ac_ext >&5
6646 eval "$as_ac_Header=no"
6649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6651 ac_res=`eval echo '${'$as_ac_Header'}'`
6652 { echo "$as_me:$LINENO: result: $ac_res" >&5
6653 echo "${ECHO_T}$ac_res" >&6; }
6654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6655 cat >>confdefs.h <<_ACEOF
6656 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6775 AudioUnit/AudioUnit.h \
6777 CoreAudio/CoreAudio.h \
6778 DiskArbitration/DiskArbitration.h \
6791 fontconfig/fontconfig.h \
6817 machine/soundcard.h \
6822 netinet/in_systm.h \
6887 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6888 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6889 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6891 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6892 echo $ECHO_N "(cached) $ECHO_C" >&6
6894 ac_res=`eval echo '${'$as_ac_Header'}'`
6895 { echo "$as_me:$LINENO: result: $ac_res" >&5
6896 echo "${ECHO_T}$ac_res" >&6; }
6898 # Is the header compilable?
6899 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6901 cat >conftest.$ac_ext <<_ACEOF
6904 cat confdefs.h >>conftest.$ac_ext
6905 cat >>conftest.$ac_ext <<_ACEOF
6906 /* end confdefs.h. */
6907 $ac_includes_default
6908 #include <$ac_header>
6910 rm -f conftest.$ac_objext
6911 if { (ac_try="$ac_compile"
6913 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6914 *) ac_try_echo
=$ac_try;;
6916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6917 (eval "$ac_compile") 2>conftest.er1
6919 grep -v '^ *+' conftest.er1
>conftest.err
6921 cat conftest.err
>&5
6922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6923 (exit $ac_status); } && {
6924 test -z "$ac_c_werror_flag" ||
6925 test ! -s conftest.err
6926 } && test -s conftest.
$ac_objext; then
6927 ac_header_compiler
=yes
6929 echo "$as_me: failed program was:" >&5
6930 sed 's/^/| /' conftest.
$ac_ext >&5
6932 ac_header_compiler
=no
6935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6936 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6937 echo "${ECHO_T}$ac_header_compiler" >&6; }
6939 # Is the header present?
6940 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6941 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6942 cat >conftest.
$ac_ext <<_ACEOF
6945 cat confdefs.h
>>conftest.
$ac_ext
6946 cat >>conftest.
$ac_ext <<_ACEOF
6947 /* end confdefs.h. */
6948 #include <$ac_header>
6950 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6953 *) ac_try_echo=$ac_try;;
6955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6956 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6958 grep -v '^ *+' conftest.er1 >conftest.err
6960 cat conftest.err >&5
6961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962 (exit $ac_status); } >/dev/null && {
6963 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6964 test ! -s conftest.err
6966 ac_header_preproc=yes
6968 echo "$as_me: failed program was:" >&5
6969 sed 's/^/| /' conftest.$ac_ext >&5
6971 ac_header_preproc=no
6974 rm -f conftest.err conftest.$ac_ext
6975 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6976 echo "${ECHO_T}$ac_header_preproc" >&6; }
6978 # So? What about this header?
6979 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6981 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6982 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6984 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6985 ac_header_preproc=yes
6988 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6989 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6990 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6991 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6992 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6993 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6994 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6995 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6997 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6998 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6999 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7001 ## ------------------------------------ ##
7002 ## Report this to wine-devel@winehq.org ##
7003 ## ------------------------------------ ##
7005 ) | sed "s/^/$as_me: WARNING: /" >&2
7008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7011 echo $ECHO_N "(cached) $ECHO_C" >&6
7013 eval "$as_ac_Header=\$ac_header_preproc"
7015 ac_res=`eval echo '${'$as_ac_Header'}'`
7016 { echo "$as_me:$LINENO: result: $ac_res" >&5
7017 echo "${ECHO_T}$ac_res" >&6; }
7020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7021 cat >>confdefs.h <<_ACEOF
7022 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7029 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7030 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7031 if test "${ac_cv_header_stat_broken+set}" = set; then
7032 echo $ECHO_N "(cached) $ECHO_C" >&6
7034 cat >conftest.$ac_ext <<_ACEOF
7037 cat confdefs.h >>conftest.$ac_ext
7038 cat >>conftest.$ac_ext <<_ACEOF
7039 /* end confdefs.h. */
7040 #include <sys/types.h>
7041 #include <sys/stat.h>
7043 #if defined S_ISBLK && defined S_IFDIR
7044 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7047 #if defined S_ISBLK && defined S_IFCHR
7048 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7051 #if defined S_ISLNK && defined S_IFREG
7052 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7055 #if defined S_ISSOCK && defined S_IFREG
7056 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7060 rm -f conftest.$ac_objext
7061 if { (ac_try="$ac_compile"
7063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7064 *) ac_try_echo
=$ac_try;;
7066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7067 (eval "$ac_compile") 2>conftest.er1
7069 grep -v '^ *+' conftest.er1
>conftest.err
7071 cat conftest.err
>&5
7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073 (exit $ac_status); } && {
7074 test -z "$ac_c_werror_flag" ||
7075 test ! -s conftest.err
7076 } && test -s conftest.
$ac_objext; then
7077 ac_cv_header_stat_broken
=no
7079 echo "$as_me: failed program was:" >&5
7080 sed 's/^/| /' conftest.
$ac_ext >&5
7082 ac_cv_header_stat_broken
=yes
7085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7087 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7088 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7089 if test $ac_cv_header_stat_broken = yes; then
7091 cat >>confdefs.h
<<\_ACEOF
7092 #define STAT_MACROS_BROKEN 1
7103 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7105 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7106 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7108 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7109 echo $ECHO_N "(cached) $ECHO_C" >&6
7111 cat >conftest.
$ac_ext <<_ACEOF
7114 cat confdefs.h
>>conftest.
$ac_ext
7115 cat >>conftest.
$ac_ext <<_ACEOF
7116 /* end confdefs.h. */
7117 #include <sys/types.h>
7118 #if HAVE_SYS_PARAM_H
7119 # include <sys/param.h>
7122 #include <$ac_header>
7124 rm -f conftest.
$ac_objext
7125 if { (ac_try
="$ac_compile"
7127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7128 *) ac_try_echo=$ac_try;;
7130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7131 (eval "$ac_compile") 2>conftest.er1
7133 grep -v '^ *+' conftest.er1 >conftest.err
7135 cat conftest.err >&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); } && {
7138 test -z "$ac_c_werror_flag" ||
7139 test ! -s conftest.err
7140 } && test -s conftest.$ac_objext; then
7141 eval "$as_ac_Header=yes"
7143 echo "$as_me: failed program was:" >&5
7144 sed 's/^/| /' conftest.$ac_ext >&5
7146 eval "$as_ac_Header=no"
7149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7151 ac_res=`eval echo '${'$as_ac_Header'}'`
7152 { echo "$as_me:$LINENO: result: $ac_res" >&5
7153 echo "${ECHO_T}$ac_res" >&6; }
7154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7155 cat >>confdefs.h <<_ACEOF
7156 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7172 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
7174 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7175 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7177 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7178 echo $ECHO_N "(cached) $ECHO_C" >&6
7180 cat >conftest.$ac_ext <<_ACEOF
7183 cat confdefs.h >>conftest.$ac_ext
7184 cat >>conftest.$ac_ext <<_ACEOF
7185 /* end confdefs.h. */
7186 #include <sys/types.h>
7187 #if HAVE_SYS_SOCKET_H
7188 # include <sys/socket.h>
7190 #if HAVE_SYS_SOCKETVAR_H
7191 # include <sys/socketvar.h>
7193 #if HAVE_NETINET_IN_H
7194 # include <netinet/in.h>
7197 #include <$ac_header>
7199 rm -f conftest.$ac_objext
7200 if { (ac_try="$ac_compile"
7202 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7203 *) ac_try_echo
=$ac_try;;
7205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7206 (eval "$ac_compile") 2>conftest.er1
7208 grep -v '^ *+' conftest.er1
>conftest.err
7210 cat conftest.err
>&5
7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212 (exit $ac_status); } && {
7213 test -z "$ac_c_werror_flag" ||
7214 test ! -s conftest.err
7215 } && test -s conftest.
$ac_objext; then
7216 eval "$as_ac_Header=yes"
7218 echo "$as_me: failed program was:" >&5
7219 sed 's/^/| /' conftest.
$ac_ext >&5
7221 eval "$as_ac_Header=no"
7224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7226 ac_res
=`eval echo '${'$as_ac_Header'}'`
7227 { echo "$as_me:$LINENO: result: $ac_res" >&5
7228 echo "${ECHO_T}$ac_res" >&6; }
7229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7230 cat >>confdefs.h
<<_ACEOF
7231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7240 for ac_header
in netinet
/tcp_var.h
7242 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7243 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7245 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7246 echo $ECHO_N "(cached) $ECHO_C" >&6
7248 cat >conftest.
$ac_ext <<_ACEOF
7251 cat confdefs.h
>>conftest.
$ac_ext
7252 cat >>conftest.
$ac_ext <<_ACEOF
7253 /* end confdefs.h. */
7254 #include <sys/types.h>
7255 #if HAVE_SYS_SOCKET_H
7256 # include <sys/socket.h>
7258 #if HAVE_SYS_SOCKETVAR_H
7259 # include <sys/socketvar.h>
7261 #if HAVE_NETINET_IN_H
7262 # include <netinet/in.h>
7264 #ifdef HAVE_NETINET_TCP_H
7265 # include <netinet/tcp.h>
7268 #include <$ac_header>
7270 rm -f conftest.
$ac_objext
7271 if { (ac_try
="$ac_compile"
7273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7274 *) ac_try_echo=$ac_try;;
7276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7277 (eval "$ac_compile") 2>conftest.er1
7279 grep -v '^ *+' conftest.er1 >conftest.err
7281 cat conftest.err >&5
7282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283 (exit $ac_status); } && {
7284 test -z "$ac_c_werror_flag" ||
7285 test ! -s conftest.err
7286 } && test -s conftest.$ac_objext; then
7287 eval "$as_ac_Header=yes"
7289 echo "$as_me: failed program was:" >&5
7290 sed 's/^/| /' conftest.$ac_ext >&5
7292 eval "$as_ac_Header=no"
7295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7297 ac_res=`eval echo '${'$as_ac_Header'}'`
7298 { echo "$as_me:$LINENO: result: $ac_res" >&5
7299 echo "${ECHO_T}$ac_res" >&6; }
7300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7301 cat >>confdefs.h <<_ACEOF
7302 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7311 for ac_header in linux/ipx.h
7313 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7314 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7316 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7317 echo $ECHO_N "(cached) $ECHO_C" >&6
7319 cat >conftest.$ac_ext <<_ACEOF
7322 cat confdefs.h >>conftest.$ac_ext
7323 cat >>conftest.$ac_ext <<_ACEOF
7324 /* end confdefs.h. */
7325 #include <sys/types.h>
7326 #ifdef HAVE_ASM_TYPES_H
7327 # include <asm/types.h>
7329 #if HAVE_SYS_SOCKET_H
7330 # include <sys/socket.h>
7333 #include <$ac_header>
7335 rm -f conftest.$ac_objext
7336 if { (ac_try="$ac_compile"
7338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7339 *) ac_try_echo
=$ac_try;;
7341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7342 (eval "$ac_compile") 2>conftest.er1
7344 grep -v '^ *+' conftest.er1
>conftest.err
7346 cat conftest.err
>&5
7347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7348 (exit $ac_status); } && {
7349 test -z "$ac_c_werror_flag" ||
7350 test ! -s conftest.err
7351 } && test -s conftest.
$ac_objext; then
7352 eval "$as_ac_Header=yes"
7354 echo "$as_me: failed program was:" >&5
7355 sed 's/^/| /' conftest.
$ac_ext >&5
7357 eval "$as_ac_Header=no"
7360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7362 ac_res
=`eval echo '${'$as_ac_Header'}'`
7363 { echo "$as_me:$LINENO: result: $ac_res" >&5
7364 echo "${ECHO_T}$ac_res" >&6; }
7365 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7366 cat >>confdefs.h
<<_ACEOF
7367 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7376 for ac_header
in resolv.h
7378 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7379 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7381 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7382 echo $ECHO_N "(cached) $ECHO_C" >&6
7384 cat >conftest.
$ac_ext <<_ACEOF
7387 cat confdefs.h
>>conftest.
$ac_ext
7388 cat >>conftest.
$ac_ext <<_ACEOF
7389 /* end confdefs.h. */
7390 #include <sys/types.h>
7391 #if HAVE_SYS_SOCKET_H
7392 # include <sys/socket.h>
7394 #if HAVE_NETINET_IN_H
7395 # include <netinet/in.h>
7397 #if HAVE_ARPA_NAMESER_H
7398 # include <arpa/nameser.h>
7401 #include <$ac_header>
7403 rm -f conftest.
$ac_objext
7404 if { (ac_try
="$ac_compile"
7406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7407 *) ac_try_echo=$ac_try;;
7409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7410 (eval "$ac_compile") 2>conftest.er1
7412 grep -v '^ *+' conftest.er1 >conftest.err
7414 cat conftest.err >&5
7415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416 (exit $ac_status); } && {
7417 test -z "$ac_c_werror_flag" ||
7418 test ! -s conftest.err
7419 } && test -s conftest.$ac_objext; then
7420 eval "$as_ac_Header=yes"
7422 echo "$as_me: failed program was:" >&5
7423 sed 's/^/| /' conftest.$ac_ext >&5
7425 eval "$as_ac_Header=no"
7428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7430 ac_res=`eval echo '${'$as_ac_Header'}'`
7431 { echo "$as_me:$LINENO: result: $ac_res" >&5
7432 echo "${ECHO_T}$ac_res" >&6; }
7433 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7434 cat >>confdefs.h <<_ACEOF
7435 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7444 for ac_header in ucontext.h
7446 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7447 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7449 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7450 echo $ECHO_N "(cached) $ECHO_C" >&6
7452 cat >conftest.$ac_ext <<_ACEOF
7455 cat confdefs.h >>conftest.$ac_ext
7456 cat >>conftest.$ac_ext <<_ACEOF
7457 /* end confdefs.h. */
7460 #include <$ac_header>
7462 rm -f conftest.$ac_objext
7463 if { (ac_try="$ac_compile"
7465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7466 *) ac_try_echo
=$ac_try;;
7468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7469 (eval "$ac_compile") 2>conftest.er1
7471 grep -v '^ *+' conftest.er1
>conftest.err
7473 cat conftest.err
>&5
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); } && {
7476 test -z "$ac_c_werror_flag" ||
7477 test ! -s conftest.err
7478 } && test -s conftest.
$ac_objext; then
7479 eval "$as_ac_Header=yes"
7481 echo "$as_me: failed program was:" >&5
7482 sed 's/^/| /' conftest.
$ac_ext >&5
7484 eval "$as_ac_Header=no"
7487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7489 ac_res
=`eval echo '${'$as_ac_Header'}'`
7490 { echo "$as_me:$LINENO: result: $ac_res" >&5
7491 echo "${ECHO_T}$ac_res" >&6; }
7492 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7493 cat >>confdefs.h
<<_ACEOF
7494 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7503 for ac_header
in sys
/thr.h
7505 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7506 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7508 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7509 echo $ECHO_N "(cached) $ECHO_C" >&6
7511 cat >conftest.
$ac_ext <<_ACEOF
7514 cat confdefs.h
>>conftest.
$ac_ext
7515 cat >>conftest.
$ac_ext <<_ACEOF
7516 /* end confdefs.h. */
7517 #include <sys/types.h>
7519 #include <ucontext.h>
7522 #include <$ac_header>
7524 rm -f conftest.
$ac_objext
7525 if { (ac_try
="$ac_compile"
7527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7528 *) ac_try_echo=$ac_try;;
7530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7531 (eval "$ac_compile") 2>conftest.er1
7533 grep -v '^ *+' conftest.er1 >conftest.err
7535 cat conftest.err >&5
7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); } && {
7538 test -z "$ac_c_werror_flag" ||
7539 test ! -s conftest.err
7540 } && test -s conftest.$ac_objext; then
7541 eval "$as_ac_Header=yes"
7543 echo "$as_me: failed program was:" >&5
7544 sed 's/^/| /' conftest.$ac_ext >&5
7546 eval "$as_ac_Header=no"
7549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7551 ac_res=`eval echo '${'$as_ac_Header'}'`
7552 { echo "$as_me:$LINENO: result: $ac_res" >&5
7553 echo "${ECHO_T}$ac_res" >&6; }
7554 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7555 cat >>confdefs.h <<_ACEOF
7556 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7565 for ac_header in pthread_np.h
7567 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7568 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7570 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7571 echo $ECHO_N "(cached) $ECHO_C" >&6
7573 cat >conftest.$ac_ext <<_ACEOF
7576 cat confdefs.h >>conftest.$ac_ext
7577 cat >>conftest.$ac_ext <<_ACEOF
7578 /* end confdefs.h. */
7579 #ifdef HAVE_PTHREAD_H
7580 #include <pthread.h>
7583 #include <$ac_header>
7585 rm -f conftest.$ac_objext
7586 if { (ac_try="$ac_compile"
7588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7589 *) ac_try_echo
=$ac_try;;
7591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7592 (eval "$ac_compile") 2>conftest.er1
7594 grep -v '^ *+' conftest.er1
>conftest.err
7596 cat conftest.err
>&5
7597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 (exit $ac_status); } && {
7599 test -z "$ac_c_werror_flag" ||
7600 test ! -s conftest.err
7601 } && test -s conftest.
$ac_objext; then
7602 eval "$as_ac_Header=yes"
7604 echo "$as_me: failed program was:" >&5
7605 sed 's/^/| /' conftest.
$ac_ext >&5
7607 eval "$as_ac_Header=no"
7610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7612 ac_res
=`eval echo '${'$as_ac_Header'}'`
7613 { echo "$as_me:$LINENO: result: $ac_res" >&5
7614 echo "${ECHO_T}$ac_res" >&6; }
7615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7616 cat >>confdefs.h
<<_ACEOF
7617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7626 for ac_header
in linux
/videodev.h
7628 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7629 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7631 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7632 echo $ECHO_N "(cached) $ECHO_C" >&6
7634 cat >conftest.
$ac_ext <<_ACEOF
7637 cat confdefs.h
>>conftest.
$ac_ext
7638 cat >>conftest.
$ac_ext <<_ACEOF
7639 /* end confdefs.h. */
7640 #ifdef HAVE_SYS_TIME_H
7641 #include <sys/time.h>
7643 #include <sys/types.h>
7644 #ifdef HAVE_ASM_TYPES_H
7645 #include <asm/types.h>
7648 #include <$ac_header>
7650 rm -f conftest.
$ac_objext
7651 if { (ac_try
="$ac_compile"
7653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7654 *) ac_try_echo=$ac_try;;
7656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7657 (eval "$ac_compile") 2>conftest.er1
7659 grep -v '^ *+' conftest.er1 >conftest.err
7661 cat conftest.err >&5
7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663 (exit $ac_status); } && {
7664 test -z "$ac_c_werror_flag" ||
7665 test ! -s conftest.err
7666 } && test -s conftest.$ac_objext; then
7667 eval "$as_ac_Header=yes"
7669 echo "$as_me: failed program was:" >&5
7670 sed 's/^/| /' conftest.$ac_ext >&5
7672 eval "$as_ac_Header=no"
7675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7677 ac_res=`eval echo '${'$as_ac_Header'}'`
7678 { echo "$as_me:$LINENO: result: $ac_res" >&5
7679 echo "${ECHO_T}$ac_res" >&6; }
7680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7681 cat >>confdefs.h <<_ACEOF
7682 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7691 for ac_header in linux/capi.h
7693 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7694 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7696 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7697 echo $ECHO_N "(cached) $ECHO_C" >&6
7699 cat >conftest.$ac_ext <<_ACEOF
7702 cat confdefs.h >>conftest.$ac_ext
7703 cat >>conftest.$ac_ext <<_ACEOF
7704 /* end confdefs.h. */
7707 #include <$ac_header>
7709 rm -f conftest.$ac_objext
7710 if { (ac_try="$ac_compile"
7712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7713 *) ac_try_echo
=$ac_try;;
7715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7716 (eval "$ac_compile") 2>conftest.er1
7718 grep -v '^ *+' conftest.er1
>conftest.err
7720 cat conftest.err
>&5
7721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7722 (exit $ac_status); } && {
7723 test -z "$ac_c_werror_flag" ||
7724 test ! -s conftest.err
7725 } && test -s conftest.
$ac_objext; then
7726 eval "$as_ac_Header=yes"
7728 echo "$as_me: failed program was:" >&5
7729 sed 's/^/| /' conftest.
$ac_ext >&5
7731 eval "$as_ac_Header=no"
7734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7736 ac_res
=`eval echo '${'$as_ac_Header'}'`
7737 { echo "$as_me:$LINENO: result: $ac_res" >&5
7738 echo "${ECHO_T}$ac_res" >&6; }
7739 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7740 cat >>confdefs.h
<<_ACEOF
7741 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7752 DLLFLAGS
="-D_REENTRANT"
7766 # Extract the first word of "ldd", so it can be a program name with args.
7767 set dummy ldd
; ac_word
=$2
7768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7770 if test "${ac_cv_path_LDD+set}" = set; then
7771 echo $ECHO_N "(cached) $ECHO_C" >&6
7775 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7779 as_dummy
="/sbin:/usr/sbin:$PATH"
7780 for as_dir
in $as_dummy
7783 test -z "$as_dir" && as_dir
=.
7784 for ac_exec_ext
in '' $ac_executable_extensions; do
7785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7786 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7794 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7799 if test -n "$LDD"; then
7800 { echo "$as_me:$LINENO: result: $LDD" >&5
7801 echo "${ECHO_T}$LDD" >&6; }
7803 { echo "$as_me:$LINENO: result: no" >&5
7804 echo "${ECHO_T}no" >&6; }
7811 if test -n "$ac_tool_prefix"; then
7812 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7813 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7816 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7817 echo $ECHO_N "(cached) $ECHO_C" >&6
7819 if test -n "$DLLTOOL"; then
7820 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7826 test -z "$as_dir" && as_dir
=.
7827 for ac_exec_ext
in '' $ac_executable_extensions; do
7828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7829 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7839 DLLTOOL
=$ac_cv_prog_DLLTOOL
7840 if test -n "$DLLTOOL"; then
7841 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7842 echo "${ECHO_T}$DLLTOOL" >&6; }
7844 { echo "$as_me:$LINENO: result: no" >&5
7845 echo "${ECHO_T}no" >&6; }
7850 if test -z "$ac_cv_prog_DLLTOOL"; then
7851 ac_ct_DLLTOOL
=$DLLTOOL
7852 # Extract the first word of "dlltool", so it can be a program name with args.
7853 set dummy dlltool
; ac_word
=$2
7854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7856 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7857 echo $ECHO_N "(cached) $ECHO_C" >&6
7859 if test -n "$ac_ct_DLLTOOL"; then
7860 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7866 test -z "$as_dir" && as_dir
=.
7867 for ac_exec_ext
in '' $ac_executable_extensions; do
7868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7869 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7879 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7880 if test -n "$ac_ct_DLLTOOL"; then
7881 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7882 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7884 { echo "$as_me:$LINENO: result: no" >&5
7885 echo "${ECHO_T}no" >&6; }
7888 if test "x$ac_ct_DLLTOOL" = x
; then
7891 case $cross_compiling:$ac_tool_warned in
7893 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7894 whose name does not start with the host triplet. If you think this
7895 configuration is useful to you, please write to autoconf@gnu.org." >&5
7896 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7897 whose name does not start with the host triplet. If you think this
7898 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7899 ac_tool_warned
=yes ;;
7901 DLLTOOL
=$ac_ct_DLLTOOL
7904 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7907 if test -n "$ac_tool_prefix"; then
7908 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7909 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
7910 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7912 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7913 echo $ECHO_N "(cached) $ECHO_C" >&6
7915 if test -n "$DLLWRAP"; then
7916 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
7918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7922 test -z "$as_dir" && as_dir
=.
7923 for ac_exec_ext
in '' $ac_executable_extensions; do
7924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7925 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
7926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7935 DLLWRAP
=$ac_cv_prog_DLLWRAP
7936 if test -n "$DLLWRAP"; then
7937 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7938 echo "${ECHO_T}$DLLWRAP" >&6; }
7940 { echo "$as_me:$LINENO: result: no" >&5
7941 echo "${ECHO_T}no" >&6; }
7946 if test -z "$ac_cv_prog_DLLWRAP"; then
7947 ac_ct_DLLWRAP
=$DLLWRAP
7948 # Extract the first word of "dllwrap", so it can be a program name with args.
7949 set dummy dllwrap
; ac_word
=$2
7950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7952 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7953 echo $ECHO_N "(cached) $ECHO_C" >&6
7955 if test -n "$ac_ct_DLLWRAP"; then
7956 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
7958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7962 test -z "$as_dir" && as_dir
=.
7963 for ac_exec_ext
in '' $ac_executable_extensions; do
7964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7965 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
7966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7975 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
7976 if test -n "$ac_ct_DLLWRAP"; then
7977 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7978 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7980 { echo "$as_me:$LINENO: result: no" >&5
7981 echo "${ECHO_T}no" >&6; }
7984 if test "x$ac_ct_DLLWRAP" = x
; then
7987 case $cross_compiling:$ac_tool_warned in
7989 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7990 whose name does not start with the host triplet. If you think this
7991 configuration is useful to you, please write to autoconf@gnu.org." >&5
7992 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7993 whose name does not start with the host triplet. If you think this
7994 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7995 ac_tool_warned
=yes ;;
7997 DLLWRAP
=$ac_ct_DLLWRAP
8000 DLLWRAP
="$ac_cv_prog_DLLWRAP"
8003 if test -n "$ac_tool_prefix"; then
8004 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8005 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8008 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8009 echo $ECHO_N "(cached) $ECHO_C" >&6
8011 if test -n "$MINGWAR"; then
8012 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8018 test -z "$as_dir" && as_dir
=.
8019 for ac_exec_ext
in '' $ac_executable_extensions; do
8020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8021 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8031 MINGWAR
=$ac_cv_prog_MINGWAR
8032 if test -n "$MINGWAR"; then
8033 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8034 echo "${ECHO_T}$MINGWAR" >&6; }
8036 { echo "$as_me:$LINENO: result: no" >&5
8037 echo "${ECHO_T}no" >&6; }
8042 if test -z "$ac_cv_prog_MINGWAR"; then
8043 ac_ct_MINGWAR
=$MINGWAR
8044 # Extract the first word of "ar", so it can be a program name with args.
8045 set dummy
ar; ac_word
=$2
8046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8048 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8049 echo $ECHO_N "(cached) $ECHO_C" >&6
8051 if test -n "$ac_ct_MINGWAR"; then
8052 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8058 test -z "$as_dir" && as_dir
=.
8059 for ac_exec_ext
in '' $ac_executable_extensions; do
8060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8061 ac_cv_prog_ac_ct_MINGWAR
="ar"
8062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8071 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8072 if test -n "$ac_ct_MINGWAR"; then
8073 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8074 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8076 { echo "$as_me:$LINENO: result: no" >&5
8077 echo "${ECHO_T}no" >&6; }
8080 if test "x$ac_ct_MINGWAR" = x
; then
8083 case $cross_compiling:$ac_tool_warned in
8085 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8086 whose name does not start with the host triplet. If you think this
8087 configuration is useful to you, please write to autoconf@gnu.org." >&5
8088 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8089 whose name does not start with the host triplet. If you think this
8090 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8091 ac_tool_warned
=yes ;;
8093 MINGWAR
=$ac_ct_MINGWAR
8096 MINGWAR
="$ac_cv_prog_MINGWAR"
8099 if test "$DLLWRAP" = "false"; then
8111 DLLFLAGS
="$DLLFLAGS -fPIC"
8112 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8113 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8114 LDSHARED
="\$(CC) -dynamiclib"
8116 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8117 COREFOUNDATIONLIB
="-framework CoreFoundation"
8119 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8121 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8123 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8125 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8128 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8130 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8135 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8137 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8139 CARBONLIB
="-framework Carbon"
8141 QUARTZFILES
='$(QUARTZFILES)'
8145 DLLFLAGS
="$DLLFLAGS -fPIC"
8147 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8148 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8149 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8150 echo $ECHO_N "(cached) $ECHO_C" >&6
8152 ac_wine_try_cflags_saved
=$CFLAGS
8153 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8154 cat >conftest.
$ac_ext <<_ACEOF
8157 rm -f conftest.
$ac_objext conftest
$ac_exeext
8158 if { (ac_try
="$ac_link"
8160 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8161 *) ac_try_echo=$ac_try;;
8163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8164 (eval "$ac_link") 2>conftest.er1
8166 grep -v '^ *+' conftest.er1 >conftest.err
8168 cat conftest.err >&5
8169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8170 (exit $ac_status); } && {
8171 test -z "$ac_c_werror_flag" ||
8172 test ! -s conftest.err
8173 } && test -s conftest$ac_exeext &&
8174 $as_test_x conftest$ac_exeext; then
8175 ac_cv_c_dll_gnuelf="yes"
8177 echo "$as_me: failed program was:" >&5
8178 sed 's/^/| /' conftest.$ac_ext >&5
8180 ac_cv_c_dll_gnuelf="no"
8183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8184 conftest$ac_exeext conftest.$ac_ext
8185 CFLAGS=$ac_wine_try_cflags_saved
8187 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8188 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8189 if test "$ac_cv_c_dll_gnuelf" = "yes"
8191 LDSHARED="\$(CC) -shared"
8192 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8193 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8194 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8195 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8196 echo $ECHO_N "(cached) $ECHO_C" >&6
8198 ac_wine_try_cflags_saved=$CFLAGS
8199 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8200 cat >conftest.$ac_ext <<_ACEOF
8203 cat confdefs.h >>conftest.$ac_ext
8204 cat >>conftest.$ac_ext <<_ACEOF
8205 /* end confdefs.h. */
8215 rm -f conftest.$ac_objext conftest$ac_exeext
8216 if { (ac_try="$ac_link"
8218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8219 *) ac_try_echo
=$ac_try;;
8221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8222 (eval "$ac_link") 2>conftest.er1
8224 grep -v '^ *+' conftest.er1
>conftest.err
8226 cat conftest.err
>&5
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); } && {
8229 test -z "$ac_c_werror_flag" ||
8230 test ! -s conftest.err
8231 } && test -s conftest
$ac_exeext &&
8232 $as_test_x conftest
$ac_exeext; then
8233 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8235 echo "$as_me: failed program was:" >&5
8236 sed 's/^/| /' conftest.
$ac_ext >&5
8238 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8241 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8242 conftest
$ac_exeext conftest.
$ac_ext
8243 CFLAGS
=$ac_wine_try_cflags_saved
8245 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8246 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8247 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8248 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8250 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8251 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8252 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8253 echo $ECHO_N "(cached) $ECHO_C" >&6
8255 ac_wine_try_cflags_saved
=$CFLAGS
8256 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8257 cat >conftest.
$ac_ext <<_ACEOF
8260 cat confdefs.h
>>conftest.
$ac_ext
8261 cat >>conftest.
$ac_ext <<_ACEOF
8262 /* end confdefs.h. */
8272 rm -f conftest.
$ac_objext conftest
$ac_exeext
8273 if { (ac_try
="$ac_link"
8275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8276 *) ac_try_echo=$ac_try;;
8278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8279 (eval "$ac_link") 2>conftest.er1
8281 grep -v '^ *+' conftest.er1 >conftest.err
8283 cat conftest.err >&5
8284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8285 (exit $ac_status); } && {
8286 test -z "$ac_c_werror_flag" ||
8287 test ! -s conftest.err
8288 } && test -s conftest$ac_exeext &&
8289 $as_test_x conftest$ac_exeext; then
8290 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8292 echo "$as_me: failed program was:" >&5
8293 sed 's/^/| /' conftest.$ac_ext >&5
8295 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8299 conftest$ac_exeext conftest.$ac_ext
8300 CFLAGS=$ac_wine_try_cflags_saved
8302 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8303 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8304 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8305 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8311 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8312 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8313 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8314 echo $ECHO_N "(cached) $ECHO_C" >&6
8316 ac_wine_try_cflags_saved=$CFLAGS
8317 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8318 cat >conftest.$ac_ext <<_ACEOF
8321 cat confdefs.h >>conftest.$ac_ext
8322 cat >>conftest.$ac_ext <<_ACEOF
8323 /* end confdefs.h. */
8333 rm -f conftest.$ac_objext conftest$ac_exeext
8334 if { (ac_try="$ac_link"
8336 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8337 *) ac_try_echo
=$ac_try;;
8339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8340 (eval "$ac_link") 2>conftest.er1
8342 grep -v '^ *+' conftest.er1
>conftest.err
8344 cat conftest.err
>&5
8345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346 (exit $ac_status); } && {
8347 test -z "$ac_c_werror_flag" ||
8348 test ! -s conftest.err
8349 } && test -s conftest
$ac_exeext &&
8350 $as_test_x conftest
$ac_exeext; then
8351 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8353 echo "$as_me: failed program was:" >&5
8354 sed 's/^/| /' conftest.
$ac_ext >&5
8356 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8359 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8360 conftest
$ac_exeext conftest.
$ac_ext
8361 CFLAGS
=$ac_wine_try_cflags_saved
8363 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8364 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8365 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8366 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8370 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8371 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8372 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8373 echo $ECHO_N "(cached) $ECHO_C" >&6
8375 ac_wine_try_cflags_saved
=$CFLAGS
8376 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8377 cat >conftest.
$ac_ext <<_ACEOF
8380 cat confdefs.h
>>conftest.
$ac_ext
8381 cat >>conftest.
$ac_ext <<_ACEOF
8382 /* end confdefs.h. */
8392 rm -f conftest.
$ac_objext conftest
$ac_exeext
8393 if { (ac_try
="$ac_link"
8395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8396 *) ac_try_echo=$ac_try;;
8398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8399 (eval "$ac_link") 2>conftest.er1
8401 grep -v '^ *+' conftest.er1 >conftest.err
8403 cat conftest.err >&5
8404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8405 (exit $ac_status); } && {
8406 test -z "$ac_c_werror_flag" ||
8407 test ! -s conftest.err
8408 } && test -s conftest$ac_exeext &&
8409 $as_test_x conftest$ac_exeext; then
8410 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8412 echo "$as_me: failed program was:" >&5
8413 sed 's/^/| /' conftest.$ac_ext >&5
8415 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8419 conftest$ac_exeext conftest.$ac_ext
8420 CFLAGS=$ac_wine_try_cflags_saved
8422 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8423 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8424 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8425 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8429 echo '{ global: *; };' >conftest.map
8430 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8431 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8432 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8433 echo $ECHO_N "(cached) $ECHO_C" >&6
8435 ac_wine_try_cflags_saved=$CFLAGS
8436 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8437 cat >conftest.$ac_ext <<_ACEOF
8440 cat confdefs.h >>conftest.$ac_ext
8441 cat >>conftest.$ac_ext <<_ACEOF
8442 /* end confdefs.h. */
8452 rm -f conftest.$ac_objext conftest$ac_exeext
8453 if { (ac_try="$ac_link"
8455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8456 *) ac_try_echo
=$ac_try;;
8458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8459 (eval "$ac_link") 2>conftest.er1
8461 grep -v '^ *+' conftest.er1
>conftest.err
8463 cat conftest.err
>&5
8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465 (exit $ac_status); } && {
8466 test -z "$ac_c_werror_flag" ||
8467 test ! -s conftest.err
8468 } && test -s conftest
$ac_exeext &&
8469 $as_test_x conftest
$ac_exeext; then
8470 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8472 echo "$as_me: failed program was:" >&5
8473 sed 's/^/| /' conftest.
$ac_ext >&5
8475 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8478 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8479 conftest
$ac_exeext conftest.
$ac_ext
8480 CFLAGS
=$ac_wine_try_cflags_saved
8482 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8483 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8484 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8485 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8490 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8491 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8492 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8493 echo $ECHO_N "(cached) $ECHO_C" >&6
8495 ac_wine_try_cflags_saved
=$CFLAGS
8496 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8497 cat >conftest.
$ac_ext <<_ACEOF
8500 cat confdefs.h
>>conftest.
$ac_ext
8501 cat >>conftest.
$ac_ext <<_ACEOF
8502 /* end confdefs.h. */
8512 rm -f conftest.
$ac_objext conftest
$ac_exeext
8513 if { (ac_try
="$ac_link"
8515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8516 *) ac_try_echo=$ac_try;;
8518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8519 (eval "$ac_link") 2>conftest.er1
8521 grep -v '^ *+' conftest.er1 >conftest.err
8523 cat conftest.err >&5
8524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 (exit $ac_status); } && {
8526 test -z "$ac_c_werror_flag" ||
8527 test ! -s conftest.err
8528 } && test -s conftest$ac_exeext &&
8529 $as_test_x conftest$ac_exeext; then
8530 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8532 echo "$as_me: failed program was:" >&5
8533 sed 's/^/| /' conftest.$ac_ext >&5
8535 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8539 conftest$ac_exeext conftest.$ac_ext
8540 CFLAGS=$ac_wine_try_cflags_saved
8542 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8543 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8544 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8545 LDEXECFLAGS="-Wl,--export-dynamic"
8550 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
8551 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8552 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8553 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8554 echo $ECHO_N "(cached) $ECHO_C" >&6
8556 ac_wine_try_cflags_saved=$CFLAGS
8557 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8558 cat >conftest.$ac_ext <<_ACEOF
8561 cat confdefs.h >>conftest.$ac_ext
8562 cat >>conftest.$ac_ext <<_ACEOF
8563 /* end confdefs.h. */
8573 rm -f conftest.$ac_objext conftest$ac_exeext
8574 if { (ac_try="$ac_link"
8576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8577 *) ac_try_echo
=$ac_try;;
8579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8580 (eval "$ac_link") 2>conftest.er1
8582 grep -v '^ *+' conftest.er1
>conftest.err
8584 cat conftest.err
>&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); } && {
8587 test -z "$ac_c_werror_flag" ||
8588 test ! -s conftest.err
8589 } && test -s conftest
$ac_exeext &&
8590 $as_test_x conftest
$ac_exeext; then
8591 eval "$as_ac_var=yes"
8593 echo "$as_me: failed program was:" >&5
8594 sed 's/^/| /' conftest.
$ac_ext >&5
8596 eval "$as_ac_var=no"
8599 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8600 conftest
$ac_exeext conftest.
$ac_ext
8601 CFLAGS
=$ac_wine_try_cflags_saved
8603 ac_res
=`eval echo '${'$as_ac_var'}'`
8604 { echo "$as_me:$LINENO: result: $ac_res" >&5
8605 echo "${ECHO_T}$ac_res" >&6; }
8606 if test `eval echo '${'$as_ac_var'}'` = yes; then
8607 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8608 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8610 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8611 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8612 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8613 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8614 echo $ECHO_N "(cached) $ECHO_C" >&6
8616 ac_wine_try_cflags_saved
=$CFLAGS
8617 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8618 cat >conftest.
$ac_ext <<_ACEOF
8621 cat confdefs.h
>>conftest.
$ac_ext
8622 cat >>conftest.
$ac_ext <<_ACEOF
8623 /* end confdefs.h. */
8633 rm -f conftest.
$ac_objext conftest
$ac_exeext
8634 if { (ac_try
="$ac_link"
8636 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8637 *) ac_try_echo=$ac_try;;
8639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8640 (eval "$ac_link") 2>conftest.er1
8642 grep -v '^ *+' conftest.er1 >conftest.err
8644 cat conftest.err >&5
8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646 (exit $ac_status); } && {
8647 test -z "$ac_c_werror_flag" ||
8648 test ! -s conftest.err
8649 } && test -s conftest$ac_exeext &&
8650 $as_test_x conftest$ac_exeext; then
8651 eval "$as_ac_var=yes"
8653 echo "$as_me: failed program was:" >&5
8654 sed 's/^/| /' conftest.$ac_ext >&5
8656 eval "$as_ac_var=no"
8659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8660 conftest$ac_exeext conftest.$ac_ext
8661 CFLAGS=$ac_wine_try_cflags_saved
8663 ac_res=`eval echo '${'$as_ac_var'}'`
8664 { echo "$as_me:$LINENO: result: $ac_res" >&5
8665 echo "${ECHO_T}$ac_res" >&6; }
8666 if test `eval echo '${'$as_ac_var'}'` = yes; then
8667 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
8668 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8674 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8675 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8676 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8677 echo $ECHO_N "(cached) $ECHO_C" >&6
8679 ac_wine_try_cflags_saved=$CFLAGS
8680 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8681 cat >conftest.$ac_ext <<_ACEOF
8684 cat confdefs.h >>conftest.$ac_ext
8685 cat >>conftest.$ac_ext <<_ACEOF
8686 /* end confdefs.h. */
8696 rm -f conftest.$ac_objext conftest$ac_exeext
8697 if { (ac_try="$ac_link"
8699 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8700 *) ac_try_echo
=$ac_try;;
8702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8703 (eval "$ac_link") 2>conftest.er1
8705 grep -v '^ *+' conftest.er1
>conftest.err
8707 cat conftest.err
>&5
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); } && {
8710 test -z "$ac_c_werror_flag" ||
8711 test ! -s conftest.err
8712 } && test -s conftest
$ac_exeext &&
8713 $as_test_x conftest
$ac_exeext; then
8714 ac_cv_cflags__Wl___enable_new_dtags
=yes
8716 echo "$as_me: failed program was:" >&5
8717 sed 's/^/| /' conftest.
$ac_ext >&5
8719 ac_cv_cflags__Wl___enable_new_dtags
=no
8722 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8723 conftest
$ac_exeext conftest.
$ac_ext
8724 CFLAGS
=$ac_wine_try_cflags_saved
8726 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8727 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8728 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8729 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8734 *i
[3456789]86* | x86_64
)
8735 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8736 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8737 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8738 echo $ECHO_N "(cached) $ECHO_C" >&6
8740 ac_wine_try_cflags_saved
=$CFLAGS
8741 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8742 cat >conftest.
$ac_ext <<_ACEOF
8745 cat confdefs.h
>>conftest.
$ac_ext
8746 cat >>conftest.
$ac_ext <<_ACEOF
8747 /* end confdefs.h. */
8757 rm -f conftest.
$ac_objext conftest
$ac_exeext
8758 if { (ac_try
="$ac_link"
8760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8761 *) ac_try_echo=$ac_try;;
8763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8764 (eval "$ac_link") 2>conftest.er1
8766 grep -v '^ *+' conftest.er1 >conftest.err
8768 cat conftest.err >&5
8769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8770 (exit $ac_status); } && {
8771 test -z "$ac_c_werror_flag" ||
8772 test ! -s conftest.err
8773 } && test -s conftest$ac_exeext &&
8774 $as_test_x conftest$ac_exeext; then
8775 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8777 echo "$as_me: failed program was:" >&5
8778 sed 's/^/| /' conftest.$ac_ext >&5
8780 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8784 conftest$ac_exeext conftest.$ac_ext
8785 CFLAGS=$ac_wine_try_cflags_saved
8787 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8788 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8789 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8790 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8797 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8798 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8799 if test "${ac_cv_c_dll_unixware+set}" = set; then
8800 echo $ECHO_N "(cached) $ECHO_C" >&6
8802 ac_wine_try_cflags_saved=$CFLAGS
8803 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8804 cat >conftest.$ac_ext <<_ACEOF
8807 rm -f conftest.$ac_objext conftest$ac_exeext
8808 if { (ac_try="$ac_link"
8810 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8811 *) ac_try_echo
=$ac_try;;
8813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8814 (eval "$ac_link") 2>conftest.er1
8816 grep -v '^ *+' conftest.er1
>conftest.err
8818 cat conftest.err
>&5
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); } && {
8821 test -z "$ac_c_werror_flag" ||
8822 test ! -s conftest.err
8823 } && test -s conftest
$ac_exeext &&
8824 $as_test_x conftest
$ac_exeext; then
8825 ac_cv_c_dll_unixware
="yes"
8827 echo "$as_me: failed program was:" >&5
8828 sed 's/^/| /' conftest.
$ac_ext >&5
8830 ac_cv_c_dll_unixware
="no"
8833 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8834 conftest
$ac_exeext conftest.
$ac_ext
8835 CFLAGS
=$ac_wine_try_cflags_saved
8837 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8838 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8839 if test "$ac_cv_c_dll_unixware" = "yes"
8841 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8842 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
8845 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8846 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8847 if test "${ac_cv_c_dll_hpux+set}" = set; then
8848 echo $ECHO_N "(cached) $ECHO_C" >&6
8850 ac_wine_try_cflags_saved
=$CFLAGS
8851 CFLAGS
="$CFLAGS -shared"
8852 cat >conftest.
$ac_ext <<_ACEOF
8855 rm -f conftest.
$ac_objext conftest
$ac_exeext
8856 if { (ac_try
="$ac_link"
8858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8859 *) ac_try_echo=$ac_try;;
8861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8862 (eval "$ac_link") 2>conftest.er1
8864 grep -v '^ *+' conftest.er1 >conftest.err
8866 cat conftest.err >&5
8867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868 (exit $ac_status); } && {
8869 test -z "$ac_c_werror_flag" ||
8870 test ! -s conftest.err
8871 } && test -s conftest$ac_exeext &&
8872 $as_test_x conftest$ac_exeext; then
8873 ac_cv_c_dll_hpux="yes"
8875 echo "$as_me: failed program was:" >&5
8876 sed 's/^/| /' conftest.$ac_ext >&5
8878 ac_cv_c_dll_hpux="no"
8881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8882 conftest$ac_exeext conftest.$ac_ext
8883 CFLAGS=$ac_wine_try_cflags_saved
8885 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8886 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8887 if test "$ac_cv_c_dll_hpux" = "yes"
8891 LDDLLFLAGS="-shared -fPIC"
8892 LDSHARED="\$(CC) -shared"
8899 if test "$cross_compiling" = "no"
8901 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8903 # Extract the first word of "$ac_prog", so it can be a program name with args.
8904 set dummy $ac_prog; ac_word=$2
8905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8907 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8908 echo $ECHO_N "(cached) $ECHO_C" >&6
8910 if test -n "$CROSSCC"; then
8911 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8917 test -z "$as_dir" && as_dir=.
8918 for ac_exec_ext in '' $ac_executable_extensions; do
8919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8920 ac_cv_prog_CROSSCC="$ac_prog"
8921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8930 CROSSCC=$ac_cv_prog_CROSSCC
8931 if test -n "$CROSSCC"; then
8932 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8933 echo "${ECHO_T}$CROSSCC" >&6; }
8935 { echo "$as_me:$LINENO: result: no" >&5
8936 echo "${ECHO_T}no" >&6; }
8940 test -n "$CROSSCC" && break
8942 test -n "$CROSSCC" || CROSSCC="false"
8944 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8946 # Extract the first word of "$ac_prog", so it can be a program name with args.
8947 set dummy $ac_prog; ac_word=$2
8948 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8950 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8951 echo $ECHO_N "(cached) $ECHO_C" >&6
8953 if test -n "$DLLTOOL"; then
8954 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8960 test -z "$as_dir" && as_dir=.
8961 for ac_exec_ext in '' $ac_executable_extensions; do
8962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8963 ac_cv_prog_DLLTOOL="$ac_prog"
8964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8973 DLLTOOL=$ac_cv_prog_DLLTOOL
8974 if test -n "$DLLTOOL"; then
8975 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8976 echo "${ECHO_T}$DLLTOOL" >&6; }
8978 { echo "$as_me:$LINENO: result: no" >&5
8979 echo "${ECHO_T}no" >&6; }
8983 test -n "$DLLTOOL" && break
8985 test -n "$DLLTOOL" || DLLTOOL="false"
8987 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
8989 # Extract the first word of "$ac_prog", so it can be a program name with args.
8990 set dummy $ac_prog; ac_word=$2
8991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8993 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8994 echo $ECHO_N "(cached) $ECHO_C" >&6
8996 if test -n "$CROSSWINDRES"; then
8997 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9003 test -z "$as_dir" && as_dir=.
9004 for ac_exec_ext in '' $ac_executable_extensions; do
9005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9006 ac_cv_prog_CROSSWINDRES="$ac_prog"
9007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9016 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9017 if test -n "$CROSSWINDRES"; then
9018 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9019 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9021 { echo "$as_me:$LINENO: result: no" >&5
9022 echo "${ECHO_T}no" >&6; }
9026 test -n "$CROSSWINDRES" && break
9028 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9030 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9032 # Extract the first word of "$ac_prog", so it can be a program name with args.
9033 set dummy $ac_prog; ac_word=$2
9034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9036 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9037 echo $ECHO_N "(cached) $ECHO_C" >&6
9039 if test -n "$MINGWAR"; then
9040 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9046 test -z "$as_dir" && as_dir=.
9047 for ac_exec_ext in '' $ac_executable_extensions; do
9048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9049 ac_cv_prog_MINGWAR="$ac_prog"
9050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9059 MINGWAR=$ac_cv_prog_MINGWAR
9060 if test -n "$MINGWAR"; then
9061 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9062 echo "${ECHO_T}$MINGWAR" >&6; }
9064 { echo "$as_me:$LINENO: result: no" >&5
9065 echo "${ECHO_T}no" >&6; }
9069 test -n "$MINGWAR" && break
9071 test -n "$MINGWAR" || MINGWAR="false"
9073 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9078 if test "$LIBEXT" = "a"; then
9079 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9080 It is currently not possible to build Wine without shared library
9081 (.so) support to allow transparent switch between .so and .dll files.
9082 If you are using Linux, you will need a newer binutils.
9084 echo "$as_me: error: could not find a way to build shared libraries.
9085 It is currently not possible to build Wine without shared library
9086 (.so) support to allow transparent switch between .so and .dll files.
9087 If you are using Linux, you will need a newer binutils.
9089 { (exit 1); exit 1; }; }
9093 if test "$have_x" = "yes"
9096 ac_save_CPPFLAGS="$CPPFLAGS"
9097 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9099 { echo "$as_me:$LINENO: checking for -lX11" >&5
9100 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9101 if test "${ac_cv_lib_soname_X11+set}" = set; then
9102 echo $ECHO_N "(cached) $ECHO_C" >&6
9104 ac_check_soname_save_LIBS=$LIBS
9105 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9106 cat >conftest.$ac_ext <<_ACEOF
9109 cat confdefs.h >>conftest.$ac_ext
9110 cat >>conftest.$ac_ext <<_ACEOF
9111 /* end confdefs.h. */
9113 /* Override any GCC internal prototype to avoid an error.
9114 Use char because int might match the return type of a GCC
9115 builtin and then its argument prototype would still apply. */
9119 char XCreateWindow ();
9123 return XCreateWindow ();
9128 rm -f conftest.$ac_objext conftest$ac_exeext
9129 if { (ac_try="$ac_link"
9131 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9132 *) ac_try_echo
=$ac_try;;
9134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9135 (eval "$ac_link") 2>conftest.er1
9137 grep -v '^ *+' conftest.er1
>conftest.err
9139 cat conftest.err
>&5
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); } && {
9142 test -z "$ac_c_werror_flag" ||
9143 test ! -s conftest.err
9144 } && test -s conftest
$ac_exeext &&
9145 $as_test_x conftest
$ac_exeext; then
9148 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'` ;;
9149 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9152 echo "$as_me: failed program was:" >&5
9153 sed 's/^/| /' conftest.
$ac_ext >&5
9158 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9159 conftest
$ac_exeext conftest.
$ac_ext
9160 LIBS
=$ac_check_soname_save_LIBS
9162 if test "x$ac_cv_lib_soname_X11" = "x"; then
9163 { echo "$as_me:$LINENO: result: not found" >&5
9164 echo "${ECHO_T}not found" >&6; }
9167 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9168 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9170 cat >>confdefs.h
<<_ACEOF
9171 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9177 { echo "$as_me:$LINENO: checking for -lXext" >&5
9178 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9179 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9180 echo $ECHO_N "(cached) $ECHO_C" >&6
9182 ac_check_soname_save_LIBS
=$LIBS
9183 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9184 cat >conftest.
$ac_ext <<_ACEOF
9187 cat confdefs.h
>>conftest.
$ac_ext
9188 cat >>conftest.
$ac_ext <<_ACEOF
9189 /* end confdefs.h. */
9191 /* Override any GCC internal prototype to avoid an error.
9192 Use char because int might match the return type of a GCC
9193 builtin and then its argument prototype would still apply. */
9197 char XextCreateExtension ();
9201 return XextCreateExtension ();
9206 rm -f conftest.
$ac_objext conftest
$ac_exeext
9207 if { (ac_try
="$ac_link"
9209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9210 *) ac_try_echo=$ac_try;;
9212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9213 (eval "$ac_link") 2>conftest.er1
9215 grep -v '^ *+' conftest.er1 >conftest.err
9217 cat conftest.err >&5
9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9219 (exit $ac_status); } && {
9220 test -z "$ac_c_werror_flag" ||
9221 test ! -s conftest.err
9222 } && test -s conftest$ac_exeext &&
9223 $as_test_x conftest$ac_exeext; then
9226 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'` ;;
9227 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9230 echo "$as_me: failed program was:" >&5
9231 sed 's/^/| /' conftest.$ac_ext >&5
9236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9237 conftest$ac_exeext conftest.$ac_ext
9238 LIBS=$ac_check_soname_save_LIBS
9240 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9241 { echo "$as_me:$LINENO: result: not found" >&5
9242 echo "${ECHO_T}not found" >&6; }
9245 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9246 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9248 cat >>confdefs.h <<_ACEOF
9249 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9268 for ac_header in X11/Xlib.h \
9271 X11/Xcursor/Xcursor.h \
9272 X11/extensions/shape.h \
9273 X11/extensions/XInput.h \
9274 X11/extensions/XShm.h \
9275 X11/extensions/Xcomposite.h \
9276 X11/extensions/Xinerama.h \
9277 X11/extensions/Xrandr.h \
9278 X11/extensions/Xrender.h \
9279 X11/extensions/xf86vmode.h
9281 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9282 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9284 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9285 echo $ECHO_N "(cached) $ECHO_C" >&6
9287 cat >conftest.$ac_ext <<_ACEOF
9290 cat confdefs.h >>conftest.$ac_ext
9291 cat >>conftest.$ac_ext <<_ACEOF
9292 /* end confdefs.h. */
9293 #ifdef HAVE_X11_XLIB_H
9294 # include <X11/Xlib.h>
9296 #ifdef HAVE_X11_XUTIL_H
9297 # include <X11/Xutil.h>
9300 #include <$ac_header>
9302 rm -f conftest.$ac_objext
9303 if { (ac_try="$ac_compile"
9305 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9306 *) ac_try_echo
=$ac_try;;
9308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9309 (eval "$ac_compile") 2>conftest.er1
9311 grep -v '^ *+' conftest.er1
>conftest.err
9313 cat conftest.err
>&5
9314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9315 (exit $ac_status); } && {
9316 test -z "$ac_c_werror_flag" ||
9317 test ! -s conftest.err
9318 } && test -s conftest.
$ac_objext; then
9319 eval "$as_ac_Header=yes"
9321 echo "$as_me: failed program was:" >&5
9322 sed 's/^/| /' conftest.
$ac_ext >&5
9324 eval "$as_ac_Header=no"
9327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9329 ac_res
=`eval echo '${'$as_ac_Header'}'`
9330 { echo "$as_me:$LINENO: result: $ac_res" >&5
9331 echo "${ECHO_T}$ac_res" >&6; }
9332 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9333 cat >>confdefs.h
<<_ACEOF
9334 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9342 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9344 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9345 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9346 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9347 echo $ECHO_N "(cached) $ECHO_C" >&6
9349 ac_check_lib_save_LIBS
=$LIBS
9350 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9351 cat >conftest.
$ac_ext <<_ACEOF
9354 cat confdefs.h
>>conftest.
$ac_ext
9355 cat >>conftest.
$ac_ext <<_ACEOF
9356 /* end confdefs.h. */
9358 /* Override any GCC internal prototype to avoid an error.
9359 Use char because int might match the return type of a GCC
9360 builtin and then its argument prototype would still apply. */
9364 char XkbQueryExtension ();
9368 return XkbQueryExtension ();
9373 rm -f conftest.
$ac_objext conftest
$ac_exeext
9374 if { (ac_try
="$ac_link"
9376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9377 *) ac_try_echo=$ac_try;;
9379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9380 (eval "$ac_link") 2>conftest.er1
9382 grep -v '^ *+' conftest.er1 >conftest.err
9384 cat conftest.err >&5
9385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9386 (exit $ac_status); } && {
9387 test -z "$ac_c_werror_flag" ||
9388 test ! -s conftest.err
9389 } && test -s conftest$ac_exeext &&
9390 $as_test_x conftest$ac_exeext; then
9391 ac_cv_lib_X11_XkbQueryExtension=yes
9393 echo "$as_me: failed program was:" >&5
9394 sed 's/^/| /' conftest.$ac_ext >&5
9396 ac_cv_lib_X11_XkbQueryExtension=no
9399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9400 conftest$ac_exeext conftest.$ac_ext
9401 LIBS=$ac_check_lib_save_LIBS
9403 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9404 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9405 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9407 cat >>confdefs.h <<\_ACEOF
9415 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9417 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9418 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9419 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9420 echo $ECHO_N "(cached) $ECHO_C" >&6
9422 ac_check_soname_save_LIBS=$LIBS
9423 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9424 cat >conftest.$ac_ext <<_ACEOF
9427 cat confdefs.h >>conftest.$ac_ext
9428 cat >>conftest.$ac_ext <<_ACEOF
9429 /* end confdefs.h. */
9431 /* Override any GCC internal prototype to avoid an error.
9432 Use char because int might match the return type of a GCC
9433 builtin and then its argument prototype would still apply. */
9437 char XcursorImageLoadCursor ();
9441 return XcursorImageLoadCursor ();
9446 rm -f conftest.$ac_objext conftest$ac_exeext
9447 if { (ac_try="$ac_link"
9449 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9450 *) ac_try_echo
=$ac_try;;
9452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9453 (eval "$ac_link") 2>conftest.er1
9455 grep -v '^ *+' conftest.er1
>conftest.err
9457 cat conftest.err
>&5
9458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459 (exit $ac_status); } && {
9460 test -z "$ac_c_werror_flag" ||
9461 test ! -s conftest.err
9462 } && test -s conftest
$ac_exeext &&
9463 $as_test_x conftest
$ac_exeext; then
9466 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'` ;;
9467 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9470 echo "$as_me: failed program was:" >&5
9471 sed 's/^/| /' conftest.
$ac_ext >&5
9476 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9477 conftest
$ac_exeext conftest.
$ac_ext
9478 LIBS
=$ac_check_soname_save_LIBS
9480 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9481 { echo "$as_me:$LINENO: result: not found" >&5
9482 echo "${ECHO_T}not found" >&6; }
9485 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9486 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9488 cat >>confdefs.h
<<_ACEOF
9489 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9497 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9499 { echo "$as_me:$LINENO: checking for -lXi" >&5
9500 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9501 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9502 echo $ECHO_N "(cached) $ECHO_C" >&6
9504 ac_check_soname_save_LIBS
=$LIBS
9505 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9506 cat >conftest.
$ac_ext <<_ACEOF
9509 cat confdefs.h
>>conftest.
$ac_ext
9510 cat >>conftest.
$ac_ext <<_ACEOF
9511 /* end confdefs.h. */
9513 /* Override any GCC internal prototype to avoid an error.
9514 Use char because int might match the return type of a GCC
9515 builtin and then its argument prototype would still apply. */
9519 char XOpenDevice ();
9523 return XOpenDevice ();
9528 rm -f conftest.
$ac_objext conftest
$ac_exeext
9529 if { (ac_try
="$ac_link"
9531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9532 *) ac_try_echo=$ac_try;;
9534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9535 (eval "$ac_link") 2>conftest.er1
9537 grep -v '^ *+' conftest.er1 >conftest.err
9539 cat conftest.err >&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); } && {
9542 test -z "$ac_c_werror_flag" ||
9543 test ! -s conftest.err
9544 } && test -s conftest$ac_exeext &&
9545 $as_test_x conftest$ac_exeext; then
9548 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'` ;;
9549 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9552 echo "$as_me: failed program was:" >&5
9553 sed 's/^/| /' conftest.$ac_ext >&5
9558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9559 conftest$ac_exeext conftest.$ac_ext
9560 LIBS=$ac_check_soname_save_LIBS
9562 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9563 { echo "$as_me:$LINENO: result: not found" >&5
9564 echo "${ECHO_T}not found" >&6; }
9567 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9568 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9570 cat >>confdefs.h <<_ACEOF
9571 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9579 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9581 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9582 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9583 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9584 echo $ECHO_N "(cached) $ECHO_C" >&6
9586 ac_check_lib_save_LIBS=$LIBS
9587 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9588 cat >conftest.$ac_ext <<_ACEOF
9591 cat confdefs.h >>conftest.$ac_ext
9592 cat >>conftest.$ac_ext <<_ACEOF
9593 /* end confdefs.h. */
9595 /* Override any GCC internal prototype to avoid an error.
9596 Use char because int might match the return type of a GCC
9597 builtin and then its argument prototype would still apply. */
9601 char XShmQueryExtension ();
9605 return XShmQueryExtension ();
9610 rm -f conftest.$ac_objext conftest$ac_exeext
9611 if { (ac_try="$ac_link"
9613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9614 *) ac_try_echo
=$ac_try;;
9616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9617 (eval "$ac_link") 2>conftest.er1
9619 grep -v '^ *+' conftest.er1
>conftest.err
9621 cat conftest.err
>&5
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); } && {
9624 test -z "$ac_c_werror_flag" ||
9625 test ! -s conftest.err
9626 } && test -s conftest
$ac_exeext &&
9627 $as_test_x conftest
$ac_exeext; then
9628 ac_cv_lib_Xext_XShmQueryExtension
=yes
9630 echo "$as_me: failed program was:" >&5
9631 sed 's/^/| /' conftest.
$ac_ext >&5
9633 ac_cv_lib_Xext_XShmQueryExtension
=no
9636 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9637 conftest
$ac_exeext conftest.
$ac_ext
9638 LIBS
=$ac_check_lib_save_LIBS
9640 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9641 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9642 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9644 cat >>confdefs.h
<<\_ACEOF
9645 #define HAVE_LIBXXSHM 1
9651 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9652 wine_notices
="$wine_notices|XShm development files not found.
9653 Wine will be built without XShm support. (winex11.drv)"
9657 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9659 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9660 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9661 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9662 echo $ECHO_N "(cached) $ECHO_C" >&6
9664 ac_check_lib_save_LIBS
=$LIBS
9665 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9666 cat >conftest.
$ac_ext <<_ACEOF
9669 cat confdefs.h
>>conftest.
$ac_ext
9670 cat >>conftest.
$ac_ext <<_ACEOF
9671 /* end confdefs.h. */
9673 /* Override any GCC internal prototype to avoid an error.
9674 Use char because int might match the return type of a GCC
9675 builtin and then its argument prototype would still apply. */
9679 char XShapeQueryExtension ();
9683 return XShapeQueryExtension ();
9688 rm -f conftest.
$ac_objext conftest
$ac_exeext
9689 if { (ac_try
="$ac_link"
9691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9692 *) ac_try_echo=$ac_try;;
9694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9695 (eval "$ac_link") 2>conftest.er1
9697 grep -v '^ *+' conftest.er1 >conftest.err
9699 cat conftest.err >&5
9700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9701 (exit $ac_status); } && {
9702 test -z "$ac_c_werror_flag" ||
9703 test ! -s conftest.err
9704 } && test -s conftest$ac_exeext &&
9705 $as_test_x conftest$ac_exeext; then
9706 ac_cv_lib_Xext_XShapeQueryExtension=yes
9708 echo "$as_me: failed program was:" >&5
9709 sed 's/^/| /' conftest.$ac_ext >&5
9711 ac_cv_lib_Xext_XShapeQueryExtension=no
9714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9715 conftest$ac_exeext conftest.$ac_ext
9716 LIBS=$ac_check_lib_save_LIBS
9718 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9719 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9720 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9722 cat >>confdefs.h <<\_ACEOF
9723 #define HAVE_LIBXSHAPE 1
9729 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9730 wine_notices="$wine_notices|XShape development files not found.
9731 Wine will be built without XShape support. (winex11.drv)"
9735 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9737 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9738 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9739 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9740 echo $ECHO_N "(cached) $ECHO_C" >&6
9742 ac_check_lib_save_LIBS=$LIBS
9743 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9744 cat >conftest.$ac_ext <<_ACEOF
9747 cat confdefs.h >>conftest.$ac_ext
9748 cat >>conftest.$ac_ext <<_ACEOF
9749 /* end confdefs.h. */
9751 /* Override any GCC internal prototype to avoid an error.
9752 Use char because int might match the return type of a GCC
9753 builtin and then its argument prototype would still apply. */
9757 char XF86VidModeQueryExtension ();
9761 return XF86VidModeQueryExtension ();
9766 rm -f conftest.$ac_objext conftest$ac_exeext
9767 if { (ac_try="$ac_link"
9769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9770 *) ac_try_echo
=$ac_try;;
9772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9773 (eval "$ac_link") 2>conftest.er1
9775 grep -v '^ *+' conftest.er1
>conftest.err
9777 cat conftest.err
>&5
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); } && {
9780 test -z "$ac_c_werror_flag" ||
9781 test ! -s conftest.err
9782 } && test -s conftest
$ac_exeext &&
9783 $as_test_x conftest
$ac_exeext; then
9784 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
9786 echo "$as_me: failed program was:" >&5
9787 sed 's/^/| /' conftest.
$ac_ext >&5
9789 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
9792 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9793 conftest
$ac_exeext conftest.
$ac_ext
9794 LIBS
=$ac_check_lib_save_LIBS
9796 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9797 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9798 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9800 cat >>confdefs.h
<<\_ACEOF
9801 #define HAVE_LIBXXF86VM 1
9804 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
9809 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9810 wine_notices
="$wine_notices|Xxf86vm development files not found.
9811 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9815 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"
9817 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9818 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9819 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9820 echo $ECHO_N "(cached) $ECHO_C" >&6
9822 ac_check_soname_save_LIBS
=$LIBS
9823 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9824 cat >conftest.
$ac_ext <<_ACEOF
9827 cat confdefs.h
>>conftest.
$ac_ext
9828 cat >>conftest.
$ac_ext <<_ACEOF
9829 /* end confdefs.h. */
9831 /* Override any GCC internal prototype to avoid an error.
9832 Use char because int might match the return type of a GCC
9833 builtin and then its argument prototype would still apply. */
9837 char XRenderQueryExtension ();
9841 return XRenderQueryExtension ();
9846 rm -f conftest.
$ac_objext conftest
$ac_exeext
9847 if { (ac_try
="$ac_link"
9849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9850 *) ac_try_echo=$ac_try;;
9852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9853 (eval "$ac_link") 2>conftest.er1
9855 grep -v '^ *+' conftest.er1 >conftest.err
9857 cat conftest.err >&5
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 (exit $ac_status); } && {
9860 test -z "$ac_c_werror_flag" ||
9861 test ! -s conftest.err
9862 } && test -s conftest$ac_exeext &&
9863 $as_test_x conftest$ac_exeext; then
9866 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'` ;;
9867 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9870 echo "$as_me: failed program was:" >&5
9871 sed 's/^/| /' conftest.$ac_ext >&5
9876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9877 conftest$ac_exeext conftest.$ac_ext
9878 LIBS=$ac_check_soname_save_LIBS
9880 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9881 { echo "$as_me:$LINENO: result: not found" >&5
9882 echo "${ECHO_T}not found" >&6; }
9885 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9886 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9888 cat >>confdefs.h <<_ACEOF
9889 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9892 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9893 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9894 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9895 echo $ECHO_N "(cached) $ECHO_C" >&6
9897 ac_check_lib_save_LIBS=$LIBS
9898 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9899 cat >conftest.$ac_ext <<_ACEOF
9902 cat confdefs.h >>conftest.$ac_ext
9903 cat >>conftest.$ac_ext <<_ACEOF
9904 /* end confdefs.h. */
9906 /* Override any GCC internal prototype to avoid an error.
9907 Use char because int might match the return type of a GCC
9908 builtin and then its argument prototype would still apply. */
9912 char XRenderSetPictureTransform ();
9916 return XRenderSetPictureTransform ();
9921 rm -f conftest.$ac_objext conftest$ac_exeext
9922 if { (ac_try="$ac_link"
9924 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9925 *) ac_try_echo
=$ac_try;;
9927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9928 (eval "$ac_link") 2>conftest.er1
9930 grep -v '^ *+' conftest.er1
>conftest.err
9932 cat conftest.err
>&5
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); } && {
9935 test -z "$ac_c_werror_flag" ||
9936 test ! -s conftest.err
9937 } && test -s conftest
$ac_exeext &&
9938 $as_test_x conftest
$ac_exeext; then
9939 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9941 echo "$as_me: failed program was:" >&5
9942 sed 's/^/| /' conftest.
$ac_ext >&5
9944 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9947 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9948 conftest
$ac_exeext conftest.
$ac_ext
9949 LIBS
=$ac_check_lib_save_LIBS
9951 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9952 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9953 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9955 cat >>confdefs.h
<<\_ACEOF
9956 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9965 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9966 wine_notices
="$wine_notices|XRender development files not found.
9967 Wine will be built without XRender support. (winex11.drv)"
9971 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9973 cat >conftest.
$ac_ext <<_ACEOF
9976 cat confdefs.h
>>conftest.
$ac_ext
9977 cat >>conftest.
$ac_ext <<_ACEOF
9978 /* end confdefs.h. */
9979 #include <X11/Xlib.h>
9980 #include <X11/extensions/Xrandr.h>
9984 static typeof(XRRSetScreenConfigAndRate) * func;
9989 rm -f conftest.
$ac_objext
9990 if { (ac_try
="$ac_compile"
9992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9993 *) ac_try_echo=$ac_try;;
9995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9996 (eval "$ac_compile") 2>conftest.er1
9998 grep -v '^ *+' conftest.er1 >conftest.err
10000 cat conftest.err >&5
10001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10002 (exit $ac_status); } && {
10003 test -z "$ac_c_werror_flag" ||
10004 test ! -s conftest.err
10005 } && test -s conftest.$ac_objext; then
10006 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10007 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10008 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10009 echo $ECHO_N "(cached) $ECHO_C" >&6
10011 ac_check_soname_save_LIBS=$LIBS
10012 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10013 cat >conftest.$ac_ext <<_ACEOF
10016 cat confdefs.h >>conftest.$ac_ext
10017 cat >>conftest.$ac_ext <<_ACEOF
10018 /* end confdefs.h. */
10020 /* Override any GCC internal prototype to avoid an error.
10021 Use char because int might match the return type of a GCC
10022 builtin and then its argument prototype would still apply. */
10026 char XRRQueryExtension ();
10030 return XRRQueryExtension ();
10035 rm -f conftest.$ac_objext conftest$ac_exeext
10036 if { (ac_try="$ac_link"
10037 case "(($ac_try" in
10038 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10039 *) ac_try_echo
=$ac_try;;
10041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10042 (eval "$ac_link") 2>conftest.er1
10044 grep -v '^ *+' conftest.er1
>conftest.err
10046 cat conftest.err
>&5
10047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048 (exit $ac_status); } && {
10049 test -z "$ac_c_werror_flag" ||
10050 test ! -s conftest.err
10051 } && test -s conftest
$ac_exeext &&
10052 $as_test_x conftest
$ac_exeext; then
10055 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'` ;;
10056 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10059 echo "$as_me: failed program was:" >&5
10060 sed 's/^/| /' conftest.
$ac_ext >&5
10065 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10066 conftest
$ac_exeext conftest.
$ac_ext
10067 LIBS
=$ac_check_soname_save_LIBS
10069 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10070 { echo "$as_me:$LINENO: result: not found" >&5
10071 echo "${ECHO_T}not found" >&6; }
10074 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10075 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10077 cat >>confdefs.h
<<_ACEOF
10078 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10085 echo "$as_me: failed program was:" >&5
10086 sed 's/^/| /' conftest.
$ac_ext >&5
10091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10093 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10094 wine_notices
="$wine_notices|XRandr development files not found.
10095 Wine will be built without XRandr support. (winex11.drv)"
10099 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10101 cat >conftest.
$ac_ext <<_ACEOF
10104 cat confdefs.h
>>conftest.
$ac_ext
10105 cat >>conftest.
$ac_ext <<_ACEOF
10106 /* end confdefs.h. */
10107 #include <X11/Xlib.h>
10108 #include <X11/extensions/Xinerama.h>
10112 static typeof(XineramaQueryScreens) * func;
10117 rm -f conftest.
$ac_objext
10118 if { (ac_try
="$ac_compile"
10119 case "(($ac_try" in
10120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10121 *) ac_try_echo=$ac_try;;
10123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10124 (eval "$ac_compile") 2>conftest.er1
10126 grep -v '^ *+' conftest.er1 >conftest.err
10128 cat conftest.err >&5
10129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10130 (exit $ac_status); } && {
10131 test -z "$ac_c_werror_flag" ||
10132 test ! -s conftest.err
10133 } && test -s conftest.$ac_objext; then
10134 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10135 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10136 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10137 echo $ECHO_N "(cached) $ECHO_C" >&6
10139 ac_check_soname_save_LIBS=$LIBS
10140 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10141 cat >conftest.$ac_ext <<_ACEOF
10144 cat confdefs.h >>conftest.$ac_ext
10145 cat >>conftest.$ac_ext <<_ACEOF
10146 /* end confdefs.h. */
10148 /* Override any GCC internal prototype to avoid an error.
10149 Use char because int might match the return type of a GCC
10150 builtin and then its argument prototype would still apply. */
10154 char XineramaQueryScreens ();
10158 return XineramaQueryScreens ();
10163 rm -f conftest.$ac_objext conftest$ac_exeext
10164 if { (ac_try="$ac_link"
10165 case "(($ac_try" in
10166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10167 *) ac_try_echo
=$ac_try;;
10169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10170 (eval "$ac_link") 2>conftest.er1
10172 grep -v '^ *+' conftest.er1
>conftest.err
10174 cat conftest.err
>&5
10175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10176 (exit $ac_status); } && {
10177 test -z "$ac_c_werror_flag" ||
10178 test ! -s conftest.err
10179 } && test -s conftest
$ac_exeext &&
10180 $as_test_x conftest
$ac_exeext; then
10183 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'` ;;
10184 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10187 echo "$as_me: failed program was:" >&5
10188 sed 's/^/| /' conftest.
$ac_ext >&5
10193 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10194 conftest
$ac_exeext conftest.
$ac_ext
10195 LIBS
=$ac_check_soname_save_LIBS
10197 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10198 { echo "$as_me:$LINENO: result: not found" >&5
10199 echo "${ECHO_T}not found" >&6; }
10202 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10203 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10205 cat >>confdefs.h
<<_ACEOF
10206 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10213 echo "$as_me: failed program was:" >&5
10214 sed 's/^/| /' conftest.
$ac_ext >&5
10219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10221 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10222 wine_notices
="$wine_notices|Xinerama development files not found.
10223 Wine will be built without Xinerama support. (winex11.drv)"
10227 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10229 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10230 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10231 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10232 echo $ECHO_N "(cached) $ECHO_C" >&6
10234 ac_check_soname_save_LIBS
=$LIBS
10235 LIBS
="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10236 cat >conftest.
$ac_ext <<_ACEOF
10239 cat confdefs.h
>>conftest.
$ac_ext
10240 cat >>conftest.
$ac_ext <<_ACEOF
10241 /* end confdefs.h. */
10243 /* Override any GCC internal prototype to avoid an error.
10244 Use char because int might match the return type of a GCC
10245 builtin and then its argument prototype would still apply. */
10249 char XCompositeRedirectWindow ();
10253 return XCompositeRedirectWindow ();
10258 rm -f conftest.
$ac_objext conftest
$ac_exeext
10259 if { (ac_try
="$ac_link"
10260 case "(($ac_try" in
10261 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10262 *) ac_try_echo=$ac_try;;
10264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10265 (eval "$ac_link") 2>conftest.er1
10267 grep -v '^ *+' conftest.er1 >conftest.err
10269 cat conftest.err >&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); } && {
10272 test -z "$ac_c_werror_flag" ||
10273 test ! -s conftest.err
10274 } && test -s conftest$ac_exeext &&
10275 $as_test_x conftest$ac_exeext; then
10278 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'` ;;
10279 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXcomposite\\.$LIBEXT" |
sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10282 echo "$as_me: failed program was:" >&5
10283 sed 's/^/| /' conftest.$ac_ext >&5
10288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10289 conftest$ac_exeext conftest.$ac_ext
10290 LIBS=$ac_check_soname_save_LIBS
10292 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10293 { echo "$as_me:$LINENO: result: not found" >&5
10294 echo "${ECHO_T}not found" >&6; }
10297 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10298 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10300 cat >>confdefs.h <<_ACEOF
10301 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10308 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10309 wine_notices="$wine_notices|XComposite development files not found.
10310 Wine will be built without XComposite support. (winex11.drv)"
10315 if test "x$with_opengl" != "xno"
10321 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10323 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10324 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10326 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10327 echo $ECHO_N "(cached) $ECHO_C" >&6
10329 cat >conftest.$ac_ext <<_ACEOF
10332 cat confdefs.h >>conftest.$ac_ext
10333 cat >>conftest.$ac_ext <<_ACEOF
10334 /* end confdefs.h. */
10335 #ifdef HAVE_GL_GLX_H
10336 # include <GL/glx.h>
10339 #include <$ac_header>
10341 rm -f conftest.$ac_objext
10342 if { (ac_try="$ac_compile"
10343 case "(($ac_try" in
10344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10345 *) ac_try_echo
=$ac_try;;
10347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10348 (eval "$ac_compile") 2>conftest.er1
10350 grep -v '^ *+' conftest.er1
>conftest.err
10352 cat conftest.err
>&5
10353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10354 (exit $ac_status); } && {
10355 test -z "$ac_c_werror_flag" ||
10356 test ! -s conftest.err
10357 } && test -s conftest.
$ac_objext; then
10358 eval "$as_ac_Header=yes"
10360 echo "$as_me: failed program was:" >&5
10361 sed 's/^/| /' conftest.
$ac_ext >&5
10363 eval "$as_ac_Header=no"
10366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10368 ac_res
=`eval echo '${'$as_ac_Header'}'`
10369 { echo "$as_me:$LINENO: result: $ac_res" >&5
10370 echo "${ECHO_T}$ac_res" >&6; }
10371 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10372 cat >>confdefs.h
<<_ACEOF
10373 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10380 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10382 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10383 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10384 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10385 echo $ECHO_N "(cached) $ECHO_C" >&6
10387 cat >conftest.
$ac_ext <<_ACEOF
10390 cat confdefs.h
>>conftest.
$ac_ext
10391 cat >>conftest.
$ac_ext <<_ACEOF
10392 /* end confdefs.h. */
10397 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10402 rm -f conftest.
$ac_objext
10403 if { (ac_try
="$ac_compile"
10404 case "(($ac_try" in
10405 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10406 *) ac_try_echo=$ac_try;;
10408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10409 (eval "$ac_compile") 2>conftest.er1
10411 grep -v '^ *+' conftest.er1 >conftest.err
10413 cat conftest.err >&5
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); } && {
10416 test -z "$ac_c_werror_flag" ||
10417 test ! -s conftest.err
10418 } && test -s conftest.$ac_objext; then
10419 wine_cv_opengl_header_version_OK="yes"
10421 echo "$as_me: failed program was:" >&5
10422 sed 's/^/| /' conftest.$ac_ext >&5
10424 wine_cv_opengl_header_version_OK="no"
10427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10429 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10430 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10432 if test "$wine_cv_opengl_header_version_OK" = "yes"
10434 { echo "$as_me:$LINENO: checking for -lGL" >&5
10435 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10436 if test "${ac_cv_lib_soname_GL+set}" = set; then
10437 echo $ECHO_N "(cached) $ECHO_C" >&6
10439 ac_check_soname_save_LIBS=$LIBS
10440 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10441 cat >conftest.$ac_ext <<_ACEOF
10444 cat confdefs.h >>conftest.$ac_ext
10445 cat >>conftest.$ac_ext <<_ACEOF
10446 /* end confdefs.h. */
10448 /* Override any GCC internal prototype to avoid an error.
10449 Use char because int might match the return type of a GCC
10450 builtin and then its argument prototype would still apply. */
10454 char glXCreateContext ();
10458 return glXCreateContext ();
10463 rm -f conftest.$ac_objext conftest$ac_exeext
10464 if { (ac_try="$ac_link"
10465 case "(($ac_try" in
10466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10467 *) ac_try_echo
=$ac_try;;
10469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10470 (eval "$ac_link") 2>conftest.er1
10472 grep -v '^ *+' conftest.er1
>conftest.err
10474 cat conftest.err
>&5
10475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10476 (exit $ac_status); } && {
10477 test -z "$ac_c_werror_flag" ||
10478 test ! -s conftest.err
10479 } && test -s conftest
$ac_exeext &&
10480 $as_test_x conftest
$ac_exeext; then
10483 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'` ;;
10484 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10487 echo "$as_me: failed program was:" >&5
10488 sed 's/^/| /' conftest.
$ac_ext >&5
10493 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10494 conftest
$ac_exeext conftest.
$ac_ext
10495 LIBS
=$ac_check_soname_save_LIBS
10497 if test "x$ac_cv_lib_soname_GL" = "x"; then
10498 { echo "$as_me:$LINENO: result: not found" >&5
10499 echo "${ECHO_T}not found" >&6; }
10500 if test -f /usr
/X11R
6/lib
/libGL.a
10502 wine_warnings
="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10503 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10505 wine_warnings
="$wine_warnings|No OpenGL library found on this system.
10506 Wine will be build without OpenGL or Direct3D support."
10509 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10510 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10512 cat >>confdefs.h
<<_ACEOF
10513 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10517 OPENGLFILES
='$(OPENGLFILES)'
10519 cat >>confdefs.h
<<\_ACEOF
10520 #define HAVE_OPENGL 1
10526 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10527 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10528 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10529 echo $ECHO_N "(cached) $ECHO_C" >&6
10531 ac_check_lib_save_LIBS
=$LIBS
10532 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10533 cat >conftest.
$ac_ext <<_ACEOF
10536 cat confdefs.h
>>conftest.
$ac_ext
10537 cat >>conftest.
$ac_ext <<_ACEOF
10538 /* end confdefs.h. */
10540 /* Override any GCC internal prototype to avoid an error.
10541 Use char because int might match the return type of a GCC
10542 builtin and then its argument prototype would still apply. */
10550 return gluLookAt ();
10555 rm -f conftest.
$ac_objext conftest
$ac_exeext
10556 if { (ac_try
="$ac_link"
10557 case "(($ac_try" in
10558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10559 *) ac_try_echo=$ac_try;;
10561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10562 (eval "$ac_link") 2>conftest.er1
10564 grep -v '^ *+' conftest.er1 >conftest.err
10566 cat conftest.err >&5
10567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10568 (exit $ac_status); } && {
10569 test -z "$ac_c_werror_flag" ||
10570 test ! -s conftest.err
10571 } && test -s conftest$ac_exeext &&
10572 $as_test_x conftest$ac_exeext; then
10573 ac_cv_lib_GLU_gluLookAt=yes
10575 echo "$as_me: failed program was:" >&5
10576 sed 's/^/| /' conftest.$ac_ext >&5
10578 ac_cv_lib_GLU_gluLookAt=no
10581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10582 conftest$ac_exeext conftest.$ac_ext
10583 LIBS=$ac_check_lib_save_LIBS
10585 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10586 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10587 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10588 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10589 GLU32FILES='$(GLU32FILES)'
10594 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10595 Wine will be build without OpenGL or Direct3D support."
10598 wine_warnings="$wine_warnings|OpenGL development headers not found.
10599 Wine will be build without OpenGL or Direct3D support."
10606 for ac_header in audio/audiolib.h
10608 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10609 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10610 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10612 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10613 echo $ECHO_N "(cached) $ECHO_C" >&6
10615 ac_res=`eval echo '${'$as_ac_Header'}'`
10616 { echo "$as_me:$LINENO: result: $ac_res" >&5
10617 echo "${ECHO_T}$ac_res" >&6; }
10619 # Is the header compilable?
10620 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10621 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10622 cat >conftest.$ac_ext <<_ACEOF
10625 cat confdefs.h >>conftest.$ac_ext
10626 cat >>conftest.$ac_ext <<_ACEOF
10627 /* end confdefs.h. */
10628 $ac_includes_default
10629 #include <$ac_header>
10631 rm -f conftest.$ac_objext
10632 if { (ac_try="$ac_compile"
10633 case "(($ac_try" in
10634 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10635 *) ac_try_echo
=$ac_try;;
10637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10638 (eval "$ac_compile") 2>conftest.er1
10640 grep -v '^ *+' conftest.er1
>conftest.err
10642 cat conftest.err
>&5
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); } && {
10645 test -z "$ac_c_werror_flag" ||
10646 test ! -s conftest.err
10647 } && test -s conftest.
$ac_objext; then
10648 ac_header_compiler
=yes
10650 echo "$as_me: failed program was:" >&5
10651 sed 's/^/| /' conftest.
$ac_ext >&5
10653 ac_header_compiler
=no
10656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10657 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10658 echo "${ECHO_T}$ac_header_compiler" >&6; }
10660 # Is the header present?
10661 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10662 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10663 cat >conftest.
$ac_ext <<_ACEOF
10666 cat confdefs.h
>>conftest.
$ac_ext
10667 cat >>conftest.
$ac_ext <<_ACEOF
10668 /* end confdefs.h. */
10669 #include <$ac_header>
10671 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10672 case "(($ac_try" in
10673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10674 *) ac_try_echo=$ac_try;;
10676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10677 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10679 grep -v '^ *+' conftest.er1 >conftest.err
10681 cat conftest.err >&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); } >/dev/null && {
10684 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10685 test ! -s conftest.err
10687 ac_header_preproc=yes
10689 echo "$as_me: failed program was:" >&5
10690 sed 's/^/| /' conftest.$ac_ext >&5
10692 ac_header_preproc=no
10695 rm -f conftest.err conftest.$ac_ext
10696 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10697 echo "${ECHO_T}$ac_header_preproc" >&6; }
10699 # So? What about this header?
10700 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10702 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10703 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10705 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10706 ac_header_preproc=yes
10709 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10710 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10711 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10712 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10713 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10714 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10715 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10716 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10717 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10718 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10719 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10720 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10722 ## ------------------------------------ ##
10723 ## Report this to wine-devel@winehq.org ##
10724 ## ------------------------------------ ##
10726 ) | sed "s/^/$as_me: WARNING: /" >&2
10729 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10731 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10732 echo $ECHO_N "(cached) $ECHO_C" >&6
10734 eval "$as_ac_Header=\$ac_header_preproc"
10736 ac_res=`eval echo '${'$as_ac_Header'}'`
10737 { echo "$as_me:$LINENO: result: $ac_res" >&5
10738 echo "${ECHO_T}$ac_res" >&6; }
10741 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10742 cat >>confdefs.h <<_ACEOF
10743 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10746 for ac_header in audio/soundlib.h
10748 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10749 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10751 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10752 echo $ECHO_N "(cached) $ECHO_C" >&6
10754 cat >conftest.$ac_ext <<_ACEOF
10757 cat confdefs.h >>conftest.$ac_ext
10758 cat >>conftest.$ac_ext <<_ACEOF
10759 /* end confdefs.h. */
10760 #include <audio/audiolib.h>
10762 #include <$ac_header>
10764 rm -f conftest.$ac_objext
10765 if { (ac_try="$ac_compile"
10766 case "(($ac_try" in
10767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10768 *) ac_try_echo
=$ac_try;;
10770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10771 (eval "$ac_compile") 2>conftest.er1
10773 grep -v '^ *+' conftest.er1
>conftest.err
10775 cat conftest.err
>&5
10776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); } && {
10778 test -z "$ac_c_werror_flag" ||
10779 test ! -s conftest.err
10780 } && test -s conftest.
$ac_objext; then
10781 eval "$as_ac_Header=yes"
10783 echo "$as_me: failed program was:" >&5
10784 sed 's/^/| /' conftest.
$ac_ext >&5
10786 eval "$as_ac_Header=no"
10789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10791 ac_res
=`eval echo '${'$as_ac_Header'}'`
10792 { echo "$as_me:$LINENO: result: $ac_res" >&5
10793 echo "${ECHO_T}$ac_res" >&6; }
10794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10795 cat >>confdefs.h
<<_ACEOF
10796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10803 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10804 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10805 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10806 echo $ECHO_N "(cached) $ECHO_C" >&6
10808 ac_check_lib_save_LIBS
=$LIBS
10809 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10810 cat >conftest.
$ac_ext <<_ACEOF
10813 cat confdefs.h
>>conftest.
$ac_ext
10814 cat >>conftest.
$ac_ext <<_ACEOF
10815 /* end confdefs.h. */
10817 /* Override any GCC internal prototype to avoid an error.
10818 Use char because int might match the return type of a GCC
10819 builtin and then its argument prototype would still apply. */
10823 char AuCreateFlow ();
10827 return AuCreateFlow ();
10832 rm -f conftest.
$ac_objext conftest
$ac_exeext
10833 if { (ac_try
="$ac_link"
10834 case "(($ac_try" in
10835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10836 *) ac_try_echo=$ac_try;;
10838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10839 (eval "$ac_link") 2>conftest.er1
10841 grep -v '^ *+' conftest.er1 >conftest.err
10843 cat conftest.err >&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); } && {
10846 test -z "$ac_c_werror_flag" ||
10847 test ! -s conftest.err
10848 } && test -s conftest$ac_exeext &&
10849 $as_test_x conftest$ac_exeext; then
10850 ac_cv_lib_audio_AuCreateFlow=yes
10852 echo "$as_me: failed program was:" >&5
10853 sed 's/^/| /' conftest.$ac_ext >&5
10855 ac_cv_lib_audio_AuCreateFlow=no
10858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10859 conftest$ac_exeext conftest.$ac_ext
10860 LIBS=$ac_check_lib_save_LIBS
10862 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10863 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10864 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10866 cat >>confdefs.h <<\_ACEOF
10870 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10871 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10872 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10873 echo $ECHO_N "(cached) $ECHO_C" >&6
10875 ac_check_lib_save_LIBS=$LIBS
10876 LIBS="-lXau $X_LIBS $LIBS"
10877 cat >conftest.$ac_ext <<_ACEOF
10880 cat confdefs.h >>conftest.$ac_ext
10881 cat >>conftest.$ac_ext <<_ACEOF
10882 /* end confdefs.h. */
10884 /* Override any GCC internal prototype to avoid an error.
10885 Use char because int might match the return type of a GCC
10886 builtin and then its argument prototype would still apply. */
10890 char XauGetBestAuthByAddr ();
10894 return XauGetBestAuthByAddr ();
10899 rm -f conftest.$ac_objext conftest$ac_exeext
10900 if { (ac_try="$ac_link"
10901 case "(($ac_try" in
10902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10903 *) ac_try_echo
=$ac_try;;
10905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10906 (eval "$ac_link") 2>conftest.er1
10908 grep -v '^ *+' conftest.er1
>conftest.err
10910 cat conftest.err
>&5
10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); } && {
10913 test -z "$ac_c_werror_flag" ||
10914 test ! -s conftest.err
10915 } && test -s conftest
$ac_exeext &&
10916 $as_test_x conftest
$ac_exeext; then
10917 ac_cv_lib_Xau_XauGetBestAuthByAddr
=yes
10919 echo "$as_me: failed program was:" >&5
10920 sed 's/^/| /' conftest.
$ac_ext >&5
10922 ac_cv_lib_Xau_XauGetBestAuthByAddr
=no
10925 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10926 conftest
$ac_exeext conftest.
$ac_ext
10927 LIBS
=$ac_check_lib_save_LIBS
10929 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10930 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10931 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10932 NASLIBS
="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10934 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10945 CPPFLAGS
="$ac_save_CPPFLAGS"
10951 wine_warnings
="$wine_warnings|X development files not found. Wine will be built
10952 without X support, which probably isn't what you want. You will need to install
10953 development packages of Xlib/Xfree86 at the very least."
10965 ac_save_CPPFLAGS
="$CPPFLAGS"
10966 if test "$PKG_CONFIG" != "false"
10968 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10969 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10971 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
10972 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
10974 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
10976 for ac_header
in libxml
/parser.h
10978 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10979 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10980 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10982 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10983 echo $ECHO_N "(cached) $ECHO_C" >&6
10985 ac_res
=`eval echo '${'$as_ac_Header'}'`
10986 { echo "$as_me:$LINENO: result: $ac_res" >&5
10987 echo "${ECHO_T}$ac_res" >&6; }
10989 # Is the header compilable?
10990 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10991 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10992 cat >conftest.
$ac_ext <<_ACEOF
10995 cat confdefs.h
>>conftest.
$ac_ext
10996 cat >>conftest.
$ac_ext <<_ACEOF
10997 /* end confdefs.h. */
10998 $ac_includes_default
10999 #include <$ac_header>
11001 rm -f conftest.
$ac_objext
11002 if { (ac_try
="$ac_compile"
11003 case "(($ac_try" in
11004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11005 *) ac_try_echo=$ac_try;;
11007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11008 (eval "$ac_compile") 2>conftest.er1
11010 grep -v '^ *+' conftest.er1 >conftest.err
11012 cat conftest.err >&5
11013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); } && {
11015 test -z "$ac_c_werror_flag" ||
11016 test ! -s conftest.err
11017 } && test -s conftest.$ac_objext; then
11018 ac_header_compiler=yes
11020 echo "$as_me: failed program was:" >&5
11021 sed 's/^/| /' conftest.$ac_ext >&5
11023 ac_header_compiler=no
11026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11027 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11028 echo "${ECHO_T}$ac_header_compiler" >&6; }
11030 # Is the header present?
11031 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11032 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11033 cat >conftest.$ac_ext <<_ACEOF
11036 cat confdefs.h >>conftest.$ac_ext
11037 cat >>conftest.$ac_ext <<_ACEOF
11038 /* end confdefs.h. */
11039 #include <$ac_header>
11041 if { (ac_try="$ac_cpp conftest.$ac_ext"
11042 case "(($ac_try" in
11043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11044 *) ac_try_echo
=$ac_try;;
11046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11047 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11049 grep -v '^ *+' conftest.er1
>conftest.err
11051 cat conftest.err
>&5
11052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053 (exit $ac_status); } >/dev
/null
&& {
11054 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11055 test ! -s conftest.err
11057 ac_header_preproc
=yes
11059 echo "$as_me: failed program was:" >&5
11060 sed 's/^/| /' conftest.
$ac_ext >&5
11062 ac_header_preproc
=no
11065 rm -f conftest.err conftest.
$ac_ext
11066 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11067 echo "${ECHO_T}$ac_header_preproc" >&6; }
11069 # So? What about this header?
11070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11072 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11073 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11075 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11076 ac_header_preproc
=yes
11079 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11080 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11081 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11082 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11083 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11084 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11085 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11086 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11088 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11089 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11090 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11092 ## ------------------------------------ ##
11093 ## Report this to wine-devel@winehq.org ##
11094 ## ------------------------------------ ##
11096 ) |
sed "s/^/$as_me: WARNING: /" >&2
11099 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11101 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11102 echo $ECHO_N "(cached) $ECHO_C" >&6
11104 eval "$as_ac_Header=\$ac_header_preproc"
11106 ac_res
=`eval echo '${'$as_ac_Header'}'`
11107 { echo "$as_me:$LINENO: result: $ac_res" >&5
11108 echo "${ECHO_T}$ac_res" >&6; }
11111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11112 cat >>confdefs.h
<<_ACEOF
11113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11115 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11116 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11117 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11118 echo $ECHO_N "(cached) $ECHO_C" >&6
11120 ac_check_lib_save_LIBS
=$LIBS
11121 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11122 cat >conftest.
$ac_ext <<_ACEOF
11125 cat confdefs.h
>>conftest.
$ac_ext
11126 cat >>conftest.
$ac_ext <<_ACEOF
11127 /* end confdefs.h. */
11129 /* Override any GCC internal prototype to avoid an error.
11130 Use char because int might match the return type of a GCC
11131 builtin and then its argument prototype would still apply. */
11135 char xmlParseMemory ();
11139 return xmlParseMemory ();
11144 rm -f conftest.
$ac_objext conftest
$ac_exeext
11145 if { (ac_try
="$ac_link"
11146 case "(($ac_try" in
11147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11148 *) ac_try_echo=$ac_try;;
11150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11151 (eval "$ac_link") 2>conftest.er1
11153 grep -v '^ *+' conftest.er1 >conftest.err
11155 cat conftest.err >&5
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 (exit $ac_status); } && {
11158 test -z "$ac_c_werror_flag" ||
11159 test ! -s conftest.err
11160 } && test -s conftest$ac_exeext &&
11161 $as_test_x conftest$ac_exeext; then
11162 ac_cv_lib_xml2_xmlParseMemory=yes
11164 echo "$as_me: failed program was:" >&5
11165 sed 's/^/| /' conftest.$ac_ext >&5
11167 ac_cv_lib_xml2_xmlParseMemory=no
11170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11171 conftest$ac_exeext conftest.$ac_ext
11172 LIBS=$ac_check_lib_save_LIBS
11174 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11175 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11176 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11178 cat >>confdefs.h <<\_ACEOF
11179 #define HAVE_LIBXML2 1
11182 XML2LIBS="$ac_xml_libs"
11183 XML2INCL="$ac_xml_cflags"
11186 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11187 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11188 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11191 ac_check_lib_save_LIBS=$LIBS
11192 LIBS="-lxml2 $ac_xml_libs $LIBS"
11193 cat >conftest.$ac_ext <<_ACEOF
11196 cat confdefs.h >>conftest.$ac_ext
11197 cat >>conftest.$ac_ext <<_ACEOF
11198 /* end confdefs.h. */
11200 /* Override any GCC internal prototype to avoid an error.
11201 Use char because int might match the return type of a GCC
11202 builtin and then its argument prototype would still apply. */
11206 char xmlReadMemory ();
11210 return xmlReadMemory ();
11215 rm -f conftest.$ac_objext conftest$ac_exeext
11216 if { (ac_try="$ac_link"
11217 case "(($ac_try" in
11218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11219 *) ac_try_echo
=$ac_try;;
11221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11222 (eval "$ac_link") 2>conftest.er1
11224 grep -v '^ *+' conftest.er1
>conftest.err
11226 cat conftest.err
>&5
11227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228 (exit $ac_status); } && {
11229 test -z "$ac_c_werror_flag" ||
11230 test ! -s conftest.err
11231 } && test -s conftest
$ac_exeext &&
11232 $as_test_x conftest
$ac_exeext; then
11233 ac_cv_lib_xml2_xmlReadMemory
=yes
11235 echo "$as_me: failed program was:" >&5
11236 sed 's/^/| /' conftest.
$ac_ext >&5
11238 ac_cv_lib_xml2_xmlReadMemory
=no
11241 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11242 conftest
$ac_exeext conftest.
$ac_ext
11243 LIBS
=$ac_check_lib_save_LIBS
11245 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11246 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11247 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11249 cat >>confdefs.h
<<\_ACEOF
11250 #define HAVE_XMLREADMEMORY 1
11255 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11256 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11257 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11258 echo $ECHO_N "(cached) $ECHO_C" >&6
11260 ac_check_lib_save_LIBS
=$LIBS
11261 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11262 cat >conftest.
$ac_ext <<_ACEOF
11265 cat confdefs.h
>>conftest.
$ac_ext
11266 cat >>conftest.
$ac_ext <<_ACEOF
11267 /* end confdefs.h. */
11269 /* Override any GCC internal prototype to avoid an error.
11270 Use char because int might match the return type of a GCC
11271 builtin and then its argument prototype would still apply. */
11275 char xmlNewDocPI ();
11279 return xmlNewDocPI ();
11284 rm -f conftest.
$ac_objext conftest
$ac_exeext
11285 if { (ac_try
="$ac_link"
11286 case "(($ac_try" in
11287 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11288 *) ac_try_echo=$ac_try;;
11290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11291 (eval "$ac_link") 2>conftest.er1
11293 grep -v '^ *+' conftest.er1 >conftest.err
11295 cat conftest.err >&5
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); } && {
11298 test -z "$ac_c_werror_flag" ||
11299 test ! -s conftest.err
11300 } && test -s conftest$ac_exeext &&
11301 $as_test_x conftest$ac_exeext; then
11302 ac_cv_lib_xml2_xmlNewDocPI=yes
11304 echo "$as_me: failed program was:" >&5
11305 sed 's/^/| /' conftest.$ac_ext >&5
11307 ac_cv_lib_xml2_xmlNewDocPI=no
11310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11311 conftest$ac_exeext conftest.$ac_ext
11312 LIBS=$ac_check_lib_save_LIBS
11314 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11315 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11316 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11318 cat >>confdefs.h <<\_ACEOF
11319 #define HAVE_XMLNEWDOCPI 1
11329 CPPFLAGS="$ac_save_CPPFLAGS"
11330 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11331 wine_notices="$wine_notices|libxml2 development files not found.
11332 Wine will be built without XML support. (msxml.dll)"
11336 if test "$PKG_CONFIG" != "false"
11338 ac_xslt_libs="`$PKG_CONFIG --libs libxslt
2>/dev
/null
`"
11339 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt
2>/dev
/null
`"
11341 ac_xslt_libs="`xslt-config
--libs 2>/dev
/null
`"
11342 ac_xslt_cflags="`xslt-config
--cflags 2>/dev
/null
`"
11344 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11347 for ac_header in libxslt/pattern.h libxslt/transform.h
11349 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11350 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11353 echo $ECHO_N "(cached) $ECHO_C" >&6
11355 cat >conftest.$ac_ext <<_ACEOF
11358 cat confdefs.h >>conftest.$ac_ext
11359 cat >>conftest.$ac_ext <<_ACEOF
11360 /* end confdefs.h. */
11361 #ifdef HAVE_LIBXSLT_PATTERN_H
11362 # include <libxslt/pattern.h>
11365 #include <$ac_header>
11367 rm -f conftest.$ac_objext
11368 if { (ac_try="$ac_compile"
11369 case "(($ac_try" in
11370 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11371 *) ac_try_echo
=$ac_try;;
11373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11374 (eval "$ac_compile") 2>conftest.er1
11376 grep -v '^ *+' conftest.er1
>conftest.err
11378 cat conftest.err
>&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); } && {
11381 test -z "$ac_c_werror_flag" ||
11382 test ! -s conftest.err
11383 } && test -s conftest.
$ac_objext; then
11384 eval "$as_ac_Header=yes"
11386 echo "$as_me: failed program was:" >&5
11387 sed 's/^/| /' conftest.
$ac_ext >&5
11389 eval "$as_ac_Header=no"
11392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11394 ac_res
=`eval echo '${'$as_ac_Header'}'`
11395 { echo "$as_me:$LINENO: result: $ac_res" >&5
11396 echo "${ECHO_T}$ac_res" >&6; }
11397 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11398 cat >>confdefs.h
<<_ACEOF
11399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11401 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11402 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11403 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11404 echo $ECHO_N "(cached) $ECHO_C" >&6
11406 ac_check_lib_save_LIBS
=$LIBS
11407 LIBS
="-lxslt $ac_xslt_libs $LIBS"
11408 cat >conftest.
$ac_ext <<_ACEOF
11411 cat confdefs.h
>>conftest.
$ac_ext
11412 cat >>conftest.
$ac_ext <<_ACEOF
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11421 char xsltCompilePattern ();
11425 return xsltCompilePattern ();
11430 rm -f conftest.
$ac_objext conftest
$ac_exeext
11431 if { (ac_try
="$ac_link"
11432 case "(($ac_try" in
11433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11434 *) ac_try_echo=$ac_try;;
11436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11437 (eval "$ac_link") 2>conftest.er1
11439 grep -v '^ *+' conftest.er1 >conftest.err
11441 cat conftest.err >&5
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); } && {
11444 test -z "$ac_c_werror_flag" ||
11445 test ! -s conftest.err
11446 } && test -s conftest$ac_exeext &&
11447 $as_test_x conftest$ac_exeext; then
11448 ac_cv_lib_xslt_xsltCompilePattern=yes
11450 echo "$as_me: failed program was:" >&5
11451 sed 's/^/| /' conftest.$ac_ext >&5
11453 ac_cv_lib_xslt_xsltCompilePattern=no
11456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11457 conftest$ac_exeext conftest.$ac_ext
11458 LIBS=$ac_check_lib_save_LIBS
11460 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11461 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11462 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11464 cat >>confdefs.h <<\_ACEOF
11465 #define HAVE_LIBXSLT 1
11468 XSLTLIBS="$ac_xslt_libs"
11469 XSLTINCL="$ac_xslt_cflags"
11477 CPPFLAGS="$ac_save_CPPFLAGS"
11478 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11479 wine_notices="$wine_notices|libxslt development files not found.
11480 Wine will be built without xslt support. (msxml.dll)"
11486 if test "$PKG_CONFIG" != "false"
11488 ac_save_CPPFLAGS="$CPPFLAGS"
11489 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
11490 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
11491 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11494 for ac_header in dbus/dbus.h hal/libhal.h
11496 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11497 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11498 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11500 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11501 echo $ECHO_N "(cached) $ECHO_C" >&6
11503 ac_res=`eval echo '${'$as_ac_Header'}'`
11504 { echo "$as_me:$LINENO: result: $ac_res" >&5
11505 echo "${ECHO_T}$ac_res" >&6; }
11507 # Is the header compilable?
11508 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11509 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11510 cat >conftest.$ac_ext <<_ACEOF
11513 cat confdefs.h >>conftest.$ac_ext
11514 cat >>conftest.$ac_ext <<_ACEOF
11515 /* end confdefs.h. */
11516 $ac_includes_default
11517 #include <$ac_header>
11519 rm -f conftest.$ac_objext
11520 if { (ac_try="$ac_compile"
11521 case "(($ac_try" in
11522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11523 *) ac_try_echo
=$ac_try;;
11525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11526 (eval "$ac_compile") 2>conftest.er1
11528 grep -v '^ *+' conftest.er1
>conftest.err
11530 cat conftest.err
>&5
11531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11532 (exit $ac_status); } && {
11533 test -z "$ac_c_werror_flag" ||
11534 test ! -s conftest.err
11535 } && test -s conftest.
$ac_objext; then
11536 ac_header_compiler
=yes
11538 echo "$as_me: failed program was:" >&5
11539 sed 's/^/| /' conftest.
$ac_ext >&5
11541 ac_header_compiler
=no
11544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11545 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11546 echo "${ECHO_T}$ac_header_compiler" >&6; }
11548 # Is the header present?
11549 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11550 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11551 cat >conftest.
$ac_ext <<_ACEOF
11554 cat confdefs.h
>>conftest.
$ac_ext
11555 cat >>conftest.
$ac_ext <<_ACEOF
11556 /* end confdefs.h. */
11557 #include <$ac_header>
11559 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11560 case "(($ac_try" in
11561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11562 *) ac_try_echo=$ac_try;;
11564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11565 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11567 grep -v '^ *+' conftest.er1 >conftest.err
11569 cat conftest.err >&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); } >/dev/null && {
11572 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11573 test ! -s conftest.err
11575 ac_header_preproc=yes
11577 echo "$as_me: failed program was:" >&5
11578 sed 's/^/| /' conftest.$ac_ext >&5
11580 ac_header_preproc=no
11583 rm -f conftest.err conftest.$ac_ext
11584 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11585 echo "${ECHO_T}$ac_header_preproc" >&6; }
11587 # So? What about this header?
11588 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11590 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11591 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11593 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11594 ac_header_preproc=yes
11597 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11598 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11599 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11600 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11601 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11602 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11603 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11604 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11607 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11608 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11610 ## ------------------------------------ ##
11611 ## Report this to wine-devel@winehq.org ##
11612 ## ------------------------------------ ##
11614 ) | sed "s/^/$as_me: WARNING: /" >&2
11617 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11619 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11620 echo $ECHO_N "(cached) $ECHO_C" >&6
11622 eval "$as_ac_Header=\$ac_header_preproc"
11624 ac_res=`eval echo '${'$as_ac_Header'}'`
11625 { echo "$as_me:$LINENO: result: $ac_res" >&5
11626 echo "${ECHO_T}$ac_res" >&6; }
11629 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11630 cat >>confdefs.h <<_ACEOF
11631 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11638 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11640 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11641 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11642 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11643 echo $ECHO_N "(cached) $ECHO_C" >&6
11645 ac_check_lib_save_LIBS=$LIBS
11646 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11647 cat >conftest.$ac_ext <<_ACEOF
11650 cat confdefs.h >>conftest.$ac_ext
11651 cat >>conftest.$ac_ext <<_ACEOF
11652 /* end confdefs.h. */
11654 /* Override any GCC internal prototype to avoid an error.
11655 Use char because int might match the return type of a GCC
11656 builtin and then its argument prototype would still apply. */
11660 char dbus_connection_close ();
11664 return dbus_connection_close ();
11669 rm -f conftest.$ac_objext conftest$ac_exeext
11670 if { (ac_try="$ac_link"
11671 case "(($ac_try" in
11672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11673 *) ac_try_echo
=$ac_try;;
11675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11676 (eval "$ac_link") 2>conftest.er1
11678 grep -v '^ *+' conftest.er1
>conftest.err
11680 cat conftest.err
>&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); } && {
11683 test -z "$ac_c_werror_flag" ||
11684 test ! -s conftest.err
11685 } && test -s conftest
$ac_exeext &&
11686 $as_test_x conftest
$ac_exeext; then
11687 ac_cv_lib_dbus_1_dbus_connection_close
=yes
11689 echo "$as_me: failed program was:" >&5
11690 sed 's/^/| /' conftest.
$ac_ext >&5
11692 ac_cv_lib_dbus_1_dbus_connection_close
=no
11695 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11696 conftest
$ac_exeext conftest.
$ac_ext
11697 LIBS
=$ac_check_lib_save_LIBS
11699 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11700 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11701 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11702 { echo "$as_me:$LINENO: checking for -lhal" >&5
11703 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11704 if test "${ac_cv_lib_soname_hal+set}" = set; then
11705 echo $ECHO_N "(cached) $ECHO_C" >&6
11707 ac_check_soname_save_LIBS
=$LIBS
11708 LIBS
="-lhal $ac_hal_libs $LIBS"
11709 cat >conftest.
$ac_ext <<_ACEOF
11712 cat confdefs.h
>>conftest.
$ac_ext
11713 cat >>conftest.
$ac_ext <<_ACEOF
11714 /* end confdefs.h. */
11716 /* Override any GCC internal prototype to avoid an error.
11717 Use char because int might match the return type of a GCC
11718 builtin and then its argument prototype would still apply. */
11722 char libhal_ctx_new ();
11726 return libhal_ctx_new ();
11731 rm -f conftest.
$ac_objext conftest
$ac_exeext
11732 if { (ac_try
="$ac_link"
11733 case "(($ac_try" in
11734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11735 *) ac_try_echo=$ac_try;;
11737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11738 (eval "$ac_link") 2>conftest.er1
11740 grep -v '^ *+' conftest.er1 >conftest.err
11742 cat conftest.err >&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); } && {
11745 test -z "$ac_c_werror_flag" ||
11746 test ! -s conftest.err
11747 } && test -s conftest$ac_exeext &&
11748 $as_test_x conftest$ac_exeext; then
11751 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'` ;;
11752 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libhal\\.$LIBEXT" |
sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11755 echo "$as_me: failed program was:" >&5
11756 sed 's/^/| /' conftest.$ac_ext >&5
11761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11762 conftest$ac_exeext conftest.$ac_ext
11763 LIBS=$ac_check_soname_save_LIBS
11765 if test "x$ac_cv_lib_soname_hal" = "x"; then
11766 { echo "$as_me:$LINENO: result: not found" >&5
11767 echo "${ECHO_T}not found" >&6; }
11770 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11771 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11773 cat >>confdefs.h <<_ACEOF
11774 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11777 HALINCL="$ac_hal_cflags"
11783 CPPFLAGS="$ac_save_CPPFLAGS"
11785 if test "x$ac_cv_lib_soname_hal" = "x"; then
11786 wine_notices="$wine_notices|libhal development files not found.
11787 Wine will be built without dynamic device support. (explorer.exe)"
11792 if test "$ac_cv_header_ncurses_h" = "yes"
11794 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11795 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11796 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11797 echo $ECHO_N "(cached) $ECHO_C" >&6
11799 ac_check_soname_save_LIBS=$LIBS
11800 LIBS="-lncurses $LIBS"
11801 cat >conftest.$ac_ext <<_ACEOF
11804 cat confdefs.h >>conftest.$ac_ext
11805 cat >>conftest.$ac_ext <<_ACEOF
11806 /* end confdefs.h. */
11808 /* Override any GCC internal prototype to avoid an error.
11809 Use char because int might match the return type of a GCC
11810 builtin and then its argument prototype would still apply. */
11823 rm -f conftest.$ac_objext conftest$ac_exeext
11824 if { (ac_try="$ac_link"
11825 case "(($ac_try" in
11826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11827 *) ac_try_echo
=$ac_try;;
11829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11830 (eval "$ac_link") 2>conftest.er1
11832 grep -v '^ *+' conftest.er1
>conftest.err
11834 cat conftest.err
>&5
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); } && {
11837 test -z "$ac_c_werror_flag" ||
11838 test ! -s conftest.err
11839 } && test -s conftest
$ac_exeext &&
11840 $as_test_x conftest
$ac_exeext; then
11843 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'` ;;
11844 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11847 echo "$as_me: failed program was:" >&5
11848 sed 's/^/| /' conftest.
$ac_ext >&5
11853 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11854 conftest
$ac_exeext conftest.
$ac_ext
11855 LIBS
=$ac_check_soname_save_LIBS
11857 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11858 { echo "$as_me:$LINENO: result: not found" >&5
11859 echo "${ECHO_T}not found" >&6; }
11862 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11863 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11865 cat >>confdefs.h
<<_ACEOF
11866 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11869 CURSESLIBS
="-lncurses"
11872 elif test "$ac_cv_header_curses_h" = "yes"
11874 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11875 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11876 if test "${ac_cv_lib_soname_curses+set}" = set; then
11877 echo $ECHO_N "(cached) $ECHO_C" >&6
11879 ac_check_soname_save_LIBS
=$LIBS
11880 LIBS
="-lcurses $LIBS"
11881 cat >conftest.
$ac_ext <<_ACEOF
11884 cat confdefs.h
>>conftest.
$ac_ext
11885 cat >>conftest.
$ac_ext <<_ACEOF
11886 /* end confdefs.h. */
11888 /* Override any GCC internal prototype to avoid an error.
11889 Use char because int might match the return type of a GCC
11890 builtin and then its argument prototype would still apply. */
11903 rm -f conftest.
$ac_objext conftest
$ac_exeext
11904 if { (ac_try
="$ac_link"
11905 case "(($ac_try" in
11906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11907 *) ac_try_echo=$ac_try;;
11909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11910 (eval "$ac_link") 2>conftest.er1
11912 grep -v '^ *+' conftest.er1 >conftest.err
11914 cat conftest.err >&5
11915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11916 (exit $ac_status); } && {
11917 test -z "$ac_c_werror_flag" ||
11918 test ! -s conftest.err
11919 } && test -s conftest$ac_exeext &&
11920 $as_test_x conftest$ac_exeext; then
11923 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'` ;;
11924 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcurses\\.$LIBEXT" |
sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11927 echo "$as_me: failed program was:" >&5
11928 sed 's/^/| /' conftest.$ac_ext >&5
11933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11934 conftest$ac_exeext conftest.$ac_ext
11935 LIBS=$ac_check_soname_save_LIBS
11937 if test "x$ac_cv_lib_soname_curses" = "x"; then
11938 { echo "$as_me:$LINENO: result: not found" >&5
11939 echo "${ECHO_T}not found" >&6; }
11942 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11943 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11945 cat >>confdefs.h <<_ACEOF
11946 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11949 CURSESLIBS="-lcurses"
11953 ac_save_LIBS="$LIBS"
11954 LIBS="$LIBS $CURSESLIBS"
11956 for ac_func in mousemask
11958 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11959 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11961 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11962 echo $ECHO_N "(cached) $ECHO_C" >&6
11964 cat >conftest.$ac_ext <<_ACEOF
11967 cat confdefs.h >>conftest.$ac_ext
11968 cat >>conftest.$ac_ext <<_ACEOF
11969 /* end confdefs.h. */
11970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11972 #define $ac_func innocuous_$ac_func
11974 /* System header to define __stub macros and hopefully few prototypes,
11975 which can conflict with char $ac_func (); below.
11976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11977 <limits.h> exists even on freestanding compilers. */
11980 # include <limits.h>
11982 # include <assert.h>
11987 /* Override any GCC internal prototype to avoid an error.
11988 Use char because int might match the return type of a GCC
11989 builtin and then its argument prototype would still apply. */
11994 /* The GNU C library defines this for functions which it implements
11995 to always fail with ENOSYS. Some functions are actually named
11996 something starting with __ and the normal name is an alias. */
11997 #if defined __stub_$ac_func || defined __stub___$ac_func
12004 return $ac_func ();
12009 rm -f conftest.$ac_objext conftest$ac_exeext
12010 if { (ac_try="$ac_link"
12011 case "(($ac_try" in
12012 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12013 *) ac_try_echo
=$ac_try;;
12015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12016 (eval "$ac_link") 2>conftest.er1
12018 grep -v '^ *+' conftest.er1
>conftest.err
12020 cat conftest.err
>&5
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); } && {
12023 test -z "$ac_c_werror_flag" ||
12024 test ! -s conftest.err
12025 } && test -s conftest
$ac_exeext &&
12026 $as_test_x conftest
$ac_exeext; then
12027 eval "$as_ac_var=yes"
12029 echo "$as_me: failed program was:" >&5
12030 sed 's/^/| /' conftest.
$ac_ext >&5
12032 eval "$as_ac_var=no"
12035 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12036 conftest
$ac_exeext conftest.
$ac_ext
12038 ac_res
=`eval echo '${'$as_ac_var'}'`
12039 { echo "$as_me:$LINENO: result: $ac_res" >&5
12040 echo "${ECHO_T}$ac_res" >&6; }
12041 if test `eval echo '${'$as_ac_var'}'` = yes; then
12042 cat >>confdefs.h
<<_ACEOF
12043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12049 LIBS
="$ac_save_LIBS"
12050 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12051 wine_notices
="$wine_notices|lib(n)curses development files not found.
12052 Wine will be built without (n)curses support. (wineconsole.exe)"
12056 # Extract the first word of "sane-config", so it can be a program name with args.
12057 set dummy sane-config
; ac_word
=$2
12058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12060 if test "${ac_cv_prog_sane_devel+set}" = set; then
12061 echo $ECHO_N "(cached) $ECHO_C" >&6
12063 if test -n "$sane_devel"; then
12064 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
12066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12067 for as_dir
in $PATH
12070 test -z "$as_dir" && as_dir
=.
12071 for ac_exec_ext
in '' $ac_executable_extensions; do
12072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12073 ac_cv_prog_sane_devel
="sane-config"
12074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12081 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
12084 sane_devel
=$ac_cv_prog_sane_devel
12085 if test -n "$sane_devel"; then
12086 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12087 echo "${ECHO_T}$sane_devel" >&6; }
12089 { echo "$as_me:$LINENO: result: no" >&5
12090 echo "${ECHO_T}no" >&6; }
12094 if test "$sane_devel" != "no"
12096 ac_sane_incl
="`$sane_devel --cflags`"
12097 ac_save_CPPFLAGS
="$CPPFLAGS"
12098 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
12099 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12100 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12101 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12102 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12103 echo $ECHO_N "(cached) $ECHO_C" >&6
12105 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12106 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12108 # Is the header compilable?
12109 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12110 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12111 cat >conftest.
$ac_ext <<_ACEOF
12114 cat confdefs.h
>>conftest.
$ac_ext
12115 cat >>conftest.
$ac_ext <<_ACEOF
12116 /* end confdefs.h. */
12117 $ac_includes_default
12118 #include <sane/sane.h>
12120 rm -f conftest.
$ac_objext
12121 if { (ac_try
="$ac_compile"
12122 case "(($ac_try" in
12123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12124 *) ac_try_echo=$ac_try;;
12126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12127 (eval "$ac_compile") 2>conftest.er1
12129 grep -v '^ *+' conftest.er1 >conftest.err
12131 cat conftest.err >&5
12132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 (exit $ac_status); } && {
12134 test -z "$ac_c_werror_flag" ||
12135 test ! -s conftest.err
12136 } && test -s conftest.$ac_objext; then
12137 ac_header_compiler=yes
12139 echo "$as_me: failed program was:" >&5
12140 sed 's/^/| /' conftest.$ac_ext >&5
12142 ac_header_compiler=no
12145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12146 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12147 echo "${ECHO_T}$ac_header_compiler" >&6; }
12149 # Is the header present?
12150 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12151 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12152 cat >conftest.$ac_ext <<_ACEOF
12155 cat confdefs.h >>conftest.$ac_ext
12156 cat >>conftest.$ac_ext <<_ACEOF
12157 /* end confdefs.h. */
12158 #include <sane/sane.h>
12160 if { (ac_try="$ac_cpp conftest.$ac_ext"
12161 case "(($ac_try" in
12162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12163 *) ac_try_echo
=$ac_try;;
12165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12166 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12168 grep -v '^ *+' conftest.er1
>conftest.err
12170 cat conftest.err
>&5
12171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12172 (exit $ac_status); } >/dev
/null
&& {
12173 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12174 test ! -s conftest.err
12176 ac_header_preproc
=yes
12178 echo "$as_me: failed program was:" >&5
12179 sed 's/^/| /' conftest.
$ac_ext >&5
12181 ac_header_preproc
=no
12184 rm -f conftest.err conftest.
$ac_ext
12185 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12186 echo "${ECHO_T}$ac_header_preproc" >&6; }
12188 # So? What about this header?
12189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12191 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12192 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12193 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12194 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12195 ac_header_preproc
=yes
12198 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12199 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12200 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12201 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12202 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12203 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12204 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12205 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12206 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12207 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12208 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12209 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12211 ## ------------------------------------ ##
12212 ## Report this to wine-devel@winehq.org ##
12213 ## ------------------------------------ ##
12215 ) |
sed "s/^/$as_me: WARNING: /" >&2
12218 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12219 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12220 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12221 echo $ECHO_N "(cached) $ECHO_C" >&6
12223 ac_cv_header_sane_sane_h
=$ac_header_preproc
12225 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12226 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12229 if test $ac_cv_header_sane_sane_h = yes; then
12230 { echo "$as_me:$LINENO: checking for -lsane" >&5
12231 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12232 if test "${ac_cv_lib_soname_sane+set}" = set; then
12233 echo $ECHO_N "(cached) $ECHO_C" >&6
12235 ac_check_soname_save_LIBS
=$LIBS
12236 LIBS
="-lsane $LIBS"
12237 cat >conftest.
$ac_ext <<_ACEOF
12240 cat confdefs.h
>>conftest.
$ac_ext
12241 cat >>conftest.
$ac_ext <<_ACEOF
12242 /* end confdefs.h. */
12244 /* Override any GCC internal prototype to avoid an error.
12245 Use char because int might match the return type of a GCC
12246 builtin and then its argument prototype would still apply. */
12254 return sane_init ();
12259 rm -f conftest.
$ac_objext conftest
$ac_exeext
12260 if { (ac_try
="$ac_link"
12261 case "(($ac_try" in
12262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12263 *) ac_try_echo=$ac_try;;
12265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12266 (eval "$ac_link") 2>conftest.er1
12268 grep -v '^ *+' conftest.er1 >conftest.err
12270 cat conftest.err >&5
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); } && {
12273 test -z "$ac_c_werror_flag" ||
12274 test ! -s conftest.err
12275 } && test -s conftest$ac_exeext &&
12276 $as_test_x conftest$ac_exeext; then
12279 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'` ;;
12280 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libsane\\.$LIBEXT" |
sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12283 echo "$as_me: failed program was:" >&5
12284 sed 's/^/| /' conftest.$ac_ext >&5
12289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12290 conftest$ac_exeext conftest.$ac_ext
12291 LIBS=$ac_check_soname_save_LIBS
12293 if test "x$ac_cv_lib_soname_sane" = "x"; then
12294 { echo "$as_me:$LINENO: result: not found" >&5
12295 echo "${ECHO_T}not found" >&6; }
12298 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12299 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12301 cat >>confdefs.h <<_ACEOF
12302 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12305 SANEINCL="$ac_sane_incl"
12312 CPPFLAGS="$ac_save_CPPFLAGS"
12314 if test "x$ac_cv_lib_soname_sane" = "x"; then
12315 wine_notices="$wine_notices|libsane development files not found.
12316 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12320 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12321 set dummy gphoto2-config; ac_word=$2
12322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12324 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12325 echo $ECHO_N "(cached) $ECHO_C" >&6
12327 if test -n "$gphoto2_devel"; then
12328 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12331 for as_dir in $PATH
12334 test -z "$as_dir" && as_dir=.
12335 for ac_exec_ext in '' $ac_executable_extensions; do
12336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12337 ac_cv_prog_gphoto2_devel="gphoto2-config"
12338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12345 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12348 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12349 if test -n "$gphoto2_devel"; then
12350 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12351 echo "${ECHO_T}$gphoto2_devel" >&6; }
12353 { echo "$as_me:$LINENO: result: no" >&5
12354 echo "${ECHO_T}no" >&6; }
12358 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12359 set dummy gphoto2-port-config; ac_word=$2
12360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12362 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12363 echo $ECHO_N "(cached) $ECHO_C" >&6
12365 if test -n "$gphoto2port_devel"; then
12366 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12369 for as_dir in $PATH
12372 test -z "$as_dir" && as_dir=.
12373 for ac_exec_ext in '' $ac_executable_extensions; do
12374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12375 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12383 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12386 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12387 if test -n "$gphoto2port_devel"; then
12388 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12389 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12391 { echo "$as_me:$LINENO: result: no" >&5
12392 echo "${ECHO_T}no" >&6; }
12396 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12398 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12400 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12403 -L/usr/lib|-L/usr/lib64) ;;
12404 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12407 ac_save_CPPFLAGS="$CPPFLAGS"
12408 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12409 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12410 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12411 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12412 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12413 echo $ECHO_N "(cached) $ECHO_C" >&6
12415 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12416 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12418 # Is the header compilable?
12419 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12420 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12421 cat >conftest.$ac_ext <<_ACEOF
12424 cat confdefs.h >>conftest.$ac_ext
12425 cat >>conftest.$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12427 $ac_includes_default
12428 #include <gphoto2-camera.h>
12430 rm -f conftest.$ac_objext
12431 if { (ac_try="$ac_compile"
12432 case "(($ac_try" in
12433 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12434 *) ac_try_echo
=$ac_try;;
12436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12437 (eval "$ac_compile") 2>conftest.er1
12439 grep -v '^ *+' conftest.er1
>conftest.err
12441 cat conftest.err
>&5
12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); } && {
12444 test -z "$ac_c_werror_flag" ||
12445 test ! -s conftest.err
12446 } && test -s conftest.
$ac_objext; then
12447 ac_header_compiler
=yes
12449 echo "$as_me: failed program was:" >&5
12450 sed 's/^/| /' conftest.
$ac_ext >&5
12452 ac_header_compiler
=no
12455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12456 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12457 echo "${ECHO_T}$ac_header_compiler" >&6; }
12459 # Is the header present?
12460 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12461 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12462 cat >conftest.
$ac_ext <<_ACEOF
12465 cat confdefs.h
>>conftest.
$ac_ext
12466 cat >>conftest.
$ac_ext <<_ACEOF
12467 /* end confdefs.h. */
12468 #include <gphoto2-camera.h>
12470 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12471 case "(($ac_try" in
12472 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12473 *) ac_try_echo=$ac_try;;
12475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12476 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12478 grep -v '^ *+' conftest.er1 >conftest.err
12480 cat conftest.err >&5
12481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12482 (exit $ac_status); } >/dev/null && {
12483 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12484 test ! -s conftest.err
12486 ac_header_preproc=yes
12488 echo "$as_me: failed program was:" >&5
12489 sed 's/^/| /' conftest.$ac_ext >&5
12491 ac_header_preproc=no
12494 rm -f conftest.err conftest.$ac_ext
12495 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12496 echo "${ECHO_T}$ac_header_preproc" >&6; }
12498 # So? What about this header?
12499 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12501 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12502 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12503 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12504 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12505 ac_header_preproc=yes
12508 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12509 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12510 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12511 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12512 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12513 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12514 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12515 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12516 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12517 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12518 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12519 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12521 ## ------------------------------------ ##
12522 ## Report this to wine-devel@winehq.org ##
12523 ## ------------------------------------ ##
12525 ) | sed "s/^/$as_me: WARNING: /" >&2
12528 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12529 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12530 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12531 echo $ECHO_N "(cached) $ECHO_C" >&6
12533 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12535 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12536 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12539 if test $ac_cv_header_gphoto2_camera_h = yes; then
12540 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12541 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12542 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12543 echo $ECHO_N "(cached) $ECHO_C" >&6
12545 ac_check_lib_save_LIBS=$LIBS
12546 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12547 cat >conftest.$ac_ext <<_ACEOF
12550 cat confdefs.h >>conftest.$ac_ext
12551 cat >>conftest.$ac_ext <<_ACEOF
12552 /* end confdefs.h. */
12554 /* Override any GCC internal prototype to avoid an error.
12555 Use char because int might match the return type of a GCC
12556 builtin and then its argument prototype would still apply. */
12560 char gp_camera_new ();
12564 return gp_camera_new ();
12569 rm -f conftest.$ac_objext conftest$ac_exeext
12570 if { (ac_try="$ac_link"
12571 case "(($ac_try" in
12572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12573 *) ac_try_echo
=$ac_try;;
12575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12576 (eval "$ac_link") 2>conftest.er1
12578 grep -v '^ *+' conftest.er1
>conftest.err
12580 cat conftest.err
>&5
12581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582 (exit $ac_status); } && {
12583 test -z "$ac_c_werror_flag" ||
12584 test ! -s conftest.err
12585 } && test -s conftest
$ac_exeext &&
12586 $as_test_x conftest
$ac_exeext; then
12587 ac_cv_lib_gphoto2_gp_camera_new
=yes
12589 echo "$as_me: failed program was:" >&5
12590 sed 's/^/| /' conftest.
$ac_ext >&5
12592 ac_cv_lib_gphoto2_gp_camera_new
=no
12595 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12596 conftest
$ac_exeext conftest.
$ac_ext
12597 LIBS
=$ac_check_lib_save_LIBS
12599 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12600 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12601 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12603 cat >>confdefs.h
<<\_ACEOF
12604 #define HAVE_GPHOTO2 1
12607 GPHOTO2LIBS
="$ac_gphoto2_libs"
12609 GPHOTO2INCL
="$ac_gphoto2_incl"
12616 CPPFLAGS
="$ac_save_CPPFLAGS"
12618 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12619 wine_notices
="$wine_notices|libgphoto2 development files not found.
12620 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12627 if test "$ac_cv_header_resolv_h" = "yes"
12629 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12630 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12631 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12632 echo $ECHO_N "(cached) $ECHO_C" >&6
12634 ac_check_lib_save_LIBS
=$LIBS
12635 LIBS
="-lresolv $LIBS"
12636 cat >conftest.
$ac_ext <<_ACEOF
12639 cat confdefs.h
>>conftest.
$ac_ext
12640 cat >>conftest.
$ac_ext <<_ACEOF
12641 /* end confdefs.h. */
12643 /* Override any GCC internal prototype to avoid an error.
12644 Use char because int might match the return type of a GCC
12645 builtin and then its argument prototype would still apply. */
12653 return res_query ();
12658 rm -f conftest.
$ac_objext conftest
$ac_exeext
12659 if { (ac_try
="$ac_link"
12660 case "(($ac_try" in
12661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12662 *) ac_try_echo=$ac_try;;
12664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12665 (eval "$ac_link") 2>conftest.er1
12667 grep -v '^ *+' conftest.er1 >conftest.err
12669 cat conftest.err >&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); } && {
12672 test -z "$ac_c_werror_flag" ||
12673 test ! -s conftest.err
12674 } && test -s conftest$ac_exeext &&
12675 $as_test_x conftest$ac_exeext; then
12676 ac_cv_lib_resolv_res_query=yes
12678 echo "$as_me: failed program was:" >&5
12679 sed 's/^/| /' conftest.$ac_ext >&5
12681 ac_cv_lib_resolv_res_query=no
12684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12685 conftest$ac_exeext conftest.$ac_ext
12686 LIBS=$ac_check_lib_save_LIBS
12688 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12689 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12690 if test $ac_cv_lib_resolv_res_query = yes; then
12692 cat >>confdefs.h <<\_ACEOF
12693 #define HAVE_RESOLV 1
12696 RESOLVLIBS="-lresolv"
12703 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12705 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12706 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12707 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12708 echo $ECHO_N "(cached) $ECHO_C" >&6
12710 ac_check_lib_save_LIBS=$LIBS
12711 LIBS="-llcms $LIBS"
12712 cat >conftest.$ac_ext <<_ACEOF
12715 cat confdefs.h >>conftest.$ac_ext
12716 cat >>conftest.$ac_ext <<_ACEOF
12717 /* end confdefs.h. */
12719 /* Override any GCC internal prototype to avoid an error.
12720 Use char because int might match the return type of a GCC
12721 builtin and then its argument prototype would still apply. */
12725 char cmsOpenProfileFromFile ();
12729 return cmsOpenProfileFromFile ();
12734 rm -f conftest.$ac_objext conftest$ac_exeext
12735 if { (ac_try="$ac_link"
12736 case "(($ac_try" in
12737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12738 *) ac_try_echo
=$ac_try;;
12740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12741 (eval "$ac_link") 2>conftest.er1
12743 grep -v '^ *+' conftest.er1
>conftest.err
12745 cat conftest.err
>&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); } && {
12748 test -z "$ac_c_werror_flag" ||
12749 test ! -s conftest.err
12750 } && test -s conftest
$ac_exeext &&
12751 $as_test_x conftest
$ac_exeext; then
12752 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
12754 echo "$as_me: failed program was:" >&5
12755 sed 's/^/| /' conftest.
$ac_ext >&5
12757 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
12760 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12761 conftest
$ac_exeext conftest.
$ac_ext
12762 LIBS
=$ac_check_lib_save_LIBS
12764 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12765 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12766 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12768 cat >>confdefs.h
<<\_ACEOF
12769 #define HAVE_LCMS 1
12776 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12777 wine_notices
="$wine_notices|liblcms development files not found.
12778 Wine will be built without Color Management support. (mscms.dll)"
12784 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12786 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12787 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12788 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12789 echo $ECHO_N "(cached) $ECHO_C" >&6
12791 ac_check_lib_save_LIBS
=$LIBS
12792 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
12793 cat >conftest.
$ac_ext <<_ACEOF
12796 cat confdefs.h
>>conftest.
$ac_ext
12797 cat >>conftest.
$ac_ext <<_ACEOF
12798 /* end confdefs.h. */
12800 /* Override any GCC internal prototype to avoid an error.
12801 Use char because int might match the return type of a GCC
12802 builtin and then its argument prototype would still apply. */
12806 char ldap_initialize ();
12810 return ldap_initialize ();
12815 rm -f conftest.
$ac_objext conftest
$ac_exeext
12816 if { (ac_try
="$ac_link"
12817 case "(($ac_try" in
12818 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12819 *) ac_try_echo=$ac_try;;
12821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12822 (eval "$ac_link") 2>conftest.er1
12824 grep -v '^ *+' conftest.er1 >conftest.err
12826 cat conftest.err >&5
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); } && {
12829 test -z "$ac_c_werror_flag" ||
12830 test ! -s conftest.err
12831 } && test -s conftest$ac_exeext &&
12832 $as_test_x conftest$ac_exeext; then
12833 ac_cv_lib_ldap_r_ldap_initialize=yes
12835 echo "$as_me: failed program was:" >&5
12836 sed 's/^/| /' conftest.$ac_ext >&5
12838 ac_cv_lib_ldap_r_ldap_initialize=no
12841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12842 conftest$ac_exeext conftest.$ac_ext
12843 LIBS=$ac_check_lib_save_LIBS
12845 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12846 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12847 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12848 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12849 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12850 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12851 echo $ECHO_N "(cached) $ECHO_C" >&6
12853 ac_check_lib_save_LIBS=$LIBS
12854 LIBS="-llber $LIBPTHREAD $LIBS"
12855 cat >conftest.$ac_ext <<_ACEOF
12858 cat confdefs.h >>conftest.$ac_ext
12859 cat >>conftest.$ac_ext <<_ACEOF
12860 /* end confdefs.h. */
12862 /* Override any GCC internal prototype to avoid an error.
12863 Use char because int might match the return type of a GCC
12864 builtin and then its argument prototype would still apply. */
12872 return ber_init ();
12877 rm -f conftest.$ac_objext conftest$ac_exeext
12878 if { (ac_try="$ac_link"
12879 case "(($ac_try" in
12880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12881 *) ac_try_echo
=$ac_try;;
12883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12884 (eval "$ac_link") 2>conftest.er1
12886 grep -v '^ *+' conftest.er1
>conftest.err
12888 cat conftest.err
>&5
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); } && {
12891 test -z "$ac_c_werror_flag" ||
12892 test ! -s conftest.err
12893 } && test -s conftest
$ac_exeext &&
12894 $as_test_x conftest
$ac_exeext; then
12895 ac_cv_lib_lber_ber_init
=yes
12897 echo "$as_me: failed program was:" >&5
12898 sed 's/^/| /' conftest.
$ac_ext >&5
12900 ac_cv_lib_lber_ber_init
=no
12903 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12904 conftest
$ac_exeext conftest.
$ac_ext
12905 LIBS
=$ac_check_lib_save_LIBS
12907 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12908 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12909 if test $ac_cv_lib_lber_ber_init = yes; then
12911 cat >>confdefs.h
<<\_ACEOF
12912 #define HAVE_LDAP 1
12915 LDAPLIBS
="-lldap_r -llber"
12920 ac_wine_check_funcs_save_LIBS
="$LIBS"
12921 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
12927 ldap_count_references \
12928 ldap_first_reference \
12929 ldap_next_reference \
12930 ldap_parse_reference
12932 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12933 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12935 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12936 echo $ECHO_N "(cached) $ECHO_C" >&6
12938 cat >conftest.
$ac_ext <<_ACEOF
12941 cat confdefs.h
>>conftest.
$ac_ext
12942 cat >>conftest.
$ac_ext <<_ACEOF
12943 /* end confdefs.h. */
12944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12946 #define $ac_func innocuous_$ac_func
12948 /* System header to define __stub macros and hopefully few prototypes,
12949 which can conflict with char $ac_func (); below.
12950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12951 <limits.h> exists even on freestanding compilers. */
12954 # include <limits.h>
12956 # include <assert.h>
12961 /* Override any GCC internal prototype to avoid an error.
12962 Use char because int might match the return type of a GCC
12963 builtin and then its argument prototype would still apply. */
12968 /* The GNU C library defines this for functions which it implements
12969 to always fail with ENOSYS. Some functions are actually named
12970 something starting with __ and the normal name is an alias. */
12971 #if defined __stub_$ac_func || defined __stub___$ac_func
12978 return $ac_func ();
12983 rm -f conftest.
$ac_objext conftest
$ac_exeext
12984 if { (ac_try
="$ac_link"
12985 case "(($ac_try" in
12986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12987 *) ac_try_echo=$ac_try;;
12989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12990 (eval "$ac_link") 2>conftest.er1
12992 grep -v '^ *+' conftest.er1 >conftest.err
12994 cat conftest.err >&5
12995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12996 (exit $ac_status); } && {
12997 test -z "$ac_c_werror_flag" ||
12998 test ! -s conftest.err
12999 } && test -s conftest$ac_exeext &&
13000 $as_test_x conftest$ac_exeext; then
13001 eval "$as_ac_var=yes"
13003 echo "$as_me: failed program was:" >&5
13004 sed 's/^/| /' conftest.$ac_ext >&5
13006 eval "$as_ac_var=no"
13009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13010 conftest$ac_exeext conftest.$ac_ext
13012 ac_res=`eval echo '${'$as_ac_var'}'`
13013 { echo "$as_me:$LINENO: result: $ac_res" >&5
13014 echo "${ECHO_T}$ac_res" >&6; }
13015 if test `eval echo '${'$as_ac_var'}'` = yes; then
13016 cat >>confdefs.h <<_ACEOF
13017 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13023 LIBS="$ac_wine_check_funcs_save_LIBS"
13025 if test "x$LDAPLIBS" = "x"; then
13026 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
13027 Wine will be built without LDAP support. (wldap32.dll)"
13031 for ac_prog in freetype-config freetype2-config
13033 # Extract the first word of "$ac_prog", so it can be a program name with args.
13034 set dummy $ac_prog; ac_word=$2
13035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13037 if test "${ac_cv_prog_ft_devel+set}" = set; then
13038 echo $ECHO_N "(cached) $ECHO_C" >&6
13040 if test -n "$ft_devel"; then
13041 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13044 for as_dir in $PATH
13047 test -z "$as_dir" && as_dir=.
13048 for ac_exec_ext in '' $ac_executable_extensions; do
13049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13050 ac_cv_prog_ft_devel="$ac_prog"
13051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13060 ft_devel=$ac_cv_prog_ft_devel
13061 if test -n "$ft_devel"; then
13062 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13063 echo "${ECHO_T}$ft_devel" >&6; }
13065 { echo "$as_me:$LINENO: result: no" >&5
13066 echo "${ECHO_T}no" >&6; }
13070 test -n "$ft_devel" && break
13072 test -n "$ft_devel" || ft_devel="false"
13074 if test "$ft_devel" != "false"
13076 ac_freetype_libs=`$ft_devel --libs`
13077 ac_freetype_incl=`$ft_devel --cflags`
13078 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13079 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13080 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13081 echo $ECHO_N "(cached) $ECHO_C" >&6
13083 ac_check_soname_save_LIBS=$LIBS
13084 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13085 cat >conftest.$ac_ext <<_ACEOF
13088 cat confdefs.h >>conftest.$ac_ext
13089 cat >>conftest.$ac_ext <<_ACEOF
13090 /* end confdefs.h. */
13092 /* Override any GCC internal prototype to avoid an error.
13093 Use char because int might match the return type of a GCC
13094 builtin and then its argument prototype would still apply. */
13098 char FT_Init_FreeType ();
13102 return FT_Init_FreeType ();
13107 rm -f conftest.$ac_objext conftest$ac_exeext
13108 if { (ac_try="$ac_link"
13109 case "(($ac_try" in
13110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13111 *) ac_try_echo
=$ac_try;;
13113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13114 (eval "$ac_link") 2>conftest.er1
13116 grep -v '^ *+' conftest.er1
>conftest.err
13118 cat conftest.err
>&5
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); } && {
13121 test -z "$ac_c_werror_flag" ||
13122 test ! -s conftest.err
13123 } && test -s conftest
$ac_exeext &&
13124 $as_test_x conftest
$ac_exeext; then
13127 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'` ;;
13128 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13131 echo "$as_me: failed program was:" >&5
13132 sed 's/^/| /' conftest.
$ac_ext >&5
13137 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13138 conftest
$ac_exeext conftest.
$ac_ext
13139 LIBS
=$ac_check_soname_save_LIBS
13141 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13142 { echo "$as_me:$LINENO: result: not found" >&5
13143 echo "${ECHO_T}not found" >&6; }
13146 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13147 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13149 cat >>confdefs.h
<<_ACEOF
13150 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13156 if test "$ft_lib" = "yes"
13158 ac_save_CPPFLAGS
="$CPPFLAGS"
13159 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
13172 for ac_header
in ft2build.h \
13173 freetype
/freetype.h \
13174 freetype
/ftglyph.h \
13175 freetype
/fttypes.h \
13176 freetype
/tttables.h \
13177 freetype
/ftnames.h \
13178 freetype
/ftsnames.h \
13179 freetype
/ttnameid.h \
13180 freetype
/ftoutln.h \
13181 freetype
/ftwinfnt.h \
13182 freetype
/ftmodapi.h \
13183 freetype
/internal
/sfnt.h
13185 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13186 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13188 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13189 echo $ECHO_N "(cached) $ECHO_C" >&6
13191 cat >conftest.
$ac_ext <<_ACEOF
13194 cat confdefs.h
>>conftest.
$ac_ext
13195 cat >>conftest.
$ac_ext <<_ACEOF
13196 /* end confdefs.h. */
13197 #if HAVE_FT2BUILD_H
13198 #include <ft2build.h>
13201 #include <$ac_header>
13203 rm -f conftest.
$ac_objext
13204 if { (ac_try
="$ac_compile"
13205 case "(($ac_try" in
13206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13207 *) ac_try_echo=$ac_try;;
13209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13210 (eval "$ac_compile") 2>conftest.er1
13212 grep -v '^ *+' conftest.er1 >conftest.err
13214 cat conftest.err >&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); } && {
13217 test -z "$ac_c_werror_flag" ||
13218 test ! -s conftest.err
13219 } && test -s conftest.$ac_objext; then
13220 eval "$as_ac_Header=yes"
13222 echo "$as_me: failed program was:" >&5
13223 sed 's/^/| /' conftest.$ac_ext >&5
13225 eval "$as_ac_Header=no"
13228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13230 ac_res=`eval echo '${'$as_ac_Header'}'`
13231 { echo "$as_me:$LINENO: result: $ac_res" >&5
13232 echo "${ECHO_T}$ac_res" >&6; }
13233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13234 cat >>confdefs.h <<_ACEOF
13235 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13242 cat >conftest.$ac_ext <<_ACEOF
13245 cat confdefs.h >>conftest.$ac_ext
13246 cat >>conftest.$ac_ext <<_ACEOF
13247 /* end confdefs.h. */
13248 #include <ft2build.h>
13249 #include <freetype/fttrigon.h>
13251 if { (ac_try="$ac_cpp conftest.$ac_ext"
13252 case "(($ac_try" in
13253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13254 *) ac_try_echo
=$ac_try;;
13256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13257 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13259 grep -v '^ *+' conftest.er1
>conftest.err
13261 cat conftest.err
>&5
13262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13263 (exit $ac_status); } >/dev
/null
&& {
13264 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13265 test ! -s conftest.err
13268 cat >>confdefs.h
<<\_ACEOF
13269 #define HAVE_FREETYPE_FTTRIGON_H 1
13272 wine_cv_fttrigon
=yes
13274 echo "$as_me: failed program was:" >&5
13275 sed 's/^/| /' conftest.
$ac_ext >&5
13277 wine_cv_fttrigon
=no
13280 rm -f conftest.err conftest.
$ac_ext
13281 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13282 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13283 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13284 echo $ECHO_N "(cached) $ECHO_C" >&6
13286 cat >conftest.
$ac_ext <<_ACEOF
13289 cat confdefs.h
>>conftest.
$ac_ext
13290 cat >>conftest.
$ac_ext <<_ACEOF
13291 /* end confdefs.h. */
13292 #include <freetype/ftmodapi.h>
13294 typedef FT_TrueTypeEngineType ac__type_new_;
13298 if ((ac__type_new_ *) 0)
13300 if (sizeof (ac__type_new_))
13306 rm -f conftest.
$ac_objext
13307 if { (ac_try
="$ac_compile"
13308 case "(($ac_try" in
13309 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13310 *) ac_try_echo=$ac_try;;
13312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13313 (eval "$ac_compile") 2>conftest.er1
13315 grep -v '^ *+' conftest.er1 >conftest.err
13317 cat conftest.err >&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); } && {
13320 test -z "$ac_c_werror_flag" ||
13321 test ! -s conftest.err
13322 } && test -s conftest.$ac_objext; then
13323 ac_cv_type_FT_TrueTypeEngineType=yes
13325 echo "$as_me: failed program was:" >&5
13326 sed 's/^/| /' conftest.$ac_ext >&5
13328 ac_cv_type_FT_TrueTypeEngineType=no
13331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13333 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13334 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13335 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13337 cat >>confdefs.h <<_ACEOF
13338 #define HAVE_FT_TRUETYPEENGINETYPE 1
13344 ac_save_CFLAGS="$CFLAGS"
13345 CFLAGS="$CFLAGS $ac_freetype_libs"
13347 for ac_func in FT_Load_Sfnt_Table
13349 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13350 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13352 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13353 echo $ECHO_N "(cached) $ECHO_C" >&6
13355 cat >conftest.$ac_ext <<_ACEOF
13358 cat confdefs.h >>conftest.$ac_ext
13359 cat >>conftest.$ac_ext <<_ACEOF
13360 /* end confdefs.h. */
13361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13363 #define $ac_func innocuous_$ac_func
13365 /* System header to define __stub macros and hopefully few prototypes,
13366 which can conflict with char $ac_func (); below.
13367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13368 <limits.h> exists even on freestanding compilers. */
13371 # include <limits.h>
13373 # include <assert.h>
13378 /* Override any GCC internal prototype to avoid an error.
13379 Use char because int might match the return type of a GCC
13380 builtin and then its argument prototype would still apply. */
13385 /* The GNU C library defines this for functions which it implements
13386 to always fail with ENOSYS. Some functions are actually named
13387 something starting with __ and the normal name is an alias. */
13388 #if defined __stub_$ac_func || defined __stub___$ac_func
13395 return $ac_func ();
13400 rm -f conftest.$ac_objext conftest$ac_exeext
13401 if { (ac_try="$ac_link"
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_link") 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_exeext &&
13417 $as_test_x conftest
$ac_exeext; then
13418 eval "$as_ac_var=yes"
13420 echo "$as_me: failed program was:" >&5
13421 sed 's/^/| /' conftest.
$ac_ext >&5
13423 eval "$as_ac_var=no"
13426 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13427 conftest
$ac_exeext conftest.
$ac_ext
13429 ac_res
=`eval echo '${'$as_ac_var'}'`
13430 { echo "$as_me:$LINENO: result: $ac_res" >&5
13431 echo "${ECHO_T}$ac_res" >&6; }
13432 if test `eval echo '${'$as_ac_var'}'` = yes; then
13433 cat >>confdefs.h
<<_ACEOF
13434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13440 CFLAGS
="$ac_save_CFLAGS"
13441 CPPFLAGS
="$ac_save_CPPFLAGS"
13442 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13445 cat >>confdefs.h
<<\_ACEOF
13446 #define HAVE_FREETYPE 1
13449 FREETYPELIBS
="$ac_freetype_libs"
13451 FREETYPEINCL
="$ac_freetype_incl"
13457 if test "$FONTFORGE" = "false"
13459 wine_warnings
="$wine_warnings|FontForge is missing.
13460 Fonts will not be built. Dialog text may be invisible or unaligned."
13461 elif test "x$FREETYPELIBS" = "x"
13463 wine_warnings
="$wine_warnings|FreeType development files not found.
13464 Fonts will not be built. Dialog text may be invisible or unaligned."
13466 FONTSSUBDIRS
="fonts"
13470 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13471 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13472 if test "${ac_cv_c_ppdev+set}" = set; then
13473 echo $ECHO_N "(cached) $ECHO_C" >&6
13475 cat >conftest.
$ac_ext <<_ACEOF
13478 cat confdefs.h
>>conftest.
$ac_ext
13479 cat >>conftest.
$ac_ext <<_ACEOF
13480 /* end confdefs.h. */
13481 #include <linux/ppdev.h>
13485 ioctl (1,PPCLAIM,0)
13490 rm -f conftest.
$ac_objext
13491 if { (ac_try
="$ac_compile"
13492 case "(($ac_try" in
13493 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13494 *) ac_try_echo=$ac_try;;
13496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13497 (eval "$ac_compile") 2>conftest.er1
13499 grep -v '^ *+' conftest.er1 >conftest.err
13501 cat conftest.err >&5
13502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13503 (exit $ac_status); } && {
13504 test -z "$ac_c_werror_flag" ||
13505 test ! -s conftest.err
13506 } && test -s conftest.$ac_objext; then
13507 ac_cv_c_ppdev="yes"
13509 echo "$as_me: failed program was:" >&5
13510 sed 's/^/| /' conftest.$ac_ext >&5
13515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13517 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13518 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13519 if test "$ac_cv_c_ppdev" = "yes"
13522 cat >>confdefs.h <<\_ACEOF
13523 #define HAVE_PPDEV 1
13528 { echo "$as_me:$LINENO: checking for va_copy" >&5
13529 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13530 if test "${ac_cv_c_va_copy+set}" = set; then
13531 echo $ECHO_N "(cached) $ECHO_C" >&6
13533 cat >conftest.$ac_ext <<_ACEOF
13536 cat confdefs.h >>conftest.$ac_ext
13537 cat >>conftest.$ac_ext <<_ACEOF
13538 /* end confdefs.h. */
13539 #include <stdarg.h>
13543 va_list ap1, ap2; va_copy(ap1,ap2);
13548 rm -f conftest.$ac_objext conftest$ac_exeext
13549 if { (ac_try="$ac_link"
13550 case "(($ac_try" in
13551 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13552 *) ac_try_echo
=$ac_try;;
13554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13555 (eval "$ac_link") 2>conftest.er1
13557 grep -v '^ *+' conftest.er1
>conftest.err
13559 cat conftest.err
>&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); } && {
13562 test -z "$ac_c_werror_flag" ||
13563 test ! -s conftest.err
13564 } && test -s conftest
$ac_exeext &&
13565 $as_test_x conftest
$ac_exeext; then
13566 ac_cv_c_va_copy
="yes"
13568 echo "$as_me: failed program was:" >&5
13569 sed 's/^/| /' conftest.
$ac_ext >&5
13571 ac_cv_c_va_copy
="no"
13574 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13575 conftest
$ac_exeext conftest.
$ac_ext
13578 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13579 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13580 if test "$ac_cv_c_va_copy" = "yes"
13583 cat >>confdefs.h
<<\_ACEOF
13584 #define HAVE_VA_COPY 1
13588 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13589 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13590 if test "${ac_cv_c___va_copy+set}" = set; then
13591 echo $ECHO_N "(cached) $ECHO_C" >&6
13593 cat >conftest.
$ac_ext <<_ACEOF
13596 cat confdefs.h
>>conftest.
$ac_ext
13597 cat >>conftest.
$ac_ext <<_ACEOF
13598 /* end confdefs.h. */
13599 #include <stdarg.h>
13603 va_list ap1, ap2; __va_copy(ap1,ap2);
13608 rm -f conftest.
$ac_objext conftest
$ac_exeext
13609 if { (ac_try
="$ac_link"
13610 case "(($ac_try" in
13611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13612 *) ac_try_echo=$ac_try;;
13614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13615 (eval "$ac_link") 2>conftest.er1
13617 grep -v '^ *+' conftest.er1 >conftest.err
13619 cat conftest.err >&5
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); } && {
13622 test -z "$ac_c_werror_flag" ||
13623 test ! -s conftest.err
13624 } && test -s conftest$ac_exeext &&
13625 $as_test_x conftest$ac_exeext; then
13626 ac_cv_c___va_copy="yes"
13628 echo "$as_me: failed program was:" >&5
13629 sed 's/^/| /' conftest.$ac_ext >&5
13631 ac_cv_c___va_copy="no"
13634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13635 conftest$ac_exeext conftest.$ac_ext
13638 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13639 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13640 if test "$ac_cv_c___va_copy" = "yes"
13643 cat >>confdefs.h <<\_ACEOF
13644 #define HAVE___VA_COPY 1
13649 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13650 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13651 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13652 echo $ECHO_N "(cached) $ECHO_C" >&6
13654 cat >conftest.$ac_ext <<_ACEOF
13657 cat confdefs.h >>conftest.$ac_ext
13658 cat >>conftest.$ac_ext <<_ACEOF
13659 /* end confdefs.h. */
13660 #include <setjmp.h>
13665 sigsetjmp( buf, 1 );
13666 siglongjmp( buf, 1 );
13671 rm -f conftest.$ac_objext conftest$ac_exeext
13672 if { (ac_try="$ac_link"
13673 case "(($ac_try" in
13674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13675 *) ac_try_echo
=$ac_try;;
13677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13678 (eval "$ac_link") 2>conftest.er1
13680 grep -v '^ *+' conftest.er1
>conftest.err
13682 cat conftest.err
>&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); } && {
13685 test -z "$ac_c_werror_flag" ||
13686 test ! -s conftest.err
13687 } && test -s conftest
$ac_exeext &&
13688 $as_test_x conftest
$ac_exeext; then
13689 ac_cv_c_sigsetjmp
="yes"
13691 echo "$as_me: failed program was:" >&5
13692 sed 's/^/| /' conftest.
$ac_ext >&5
13694 ac_cv_c_sigsetjmp
="no"
13697 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13698 conftest
$ac_exeext conftest.
$ac_ext
13701 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13702 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13703 if test "$ac_cv_c_sigsetjmp" = "yes"
13706 cat >>confdefs.h
<<\_ACEOF
13707 #define HAVE_SIGSETJMP 1
13712 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13713 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13714 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13715 echo $ECHO_N "(cached) $ECHO_C" >&6
13717 cat >conftest.
$ac_ext <<_ACEOF
13720 cat confdefs.h
>>conftest.
$ac_ext
13721 cat >>conftest.
$ac_ext <<_ACEOF
13722 /* end confdefs.h. */
13723 #define _GNU_SOURCE
13724 #include <pthread.h>
13726 typedef pthread_rwlock_t ac__type_new_;
13730 if ((ac__type_new_ *) 0)
13732 if (sizeof (ac__type_new_))
13738 rm -f conftest.
$ac_objext
13739 if { (ac_try
="$ac_compile"
13740 case "(($ac_try" in
13741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13742 *) ac_try_echo=$ac_try;;
13744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13745 (eval "$ac_compile") 2>conftest.er1
13747 grep -v '^ *+' conftest.er1 >conftest.err
13749 cat conftest.err >&5
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); } && {
13752 test -z "$ac_c_werror_flag" ||
13753 test ! -s conftest.err
13754 } && test -s conftest.$ac_objext; then
13755 ac_cv_type_pthread_rwlock_t=yes
13757 echo "$as_me: failed program was:" >&5
13758 sed 's/^/| /' conftest.$ac_ext >&5
13760 ac_cv_type_pthread_rwlock_t=no
13763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13765 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13766 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13767 if test $ac_cv_type_pthread_rwlock_t = yes; then
13769 cat >>confdefs.h <<_ACEOF
13770 #define HAVE_PTHREAD_RWLOCK_T 1
13775 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13776 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13777 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13778 echo $ECHO_N "(cached) $ECHO_C" >&6
13780 cat >conftest.$ac_ext <<_ACEOF
13783 cat confdefs.h >>conftest.$ac_ext
13784 cat >>conftest.$ac_ext <<_ACEOF
13785 /* end confdefs.h. */
13786 #define _GNU_SOURCE
13787 #include <pthread.h>
13789 typedef pthread_rwlockattr_t ac__type_new_;
13793 if ((ac__type_new_ *) 0)
13795 if (sizeof (ac__type_new_))
13801 rm -f conftest.$ac_objext
13802 if { (ac_try="$ac_compile"
13803 case "(($ac_try" in
13804 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13805 *) ac_try_echo
=$ac_try;;
13807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13808 (eval "$ac_compile") 2>conftest.er1
13810 grep -v '^ *+' conftest.er1
>conftest.err
13812 cat conftest.err
>&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); } && {
13815 test -z "$ac_c_werror_flag" ||
13816 test ! -s conftest.err
13817 } && test -s conftest.
$ac_objext; then
13818 ac_cv_type_pthread_rwlockattr_t
=yes
13820 echo "$as_me: failed program was:" >&5
13821 sed 's/^/| /' conftest.
$ac_ext >&5
13823 ac_cv_type_pthread_rwlockattr_t
=no
13826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13828 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13829 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13830 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13832 cat >>confdefs.h
<<_ACEOF
13833 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13840 ac_wine_check_funcs_save_LIBS
="$LIBS"
13841 LIBS
="$LIBS $LIBPTHREAD"
13847 pthread_attr_get_np \
13848 pthread_getattr_np \
13849 pthread_get_stackaddr_np \
13850 pthread_get_stacksize_np
13852 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13853 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13855 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13856 echo $ECHO_N "(cached) $ECHO_C" >&6
13858 cat >conftest.
$ac_ext <<_ACEOF
13861 cat confdefs.h
>>conftest.
$ac_ext
13862 cat >>conftest.
$ac_ext <<_ACEOF
13863 /* end confdefs.h. */
13864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13866 #define $ac_func innocuous_$ac_func
13868 /* System header to define __stub macros and hopefully few prototypes,
13869 which can conflict with char $ac_func (); below.
13870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13871 <limits.h> exists even on freestanding compilers. */
13874 # include <limits.h>
13876 # include <assert.h>
13881 /* Override any GCC internal prototype to avoid an error.
13882 Use char because int might match the return type of a GCC
13883 builtin and then its argument prototype would still apply. */
13888 /* The GNU C library defines this for functions which it implements
13889 to always fail with ENOSYS. Some functions are actually named
13890 something starting with __ and the normal name is an alias. */
13891 #if defined __stub_$ac_func || defined __stub___$ac_func
13898 return $ac_func ();
13903 rm -f conftest.
$ac_objext conftest
$ac_exeext
13904 if { (ac_try
="$ac_link"
13905 case "(($ac_try" in
13906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13907 *) ac_try_echo=$ac_try;;
13909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13910 (eval "$ac_link") 2>conftest.er1
13912 grep -v '^ *+' conftest.er1 >conftest.err
13914 cat conftest.err >&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 (exit $ac_status); } && {
13917 test -z "$ac_c_werror_flag" ||
13918 test ! -s conftest.err
13919 } && test -s conftest$ac_exeext &&
13920 $as_test_x conftest$ac_exeext; then
13921 eval "$as_ac_var=yes"
13923 echo "$as_me: failed program was:" >&5
13924 sed 's/^/| /' conftest.$ac_ext >&5
13926 eval "$as_ac_var=no"
13929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13930 conftest$ac_exeext conftest.$ac_ext
13932 ac_res=`eval echo '${'$as_ac_var'}'`
13933 { echo "$as_me:$LINENO: result: $ac_res" >&5
13934 echo "${ECHO_T}$ac_res" >&6; }
13935 if test `eval echo '${'$as_ac_var'}'` = yes; then
13936 cat >>confdefs.h <<_ACEOF
13937 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13943 LIBS="$ac_wine_check_funcs_save_LIBS"
13945 # Extract the first word of "esd-config", so it can be a program name with args.
13946 set dummy esd-config; ac_word=$2
13947 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13949 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13950 echo $ECHO_N "(cached) $ECHO_C" >&6
13954 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13958 for as_dir in $PATH
13961 test -z "$as_dir" && as_dir=.
13962 for ac_exec_ext in '' $ac_executable_extensions; do
13963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13964 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13975 ESDCONFIG=$ac_cv_path_ESDCONFIG
13976 if test -n "$ESDCONFIG"; then
13977 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13978 echo "${ECHO_T}$ESDCONFIG" >&6; }
13980 { echo "$as_me:$LINENO: result: no" >&5
13981 echo "${ECHO_T}no" >&6; }
13985 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13988 for i in `$ESDCONFIG --cflags`
13991 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13994 ESD_LIBS=`$ESDCONFIG --libs`
13995 save_CFLAGS="$CFLAGS"
13996 CFLAGS="$CFLAGS $ESD_CFLAGS"
13997 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13998 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13999 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14000 echo $ECHO_N "(cached) $ECHO_C" >&6
14002 ac_check_lib_save_LIBS=$LIBS
14004 cat >conftest.$ac_ext <<_ACEOF
14007 cat confdefs.h >>conftest.$ac_ext
14008 cat >>conftest.$ac_ext <<_ACEOF
14009 /* end confdefs.h. */
14011 /* Override any GCC internal prototype to avoid an error.
14012 Use char because int might match the return type of a GCC
14013 builtin and then its argument prototype would still apply. */
14017 char esd_open_sound ();
14021 return esd_open_sound ();
14026 rm -f conftest.$ac_objext conftest$ac_exeext
14027 if { (ac_try="$ac_link"
14028 case "(($ac_try" in
14029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14030 *) ac_try_echo
=$ac_try;;
14032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14033 (eval "$ac_link") 2>conftest.er1
14035 grep -v '^ *+' conftest.er1
>conftest.err
14037 cat conftest.err
>&5
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); } && {
14040 test -z "$ac_c_werror_flag" ||
14041 test ! -s conftest.err
14042 } && test -s conftest
$ac_exeext &&
14043 $as_test_x conftest
$ac_exeext; then
14044 ac_cv_lib_esd_esd_open_sound
=yes
14046 echo "$as_me: failed program was:" >&5
14047 sed 's/^/| /' conftest.
$ac_ext >&5
14049 ac_cv_lib_esd_esd_open_sound
=no
14052 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14053 conftest
$ac_exeext conftest.
$ac_ext
14054 LIBS
=$ac_check_lib_save_LIBS
14056 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14057 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14058 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14061 ESDINCL
=$ESD_CFLAGS
14064 cat >>confdefs.h
<<\_ACEOF
14070 CFLAGS
="$save_CFLAGS"
14075 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14077 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14078 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14079 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14080 echo $ECHO_N "(cached) $ECHO_C" >&6
14082 ac_check_lib_save_LIBS
=$LIBS
14083 LIBS
="-lasound $LIBS"
14084 cat >conftest.
$ac_ext <<_ACEOF
14087 cat confdefs.h
>>conftest.
$ac_ext
14088 cat >>conftest.
$ac_ext <<_ACEOF
14089 /* end confdefs.h. */
14091 /* Override any GCC internal prototype to avoid an error.
14092 Use char because int might match the return type of a GCC
14093 builtin and then its argument prototype would still apply. */
14097 char snd_pcm_hw_params_get_access ();
14101 return snd_pcm_hw_params_get_access ();
14106 rm -f conftest.
$ac_objext conftest
$ac_exeext
14107 if { (ac_try
="$ac_link"
14108 case "(($ac_try" in
14109 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14110 *) ac_try_echo=$ac_try;;
14112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14113 (eval "$ac_link") 2>conftest.er1
14115 grep -v '^ *+' conftest.er1 >conftest.err
14117 cat conftest.err >&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); } && {
14120 test -z "$ac_c_werror_flag" ||
14121 test ! -s conftest.err
14122 } && test -s conftest$ac_exeext &&
14123 $as_test_x conftest$ac_exeext; then
14124 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14126 echo "$as_me: failed program was:" >&5
14127 sed 's/^/| /' conftest.$ac_ext >&5
14129 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14133 conftest$ac_exeext conftest.$ac_ext
14134 LIBS=$ac_check_lib_save_LIBS
14136 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14137 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14138 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14139 cat >conftest.$ac_ext <<_ACEOF
14142 cat confdefs.h >>conftest.$ac_ext
14143 cat >>conftest.$ac_ext <<_ACEOF
14144 /* end confdefs.h. */
14145 #ifdef HAVE_ALSA_ASOUNDLIB_H
14146 #include <alsa/asoundlib.h>
14147 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14148 #include <sys/asoundlib.h>
14153 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14158 rm -f conftest.$ac_objext
14159 if { (ac_try="$ac_compile"
14160 case "(($ac_try" in
14161 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14162 *) ac_try_echo
=$ac_try;;
14164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14165 (eval "$ac_compile") 2>conftest.er1
14167 grep -v '^ *+' conftest.er1
>conftest.err
14169 cat conftest.err
>&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); } && {
14172 test -z "$ac_c_werror_flag" ||
14173 test ! -s conftest.err
14174 } && test -s conftest.
$ac_objext; then
14176 cat >>confdefs.h
<<\_ACEOF
14177 #define HAVE_ALSA 1
14180 ALSALIBS
="-lasound"
14182 echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.
$ac_ext >&5
14188 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14195 if test "$ac_cv_header_libaudioio_h" = "yes"
14197 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14198 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14199 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14200 echo $ECHO_N "(cached) $ECHO_C" >&6
14202 ac_check_lib_save_LIBS
=$LIBS
14203 LIBS
="-laudioio $LIBS"
14204 cat >conftest.
$ac_ext <<_ACEOF
14207 cat confdefs.h
>>conftest.
$ac_ext
14208 cat >>conftest.
$ac_ext <<_ACEOF
14209 /* end confdefs.h. */
14211 /* Override any GCC internal prototype to avoid an error.
14212 Use char because int might match the return type of a GCC
14213 builtin and then its argument prototype would still apply. */
14217 char AudioIOGetVersion ();
14221 return AudioIOGetVersion ();
14226 rm -f conftest.
$ac_objext conftest
$ac_exeext
14227 if { (ac_try
="$ac_link"
14228 case "(($ac_try" in
14229 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14230 *) ac_try_echo=$ac_try;;
14232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14233 (eval "$ac_link") 2>conftest.er1
14235 grep -v '^ *+' conftest.er1 >conftest.err
14237 cat conftest.err >&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); } && {
14240 test -z "$ac_c_werror_flag" ||
14241 test ! -s conftest.err
14242 } && test -s conftest$ac_exeext &&
14243 $as_test_x conftest$ac_exeext; then
14244 ac_cv_lib_audioio_AudioIOGetVersion=yes
14246 echo "$as_me: failed program was:" >&5
14247 sed 's/^/| /' conftest.$ac_ext >&5
14249 ac_cv_lib_audioio_AudioIOGetVersion=no
14252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14253 conftest$ac_exeext conftest.$ac_ext
14254 LIBS=$ac_check_lib_save_LIBS
14256 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14257 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14258 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14259 AUDIOIOLIBS="-laudioio"
14261 cat >>confdefs.h <<\_ACEOF
14262 #define HAVE_LIBAUDIOIO 1
14270 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14272 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14273 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14274 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14275 echo $ECHO_N "(cached) $ECHO_C" >&6
14277 ac_check_soname_save_LIBS=$LIBS
14278 LIBS="-lcapi20 $LIBS"
14279 cat >conftest.$ac_ext <<_ACEOF
14282 cat confdefs.h >>conftest.$ac_ext
14283 cat >>conftest.$ac_ext <<_ACEOF
14284 /* end confdefs.h. */
14286 /* Override any GCC internal prototype to avoid an error.
14287 Use char because int might match the return type of a GCC
14288 builtin and then its argument prototype would still apply. */
14292 char capi20_register ();
14296 return capi20_register ();
14301 rm -f conftest.$ac_objext conftest$ac_exeext
14302 if { (ac_try="$ac_link"
14303 case "(($ac_try" in
14304 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14305 *) ac_try_echo
=$ac_try;;
14307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14308 (eval "$ac_link") 2>conftest.er1
14310 grep -v '^ *+' conftest.er1
>conftest.err
14312 cat conftest.err
>&5
14313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14314 (exit $ac_status); } && {
14315 test -z "$ac_c_werror_flag" ||
14316 test ! -s conftest.err
14317 } && test -s conftest
$ac_exeext &&
14318 $as_test_x conftest
$ac_exeext; then
14321 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'` ;;
14322 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14325 echo "$as_me: failed program was:" >&5
14326 sed 's/^/| /' conftest.
$ac_ext >&5
14331 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14332 conftest
$ac_exeext conftest.
$ac_ext
14333 LIBS
=$ac_check_soname_save_LIBS
14335 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14336 { echo "$as_me:$LINENO: result: not found" >&5
14337 echo "${ECHO_T}not found" >&6; }
14340 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14341 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14343 cat >>confdefs.h
<<_ACEOF
14344 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14351 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14352 wine_notices
="$wine_notices|libcapi20 development files not found.
14353 Wine will be built without ISDN support. (capi2032.dll)"
14357 if test "$ac_cv_header_cups_cups_h" = "yes"
14359 { echo "$as_me:$LINENO: checking for -lcups" >&5
14360 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14361 if test "${ac_cv_lib_soname_cups+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14364 ac_check_soname_save_LIBS
=$LIBS
14365 LIBS
="-lcups $LIBS"
14366 cat >conftest.
$ac_ext <<_ACEOF
14369 cat confdefs.h
>>conftest.
$ac_ext
14370 cat >>conftest.
$ac_ext <<_ACEOF
14371 /* end confdefs.h. */
14373 /* Override any GCC internal prototype to avoid an error.
14374 Use char because int might match the return type of a GCC
14375 builtin and then its argument prototype would still apply. */
14379 char cupsGetDefault ();
14383 return cupsGetDefault ();
14388 rm -f conftest.
$ac_objext conftest
$ac_exeext
14389 if { (ac_try
="$ac_link"
14390 case "(($ac_try" in
14391 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14392 *) ac_try_echo=$ac_try;;
14394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14395 (eval "$ac_link") 2>conftest.er1
14397 grep -v '^ *+' conftest.er1 >conftest.err
14399 cat conftest.err >&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); } && {
14402 test -z "$ac_c_werror_flag" ||
14403 test ! -s conftest.err
14404 } && test -s conftest$ac_exeext &&
14405 $as_test_x conftest$ac_exeext; then
14408 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'` ;;
14409 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcups\\.$LIBEXT" |
sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14412 echo "$as_me: failed program was:" >&5
14413 sed 's/^/| /' conftest.$ac_ext >&5
14418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14419 conftest$ac_exeext conftest.$ac_ext
14420 LIBS=$ac_check_soname_save_LIBS
14422 if test "x$ac_cv_lib_soname_cups" = "x"; then
14423 { echo "$as_me:$LINENO: result: not found" >&5
14424 echo "${ECHO_T}not found" >&6; }
14427 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14428 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14430 cat >>confdefs.h <<_ACEOF
14431 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14438 if test "x$ac_cv_lib_soname_cups" = "x"; then
14439 wine_notices="$wine_notices|libcups development files not found.
14440 Wine will be built without CUPS support."
14444 if test "$ac_cv_header_jack_jack_h" = "yes"
14446 { echo "$as_me:$LINENO: checking for -ljack" >&5
14447 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14448 if test "${ac_cv_lib_soname_jack+set}" = set; then
14449 echo $ECHO_N "(cached) $ECHO_C" >&6
14451 ac_check_soname_save_LIBS=$LIBS
14452 LIBS="-ljack $LIBS"
14453 cat >conftest.$ac_ext <<_ACEOF
14456 cat confdefs.h >>conftest.$ac_ext
14457 cat >>conftest.$ac_ext <<_ACEOF
14458 /* end confdefs.h. */
14460 /* Override any GCC internal prototype to avoid an error.
14461 Use char because int might match the return type of a GCC
14462 builtin and then its argument prototype would still apply. */
14466 char jack_client_new ();
14470 return jack_client_new ();
14475 rm -f conftest.$ac_objext conftest$ac_exeext
14476 if { (ac_try="$ac_link"
14477 case "(($ac_try" in
14478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14479 *) ac_try_echo
=$ac_try;;
14481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14482 (eval "$ac_link") 2>conftest.er1
14484 grep -v '^ *+' conftest.er1
>conftest.err
14486 cat conftest.err
>&5
14487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 (exit $ac_status); } && {
14489 test -z "$ac_c_werror_flag" ||
14490 test ! -s conftest.err
14491 } && test -s conftest
$ac_exeext &&
14492 $as_test_x conftest
$ac_exeext; then
14495 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'` ;;
14496 *) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14499 echo "$as_me: failed program was:" >&5
14500 sed 's/^/| /' conftest.
$ac_ext >&5
14505 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14506 conftest
$ac_exeext conftest.
$ac_ext
14507 LIBS
=$ac_check_soname_save_LIBS
14509 if test "x$ac_cv_lib_soname_jack" = "x"; then
14510 { echo "$as_me:$LINENO: result: not found" >&5
14511 echo "${ECHO_T}not found" >&6; }
14514 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14515 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14517 cat >>confdefs.h
<<_ACEOF
14518 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14526 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14528 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14529 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14530 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14531 echo $ECHO_N "(cached) $ECHO_C" >&6
14533 ac_check_soname_save_LIBS
=$LIBS
14534 LIBS
="-lfontconfig $LIBS"
14535 cat >conftest.
$ac_ext <<_ACEOF
14538 cat confdefs.h
>>conftest.
$ac_ext
14539 cat >>conftest.
$ac_ext <<_ACEOF
14540 /* end confdefs.h. */
14542 /* Override any GCC internal prototype to avoid an error.
14543 Use char because int might match the return type of a GCC
14544 builtin and then its argument prototype would still apply. */
14557 rm -f conftest.
$ac_objext conftest
$ac_exeext
14558 if { (ac_try
="$ac_link"
14559 case "(($ac_try" in
14560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14561 *) ac_try_echo=$ac_try;;
14563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14564 (eval "$ac_link") 2>conftest.er1
14566 grep -v '^ *+' conftest.er1 >conftest.err
14568 cat conftest.err >&5
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); } && {
14571 test -z "$ac_c_werror_flag" ||
14572 test ! -s conftest.err
14573 } && test -s conftest$ac_exeext &&
14574 $as_test_x conftest$ac_exeext; then
14577 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'` ;;
14578 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14581 echo "$as_me: failed program was:" >&5
14582 sed 's/^/| /' conftest.$ac_ext >&5
14587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14588 conftest$ac_exeext conftest.$ac_ext
14589 LIBS=$ac_check_soname_save_LIBS
14591 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14592 { echo "$as_me:$LINENO: result: not found" >&5
14593 echo "${ECHO_T}not found" >&6; }
14596 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14597 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14599 cat >>confdefs.h <<_ACEOF
14600 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14606 elif test -n "$X_CFLAGS"
14608 ac_save_CPPFLAGS="$CPPFLAGS"
14609 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14610 $as_unset ac_cv_header_fontconfig_fontconfig_h
14612 for ac_header in fontconfig/fontconfig.h
14614 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
14615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14616 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14618 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14619 echo $ECHO_N "(cached) $ECHO_C" >&6
14621 ac_res=`eval echo '${'$as_ac_Header'}'`
14622 { echo "$as_me:$LINENO: result: $ac_res" >&5
14623 echo "${ECHO_T}$ac_res" >&6; }
14625 # Is the header compilable?
14626 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14627 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14628 cat >conftest.$ac_ext <<_ACEOF
14631 cat confdefs.h >>conftest.$ac_ext
14632 cat >>conftest.$ac_ext <<_ACEOF
14633 /* end confdefs.h. */
14634 $ac_includes_default
14635 #include <$ac_header>
14637 rm -f conftest.$ac_objext
14638 if { (ac_try="$ac_compile"
14639 case "(($ac_try" in
14640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14641 *) ac_try_echo
=$ac_try;;
14643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14644 (eval "$ac_compile") 2>conftest.er1
14646 grep -v '^ *+' conftest.er1
>conftest.err
14648 cat conftest.err
>&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); } && {
14651 test -z "$ac_c_werror_flag" ||
14652 test ! -s conftest.err
14653 } && test -s conftest.
$ac_objext; then
14654 ac_header_compiler
=yes
14656 echo "$as_me: failed program was:" >&5
14657 sed 's/^/| /' conftest.
$ac_ext >&5
14659 ac_header_compiler
=no
14662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14663 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14664 echo "${ECHO_T}$ac_header_compiler" >&6; }
14666 # Is the header present?
14667 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14668 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14669 cat >conftest.
$ac_ext <<_ACEOF
14672 cat confdefs.h
>>conftest.
$ac_ext
14673 cat >>conftest.
$ac_ext <<_ACEOF
14674 /* end confdefs.h. */
14675 #include <$ac_header>
14677 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14678 case "(($ac_try" in
14679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14680 *) ac_try_echo=$ac_try;;
14682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14683 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14685 grep -v '^ *+' conftest.er1 >conftest.err
14687 cat conftest.err >&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); } >/dev/null && {
14690 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14691 test ! -s conftest.err
14693 ac_header_preproc=yes
14695 echo "$as_me: failed program was:" >&5
14696 sed 's/^/| /' conftest.$ac_ext >&5
14698 ac_header_preproc=no
14701 rm -f conftest.err conftest.$ac_ext
14702 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14703 echo "${ECHO_T}$ac_header_preproc" >&6; }
14705 # So? What about this header?
14706 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14708 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14709 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14711 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14712 ac_header_preproc=yes
14715 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14716 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14717 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14718 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14719 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14720 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14721 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14722 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14724 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14725 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14726 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14728 ## ------------------------------------ ##
14729 ## Report this to wine-devel@winehq.org ##
14730 ## ------------------------------------ ##
14732 ) | sed "s/^/$as_me: WARNING: /" >&2
14735 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14737 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14738 echo $ECHO_N "(cached) $ECHO_C" >&6
14740 eval "$as_ac_Header=\$ac_header_preproc"
14742 ac_res=`eval echo '${'$as_ac_Header'}'`
14743 { echo "$as_me:$LINENO: result: $ac_res" >&5
14744 echo "${ECHO_T}$ac_res" >&6; }
14747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14748 cat >>confdefs.h <<_ACEOF
14749 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14756 CPPFLAGS="$ac_save_CPPFLAGS"
14757 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14759 FONTCONFIGINCL="$X_CFLAGS"
14761 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14762 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14763 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14764 echo $ECHO_N "(cached) $ECHO_C" >&6
14766 ac_check_soname_save_LIBS=$LIBS
14767 LIBS="-lfontconfig $X_LIBS $LIBS"
14768 cat >conftest.$ac_ext <<_ACEOF
14771 cat confdefs.h >>conftest.$ac_ext
14772 cat >>conftest.$ac_ext <<_ACEOF
14773 /* end confdefs.h. */
14775 /* Override any GCC internal prototype to avoid an error.
14776 Use char because int might match the return type of a GCC
14777 builtin and then its argument prototype would still apply. */
14790 rm -f conftest.$ac_objext conftest$ac_exeext
14791 if { (ac_try="$ac_link"
14792 case "(($ac_try" in
14793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14794 *) ac_try_echo
=$ac_try;;
14796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14797 (eval "$ac_link") 2>conftest.er1
14799 grep -v '^ *+' conftest.er1
>conftest.err
14801 cat conftest.err
>&5
14802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803 (exit $ac_status); } && {
14804 test -z "$ac_c_werror_flag" ||
14805 test ! -s conftest.err
14806 } && test -s conftest
$ac_exeext &&
14807 $as_test_x conftest
$ac_exeext; then
14810 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'` ;;
14811 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14814 echo "$as_me: failed program was:" >&5
14815 sed 's/^/| /' conftest.
$ac_ext >&5
14820 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14821 conftest
$ac_exeext conftest.
$ac_ext
14822 LIBS
=$ac_check_soname_save_LIBS
14824 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14825 { echo "$as_me:$LINENO: result: not found" >&5
14826 echo "${ECHO_T}not found" >&6; }
14829 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14830 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14832 cat >>confdefs.h
<<_ACEOF
14833 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14841 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14842 wine_notices
="$wine_notices|fontconfig development files not found.
14843 Wine will be built without fontconfig support."
14847 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14849 { echo "$as_me:$LINENO: checking for -lssl" >&5
14850 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14851 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14852 echo $ECHO_N "(cached) $ECHO_C" >&6
14854 ac_check_soname_save_LIBS
=$LIBS
14856 cat >conftest.
$ac_ext <<_ACEOF
14859 cat confdefs.h
>>conftest.
$ac_ext
14860 cat >>conftest.
$ac_ext <<_ACEOF
14861 /* end confdefs.h. */
14863 /* Override any GCC internal prototype to avoid an error.
14864 Use char because int might match the return type of a GCC
14865 builtin and then its argument prototype would still apply. */
14869 char SSL_library_init ();
14873 return SSL_library_init ();
14878 rm -f conftest.
$ac_objext conftest
$ac_exeext
14879 if { (ac_try
="$ac_link"
14880 case "(($ac_try" in
14881 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14882 *) ac_try_echo=$ac_try;;
14884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14885 (eval "$ac_link") 2>conftest.er1
14887 grep -v '^ *+' conftest.er1 >conftest.err
14889 cat conftest.err >&5
14890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14891 (exit $ac_status); } && {
14892 test -z "$ac_c_werror_flag" ||
14893 test ! -s conftest.err
14894 } && test -s conftest$ac_exeext &&
14895 $as_test_x conftest$ac_exeext; then
14898 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'` ;;
14899 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libssl\\.$LIBEXT" |
sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14902 echo "$as_me: failed program was:" >&5
14903 sed 's/^/| /' conftest.$ac_ext >&5
14908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14909 conftest$ac_exeext conftest.$ac_ext
14910 LIBS=$ac_check_soname_save_LIBS
14912 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14913 { echo "$as_me:$LINENO: result: not found" >&5
14914 echo "${ECHO_T}not found" >&6; }
14917 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14918 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14920 cat >>confdefs.h <<_ACEOF
14921 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14927 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14928 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14929 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14930 echo $ECHO_N "(cached) $ECHO_C" >&6
14932 ac_check_soname_save_LIBS=$LIBS
14933 LIBS="-lcrypto $LIBS"
14934 cat >conftest.$ac_ext <<_ACEOF
14937 cat confdefs.h >>conftest.$ac_ext
14938 cat >>conftest.$ac_ext <<_ACEOF
14939 /* end confdefs.h. */
14941 /* Override any GCC internal prototype to avoid an error.
14942 Use char because int might match the return type of a GCC
14943 builtin and then its argument prototype would still apply. */
14947 char BIO_new_socket ();
14951 return BIO_new_socket ();
14956 rm -f conftest.$ac_objext conftest$ac_exeext
14957 if { (ac_try="$ac_link"
14958 case "(($ac_try" in
14959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14960 *) ac_try_echo
=$ac_try;;
14962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14963 (eval "$ac_link") 2>conftest.er1
14965 grep -v '^ *+' conftest.er1
>conftest.err
14967 cat conftest.err
>&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); } && {
14970 test -z "$ac_c_werror_flag" ||
14971 test ! -s conftest.err
14972 } && test -s conftest
$ac_exeext &&
14973 $as_test_x conftest
$ac_exeext; then
14976 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'` ;;
14977 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14980 echo "$as_me: failed program was:" >&5
14981 sed 's/^/| /' conftest.
$ac_ext >&5
14986 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14987 conftest
$ac_exeext conftest.
$ac_ext
14988 LIBS
=$ac_check_soname_save_LIBS
14990 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14991 { echo "$as_me:$LINENO: result: not found" >&5
14992 echo "${ECHO_T}not found" >&6; }
14995 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14996 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14998 cat >>confdefs.h
<<_ACEOF
14999 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15006 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15007 wine_notices
="$wine_notices|OpenSSL development files not found.
15008 Wine will be built without SSL support. (wininet.dll)"
15012 if test "$ac_cv_header_jpeglib_h" = "yes"
15014 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15015 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15016 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15017 echo $ECHO_N "(cached) $ECHO_C" >&6
15019 ac_check_soname_save_LIBS
=$LIBS
15020 LIBS
="-ljpeg $LIBS"
15021 cat >conftest.
$ac_ext <<_ACEOF
15024 cat confdefs.h
>>conftest.
$ac_ext
15025 cat >>conftest.
$ac_ext <<_ACEOF
15026 /* end confdefs.h. */
15028 /* Override any GCC internal prototype to avoid an error.
15029 Use char because int might match the return type of a GCC
15030 builtin and then its argument prototype would still apply. */
15034 char jpeg_start_decompress ();
15038 return jpeg_start_decompress ();
15043 rm -f conftest.
$ac_objext conftest
$ac_exeext
15044 if { (ac_try
="$ac_link"
15045 case "(($ac_try" in
15046 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15047 *) ac_try_echo=$ac_try;;
15049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15050 (eval "$ac_link") 2>conftest.er1
15052 grep -v '^ *+' conftest.er1 >conftest.err
15054 cat conftest.err >&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); } && {
15057 test -z "$ac_c_werror_flag" ||
15058 test ! -s conftest.err
15059 } && test -s conftest$ac_exeext &&
15060 $as_test_x conftest$ac_exeext; then
15063 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'` ;;
15064 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjpeg\\.$LIBEXT" |
sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15067 echo "$as_me: failed program was:" >&5
15068 sed 's/^/| /' conftest.$ac_ext >&5
15073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15074 conftest$ac_exeext conftest.$ac_ext
15075 LIBS=$ac_check_soname_save_LIBS
15077 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15078 { echo "$as_me:$LINENO: result: not found" >&5
15079 echo "${ECHO_T}not found" >&6; }
15082 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15083 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15085 cat >>confdefs.h <<_ACEOF
15086 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15093 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15094 wine_notices="$wine_notices|libjpeg development files not found.
15095 Wine will be built without JPEG support. (oleaut32.dll)"
15099 if test "$ac_cv_header_png_h" = "yes"
15101 { echo "$as_me:$LINENO: checking for -lpng" >&5
15102 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15103 if test "${ac_cv_lib_soname_png+set}" = set; then
15104 echo $ECHO_N "(cached) $ECHO_C" >&6
15106 ac_check_soname_save_LIBS=$LIBS
15108 cat >conftest.$ac_ext <<_ACEOF
15111 cat confdefs.h >>conftest.$ac_ext
15112 cat >>conftest.$ac_ext <<_ACEOF
15113 /* end confdefs.h. */
15115 /* Override any GCC internal prototype to avoid an error.
15116 Use char because int might match the return type of a GCC
15117 builtin and then its argument prototype would still apply. */
15121 char png_create_read_struct ();
15125 return png_create_read_struct ();
15130 rm -f conftest.$ac_objext conftest$ac_exeext
15131 if { (ac_try="$ac_link"
15132 case "(($ac_try" in
15133 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15134 *) ac_try_echo
=$ac_try;;
15136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15137 (eval "$ac_link") 2>conftest.er1
15139 grep -v '^ *+' conftest.er1
>conftest.err
15141 cat conftest.err
>&5
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); } && {
15144 test -z "$ac_c_werror_flag" ||
15145 test ! -s conftest.err
15146 } && test -s conftest
$ac_exeext &&
15147 $as_test_x conftest
$ac_exeext; then
15150 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'` ;;
15151 *) 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'` ;;
15154 echo "$as_me: failed program was:" >&5
15155 sed 's/^/| /' conftest.
$ac_ext >&5
15160 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15161 conftest
$ac_exeext conftest.
$ac_ext
15162 LIBS
=$ac_check_soname_save_LIBS
15164 if test "x$ac_cv_lib_soname_png" = "x"; then
15165 { echo "$as_me:$LINENO: result: not found" >&5
15166 echo "${ECHO_T}not found" >&6; }
15169 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15170 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15172 cat >>confdefs.h
<<_ACEOF
15173 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15180 if test "x$ac_cv_lib_soname_png" = "x"; then
15181 wine_notices
="$wine_notices|libpng development files not found.
15182 Wine will be built without PNG support. (oleaut32.dll)"
15186 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15187 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15188 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15189 "$ac_cv_header_soundcard_h" != "yes"; then
15190 wine_warnings
="$wine_warnings|No sound system was found. Windows applications will be silent."
15197 if test "x${GCC}" = "xyes"
15199 EXTRACFLAGS
="-Wall -pipe"
15201 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15202 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15203 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15204 echo $ECHO_N "(cached) $ECHO_C" >&6
15206 if test "$cross_compiling" = yes; then
15207 ac_cv_c_gcc_strength_bug
="yes"
15209 cat >conftest.
$ac_ext <<_ACEOF
15212 cat confdefs.h
>>conftest.
$ac_ext
15213 cat >>conftest.
$ac_ext <<_ACEOF
15214 /* end confdefs.h. */
15215 int L[4] = {0,1,2,3};
15219 static int Array[3];
15220 unsigned int B = 3;
15222 for(i=0; i<B; i++) Array[i] = i - 3;
15223 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15225 exit( Array[1] != -2 || L[2] != 3)
15230 rm -f conftest
$ac_exeext
15231 if { (ac_try
="$ac_link"
15232 case "(($ac_try" in
15233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15234 *) ac_try_echo=$ac_try;;
15236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15237 (eval "$ac_link") 2>&5
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15241 { (case "(($ac_try" in
15242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15243 *) ac_try_echo
=$ac_try;;
15245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15246 (eval "$ac_try") 2>&5
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); }; }; then
15250 ac_cv_c_gcc_strength_bug
="no"
15252 echo "$as_me: program exited with status $ac_status" >&5
15253 echo "$as_me: failed program was:" >&5
15254 sed 's/^/| /' conftest.
$ac_ext >&5
15256 ( exit $ac_status )
15257 ac_cv_c_gcc_strength_bug
="yes"
15259 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15264 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15265 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15266 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15268 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
15272 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15273 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15274 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15275 echo $ECHO_N "(cached) $ECHO_C" >&6
15277 ac_wine_try_cflags_saved
=$CFLAGS
15278 CFLAGS
="$CFLAGS -fshort-wchar"
15279 cat >conftest.
$ac_ext <<_ACEOF
15282 cat confdefs.h
>>conftest.
$ac_ext
15283 cat >>conftest.
$ac_ext <<_ACEOF
15284 /* end confdefs.h. */
15294 rm -f conftest.
$ac_objext conftest
$ac_exeext
15295 if { (ac_try
="$ac_link"
15296 case "(($ac_try" in
15297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15298 *) ac_try_echo=$ac_try;;
15300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15301 (eval "$ac_link") 2>conftest.er1
15303 grep -v '^ *+' conftest.er1 >conftest.err
15305 cat conftest.err >&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); } && {
15308 test -z "$ac_c_werror_flag" ||
15309 test ! -s conftest.err
15310 } && test -s conftest$ac_exeext &&
15311 $as_test_x conftest$ac_exeext; then
15312 ac_cv_cflags__fshort_wchar=yes
15314 echo "$as_me: failed program was:" >&5
15315 sed 's/^/| /' conftest.$ac_ext >&5
15317 ac_cv_cflags__fshort_wchar=no
15320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15321 conftest$ac_exeext conftest.$ac_ext
15322 CFLAGS=$ac_wine_try_cflags_saved
15324 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15325 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15326 if test $ac_cv_cflags__fshort_wchar = yes; then
15328 cat >>confdefs.h <<\_ACEOF
15329 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15334 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15335 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15336 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15337 echo $ECHO_N "(cached) $ECHO_C" >&6
15339 ac_wine_try_cflags_saved=$CFLAGS
15340 CFLAGS="$CFLAGS -fno-strict-aliasing"
15341 cat >conftest.$ac_ext <<_ACEOF
15344 cat confdefs.h >>conftest.$ac_ext
15345 cat >>conftest.$ac_ext <<_ACEOF
15346 /* end confdefs.h. */
15356 rm -f conftest.$ac_objext conftest$ac_exeext
15357 if { (ac_try="$ac_link"
15358 case "(($ac_try" in
15359 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15360 *) ac_try_echo
=$ac_try;;
15362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15363 (eval "$ac_link") 2>conftest.er1
15365 grep -v '^ *+' conftest.er1
>conftest.err
15367 cat conftest.err
>&5
15368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369 (exit $ac_status); } && {
15370 test -z "$ac_c_werror_flag" ||
15371 test ! -s conftest.err
15372 } && test -s conftest
$ac_exeext &&
15373 $as_test_x conftest
$ac_exeext; then
15374 ac_cv_cflags__fno_strict_aliasing
=yes
15376 echo "$as_me: failed program was:" >&5
15377 sed 's/^/| /' conftest.
$ac_ext >&5
15379 ac_cv_cflags__fno_strict_aliasing
=no
15382 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15383 conftest
$ac_exeext conftest.
$ac_ext
15384 CFLAGS
=$ac_wine_try_cflags_saved
15386 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15387 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15388 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15389 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
15392 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15393 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15394 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15395 echo $ECHO_N "(cached) $ECHO_C" >&6
15397 ac_wine_try_cflags_saved
=$CFLAGS
15398 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
15399 cat >conftest.
$ac_ext <<_ACEOF
15402 cat confdefs.h
>>conftest.
$ac_ext
15403 cat >>conftest.
$ac_ext <<_ACEOF
15404 /* end confdefs.h. */
15414 rm -f conftest.
$ac_objext conftest
$ac_exeext
15415 if { (ac_try
="$ac_link"
15416 case "(($ac_try" in
15417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15418 *) ac_try_echo=$ac_try;;
15420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15421 (eval "$ac_link") 2>conftest.er1
15423 grep -v '^ *+' conftest.er1 >conftest.err
15425 cat conftest.err >&5
15426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15427 (exit $ac_status); } && {
15428 test -z "$ac_c_werror_flag" ||
15429 test ! -s conftest.err
15430 } && test -s conftest$ac_exeext &&
15431 $as_test_x conftest$ac_exeext; then
15432 ac_cv_cflags__Wdeclaration_after_statement=yes
15434 echo "$as_me: failed program was:" >&5
15435 sed 's/^/| /' conftest.$ac_ext >&5
15437 ac_cv_cflags__Wdeclaration_after_statement=no
15440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15441 conftest$ac_exeext conftest.$ac_ext
15442 CFLAGS=$ac_wine_try_cflags_saved
15444 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15445 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15446 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15447 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15450 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15451 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15452 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15453 echo $ECHO_N "(cached) $ECHO_C" >&6
15455 ac_wine_try_cflags_saved=$CFLAGS
15456 CFLAGS="$CFLAGS -Wwrite-strings"
15457 cat >conftest.$ac_ext <<_ACEOF
15460 cat confdefs.h >>conftest.$ac_ext
15461 cat >>conftest.$ac_ext <<_ACEOF
15462 /* end confdefs.h. */
15472 rm -f conftest.$ac_objext conftest$ac_exeext
15473 if { (ac_try="$ac_link"
15474 case "(($ac_try" in
15475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15476 *) ac_try_echo
=$ac_try;;
15478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15479 (eval "$ac_link") 2>conftest.er1
15481 grep -v '^ *+' conftest.er1
>conftest.err
15483 cat conftest.err
>&5
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); } && {
15486 test -z "$ac_c_werror_flag" ||
15487 test ! -s conftest.err
15488 } && test -s conftest
$ac_exeext &&
15489 $as_test_x conftest
$ac_exeext; then
15490 ac_cv_cflags__Wwrite_strings
=yes
15492 echo "$as_me: failed program was:" >&5
15493 sed 's/^/| /' conftest.
$ac_ext >&5
15495 ac_cv_cflags__Wwrite_strings
=no
15498 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15499 conftest
$ac_exeext conftest.
$ac_ext
15500 CFLAGS
=$ac_wine_try_cflags_saved
15502 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15503 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15504 if test $ac_cv_cflags__Wwrite_strings = yes; then
15505 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
15509 saved_CFLAGS
="$CFLAGS"
15510 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
15511 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15512 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15513 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15514 echo $ECHO_N "(cached) $ECHO_C" >&6
15516 cat >conftest.
$ac_ext <<_ACEOF
15519 cat confdefs.h
>>conftest.
$ac_ext
15520 cat >>conftest.
$ac_ext <<_ACEOF
15521 /* end confdefs.h. */
15522 #include <string.h>
15531 rm -f conftest.
$ac_objext
15532 if { (ac_try
="$ac_compile"
15533 case "(($ac_try" in
15534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15535 *) ac_try_echo=$ac_try;;
15537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15538 (eval "$ac_compile") 2>conftest.er1
15540 grep -v '^ *+' conftest.er1 >conftest.err
15542 cat conftest.err >&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); } && {
15545 test -z "$ac_c_werror_flag" ||
15546 test ! -s conftest.err
15547 } && test -s conftest.$ac_objext; then
15548 ac_cv_c_string_h_warnings=no
15550 echo "$as_me: failed program was:" >&5
15551 sed 's/^/| /' conftest.$ac_ext >&5
15553 ac_cv_c_string_h_warnings=yes
15556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15558 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15559 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15560 CFLAGS="$saved_CFLAGS"
15561 if test "$ac_cv_c_string_h_warnings" = "no"
15563 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15568 saved_CFLAGS="$CFLAGS"
15569 CFLAGS="$CFLAGS -Werror"
15570 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15571 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15572 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15573 echo $ECHO_N "(cached) $ECHO_C" >&6
15575 cat >conftest.$ac_ext <<_ACEOF
15578 cat confdefs.h >>conftest.$ac_ext
15579 cat >>conftest.$ac_ext <<_ACEOF
15580 /* end confdefs.h. */
15585 int iswlower(unsigned short);
15590 rm -f conftest.$ac_objext
15591 if { (ac_try="$ac_compile"
15592 case "(($ac_try" in
15593 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15594 *) ac_try_echo
=$ac_try;;
15596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15597 (eval "$ac_compile") 2>conftest.er1
15599 grep -v '^ *+' conftest.er1
>conftest.err
15601 cat conftest.err
>&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); } && {
15604 test -z "$ac_c_werror_flag" ||
15605 test ! -s conftest.err
15606 } && test -s conftest.
$ac_objext; then
15607 ac_cv_c_builtin_wchar_ctype
=no
15609 echo "$as_me: failed program was:" >&5
15610 sed 's/^/| /' conftest.
$ac_ext >&5
15612 ac_cv_c_builtin_wchar_ctype
=yes
15615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15617 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15618 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15619 CFLAGS
="$saved_CFLAGS"
15620 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15622 BUILTINFLAG
="-fno-builtin"
15627 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15628 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15629 if test "${ac_cv_asm_func_def+set}" = set; then
15630 echo $ECHO_N "(cached) $ECHO_C" >&6
15632 cat >conftest.
$ac_ext <<_ACEOF
15635 cat confdefs.h
>>conftest.
$ac_ext
15636 cat >>conftest.
$ac_ext <<_ACEOF
15637 /* end confdefs.h. */
15642 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15647 rm -f conftest.
$ac_objext conftest
$ac_exeext
15648 if { (ac_try
="$ac_link"
15649 case "(($ac_try" in
15650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15651 *) ac_try_echo=$ac_try;;
15653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15654 (eval "$ac_link") 2>conftest.er1
15656 grep -v '^ *+' conftest.er1 >conftest.err
15658 cat conftest.err >&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); } && {
15661 test -z "$ac_c_werror_flag" ||
15662 test ! -s conftest.err
15663 } && test -s conftest$ac_exeext &&
15664 $as_test_x conftest$ac_exeext; then
15665 ac_cv_asm_func_def=".def"
15667 echo "$as_me: failed program was:" >&5
15668 sed 's/^/| /' conftest.$ac_ext >&5
15670 cat >conftest.$ac_ext <<_ACEOF
15673 cat confdefs.h >>conftest.$ac_ext
15674 cat >>conftest.$ac_ext <<_ACEOF
15675 /* end confdefs.h. */
15680 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15685 rm -f conftest.$ac_objext conftest$ac_exeext
15686 if { (ac_try="$ac_link"
15687 case "(($ac_try" in
15688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15689 *) ac_try_echo
=$ac_try;;
15691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15692 (eval "$ac_link") 2>conftest.er1
15694 grep -v '^ *+' conftest.er1
>conftest.err
15696 cat conftest.err
>&5
15697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698 (exit $ac_status); } && {
15699 test -z "$ac_c_werror_flag" ||
15700 test ! -s conftest.err
15701 } && test -s conftest
$ac_exeext &&
15702 $as_test_x conftest
$ac_exeext; then
15703 ac_cv_asm_func_def
=".type @function"
15705 echo "$as_me: failed program was:" >&5
15706 sed 's/^/| /' conftest.
$ac_ext >&5
15708 cat >conftest.
$ac_ext <<_ACEOF
15711 cat confdefs.h
>>conftest.
$ac_ext
15712 cat >>conftest.
$ac_ext <<_ACEOF
15713 /* end confdefs.h. */
15718 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15723 rm -f conftest.
$ac_objext conftest
$ac_exeext
15724 if { (ac_try
="$ac_link"
15725 case "(($ac_try" in
15726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15727 *) ac_try_echo=$ac_try;;
15729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15730 (eval "$ac_link") 2>conftest.er1
15732 grep -v '^ *+' conftest.er1 >conftest.err
15734 cat conftest.err >&5
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); } && {
15737 test -z "$ac_c_werror_flag" ||
15738 test ! -s conftest.err
15739 } && test -s conftest$ac_exeext &&
15740 $as_test_x conftest$ac_exeext; then
15741 ac_cv_asm_func_def=".type 2"
15743 echo "$as_me: failed program was:" >&5
15744 sed 's/^/| /' conftest.$ac_ext >&5
15746 ac_cv_asm_func_def="unknown"
15749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15750 conftest$ac_exeext conftest.$ac_ext
15753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15754 conftest$ac_exeext conftest.$ac_ext
15757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15758 conftest$ac_exeext conftest.$ac_ext
15760 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15761 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15765 case "$ac_cv_asm_func_def" in
15767 cat >>confdefs.h <<\_ACEOF
15768 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15772 cat >>confdefs.h <<\_ACEOF
15773 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15777 cat >>confdefs.h <<\_ACEOF
15778 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15782 cat >>confdefs.h <<\_ACEOF
15783 #define __ASM_FUNC(name) ""
15789 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15790 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15791 if test "${ac_cv_c_extern_prefix+set}" = set; then
15792 echo $ECHO_N "(cached) $ECHO_C" >&6
15794 cat >conftest.$ac_ext <<_ACEOF
15797 cat confdefs.h >>conftest.$ac_ext
15798 cat >>conftest.$ac_ext <<_ACEOF
15799 /* end confdefs.h. */
15800 extern int ac_test;
15804 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15809 rm -f conftest.$ac_objext conftest$ac_exeext
15810 if { (ac_try="$ac_link"
15811 case "(($ac_try" in
15812 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15813 *) ac_try_echo
=$ac_try;;
15815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15816 (eval "$ac_link") 2>conftest.er1
15818 grep -v '^ *+' conftest.er1
>conftest.err
15820 cat conftest.err
>&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); } && {
15823 test -z "$ac_c_werror_flag" ||
15824 test ! -s conftest.err
15825 } && test -s conftest
$ac_exeext &&
15826 $as_test_x conftest
$ac_exeext; then
15827 ac_cv_c_extern_prefix
="yes"
15829 echo "$as_me: failed program was:" >&5
15830 sed 's/^/| /' conftest.
$ac_ext >&5
15832 ac_cv_c_extern_prefix
="no"
15835 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15836 conftest
$ac_exeext conftest.
$ac_ext
15838 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15839 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15843 if test "$ac_cv_c_extern_prefix" = "yes"
15845 cat >>confdefs.h
<<\_ACEOF
15846 #define __ASM_NAME(name) "_" name
15850 cat >>confdefs.h
<<\_ACEOF
15851 #define __ASM_NAME(name) name
15861 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15865 linux
*|solaris
*) if test -z "$LDRPATH_LOCAL"
15867 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15871 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15879 SOCKETLIBS
="-lws2_32"
15884 MAIN_BINARY
="wine-pthread"
15888 linux
* | k
*bsd
*-gnu)
15889 MAIN_BINARY
="wine-glibc"
15891 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
15894 MAIN_BINARY
="wine-freebsd"
15896 EXTRA_BINARIES
="wine-pthread"
16034 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16035 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16037 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16038 echo $ECHO_N "(cached) $ECHO_C" >&6
16040 cat >conftest.
$ac_ext <<_ACEOF
16043 cat confdefs.h
>>conftest.
$ac_ext
16044 cat >>conftest.
$ac_ext <<_ACEOF
16045 /* end confdefs.h. */
16046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16048 #define $ac_func innocuous_$ac_func
16050 /* System header to define __stub macros and hopefully few prototypes,
16051 which can conflict with char $ac_func (); below.
16052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16053 <limits.h> exists even on freestanding compilers. */
16056 # include <limits.h>
16058 # include <assert.h>
16063 /* Override any GCC internal prototype to avoid an error.
16064 Use char because int might match the return type of a GCC
16065 builtin and then its argument prototype would still apply. */
16070 /* The GNU C library defines this for functions which it implements
16071 to always fail with ENOSYS. Some functions are actually named
16072 something starting with __ and the normal name is an alias. */
16073 #if defined __stub_$ac_func || defined __stub___$ac_func
16080 return $ac_func ();
16085 rm -f conftest.
$ac_objext conftest
$ac_exeext
16086 if { (ac_try
="$ac_link"
16087 case "(($ac_try" in
16088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16089 *) ac_try_echo=$ac_try;;
16091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16092 (eval "$ac_link") 2>conftest.er1
16094 grep -v '^ *+' conftest.er1 >conftest.err
16096 cat conftest.err >&5
16097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16098 (exit $ac_status); } && {
16099 test -z "$ac_c_werror_flag" ||
16100 test ! -s conftest.err
16101 } && test -s conftest$ac_exeext &&
16102 $as_test_x conftest$ac_exeext; then
16103 eval "$as_ac_var=yes"
16105 echo "$as_me: failed program was:" >&5
16106 sed 's/^/| /' conftest.$ac_ext >&5
16108 eval "$as_ac_var=no"
16111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16112 conftest$ac_exeext conftest.$ac_ext
16114 ac_res=`eval echo '${'$as_ac_var'}'`
16115 { echo "$as_me:$LINENO: result: $ac_res" >&5
16116 echo "${ECHO_T}$ac_res" >&6; }
16117 if test `eval echo '${'$as_ac_var'}'` = yes; then
16118 cat >>confdefs.h <<_ACEOF
16119 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16126 if test "$ac_cv_func_dlopen" = no
16128 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16129 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16130 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16131 echo $ECHO_N "(cached) $ECHO_C" >&6
16133 ac_check_lib_save_LIBS=$LIBS
16135 cat >conftest.$ac_ext <<_ACEOF
16138 cat confdefs.h >>conftest.$ac_ext
16139 cat >>conftest.$ac_ext <<_ACEOF
16140 /* end confdefs.h. */
16142 /* Override any GCC internal prototype to avoid an error.
16143 Use char because int might match the return type of a GCC
16144 builtin and then its argument prototype would still apply. */
16157 rm -f conftest.$ac_objext conftest$ac_exeext
16158 if { (ac_try="$ac_link"
16159 case "(($ac_try" in
16160 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16161 *) ac_try_echo
=$ac_try;;
16163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16164 (eval "$ac_link") 2>conftest.er1
16166 grep -v '^ *+' conftest.er1
>conftest.err
16168 cat conftest.err
>&5
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); } && {
16171 test -z "$ac_c_werror_flag" ||
16172 test ! -s conftest.err
16173 } && test -s conftest
$ac_exeext &&
16174 $as_test_x conftest
$ac_exeext; then
16175 ac_cv_lib_dl_dlopen
=yes
16177 echo "$as_me: failed program was:" >&5
16178 sed 's/^/| /' conftest.
$ac_ext >&5
16180 ac_cv_lib_dl_dlopen
=no
16183 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16184 conftest
$ac_exeext conftest.
$ac_ext
16185 LIBS
=$ac_check_lib_save_LIBS
16187 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16188 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16189 if test $ac_cv_lib_dl_dlopen = yes; then
16190 cat >>confdefs.h
<<\_ACEOF
16191 #define HAVE_DLOPEN 1
16198 ac_wine_check_funcs_save_LIBS
="$LIBS"
16199 LIBS
="$LIBS $LIBDL"
16201 for ac_func
in dladdr
16203 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16204 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16206 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16209 cat >conftest.
$ac_ext <<_ACEOF
16212 cat confdefs.h
>>conftest.
$ac_ext
16213 cat >>conftest.
$ac_ext <<_ACEOF
16214 /* end confdefs.h. */
16215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16217 #define $ac_func innocuous_$ac_func
16219 /* System header to define __stub macros and hopefully few prototypes,
16220 which can conflict with char $ac_func (); below.
16221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16222 <limits.h> exists even on freestanding compilers. */
16225 # include <limits.h>
16227 # include <assert.h>
16232 /* Override any GCC internal prototype to avoid an error.
16233 Use char because int might match the return type of a GCC
16234 builtin and then its argument prototype would still apply. */
16239 /* The GNU C library defines this for functions which it implements
16240 to always fail with ENOSYS. Some functions are actually named
16241 something starting with __ and the normal name is an alias. */
16242 #if defined __stub_$ac_func || defined __stub___$ac_func
16249 return $ac_func ();
16254 rm -f conftest.
$ac_objext conftest
$ac_exeext
16255 if { (ac_try
="$ac_link"
16256 case "(($ac_try" in
16257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16258 *) ac_try_echo=$ac_try;;
16260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16261 (eval "$ac_link") 2>conftest.er1
16263 grep -v '^ *+' conftest.er1 >conftest.err
16265 cat conftest.err >&5
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); } && {
16268 test -z "$ac_c_werror_flag" ||
16269 test ! -s conftest.err
16270 } && test -s conftest$ac_exeext &&
16271 $as_test_x conftest$ac_exeext; then
16272 eval "$as_ac_var=yes"
16274 echo "$as_me: failed program was:" >&5
16275 sed 's/^/| /' conftest.$ac_ext >&5
16277 eval "$as_ac_var=no"
16280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16281 conftest$ac_exeext conftest.$ac_ext
16283 ac_res=`eval echo '${'$as_ac_var'}'`
16284 { echo "$as_me:$LINENO: result: $ac_res" >&5
16285 echo "${ECHO_T}$ac_res" >&6; }
16286 if test `eval echo '${'$as_ac_var'}'` = yes; then
16287 cat >>confdefs.h <<_ACEOF
16288 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16294 LIBS="$ac_wine_check_funcs_save_LIBS"
16296 if test "$ac_cv_func_poll" = no
16298 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16299 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16300 if test "${ac_cv_lib_poll_poll+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16303 ac_check_lib_save_LIBS=$LIBS
16304 LIBS="-lpoll $LIBS"
16305 cat >conftest.$ac_ext <<_ACEOF
16308 cat confdefs.h >>conftest.$ac_ext
16309 cat >>conftest.$ac_ext <<_ACEOF
16310 /* end confdefs.h. */
16312 /* Override any GCC internal prototype to avoid an error.
16313 Use char because int might match the return type of a GCC
16314 builtin and then its argument prototype would still apply. */
16327 rm -f conftest.$ac_objext conftest$ac_exeext
16328 if { (ac_try="$ac_link"
16329 case "(($ac_try" in
16330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16331 *) ac_try_echo
=$ac_try;;
16333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16334 (eval "$ac_link") 2>conftest.er1
16336 grep -v '^ *+' conftest.er1
>conftest.err
16338 cat conftest.err
>&5
16339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340 (exit $ac_status); } && {
16341 test -z "$ac_c_werror_flag" ||
16342 test ! -s conftest.err
16343 } && test -s conftest
$ac_exeext &&
16344 $as_test_x conftest
$ac_exeext; then
16345 ac_cv_lib_poll_poll
=yes
16347 echo "$as_me: failed program was:" >&5
16348 sed 's/^/| /' conftest.
$ac_ext >&5
16350 ac_cv_lib_poll_poll
=no
16353 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16354 conftest
$ac_exeext conftest.
$ac_ext
16355 LIBS
=$ac_check_lib_save_LIBS
16357 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16358 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16359 if test $ac_cv_lib_poll_poll = yes; then
16360 cat >>confdefs.h
<<\_ACEOF
16361 #define HAVE_POLL 1
16369 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16370 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16371 if test "${ac_cv_search_gethostbyname+set}" = set; then
16372 echo $ECHO_N "(cached) $ECHO_C" >&6
16374 ac_func_search_save_LIBS
=$LIBS
16375 cat >conftest.
$ac_ext <<_ACEOF
16378 cat confdefs.h
>>conftest.
$ac_ext
16379 cat >>conftest.
$ac_ext <<_ACEOF
16380 /* end confdefs.h. */
16382 /* Override any GCC internal prototype to avoid an error.
16383 Use char because int might match the return type of a GCC
16384 builtin and then its argument prototype would still apply. */
16388 char gethostbyname ();
16392 return gethostbyname ();
16397 for ac_lib
in '' nsl
; do
16398 if test -z "$ac_lib"; then
16399 ac_res
="none required"
16402 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16404 rm -f conftest.
$ac_objext conftest
$ac_exeext
16405 if { (ac_try
="$ac_link"
16406 case "(($ac_try" in
16407 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16408 *) ac_try_echo=$ac_try;;
16410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16411 (eval "$ac_link") 2>conftest.er1
16413 grep -v '^ *+' conftest.er1 >conftest.err
16415 cat conftest.err >&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); } && {
16418 test -z "$ac_c_werror_flag" ||
16419 test ! -s conftest.err
16420 } && test -s conftest$ac_exeext &&
16421 $as_test_x conftest$ac_exeext; then
16422 ac_cv_search_gethostbyname=$ac_res
16424 echo "$as_me: failed program was:" >&5
16425 sed 's/^/| /' conftest.$ac_ext >&5
16430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16432 if test "${ac_cv_search_gethostbyname+set}" = set; then
16436 if test "${ac_cv_search_gethostbyname+set}" = set; then
16439 ac_cv_search_gethostbyname=no
16441 rm conftest.$ac_ext
16442 LIBS=$ac_func_search_save_LIBS
16444 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16445 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16446 ac_res=$ac_cv_search_gethostbyname
16447 if test "$ac_res" != no; then
16448 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16453 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16454 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16455 if test "${ac_cv_search_connect+set}" = set; then
16456 echo $ECHO_N "(cached) $ECHO_C" >&6
16458 ac_func_search_save_LIBS=$LIBS
16459 cat >conftest.$ac_ext <<_ACEOF
16462 cat confdefs.h >>conftest.$ac_ext
16463 cat >>conftest.$ac_ext <<_ACEOF
16464 /* end confdefs.h. */
16466 /* Override any GCC internal prototype to avoid an error.
16467 Use char because int might match the return type of a GCC
16468 builtin and then its argument prototype would still apply. */
16481 for ac_lib in '' socket; do
16482 if test -z "$ac_lib"; then
16483 ac_res="none required"
16486 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16488 rm -f conftest.$ac_objext conftest$ac_exeext
16489 if { (ac_try="$ac_link"
16490 case "(($ac_try" in
16491 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16492 *) ac_try_echo
=$ac_try;;
16494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16495 (eval "$ac_link") 2>conftest.er1
16497 grep -v '^ *+' conftest.er1
>conftest.err
16499 cat conftest.err
>&5
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); } && {
16502 test -z "$ac_c_werror_flag" ||
16503 test ! -s conftest.err
16504 } && test -s conftest
$ac_exeext &&
16505 $as_test_x conftest
$ac_exeext; then
16506 ac_cv_search_connect
=$ac_res
16508 echo "$as_me: failed program was:" >&5
16509 sed 's/^/| /' conftest.
$ac_ext >&5
16514 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16516 if test "${ac_cv_search_connect+set}" = set; then
16520 if test "${ac_cv_search_connect+set}" = set; then
16523 ac_cv_search_connect
=no
16525 rm conftest.
$ac_ext
16526 LIBS
=$ac_func_search_save_LIBS
16528 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16529 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16530 ac_res
=$ac_cv_search_connect
16531 if test "$ac_res" != no
; then
16532 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16537 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16538 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16539 if test "${ac_cv_search_inet_aton+set}" = set; then
16540 echo $ECHO_N "(cached) $ECHO_C" >&6
16542 ac_func_search_save_LIBS
=$LIBS
16543 cat >conftest.
$ac_ext <<_ACEOF
16546 cat confdefs.h
>>conftest.
$ac_ext
16547 cat >>conftest.
$ac_ext <<_ACEOF
16548 /* end confdefs.h. */
16550 /* Override any GCC internal prototype to avoid an error.
16551 Use char because int might match the return type of a GCC
16552 builtin and then its argument prototype would still apply. */
16560 return inet_aton ();
16565 for ac_lib
in '' resolv
; do
16566 if test -z "$ac_lib"; then
16567 ac_res
="none required"
16570 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16572 rm -f conftest.
$ac_objext conftest
$ac_exeext
16573 if { (ac_try
="$ac_link"
16574 case "(($ac_try" in
16575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16576 *) ac_try_echo=$ac_try;;
16578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16579 (eval "$ac_link") 2>conftest.er1
16581 grep -v '^ *+' conftest.er1 >conftest.err
16583 cat conftest.err >&5
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); } && {
16586 test -z "$ac_c_werror_flag" ||
16587 test ! -s conftest.err
16588 } && test -s conftest$ac_exeext &&
16589 $as_test_x conftest$ac_exeext; then
16590 ac_cv_search_inet_aton=$ac_res
16592 echo "$as_me: failed program was:" >&5
16593 sed 's/^/| /' conftest.$ac_ext >&5
16598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16600 if test "${ac_cv_search_inet_aton+set}" = set; then
16604 if test "${ac_cv_search_inet_aton+set}" = set; then
16607 ac_cv_search_inet_aton=no
16609 rm conftest.$ac_ext
16610 LIBS=$ac_func_search_save_LIBS
16612 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16613 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16614 ac_res=$ac_cv_search_inet_aton
16615 if test "$ac_res" != no; then
16616 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16640 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16641 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16643 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16644 echo $ECHO_N "(cached) $ECHO_C" >&6
16646 cat >conftest.$ac_ext <<_ACEOF
16649 cat confdefs.h >>conftest.$ac_ext
16650 cat >>conftest.$ac_ext <<_ACEOF
16651 /* end confdefs.h. */
16652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16654 #define $ac_func innocuous_$ac_func
16656 /* System header to define __stub macros and hopefully few prototypes,
16657 which can conflict with char $ac_func (); below.
16658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16659 <limits.h> exists even on freestanding compilers. */
16662 # include <limits.h>
16664 # include <assert.h>
16669 /* Override any GCC internal prototype to avoid an error.
16670 Use char because int might match the return type of a GCC
16671 builtin and then its argument prototype would still apply. */
16676 /* The GNU C library defines this for functions which it implements
16677 to always fail with ENOSYS. Some functions are actually named
16678 something starting with __ and the normal name is an alias. */
16679 #if defined __stub_$ac_func || defined __stub___$ac_func
16686 return $ac_func ();
16691 rm -f conftest.$ac_objext conftest$ac_exeext
16692 if { (ac_try="$ac_link"
16693 case "(($ac_try" in
16694 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16695 *) ac_try_echo
=$ac_try;;
16697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16698 (eval "$ac_link") 2>conftest.er1
16700 grep -v '^ *+' conftest.er1
>conftest.err
16702 cat conftest.err
>&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); } && {
16705 test -z "$ac_c_werror_flag" ||
16706 test ! -s conftest.err
16707 } && test -s conftest
$ac_exeext &&
16708 $as_test_x conftest
$ac_exeext; then
16709 eval "$as_ac_var=yes"
16711 echo "$as_me: failed program was:" >&5
16712 sed 's/^/| /' conftest.
$ac_ext >&5
16714 eval "$as_ac_var=no"
16717 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16718 conftest
$ac_exeext conftest.
$ac_ext
16720 ac_res
=`eval echo '${'$as_ac_var'}'`
16721 { echo "$as_me:$LINENO: result: $ac_res" >&5
16722 echo "${ECHO_T}$ac_res" >&6; }
16723 if test `eval echo '${'$as_ac_var'}'` = yes; then
16724 cat >>confdefs.h
<<_ACEOF
16725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16733 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16734 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16735 if test "${ac_cv_c_const+set}" = set; then
16736 echo $ECHO_N "(cached) $ECHO_C" >&6
16738 cat >conftest.
$ac_ext <<_ACEOF
16741 cat confdefs.h
>>conftest.
$ac_ext
16742 cat >>conftest.
$ac_ext <<_ACEOF
16743 /* end confdefs.h. */
16748 /* FIXME: Include the comments suggested by Paul. */
16749 #ifndef __cplusplus
16750 /* Ultrix mips cc rejects this. */
16751 typedef int charset[2];
16753 /* SunOS 4.1.1 cc rejects this. */
16754 char const *const *pcpcc;
16756 /* NEC SVR4.0.2 mips cc rejects this. */
16757 struct point {int x, y;};
16758 static struct point const zero = {0,0};
16759 /* AIX XL C 1.02.0.0 rejects this.
16760 It does not let you subtract one const X* pointer from another in
16761 an arm of an if-expression whose if-part is not a constant
16763 const char *g = "string";
16764 pcpcc = &g + (g ? g-g : 0);
16765 /* HPUX 7.0 cc rejects these. */
16767 ppc = (char**) pcpcc;
16768 pcpcc = (char const *const *) ppc;
16769 { /* SCO 3.2v4 cc rejects this. */
16771 char const *s = 0 ? (char *) 0 : (char const *) 0;
16776 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16777 int x[] = {25, 17};
16778 const int *foo = &x[0];
16781 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16782 typedef const int *iptr;
16786 { /* AIX XL C 1.02.0.0 rejects this saying
16787 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16788 struct s { int j; const int *ap[3]; };
16789 struct s *b; b->j = 5;
16791 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16792 const int foo = 10;
16793 if (!foo) return 0;
16795 return !cs[0] && !zero.x;
16802 rm -f conftest.
$ac_objext
16803 if { (ac_try
="$ac_compile"
16804 case "(($ac_try" in
16805 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16806 *) ac_try_echo=$ac_try;;
16808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16809 (eval "$ac_compile") 2>conftest.er1
16811 grep -v '^ *+' conftest.er1 >conftest.err
16813 cat conftest.err >&5
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); } && {
16816 test -z "$ac_c_werror_flag" ||
16817 test ! -s conftest.err
16818 } && test -s conftest.$ac_objext; then
16821 echo "$as_me: failed program was:" >&5
16822 sed 's/^/| /' conftest.$ac_ext >&5
16827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16829 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16830 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16831 if test $ac_cv_c_const = no; then
16833 cat >>confdefs.h <<\_ACEOF
16839 { echo "$as_me:$LINENO: checking for inline" >&5
16840 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16841 if test "${ac_cv_c_inline+set}" = set; then
16842 echo $ECHO_N "(cached) $ECHO_C" >&6
16845 for ac_kw in inline __inline__ __inline; do
16846 cat >conftest.$ac_ext <<_ACEOF
16849 cat confdefs.h >>conftest.$ac_ext
16850 cat >>conftest.$ac_ext <<_ACEOF
16851 /* end confdefs.h. */
16852 #ifndef __cplusplus
16854 static $ac_kw foo_t static_foo () {return 0; }
16855 $ac_kw foo_t foo () {return 0; }
16859 rm -f conftest.$ac_objext
16860 if { (ac_try="$ac_compile"
16861 case "(($ac_try" in
16862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16863 *) ac_try_echo
=$ac_try;;
16865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16866 (eval "$ac_compile") 2>conftest.er1
16868 grep -v '^ *+' conftest.er1
>conftest.err
16870 cat conftest.err
>&5
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); } && {
16873 test -z "$ac_c_werror_flag" ||
16874 test ! -s conftest.err
16875 } && test -s conftest.
$ac_objext; then
16876 ac_cv_c_inline
=$ac_kw
16878 echo "$as_me: failed program was:" >&5
16879 sed 's/^/| /' conftest.
$ac_ext >&5
16884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16885 test "$ac_cv_c_inline" != no
&& break
16889 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16890 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16893 case $ac_cv_c_inline in
16896 case $ac_cv_c_inline in
16898 *) ac_val
=$ac_cv_c_inline;;
16900 cat >>confdefs.h
<<_ACEOF
16901 #ifndef __cplusplus
16902 #define inline $ac_val
16908 { echo "$as_me:$LINENO: checking for mode_t" >&5
16909 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16910 if test "${ac_cv_type_mode_t+set}" = set; then
16911 echo $ECHO_N "(cached) $ECHO_C" >&6
16913 cat >conftest.
$ac_ext <<_ACEOF
16916 cat confdefs.h
>>conftest.
$ac_ext
16917 cat >>conftest.
$ac_ext <<_ACEOF
16918 /* end confdefs.h. */
16919 $ac_includes_default
16920 typedef mode_t ac__type_new_;
16924 if ((ac__type_new_ *) 0)
16926 if (sizeof (ac__type_new_))
16932 rm -f conftest.
$ac_objext
16933 if { (ac_try
="$ac_compile"
16934 case "(($ac_try" in
16935 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16936 *) ac_try_echo=$ac_try;;
16938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16939 (eval "$ac_compile") 2>conftest.er1
16941 grep -v '^ *+' conftest.er1 >conftest.err
16943 cat conftest.err >&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); } && {
16946 test -z "$ac_c_werror_flag" ||
16947 test ! -s conftest.err
16948 } && test -s conftest.$ac_objext; then
16949 ac_cv_type_mode_t=yes
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.$ac_ext >&5
16954 ac_cv_type_mode_t=no
16957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16959 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16960 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16961 if test $ac_cv_type_mode_t = yes; then
16963 cat >>confdefs.h <<_ACEOF
16964 #define HAVE_MODE_T 1
16969 { echo "$as_me:$LINENO: checking for off_t" >&5
16970 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16971 if test "${ac_cv_type_off_t+set}" = set; then
16972 echo $ECHO_N "(cached) $ECHO_C" >&6
16974 cat >conftest.$ac_ext <<_ACEOF
16977 cat confdefs.h >>conftest.$ac_ext
16978 cat >>conftest.$ac_ext <<_ACEOF
16979 /* end confdefs.h. */
16980 $ac_includes_default
16981 typedef off_t ac__type_new_;
16985 if ((ac__type_new_ *) 0)
16987 if (sizeof (ac__type_new_))
16993 rm -f conftest.$ac_objext
16994 if { (ac_try="$ac_compile"
16995 case "(($ac_try" in
16996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16997 *) ac_try_echo
=$ac_try;;
16999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17000 (eval "$ac_compile") 2>conftest.er1
17002 grep -v '^ *+' conftest.er1
>conftest.err
17004 cat conftest.err
>&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); } && {
17007 test -z "$ac_c_werror_flag" ||
17008 test ! -s conftest.err
17009 } && test -s conftest.
$ac_objext; then
17010 ac_cv_type_off_t
=yes
17012 echo "$as_me: failed program was:" >&5
17013 sed 's/^/| /' conftest.
$ac_ext >&5
17015 ac_cv_type_off_t
=no
17018 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17020 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17021 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17022 if test $ac_cv_type_off_t = yes; then
17024 cat >>confdefs.h
<<_ACEOF
17025 #define HAVE_OFF_T 1
17030 { echo "$as_me:$LINENO: checking for pid_t" >&5
17031 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17032 if test "${ac_cv_type_pid_t+set}" = set; then
17033 echo $ECHO_N "(cached) $ECHO_C" >&6
17035 cat >conftest.
$ac_ext <<_ACEOF
17038 cat confdefs.h
>>conftest.
$ac_ext
17039 cat >>conftest.
$ac_ext <<_ACEOF
17040 /* end confdefs.h. */
17041 $ac_includes_default
17042 typedef pid_t ac__type_new_;
17046 if ((ac__type_new_ *) 0)
17048 if (sizeof (ac__type_new_))
17054 rm -f conftest.
$ac_objext
17055 if { (ac_try
="$ac_compile"
17056 case "(($ac_try" in
17057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17058 *) ac_try_echo=$ac_try;;
17060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17061 (eval "$ac_compile") 2>conftest.er1
17063 grep -v '^ *+' conftest.er1 >conftest.err
17065 cat conftest.err >&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); } && {
17068 test -z "$ac_c_werror_flag" ||
17069 test ! -s conftest.err
17070 } && test -s conftest.$ac_objext; then
17071 ac_cv_type_pid_t=yes
17073 echo "$as_me: failed program was:" >&5
17074 sed 's/^/| /' conftest.$ac_ext >&5
17076 ac_cv_type_pid_t=no
17079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17081 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17082 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17083 if test $ac_cv_type_pid_t = yes; then
17085 cat >>confdefs.h <<_ACEOF
17086 #define HAVE_PID_T 1
17091 { echo "$as_me:$LINENO: checking for size_t" >&5
17092 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17093 if test "${ac_cv_type_size_t+set}" = set; then
17094 echo $ECHO_N "(cached) $ECHO_C" >&6
17096 cat >conftest.$ac_ext <<_ACEOF
17099 cat confdefs.h >>conftest.$ac_ext
17100 cat >>conftest.$ac_ext <<_ACEOF
17101 /* end confdefs.h. */
17102 $ac_includes_default
17103 typedef size_t ac__type_new_;
17107 if ((ac__type_new_ *) 0)
17109 if (sizeof (ac__type_new_))
17115 rm -f conftest.$ac_objext
17116 if { (ac_try="$ac_compile"
17117 case "(($ac_try" in
17118 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17119 *) ac_try_echo
=$ac_try;;
17121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17122 (eval "$ac_compile") 2>conftest.er1
17124 grep -v '^ *+' conftest.er1
>conftest.err
17126 cat conftest.err
>&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); } && {
17129 test -z "$ac_c_werror_flag" ||
17130 test ! -s conftest.err
17131 } && test -s conftest.
$ac_objext; then
17132 ac_cv_type_size_t
=yes
17134 echo "$as_me: failed program was:" >&5
17135 sed 's/^/| /' conftest.
$ac_ext >&5
17137 ac_cv_type_size_t
=no
17140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17142 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17143 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17144 if test $ac_cv_type_size_t = yes; then
17146 cat >>confdefs.h
<<_ACEOF
17147 #define HAVE_SIZE_T 1
17152 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17153 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17154 if test "${ac_cv_type_ssize_t+set}" = set; then
17155 echo $ECHO_N "(cached) $ECHO_C" >&6
17157 cat >conftest.
$ac_ext <<_ACEOF
17160 cat confdefs.h
>>conftest.
$ac_ext
17161 cat >>conftest.
$ac_ext <<_ACEOF
17162 /* end confdefs.h. */
17163 $ac_includes_default
17164 typedef ssize_t ac__type_new_;
17168 if ((ac__type_new_ *) 0)
17170 if (sizeof (ac__type_new_))
17176 rm -f conftest.
$ac_objext
17177 if { (ac_try
="$ac_compile"
17178 case "(($ac_try" in
17179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17180 *) ac_try_echo=$ac_try;;
17182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17183 (eval "$ac_compile") 2>conftest.er1
17185 grep -v '^ *+' conftest.er1 >conftest.err
17187 cat conftest.err >&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } && {
17190 test -z "$ac_c_werror_flag" ||
17191 test ! -s conftest.err
17192 } && test -s conftest.$ac_objext; then
17193 ac_cv_type_ssize_t=yes
17195 echo "$as_me: failed program was:" >&5
17196 sed 's/^/| /' conftest.$ac_ext >&5
17198 ac_cv_type_ssize_t=no
17201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17203 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17204 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17205 if test $ac_cv_type_ssize_t = yes; then
17207 cat >>confdefs.h <<_ACEOF
17208 #define HAVE_SSIZE_T 1
17213 { echo "$as_me:$LINENO: checking for long long" >&5
17214 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17215 if test "${ac_cv_type_long_long+set}" = set; then
17216 echo $ECHO_N "(cached) $ECHO_C" >&6
17218 cat >conftest.$ac_ext <<_ACEOF
17221 cat confdefs.h >>conftest.$ac_ext
17222 cat >>conftest.$ac_ext <<_ACEOF
17223 /* end confdefs.h. */
17224 $ac_includes_default
17225 typedef long long ac__type_new_;
17229 if ((ac__type_new_ *) 0)
17231 if (sizeof (ac__type_new_))
17237 rm -f conftest.$ac_objext
17238 if { (ac_try="$ac_compile"
17239 case "(($ac_try" in
17240 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17241 *) ac_try_echo
=$ac_try;;
17243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17244 (eval "$ac_compile") 2>conftest.er1
17246 grep -v '^ *+' conftest.er1
>conftest.err
17248 cat conftest.err
>&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); } && {
17251 test -z "$ac_c_werror_flag" ||
17252 test ! -s conftest.err
17253 } && test -s conftest.
$ac_objext; then
17254 ac_cv_type_long_long
=yes
17256 echo "$as_me: failed program was:" >&5
17257 sed 's/^/| /' conftest.
$ac_ext >&5
17259 ac_cv_type_long_long
=no
17262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17264 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17265 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17266 if test $ac_cv_type_long_long = yes; then
17268 cat >>confdefs.h
<<_ACEOF
17269 #define HAVE_LONG_LONG 1
17274 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17275 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17276 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17277 echo $ECHO_N "(cached) $ECHO_C" >&6
17279 cat >conftest.
$ac_ext <<_ACEOF
17282 cat confdefs.h
>>conftest.
$ac_ext
17283 cat >>conftest.
$ac_ext <<_ACEOF
17284 /* end confdefs.h. */
17285 $ac_includes_default
17286 typedef fsblkcnt_t ac__type_new_;
17290 if ((ac__type_new_ *) 0)
17292 if (sizeof (ac__type_new_))
17298 rm -f conftest.
$ac_objext
17299 if { (ac_try
="$ac_compile"
17300 case "(($ac_try" in
17301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17302 *) ac_try_echo=$ac_try;;
17304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17305 (eval "$ac_compile") 2>conftest.er1
17307 grep -v '^ *+' conftest.er1 >conftest.err
17309 cat conftest.err >&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); } && {
17312 test -z "$ac_c_werror_flag" ||
17313 test ! -s conftest.err
17314 } && test -s conftest.$ac_objext; then
17315 ac_cv_type_fsblkcnt_t=yes
17317 echo "$as_me: failed program was:" >&5
17318 sed 's/^/| /' conftest.$ac_ext >&5
17320 ac_cv_type_fsblkcnt_t=no
17323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17325 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17326 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17327 if test $ac_cv_type_fsblkcnt_t = yes; then
17329 cat >>confdefs.h <<_ACEOF
17330 #define HAVE_FSBLKCNT_T 1
17335 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17336 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17337 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17338 echo $ECHO_N "(cached) $ECHO_C" >&6
17340 cat >conftest.$ac_ext <<_ACEOF
17343 cat confdefs.h >>conftest.$ac_ext
17344 cat >>conftest.$ac_ext <<_ACEOF
17345 /* end confdefs.h. */
17346 $ac_includes_default
17347 typedef fsfilcnt_t ac__type_new_;
17351 if ((ac__type_new_ *) 0)
17353 if (sizeof (ac__type_new_))
17359 rm -f conftest.$ac_objext
17360 if { (ac_try="$ac_compile"
17361 case "(($ac_try" in
17362 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17363 *) ac_try_echo
=$ac_try;;
17365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17366 (eval "$ac_compile") 2>conftest.er1
17368 grep -v '^ *+' conftest.er1
>conftest.err
17370 cat conftest.err
>&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); } && {
17373 test -z "$ac_c_werror_flag" ||
17374 test ! -s conftest.err
17375 } && test -s conftest.
$ac_objext; then
17376 ac_cv_type_fsfilcnt_t
=yes
17378 echo "$as_me: failed program was:" >&5
17379 sed 's/^/| /' conftest.
$ac_ext >&5
17381 ac_cv_type_fsfilcnt_t
=no
17384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17386 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17387 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17388 if test $ac_cv_type_fsfilcnt_t = yes; then
17390 cat >>confdefs.h
<<_ACEOF
17391 #define HAVE_FSFILCNT_T 1
17397 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17398 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17399 if test "${ac_cv_type_sigset_t+set}" = set; then
17400 echo $ECHO_N "(cached) $ECHO_C" >&6
17402 cat >conftest.
$ac_ext <<_ACEOF
17405 cat confdefs.h
>>conftest.
$ac_ext
17406 cat >>conftest.
$ac_ext <<_ACEOF
17407 /* end confdefs.h. */
17408 #include <signal.h>
17410 typedef sigset_t ac__type_new_;
17414 if ((ac__type_new_ *) 0)
17416 if (sizeof (ac__type_new_))
17422 rm -f conftest.
$ac_objext
17423 if { (ac_try
="$ac_compile"
17424 case "(($ac_try" in
17425 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17426 *) ac_try_echo=$ac_try;;
17428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17429 (eval "$ac_compile") 2>conftest.er1
17431 grep -v '^ *+' conftest.er1 >conftest.err
17433 cat conftest.err >&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); } && {
17436 test -z "$ac_c_werror_flag" ||
17437 test ! -s conftest.err
17438 } && test -s conftest.$ac_objext; then
17439 ac_cv_type_sigset_t=yes
17441 echo "$as_me: failed program was:" >&5
17442 sed 's/^/| /' conftest.$ac_ext >&5
17444 ac_cv_type_sigset_t=no
17447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17449 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17450 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17451 if test $ac_cv_type_sigset_t = yes; then
17453 cat >>confdefs.h <<_ACEOF
17454 #define HAVE_SIGSET_T 1
17460 { echo "$as_me:$LINENO: checking for request_sense" >&5
17461 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17462 if test "${ac_cv_type_request_sense+set}" = set; then
17463 echo $ECHO_N "(cached) $ECHO_C" >&6
17465 cat >conftest.$ac_ext <<_ACEOF
17468 cat confdefs.h >>conftest.$ac_ext
17469 cat >>conftest.$ac_ext <<_ACEOF
17470 /* end confdefs.h. */
17471 #include <linux/cdrom.h>
17473 typedef request_sense ac__type_new_;
17477 if ((ac__type_new_ *) 0)
17479 if (sizeof (ac__type_new_))
17485 rm -f conftest.$ac_objext
17486 if { (ac_try="$ac_compile"
17487 case "(($ac_try" in
17488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17489 *) ac_try_echo
=$ac_try;;
17491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17492 (eval "$ac_compile") 2>conftest.er1
17494 grep -v '^ *+' conftest.er1
>conftest.err
17496 cat conftest.err
>&5
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); } && {
17499 test -z "$ac_c_werror_flag" ||
17500 test ! -s conftest.err
17501 } && test -s conftest.
$ac_objext; then
17502 ac_cv_type_request_sense
=yes
17504 echo "$as_me: failed program was:" >&5
17505 sed 's/^/| /' conftest.
$ac_ext >&5
17507 ac_cv_type_request_sense
=no
17510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17512 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17513 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17514 if test $ac_cv_type_request_sense = yes; then
17516 cat >>confdefs.h
<<_ACEOF
17517 #define HAVE_REQUEST_SENSE 1
17524 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17525 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17526 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17527 echo $ECHO_N "(cached) $ECHO_C" >&6
17529 cat >conftest.
$ac_ext <<_ACEOF
17532 cat confdefs.h
>>conftest.
$ac_ext
17533 cat >>conftest.
$ac_ext <<_ACEOF
17534 /* end confdefs.h. */
17535 #ifdef HAVE_LINUX_INPUT_H
17536 #include <linux/input.h>
17542 static struct ff_effect ac_aggr;
17543 if (ac_aggr.direction)
17549 rm -f conftest.
$ac_objext
17550 if { (ac_try
="$ac_compile"
17551 case "(($ac_try" in
17552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17553 *) ac_try_echo=$ac_try;;
17555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17556 (eval "$ac_compile") 2>conftest.er1
17558 grep -v '^ *+' conftest.er1 >conftest.err
17560 cat conftest.err >&5
17561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17562 (exit $ac_status); } && {
17563 test -z "$ac_c_werror_flag" ||
17564 test ! -s conftest.err
17565 } && test -s conftest.$ac_objext; then
17566 ac_cv_member_struct_ff_effect_direction=yes
17568 echo "$as_me: failed program was:" >&5
17569 sed 's/^/| /' conftest.$ac_ext >&5
17571 cat >conftest.$ac_ext <<_ACEOF
17574 cat confdefs.h >>conftest.$ac_ext
17575 cat >>conftest.$ac_ext <<_ACEOF
17576 /* end confdefs.h. */
17577 #ifdef HAVE_LINUX_INPUT_H
17578 #include <linux/input.h>
17584 static struct ff_effect ac_aggr;
17585 if (sizeof ac_aggr.direction)
17591 rm -f conftest.$ac_objext
17592 if { (ac_try="$ac_compile"
17593 case "(($ac_try" in
17594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17595 *) ac_try_echo
=$ac_try;;
17597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17598 (eval "$ac_compile") 2>conftest.er1
17600 grep -v '^ *+' conftest.er1
>conftest.err
17602 cat conftest.err
>&5
17603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17604 (exit $ac_status); } && {
17605 test -z "$ac_c_werror_flag" ||
17606 test ! -s conftest.err
17607 } && test -s conftest.
$ac_objext; then
17608 ac_cv_member_struct_ff_effect_direction
=yes
17610 echo "$as_me: failed program was:" >&5
17611 sed 's/^/| /' conftest.
$ac_ext >&5
17613 ac_cv_member_struct_ff_effect_direction
=no
17616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17621 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17622 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17623 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17625 cat >>confdefs.h
<<_ACEOF
17626 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17633 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17634 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17635 if test "${wine_cv_have_sigaddset+set}" = set; then
17636 echo $ECHO_N "(cached) $ECHO_C" >&6
17638 cat >conftest.
$ac_ext <<_ACEOF
17641 cat confdefs.h
>>conftest.
$ac_ext
17642 cat >>conftest.
$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17644 #include <signal.h>
17648 sigset_t set; sigaddset(&set,SIGTERM);
17653 rm -f conftest.
$ac_objext conftest
$ac_exeext
17654 if { (ac_try
="$ac_link"
17655 case "(($ac_try" in
17656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17657 *) ac_try_echo=$ac_try;;
17659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17660 (eval "$ac_link") 2>conftest.er1
17662 grep -v '^ *+' conftest.er1 >conftest.err
17664 cat conftest.err >&5
17665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666 (exit $ac_status); } && {
17667 test -z "$ac_c_werror_flag" ||
17668 test ! -s conftest.err
17669 } && test -s conftest$ac_exeext &&
17670 $as_test_x conftest$ac_exeext; then
17671 wine_cv_have_sigaddset=yes
17673 echo "$as_me: failed program was:" >&5
17674 sed 's/^/| /' conftest.$ac_ext >&5
17676 wine_cv_have_sigaddset=no
17679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17680 conftest$ac_exeext conftest.$ac_ext
17682 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17683 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17684 if test "$wine_cv_have_sigaddset" = "yes"
17687 cat >>confdefs.h <<\_ACEOF
17688 #define HAVE_SIGADDSET 1
17694 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17695 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17696 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17697 echo $ECHO_N "(cached) $ECHO_C" >&6
17699 cat >conftest.$ac_ext <<_ACEOF
17702 cat confdefs.h >>conftest.$ac_ext
17703 cat >>conftest.$ac_ext <<_ACEOF
17704 /* end confdefs.h. */
17712 struct hostent *result;
17719 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17720 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17726 rm -f conftest.$ac_objext conftest$ac_exeext
17727 if { (ac_try="$ac_link"
17728 case "(($ac_try" in
17729 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17730 *) ac_try_echo
=$ac_try;;
17732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17733 (eval "$ac_link") 2>conftest.er1
17735 grep -v '^ *+' conftest.er1
>conftest.err
17737 cat conftest.err
>&5
17738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 (exit $ac_status); } && {
17740 test -z "$ac_c_werror_flag" ||
17741 test ! -s conftest.err
17742 } && test -s conftest
$ac_exeext &&
17743 $as_test_x conftest
$ac_exeext; then
17744 wine_cv_linux_gethostbyname_r_6
=yes
17746 echo "$as_me: failed program was:" >&5
17747 sed 's/^/| /' conftest.
$ac_ext >&5
17749 wine_cv_linux_gethostbyname_r_6
=no
17753 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17754 conftest
$ac_exeext conftest.
$ac_ext
17757 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17758 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17759 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17762 cat >>confdefs.h
<<\_ACEOF
17763 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17768 if test "$ac_cv_header_linux_joystick_h" = "yes"
17770 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17771 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17772 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17773 echo $ECHO_N "(cached) $ECHO_C" >&6
17775 cat >conftest.
$ac_ext <<_ACEOF
17778 cat confdefs.h
>>conftest.
$ac_ext
17779 cat >>conftest.
$ac_ext <<_ACEOF
17780 /* end confdefs.h. */
17782 #include <sys/ioctl.h>
17783 #include <sys/types.h>
17784 #include <linux/joystick.h>
17786 struct js_event blub;
17787 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17788 #error "no 2.2 header"
17799 rm -f conftest.
$ac_objext
17800 if { (ac_try
="$ac_compile"
17801 case "(($ac_try" in
17802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17803 *) ac_try_echo=$ac_try;;
17805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17806 (eval "$ac_compile") 2>conftest.er1
17808 grep -v '^ *+' conftest.er1 >conftest.err
17810 cat conftest.err >&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); } && {
17813 test -z "$ac_c_werror_flag" ||
17814 test ! -s conftest.err
17815 } && test -s conftest.$ac_objext; then
17816 wine_cv_linux_joystick_22_api=yes
17818 echo "$as_me: failed program was:" >&5
17819 sed 's/^/| /' conftest.$ac_ext >&5
17821 wine_cv_linux_joystick_22_api=no
17824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17827 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17828 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17829 if test "$wine_cv_linux_joystick_22_api" = "yes"
17832 cat >>confdefs.h <<\_ACEOF
17833 #define HAVE_LINUX_22_JOYSTICK_API 1
17840 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17841 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17842 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17843 echo $ECHO_N "(cached) $ECHO_C" >&6
17845 cat >conftest.$ac_ext <<_ACEOF
17848 cat confdefs.h >>conftest.$ac_ext
17849 cat >>conftest.$ac_ext <<_ACEOF
17850 /* end confdefs.h. */
17851 #include <sys/types.h>
17852 #ifdef HAVE_SYS_PARAM_H
17853 # include <sys/param.h>
17855 #ifdef HAVE_SYS_MOUNT_H
17856 # include <sys/mount.h>
17858 #ifdef HAVE_SYS_VFS_H
17859 # include <sys/vfs.h>
17861 #ifdef HAVE_SYS_STATFS_H
17862 # include <sys/statfs.h>
17868 static struct statfs ac_aggr;
17869 if (ac_aggr.f_bfree)
17875 rm -f conftest.$ac_objext
17876 if { (ac_try="$ac_compile"
17877 case "(($ac_try" in
17878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17879 *) ac_try_echo
=$ac_try;;
17881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17882 (eval "$ac_compile") 2>conftest.er1
17884 grep -v '^ *+' conftest.er1
>conftest.err
17886 cat conftest.err
>&5
17887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17888 (exit $ac_status); } && {
17889 test -z "$ac_c_werror_flag" ||
17890 test ! -s conftest.err
17891 } && test -s conftest.
$ac_objext; then
17892 ac_cv_member_struct_statfs_f_bfree
=yes
17894 echo "$as_me: failed program was:" >&5
17895 sed 's/^/| /' conftest.
$ac_ext >&5
17897 cat >conftest.
$ac_ext <<_ACEOF
17900 cat confdefs.h
>>conftest.
$ac_ext
17901 cat >>conftest.
$ac_ext <<_ACEOF
17902 /* end confdefs.h. */
17903 #include <sys/types.h>
17904 #ifdef HAVE_SYS_PARAM_H
17905 # include <sys/param.h>
17907 #ifdef HAVE_SYS_MOUNT_H
17908 # include <sys/mount.h>
17910 #ifdef HAVE_SYS_VFS_H
17911 # include <sys/vfs.h>
17913 #ifdef HAVE_SYS_STATFS_H
17914 # include <sys/statfs.h>
17920 static struct statfs ac_aggr;
17921 if (sizeof ac_aggr.f_bfree)
17927 rm -f conftest.
$ac_objext
17928 if { (ac_try
="$ac_compile"
17929 case "(($ac_try" in
17930 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17931 *) ac_try_echo=$ac_try;;
17933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17934 (eval "$ac_compile") 2>conftest.er1
17936 grep -v '^ *+' conftest.er1 >conftest.err
17938 cat conftest.err >&5
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); } && {
17941 test -z "$ac_c_werror_flag" ||
17942 test ! -s conftest.err
17943 } && test -s conftest.$ac_objext; then
17944 ac_cv_member_struct_statfs_f_bfree=yes
17946 echo "$as_me: failed program was:" >&5
17947 sed 's/^/| /' conftest.$ac_ext >&5
17949 ac_cv_member_struct_statfs_f_bfree=no
17952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17957 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17958 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17959 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17961 cat >>confdefs.h <<_ACEOF
17962 #define HAVE_STRUCT_STATFS_F_BFREE 1
17967 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17968 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17969 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17970 echo $ECHO_N "(cached) $ECHO_C" >&6
17972 cat >conftest.$ac_ext <<_ACEOF
17975 cat confdefs.h >>conftest.$ac_ext
17976 cat >>conftest.$ac_ext <<_ACEOF
17977 /* end confdefs.h. */
17978 #include <sys/types.h>
17979 #ifdef HAVE_SYS_PARAM_H
17980 # include <sys/param.h>
17982 #ifdef HAVE_SYS_MOUNT_H
17983 # include <sys/mount.h>
17985 #ifdef HAVE_SYS_VFS_H
17986 # include <sys/vfs.h>
17988 #ifdef HAVE_SYS_STATFS_H
17989 # include <sys/statfs.h>
17995 static struct statfs ac_aggr;
17996 if (ac_aggr.f_bavail)
18002 rm -f conftest.$ac_objext
18003 if { (ac_try="$ac_compile"
18004 case "(($ac_try" in
18005 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18006 *) ac_try_echo
=$ac_try;;
18008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18009 (eval "$ac_compile") 2>conftest.er1
18011 grep -v '^ *+' conftest.er1
>conftest.err
18013 cat conftest.err
>&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); } && {
18016 test -z "$ac_c_werror_flag" ||
18017 test ! -s conftest.err
18018 } && test -s conftest.
$ac_objext; then
18019 ac_cv_member_struct_statfs_f_bavail
=yes
18021 echo "$as_me: failed program was:" >&5
18022 sed 's/^/| /' conftest.
$ac_ext >&5
18024 cat >conftest.
$ac_ext <<_ACEOF
18027 cat confdefs.h
>>conftest.
$ac_ext
18028 cat >>conftest.
$ac_ext <<_ACEOF
18029 /* end confdefs.h. */
18030 #include <sys/types.h>
18031 #ifdef HAVE_SYS_PARAM_H
18032 # include <sys/param.h>
18034 #ifdef HAVE_SYS_MOUNT_H
18035 # include <sys/mount.h>
18037 #ifdef HAVE_SYS_VFS_H
18038 # include <sys/vfs.h>
18040 #ifdef HAVE_SYS_STATFS_H
18041 # include <sys/statfs.h>
18047 static struct statfs ac_aggr;
18048 if (sizeof ac_aggr.f_bavail)
18054 rm -f conftest.
$ac_objext
18055 if { (ac_try
="$ac_compile"
18056 case "(($ac_try" in
18057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18058 *) ac_try_echo=$ac_try;;
18060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18061 (eval "$ac_compile") 2>conftest.er1
18063 grep -v '^ *+' conftest.er1 >conftest.err
18065 cat conftest.err >&5
18066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18067 (exit $ac_status); } && {
18068 test -z "$ac_c_werror_flag" ||
18069 test ! -s conftest.err
18070 } && test -s conftest.$ac_objext; then
18071 ac_cv_member_struct_statfs_f_bavail=yes
18073 echo "$as_me: failed program was:" >&5
18074 sed 's/^/| /' conftest.$ac_ext >&5
18076 ac_cv_member_struct_statfs_f_bavail=no
18079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18084 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18085 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18086 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18088 cat >>confdefs.h <<_ACEOF
18089 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18094 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18095 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18096 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18097 echo $ECHO_N "(cached) $ECHO_C" >&6
18099 cat >conftest.$ac_ext <<_ACEOF
18102 cat confdefs.h >>conftest.$ac_ext
18103 cat >>conftest.$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18105 #include <sys/types.h>
18106 #ifdef HAVE_SYS_PARAM_H
18107 # include <sys/param.h>
18109 #ifdef HAVE_SYS_MOUNT_H
18110 # include <sys/mount.h>
18112 #ifdef HAVE_SYS_VFS_H
18113 # include <sys/vfs.h>
18115 #ifdef HAVE_SYS_STATFS_H
18116 # include <sys/statfs.h>
18122 static struct statfs ac_aggr;
18123 if (ac_aggr.f_frsize)
18129 rm -f conftest.$ac_objext
18130 if { (ac_try="$ac_compile"
18131 case "(($ac_try" in
18132 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18133 *) ac_try_echo
=$ac_try;;
18135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18136 (eval "$ac_compile") 2>conftest.er1
18138 grep -v '^ *+' conftest.er1
>conftest.err
18140 cat conftest.err
>&5
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); } && {
18143 test -z "$ac_c_werror_flag" ||
18144 test ! -s conftest.err
18145 } && test -s conftest.
$ac_objext; then
18146 ac_cv_member_struct_statfs_f_frsize
=yes
18148 echo "$as_me: failed program was:" >&5
18149 sed 's/^/| /' conftest.
$ac_ext >&5
18151 cat >conftest.
$ac_ext <<_ACEOF
18154 cat confdefs.h
>>conftest.
$ac_ext
18155 cat >>conftest.
$ac_ext <<_ACEOF
18156 /* end confdefs.h. */
18157 #include <sys/types.h>
18158 #ifdef HAVE_SYS_PARAM_H
18159 # include <sys/param.h>
18161 #ifdef HAVE_SYS_MOUNT_H
18162 # include <sys/mount.h>
18164 #ifdef HAVE_SYS_VFS_H
18165 # include <sys/vfs.h>
18167 #ifdef HAVE_SYS_STATFS_H
18168 # include <sys/statfs.h>
18174 static struct statfs ac_aggr;
18175 if (sizeof ac_aggr.f_frsize)
18181 rm -f conftest.
$ac_objext
18182 if { (ac_try
="$ac_compile"
18183 case "(($ac_try" in
18184 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18185 *) ac_try_echo=$ac_try;;
18187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18188 (eval "$ac_compile") 2>conftest.er1
18190 grep -v '^ *+' conftest.er1 >conftest.err
18192 cat conftest.err >&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); } && {
18195 test -z "$ac_c_werror_flag" ||
18196 test ! -s conftest.err
18197 } && test -s conftest.$ac_objext; then
18198 ac_cv_member_struct_statfs_f_frsize=yes
18200 echo "$as_me: failed program was:" >&5
18201 sed 's/^/| /' conftest.$ac_ext >&5
18203 ac_cv_member_struct_statfs_f_frsize=no
18206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18211 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18212 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18213 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18215 cat >>confdefs.h <<_ACEOF
18216 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18221 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18222 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18223 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18224 echo $ECHO_N "(cached) $ECHO_C" >&6
18226 cat >conftest.$ac_ext <<_ACEOF
18229 cat confdefs.h >>conftest.$ac_ext
18230 cat >>conftest.$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18232 #include <sys/types.h>
18233 #ifdef HAVE_SYS_PARAM_H
18234 # include <sys/param.h>
18236 #ifdef HAVE_SYS_MOUNT_H
18237 # include <sys/mount.h>
18239 #ifdef HAVE_SYS_VFS_H
18240 # include <sys/vfs.h>
18242 #ifdef HAVE_SYS_STATFS_H
18243 # include <sys/statfs.h>
18249 static struct statfs ac_aggr;
18250 if (ac_aggr.f_ffree)
18256 rm -f conftest.$ac_objext
18257 if { (ac_try="$ac_compile"
18258 case "(($ac_try" in
18259 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18260 *) ac_try_echo
=$ac_try;;
18262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18263 (eval "$ac_compile") 2>conftest.er1
18265 grep -v '^ *+' conftest.er1
>conftest.err
18267 cat conftest.err
>&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); } && {
18270 test -z "$ac_c_werror_flag" ||
18271 test ! -s conftest.err
18272 } && test -s conftest.
$ac_objext; then
18273 ac_cv_member_struct_statfs_f_ffree
=yes
18275 echo "$as_me: failed program was:" >&5
18276 sed 's/^/| /' conftest.
$ac_ext >&5
18278 cat >conftest.
$ac_ext <<_ACEOF
18281 cat confdefs.h
>>conftest.
$ac_ext
18282 cat >>conftest.
$ac_ext <<_ACEOF
18283 /* end confdefs.h. */
18284 #include <sys/types.h>
18285 #ifdef HAVE_SYS_PARAM_H
18286 # include <sys/param.h>
18288 #ifdef HAVE_SYS_MOUNT_H
18289 # include <sys/mount.h>
18291 #ifdef HAVE_SYS_VFS_H
18292 # include <sys/vfs.h>
18294 #ifdef HAVE_SYS_STATFS_H
18295 # include <sys/statfs.h>
18301 static struct statfs ac_aggr;
18302 if (sizeof ac_aggr.f_ffree)
18308 rm -f conftest.
$ac_objext
18309 if { (ac_try
="$ac_compile"
18310 case "(($ac_try" in
18311 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18312 *) ac_try_echo=$ac_try;;
18314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18315 (eval "$ac_compile") 2>conftest.er1
18317 grep -v '^ *+' conftest.er1 >conftest.err
18319 cat conftest.err >&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); } && {
18322 test -z "$ac_c_werror_flag" ||
18323 test ! -s conftest.err
18324 } && test -s conftest.$ac_objext; then
18325 ac_cv_member_struct_statfs_f_ffree=yes
18327 echo "$as_me: failed program was:" >&5
18328 sed 's/^/| /' conftest.$ac_ext >&5
18330 ac_cv_member_struct_statfs_f_ffree=no
18333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18338 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18339 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18340 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18342 cat >>confdefs.h <<_ACEOF
18343 #define HAVE_STRUCT_STATFS_F_FFREE 1
18348 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18349 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18350 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18351 echo $ECHO_N "(cached) $ECHO_C" >&6
18353 cat >conftest.$ac_ext <<_ACEOF
18356 cat confdefs.h >>conftest.$ac_ext
18357 cat >>conftest.$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 #include <sys/types.h>
18360 #ifdef HAVE_SYS_PARAM_H
18361 # include <sys/param.h>
18363 #ifdef HAVE_SYS_MOUNT_H
18364 # include <sys/mount.h>
18366 #ifdef HAVE_SYS_VFS_H
18367 # include <sys/vfs.h>
18369 #ifdef HAVE_SYS_STATFS_H
18370 # include <sys/statfs.h>
18376 static struct statfs ac_aggr;
18377 if (ac_aggr.f_favail)
18383 rm -f conftest.$ac_objext
18384 if { (ac_try="$ac_compile"
18385 case "(($ac_try" in
18386 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18387 *) ac_try_echo
=$ac_try;;
18389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18390 (eval "$ac_compile") 2>conftest.er1
18392 grep -v '^ *+' conftest.er1
>conftest.err
18394 cat conftest.err
>&5
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); } && {
18397 test -z "$ac_c_werror_flag" ||
18398 test ! -s conftest.err
18399 } && test -s conftest.
$ac_objext; then
18400 ac_cv_member_struct_statfs_f_favail
=yes
18402 echo "$as_me: failed program was:" >&5
18403 sed 's/^/| /' conftest.
$ac_ext >&5
18405 cat >conftest.
$ac_ext <<_ACEOF
18408 cat confdefs.h
>>conftest.
$ac_ext
18409 cat >>conftest.
$ac_ext <<_ACEOF
18410 /* end confdefs.h. */
18411 #include <sys/types.h>
18412 #ifdef HAVE_SYS_PARAM_H
18413 # include <sys/param.h>
18415 #ifdef HAVE_SYS_MOUNT_H
18416 # include <sys/mount.h>
18418 #ifdef HAVE_SYS_VFS_H
18419 # include <sys/vfs.h>
18421 #ifdef HAVE_SYS_STATFS_H
18422 # include <sys/statfs.h>
18428 static struct statfs ac_aggr;
18429 if (sizeof ac_aggr.f_favail)
18435 rm -f conftest.
$ac_objext
18436 if { (ac_try
="$ac_compile"
18437 case "(($ac_try" in
18438 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18439 *) ac_try_echo=$ac_try;;
18441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18442 (eval "$ac_compile") 2>conftest.er1
18444 grep -v '^ *+' conftest.er1 >conftest.err
18446 cat conftest.err >&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); } && {
18449 test -z "$ac_c_werror_flag" ||
18450 test ! -s conftest.err
18451 } && test -s conftest.$ac_objext; then
18452 ac_cv_member_struct_statfs_f_favail=yes
18454 echo "$as_me: failed program was:" >&5
18455 sed 's/^/| /' conftest.$ac_ext >&5
18457 ac_cv_member_struct_statfs_f_favail=no
18460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18465 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18466 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18467 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18469 cat >>confdefs.h <<_ACEOF
18470 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18475 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18476 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18477 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18478 echo $ECHO_N "(cached) $ECHO_C" >&6
18480 cat >conftest.$ac_ext <<_ACEOF
18483 cat confdefs.h >>conftest.$ac_ext
18484 cat >>conftest.$ac_ext <<_ACEOF
18485 /* end confdefs.h. */
18486 #include <sys/types.h>
18487 #ifdef HAVE_SYS_PARAM_H
18488 # include <sys/param.h>
18490 #ifdef HAVE_SYS_MOUNT_H
18491 # include <sys/mount.h>
18493 #ifdef HAVE_SYS_VFS_H
18494 # include <sys/vfs.h>
18496 #ifdef HAVE_SYS_STATFS_H
18497 # include <sys/statfs.h>
18503 static struct statfs ac_aggr;
18504 if (ac_aggr.f_namelen)
18510 rm -f conftest.$ac_objext
18511 if { (ac_try="$ac_compile"
18512 case "(($ac_try" in
18513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18514 *) ac_try_echo
=$ac_try;;
18516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18517 (eval "$ac_compile") 2>conftest.er1
18519 grep -v '^ *+' conftest.er1
>conftest.err
18521 cat conftest.err
>&5
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); } && {
18524 test -z "$ac_c_werror_flag" ||
18525 test ! -s conftest.err
18526 } && test -s conftest.
$ac_objext; then
18527 ac_cv_member_struct_statfs_f_namelen
=yes
18529 echo "$as_me: failed program was:" >&5
18530 sed 's/^/| /' conftest.
$ac_ext >&5
18532 cat >conftest.
$ac_ext <<_ACEOF
18535 cat confdefs.h
>>conftest.
$ac_ext
18536 cat >>conftest.
$ac_ext <<_ACEOF
18537 /* end confdefs.h. */
18538 #include <sys/types.h>
18539 #ifdef HAVE_SYS_PARAM_H
18540 # include <sys/param.h>
18542 #ifdef HAVE_SYS_MOUNT_H
18543 # include <sys/mount.h>
18545 #ifdef HAVE_SYS_VFS_H
18546 # include <sys/vfs.h>
18548 #ifdef HAVE_SYS_STATFS_H
18549 # include <sys/statfs.h>
18555 static struct statfs ac_aggr;
18556 if (sizeof ac_aggr.f_namelen)
18562 rm -f conftest.
$ac_objext
18563 if { (ac_try
="$ac_compile"
18564 case "(($ac_try" in
18565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18566 *) ac_try_echo=$ac_try;;
18568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18569 (eval "$ac_compile") 2>conftest.er1
18571 grep -v '^ *+' conftest.er1 >conftest.err
18573 cat conftest.err >&5
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); } && {
18576 test -z "$ac_c_werror_flag" ||
18577 test ! -s conftest.err
18578 } && test -s conftest.$ac_objext; then
18579 ac_cv_member_struct_statfs_f_namelen=yes
18581 echo "$as_me: failed program was:" >&5
18582 sed 's/^/| /' conftest.$ac_ext >&5
18584 ac_cv_member_struct_statfs_f_namelen=no
18587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18592 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18593 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18594 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18596 cat >>confdefs.h <<_ACEOF
18597 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18604 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18605 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18606 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18607 echo $ECHO_N "(cached) $ECHO_C" >&6
18609 cat >conftest.$ac_ext <<_ACEOF
18612 cat confdefs.h >>conftest.$ac_ext
18613 cat >>conftest.$ac_ext <<_ACEOF
18614 /* end confdefs.h. */
18615 #ifdef HAVE_SYS_STATVFS_H
18616 #include <sys/statvfs.h>
18622 static struct statvfs ac_aggr;
18623 if (ac_aggr.f_blocks)
18629 rm -f conftest.$ac_objext
18630 if { (ac_try="$ac_compile"
18631 case "(($ac_try" in
18632 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18633 *) ac_try_echo
=$ac_try;;
18635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18636 (eval "$ac_compile") 2>conftest.er1
18638 grep -v '^ *+' conftest.er1
>conftest.err
18640 cat conftest.err
>&5
18641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18642 (exit $ac_status); } && {
18643 test -z "$ac_c_werror_flag" ||
18644 test ! -s conftest.err
18645 } && test -s conftest.
$ac_objext; then
18646 ac_cv_member_struct_statvfs_f_blocks
=yes
18648 echo "$as_me: failed program was:" >&5
18649 sed 's/^/| /' conftest.
$ac_ext >&5
18651 cat >conftest.
$ac_ext <<_ACEOF
18654 cat confdefs.h
>>conftest.
$ac_ext
18655 cat >>conftest.
$ac_ext <<_ACEOF
18656 /* end confdefs.h. */
18657 #ifdef HAVE_SYS_STATVFS_H
18658 #include <sys/statvfs.h>
18664 static struct statvfs ac_aggr;
18665 if (sizeof ac_aggr.f_blocks)
18671 rm -f conftest.
$ac_objext
18672 if { (ac_try
="$ac_compile"
18673 case "(($ac_try" in
18674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18675 *) ac_try_echo=$ac_try;;
18677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18678 (eval "$ac_compile") 2>conftest.er1
18680 grep -v '^ *+' conftest.er1 >conftest.err
18682 cat conftest.err >&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); } && {
18685 test -z "$ac_c_werror_flag" ||
18686 test ! -s conftest.err
18687 } && test -s conftest.$ac_objext; then
18688 ac_cv_member_struct_statvfs_f_blocks=yes
18690 echo "$as_me: failed program was:" >&5
18691 sed 's/^/| /' conftest.$ac_ext >&5
18693 ac_cv_member_struct_statvfs_f_blocks=no
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18701 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18702 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18703 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18705 cat >>confdefs.h <<_ACEOF
18706 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18713 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18714 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18715 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18716 echo $ECHO_N "(cached) $ECHO_C" >&6
18718 cat >conftest.$ac_ext <<_ACEOF
18721 cat confdefs.h >>conftest.$ac_ext
18722 cat >>conftest.$ac_ext <<_ACEOF
18723 /* end confdefs.h. */
18724 #include <sys/types.h>
18725 #ifdef HAVE_SYS_SOCKET_H
18726 # include <sys/socket.h>
18728 #ifdef HAVE_SYS_UN_H
18729 # include <sys/un.h>
18735 static struct msghdr ac_aggr;
18736 if (ac_aggr.msg_accrights)
18742 rm -f conftest.$ac_objext
18743 if { (ac_try="$ac_compile"
18744 case "(($ac_try" in
18745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18746 *) ac_try_echo
=$ac_try;;
18748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18749 (eval "$ac_compile") 2>conftest.er1
18751 grep -v '^ *+' conftest.er1
>conftest.err
18753 cat conftest.err
>&5
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); } && {
18756 test -z "$ac_c_werror_flag" ||
18757 test ! -s conftest.err
18758 } && test -s conftest.
$ac_objext; then
18759 ac_cv_member_struct_msghdr_msg_accrights
=yes
18761 echo "$as_me: failed program was:" >&5
18762 sed 's/^/| /' conftest.
$ac_ext >&5
18764 cat >conftest.
$ac_ext <<_ACEOF
18767 cat confdefs.h
>>conftest.
$ac_ext
18768 cat >>conftest.
$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18770 #include <sys/types.h>
18771 #ifdef HAVE_SYS_SOCKET_H
18772 # include <sys/socket.h>
18774 #ifdef HAVE_SYS_UN_H
18775 # include <sys/un.h>
18781 static struct msghdr ac_aggr;
18782 if (sizeof ac_aggr.msg_accrights)
18788 rm -f conftest.
$ac_objext
18789 if { (ac_try
="$ac_compile"
18790 case "(($ac_try" in
18791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18792 *) ac_try_echo=$ac_try;;
18794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18795 (eval "$ac_compile") 2>conftest.er1
18797 grep -v '^ *+' conftest.er1 >conftest.err
18799 cat conftest.err >&5
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); } && {
18802 test -z "$ac_c_werror_flag" ||
18803 test ! -s conftest.err
18804 } && test -s conftest.$ac_objext; then
18805 ac_cv_member_struct_msghdr_msg_accrights=yes
18807 echo "$as_me: failed program was:" >&5
18808 sed 's/^/| /' conftest.$ac_ext >&5
18810 ac_cv_member_struct_msghdr_msg_accrights=no
18813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18818 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18819 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18820 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18822 cat >>confdefs.h <<_ACEOF
18823 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18828 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18829 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18830 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18831 echo $ECHO_N "(cached) $ECHO_C" >&6
18833 cat >conftest.$ac_ext <<_ACEOF
18836 cat confdefs.h >>conftest.$ac_ext
18837 cat >>conftest.$ac_ext <<_ACEOF
18838 /* end confdefs.h. */
18839 #include <sys/types.h>
18840 #ifdef HAVE_SYS_SOCKET_H
18841 # include <sys/socket.h>
18843 #ifdef HAVE_SYS_UN_H
18844 # include <sys/un.h>
18850 static struct sockaddr ac_aggr;
18851 if (ac_aggr.sa_len)
18857 rm -f conftest.$ac_objext
18858 if { (ac_try="$ac_compile"
18859 case "(($ac_try" in
18860 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18861 *) ac_try_echo
=$ac_try;;
18863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18864 (eval "$ac_compile") 2>conftest.er1
18866 grep -v '^ *+' conftest.er1
>conftest.err
18868 cat conftest.err
>&5
18869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); } && {
18871 test -z "$ac_c_werror_flag" ||
18872 test ! -s conftest.err
18873 } && test -s conftest.
$ac_objext; then
18874 ac_cv_member_struct_sockaddr_sa_len
=yes
18876 echo "$as_me: failed program was:" >&5
18877 sed 's/^/| /' conftest.
$ac_ext >&5
18879 cat >conftest.
$ac_ext <<_ACEOF
18882 cat confdefs.h
>>conftest.
$ac_ext
18883 cat >>conftest.
$ac_ext <<_ACEOF
18884 /* end confdefs.h. */
18885 #include <sys/types.h>
18886 #ifdef HAVE_SYS_SOCKET_H
18887 # include <sys/socket.h>
18889 #ifdef HAVE_SYS_UN_H
18890 # include <sys/un.h>
18896 static struct sockaddr ac_aggr;
18897 if (sizeof ac_aggr.sa_len)
18903 rm -f conftest.
$ac_objext
18904 if { (ac_try
="$ac_compile"
18905 case "(($ac_try" in
18906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18907 *) ac_try_echo=$ac_try;;
18909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18910 (eval "$ac_compile") 2>conftest.er1
18912 grep -v '^ *+' conftest.er1 >conftest.err
18914 cat conftest.err >&5
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); } && {
18917 test -z "$ac_c_werror_flag" ||
18918 test ! -s conftest.err
18919 } && test -s conftest.$ac_objext; then
18920 ac_cv_member_struct_sockaddr_sa_len=yes
18922 echo "$as_me: failed program was:" >&5
18923 sed 's/^/| /' conftest.$ac_ext >&5
18925 ac_cv_member_struct_sockaddr_sa_len=no
18928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18933 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18934 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18935 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18937 cat >>confdefs.h <<_ACEOF
18938 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18943 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18944 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18945 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18946 echo $ECHO_N "(cached) $ECHO_C" >&6
18948 cat >conftest.$ac_ext <<_ACEOF
18951 cat confdefs.h >>conftest.$ac_ext
18952 cat >>conftest.$ac_ext <<_ACEOF
18953 /* end confdefs.h. */
18954 #include <sys/types.h>
18955 #ifdef HAVE_SYS_SOCKET_H
18956 # include <sys/socket.h>
18958 #ifdef HAVE_SYS_UN_H
18959 # include <sys/un.h>
18965 static struct sockaddr_un ac_aggr;
18966 if (ac_aggr.sun_len)
18972 rm -f conftest.$ac_objext
18973 if { (ac_try="$ac_compile"
18974 case "(($ac_try" in
18975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18976 *) ac_try_echo
=$ac_try;;
18978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18979 (eval "$ac_compile") 2>conftest.er1
18981 grep -v '^ *+' conftest.er1
>conftest.err
18983 cat conftest.err
>&5
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); } && {
18986 test -z "$ac_c_werror_flag" ||
18987 test ! -s conftest.err
18988 } && test -s conftest.
$ac_objext; then
18989 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18991 echo "$as_me: failed program was:" >&5
18992 sed 's/^/| /' conftest.
$ac_ext >&5
18994 cat >conftest.
$ac_ext <<_ACEOF
18997 cat confdefs.h
>>conftest.
$ac_ext
18998 cat >>conftest.
$ac_ext <<_ACEOF
18999 /* end confdefs.h. */
19000 #include <sys/types.h>
19001 #ifdef HAVE_SYS_SOCKET_H
19002 # include <sys/socket.h>
19004 #ifdef HAVE_SYS_UN_H
19005 # include <sys/un.h>
19011 static struct sockaddr_un ac_aggr;
19012 if (sizeof ac_aggr.sun_len)
19018 rm -f conftest.
$ac_objext
19019 if { (ac_try
="$ac_compile"
19020 case "(($ac_try" in
19021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19022 *) ac_try_echo=$ac_try;;
19024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19025 (eval "$ac_compile") 2>conftest.er1
19027 grep -v '^ *+' conftest.er1 >conftest.err
19029 cat conftest.err >&5
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); } && {
19032 test -z "$ac_c_werror_flag" ||
19033 test ! -s conftest.err
19034 } && test -s conftest.$ac_objext; then
19035 ac_cv_member_struct_sockaddr_un_sun_len=yes
19037 echo "$as_me: failed program was:" >&5
19038 sed 's/^/| /' conftest.$ac_ext >&5
19040 ac_cv_member_struct_sockaddr_un_sun_len=no
19043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19048 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19049 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19050 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19052 cat >>confdefs.h <<_ACEOF
19053 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19060 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19061 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19062 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19063 echo $ECHO_N "(cached) $ECHO_C" >&6
19065 cat >conftest.$ac_ext <<_ACEOF
19068 cat confdefs.h >>conftest.$ac_ext
19069 cat >>conftest.$ac_ext <<_ACEOF
19070 /* end confdefs.h. */
19071 #include <sys/types.h>
19072 #ifdef HAVE_SCSI_SG_H
19073 #include <scsi/sg.h>
19079 static scsireq_t ac_aggr;
19086 rm -f conftest.$ac_objext
19087 if { (ac_try="$ac_compile"
19088 case "(($ac_try" in
19089 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19090 *) ac_try_echo
=$ac_try;;
19092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19093 (eval "$ac_compile") 2>conftest.er1
19095 grep -v '^ *+' conftest.er1
>conftest.err
19097 cat conftest.err
>&5
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); } && {
19100 test -z "$ac_c_werror_flag" ||
19101 test ! -s conftest.err
19102 } && test -s conftest.
$ac_objext; then
19103 ac_cv_member_scsireq_t_cmd
=yes
19105 echo "$as_me: failed program was:" >&5
19106 sed 's/^/| /' conftest.
$ac_ext >&5
19108 cat >conftest.
$ac_ext <<_ACEOF
19111 cat confdefs.h
>>conftest.
$ac_ext
19112 cat >>conftest.
$ac_ext <<_ACEOF
19113 /* end confdefs.h. */
19114 #include <sys/types.h>
19115 #ifdef HAVE_SCSI_SG_H
19116 #include <scsi/sg.h>
19122 static scsireq_t ac_aggr;
19123 if (sizeof ac_aggr.cmd)
19129 rm -f conftest.
$ac_objext
19130 if { (ac_try
="$ac_compile"
19131 case "(($ac_try" in
19132 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19133 *) ac_try_echo=$ac_try;;
19135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19136 (eval "$ac_compile") 2>conftest.er1
19138 grep -v '^ *+' conftest.er1 >conftest.err
19140 cat conftest.err >&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); } && {
19143 test -z "$ac_c_werror_flag" ||
19144 test ! -s conftest.err
19145 } && test -s conftest.$ac_objext; then
19146 ac_cv_member_scsireq_t_cmd=yes
19148 echo "$as_me: failed program was:" >&5
19149 sed 's/^/| /' conftest.$ac_ext >&5
19151 ac_cv_member_scsireq_t_cmd=no
19154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19159 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19160 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19161 if test $ac_cv_member_scsireq_t_cmd = yes; then
19163 cat >>confdefs.h <<_ACEOF
19164 #define HAVE_SCSIREQ_T_CMD 1
19169 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19170 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19171 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19172 echo $ECHO_N "(cached) $ECHO_C" >&6
19174 cat >conftest.$ac_ext <<_ACEOF
19177 cat confdefs.h >>conftest.$ac_ext
19178 cat >>conftest.$ac_ext <<_ACEOF
19179 /* end confdefs.h. */
19180 #include <sys/types.h>
19181 #ifdef HAVE_SCSI_SG_H
19182 #include <scsi/sg.h>
19188 static sg_io_hdr_t ac_aggr;
19189 if (ac_aggr.interface_id)
19195 rm -f conftest.$ac_objext
19196 if { (ac_try="$ac_compile"
19197 case "(($ac_try" in
19198 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19199 *) ac_try_echo
=$ac_try;;
19201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19202 (eval "$ac_compile") 2>conftest.er1
19204 grep -v '^ *+' conftest.er1
>conftest.err
19206 cat conftest.err
>&5
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); } && {
19209 test -z "$ac_c_werror_flag" ||
19210 test ! -s conftest.err
19211 } && test -s conftest.
$ac_objext; then
19212 ac_cv_member_sg_io_hdr_t_interface_id
=yes
19214 echo "$as_me: failed program was:" >&5
19215 sed 's/^/| /' conftest.
$ac_ext >&5
19217 cat >conftest.
$ac_ext <<_ACEOF
19220 cat confdefs.h
>>conftest.
$ac_ext
19221 cat >>conftest.
$ac_ext <<_ACEOF
19222 /* end confdefs.h. */
19223 #include <sys/types.h>
19224 #ifdef HAVE_SCSI_SG_H
19225 #include <scsi/sg.h>
19231 static sg_io_hdr_t ac_aggr;
19232 if (sizeof ac_aggr.interface_id)
19238 rm -f conftest.
$ac_objext
19239 if { (ac_try
="$ac_compile"
19240 case "(($ac_try" in
19241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19242 *) ac_try_echo=$ac_try;;
19244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19245 (eval "$ac_compile") 2>conftest.er1
19247 grep -v '^ *+' conftest.er1 >conftest.err
19249 cat conftest.err >&5
19250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251 (exit $ac_status); } && {
19252 test -z "$ac_c_werror_flag" ||
19253 test ! -s conftest.err
19254 } && test -s conftest.$ac_objext; then
19255 ac_cv_member_sg_io_hdr_t_interface_id=yes
19257 echo "$as_me: failed program was:" >&5
19258 sed 's/^/| /' conftest.$ac_ext >&5
19260 ac_cv_member_sg_io_hdr_t_interface_id=no
19263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19268 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19269 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19270 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19272 cat >>confdefs.h <<_ACEOF
19273 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19280 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19281 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19282 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19283 echo $ECHO_N "(cached) $ECHO_C" >&6
19285 cat >conftest.$ac_ext <<_ACEOF
19288 cat confdefs.h >>conftest.$ac_ext
19289 cat >>conftest.$ac_ext <<_ACEOF
19290 /* end confdefs.h. */
19291 #include <signal.h>
19296 static siginfo_t ac_aggr;
19303 rm -f conftest.$ac_objext
19304 if { (ac_try="$ac_compile"
19305 case "(($ac_try" in
19306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19307 *) ac_try_echo
=$ac_try;;
19309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19310 (eval "$ac_compile") 2>conftest.er1
19312 grep -v '^ *+' conftest.er1
>conftest.err
19314 cat conftest.err
>&5
19315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19316 (exit $ac_status); } && {
19317 test -z "$ac_c_werror_flag" ||
19318 test ! -s conftest.err
19319 } && test -s conftest.
$ac_objext; then
19320 ac_cv_member_siginfo_t_si_fd
=yes
19322 echo "$as_me: failed program was:" >&5
19323 sed 's/^/| /' conftest.
$ac_ext >&5
19325 cat >conftest.
$ac_ext <<_ACEOF
19328 cat confdefs.h
>>conftest.
$ac_ext
19329 cat >>conftest.
$ac_ext <<_ACEOF
19330 /* end confdefs.h. */
19331 #include <signal.h>
19336 static siginfo_t ac_aggr;
19337 if (sizeof ac_aggr.si_fd)
19343 rm -f conftest.
$ac_objext
19344 if { (ac_try
="$ac_compile"
19345 case "(($ac_try" in
19346 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19347 *) ac_try_echo=$ac_try;;
19349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19350 (eval "$ac_compile") 2>conftest.er1
19352 grep -v '^ *+' conftest.er1 >conftest.err
19354 cat conftest.err >&5
19355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356 (exit $ac_status); } && {
19357 test -z "$ac_c_werror_flag" ||
19358 test ! -s conftest.err
19359 } && test -s conftest.$ac_objext; then
19360 ac_cv_member_siginfo_t_si_fd=yes
19362 echo "$as_me: failed program was:" >&5
19363 sed 's/^/| /' conftest.$ac_ext >&5
19365 ac_cv_member_siginfo_t_si_fd=no
19368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19373 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19374 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19375 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19377 cat >>confdefs.h <<_ACEOF
19378 #define HAVE_SIGINFO_T_SI_FD 1
19385 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19386 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19387 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19388 echo $ECHO_N "(cached) $ECHO_C" >&6
19390 cat >conftest.$ac_ext <<_ACEOF
19393 cat confdefs.h >>conftest.$ac_ext
19394 cat >>conftest.$ac_ext <<_ACEOF
19395 /* end confdefs.h. */
19396 #include <sys/types.h>
19397 #ifdef HAVE_SYS_MTIO_H
19398 #include <sys/mtio.h>
19404 static struct mtget ac_aggr;
19405 if (ac_aggr.mt_blksiz)
19411 rm -f conftest.$ac_objext
19412 if { (ac_try="$ac_compile"
19413 case "(($ac_try" in
19414 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19415 *) ac_try_echo
=$ac_try;;
19417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19418 (eval "$ac_compile") 2>conftest.er1
19420 grep -v '^ *+' conftest.er1
>conftest.err
19422 cat conftest.err
>&5
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); } && {
19425 test -z "$ac_c_werror_flag" ||
19426 test ! -s conftest.err
19427 } && test -s conftest.
$ac_objext; then
19428 ac_cv_member_struct_mtget_mt_blksiz
=yes
19430 echo "$as_me: failed program was:" >&5
19431 sed 's/^/| /' conftest.
$ac_ext >&5
19433 cat >conftest.
$ac_ext <<_ACEOF
19436 cat confdefs.h
>>conftest.
$ac_ext
19437 cat >>conftest.
$ac_ext <<_ACEOF
19438 /* end confdefs.h. */
19439 #include <sys/types.h>
19440 #ifdef HAVE_SYS_MTIO_H
19441 #include <sys/mtio.h>
19447 static struct mtget ac_aggr;
19448 if (sizeof ac_aggr.mt_blksiz)
19454 rm -f conftest.
$ac_objext
19455 if { (ac_try
="$ac_compile"
19456 case "(($ac_try" in
19457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19458 *) ac_try_echo=$ac_try;;
19460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19461 (eval "$ac_compile") 2>conftest.er1
19463 grep -v '^ *+' conftest.er1 >conftest.err
19465 cat conftest.err >&5
19466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 (exit $ac_status); } && {
19468 test -z "$ac_c_werror_flag" ||
19469 test ! -s conftest.err
19470 } && test -s conftest.$ac_objext; then
19471 ac_cv_member_struct_mtget_mt_blksiz=yes
19473 echo "$as_me: failed program was:" >&5
19474 sed 's/^/| /' conftest.$ac_ext >&5
19476 ac_cv_member_struct_mtget_mt_blksiz=no
19479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19484 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19485 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19486 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19488 cat >>confdefs.h <<_ACEOF
19489 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19494 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19495 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19496 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19497 echo $ECHO_N "(cached) $ECHO_C" >&6
19499 cat >conftest.$ac_ext <<_ACEOF
19502 cat confdefs.h >>conftest.$ac_ext
19503 cat >>conftest.$ac_ext <<_ACEOF
19504 /* end confdefs.h. */
19505 #include <sys/types.h>
19506 #ifdef HAVE_SYS_MTIO_H
19507 #include <sys/mtio.h>
19513 static struct mtget ac_aggr;
19514 if (ac_aggr.mt_gstat)
19520 rm -f conftest.$ac_objext
19521 if { (ac_try="$ac_compile"
19522 case "(($ac_try" in
19523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19524 *) ac_try_echo
=$ac_try;;
19526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19527 (eval "$ac_compile") 2>conftest.er1
19529 grep -v '^ *+' conftest.er1
>conftest.err
19531 cat conftest.err
>&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); } && {
19534 test -z "$ac_c_werror_flag" ||
19535 test ! -s conftest.err
19536 } && test -s conftest.
$ac_objext; then
19537 ac_cv_member_struct_mtget_mt_gstat
=yes
19539 echo "$as_me: failed program was:" >&5
19540 sed 's/^/| /' conftest.
$ac_ext >&5
19542 cat >conftest.
$ac_ext <<_ACEOF
19545 cat confdefs.h
>>conftest.
$ac_ext
19546 cat >>conftest.
$ac_ext <<_ACEOF
19547 /* end confdefs.h. */
19548 #include <sys/types.h>
19549 #ifdef HAVE_SYS_MTIO_H
19550 #include <sys/mtio.h>
19556 static struct mtget ac_aggr;
19557 if (sizeof ac_aggr.mt_gstat)
19563 rm -f conftest.
$ac_objext
19564 if { (ac_try
="$ac_compile"
19565 case "(($ac_try" in
19566 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19567 *) ac_try_echo=$ac_try;;
19569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19570 (eval "$ac_compile") 2>conftest.er1
19572 grep -v '^ *+' conftest.er1 >conftest.err
19574 cat conftest.err >&5
19575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576 (exit $ac_status); } && {
19577 test -z "$ac_c_werror_flag" ||
19578 test ! -s conftest.err
19579 } && test -s conftest.$ac_objext; then
19580 ac_cv_member_struct_mtget_mt_gstat=yes
19582 echo "$as_me: failed program was:" >&5
19583 sed 's/^/| /' conftest.$ac_ext >&5
19585 ac_cv_member_struct_mtget_mt_gstat=no
19588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19593 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19594 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19595 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19597 cat >>confdefs.h <<_ACEOF
19598 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19603 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19604 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19605 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19606 echo $ECHO_N "(cached) $ECHO_C" >&6
19608 cat >conftest.$ac_ext <<_ACEOF
19611 cat confdefs.h >>conftest.$ac_ext
19612 cat >>conftest.$ac_ext <<_ACEOF
19613 /* end confdefs.h. */
19614 #include <sys/types.h>
19615 #ifdef HAVE_SYS_MTIO_H
19616 #include <sys/mtio.h>
19622 static struct mtget ac_aggr;
19623 if (ac_aggr.mt_blkno)
19629 rm -f conftest.$ac_objext
19630 if { (ac_try="$ac_compile"
19631 case "(($ac_try" in
19632 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19633 *) ac_try_echo
=$ac_try;;
19635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19636 (eval "$ac_compile") 2>conftest.er1
19638 grep -v '^ *+' conftest.er1
>conftest.err
19640 cat conftest.err
>&5
19641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19642 (exit $ac_status); } && {
19643 test -z "$ac_c_werror_flag" ||
19644 test ! -s conftest.err
19645 } && test -s conftest.
$ac_objext; then
19646 ac_cv_member_struct_mtget_mt_blkno
=yes
19648 echo "$as_me: failed program was:" >&5
19649 sed 's/^/| /' conftest.
$ac_ext >&5
19651 cat >conftest.
$ac_ext <<_ACEOF
19654 cat confdefs.h
>>conftest.
$ac_ext
19655 cat >>conftest.
$ac_ext <<_ACEOF
19656 /* end confdefs.h. */
19657 #include <sys/types.h>
19658 #ifdef HAVE_SYS_MTIO_H
19659 #include <sys/mtio.h>
19665 static struct mtget ac_aggr;
19666 if (sizeof ac_aggr.mt_blkno)
19672 rm -f conftest.
$ac_objext
19673 if { (ac_try
="$ac_compile"
19674 case "(($ac_try" in
19675 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19676 *) ac_try_echo=$ac_try;;
19678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19679 (eval "$ac_compile") 2>conftest.er1
19681 grep -v '^ *+' conftest.er1 >conftest.err
19683 cat conftest.err >&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); } && {
19686 test -z "$ac_c_werror_flag" ||
19687 test ! -s conftest.err
19688 } && test -s conftest.$ac_objext; then
19689 ac_cv_member_struct_mtget_mt_blkno=yes
19691 echo "$as_me: failed program was:" >&5
19692 sed 's/^/| /' conftest.$ac_ext >&5
19694 ac_cv_member_struct_mtget_mt_blkno=no
19697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19702 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19703 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19704 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19706 cat >>confdefs.h <<_ACEOF
19707 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19714 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19715 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19716 if test "${ac_cv_member_struct_option_name+set}" = set; then
19717 echo $ECHO_N "(cached) $ECHO_C" >&6
19719 cat >conftest.$ac_ext <<_ACEOF
19722 cat confdefs.h >>conftest.$ac_ext
19723 cat >>conftest.$ac_ext <<_ACEOF
19724 /* end confdefs.h. */
19725 #ifdef HAVE_GETOPT_H
19726 #include <getopt.h>
19732 static struct option ac_aggr;
19739 rm -f conftest.$ac_objext
19740 if { (ac_try="$ac_compile"
19741 case "(($ac_try" in
19742 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19743 *) ac_try_echo
=$ac_try;;
19745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19746 (eval "$ac_compile") 2>conftest.er1
19748 grep -v '^ *+' conftest.er1
>conftest.err
19750 cat conftest.err
>&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); } && {
19753 test -z "$ac_c_werror_flag" ||
19754 test ! -s conftest.err
19755 } && test -s conftest.
$ac_objext; then
19756 ac_cv_member_struct_option_name
=yes
19758 echo "$as_me: failed program was:" >&5
19759 sed 's/^/| /' conftest.
$ac_ext >&5
19761 cat >conftest.
$ac_ext <<_ACEOF
19764 cat confdefs.h
>>conftest.
$ac_ext
19765 cat >>conftest.
$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19767 #ifdef HAVE_GETOPT_H
19768 #include <getopt.h>
19774 static struct option ac_aggr;
19775 if (sizeof ac_aggr.name)
19781 rm -f conftest.
$ac_objext
19782 if { (ac_try
="$ac_compile"
19783 case "(($ac_try" in
19784 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19785 *) ac_try_echo=$ac_try;;
19787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19788 (eval "$ac_compile") 2>conftest.er1
19790 grep -v '^ *+' conftest.er1 >conftest.err
19792 cat conftest.err >&5
19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794 (exit $ac_status); } && {
19795 test -z "$ac_c_werror_flag" ||
19796 test ! -s conftest.err
19797 } && test -s conftest.$ac_objext; then
19798 ac_cv_member_struct_option_name=yes
19800 echo "$as_me: failed program was:" >&5
19801 sed 's/^/| /' conftest.$ac_ext >&5
19803 ac_cv_member_struct_option_name=no
19806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19811 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19812 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19813 if test $ac_cv_member_struct_option_name = yes; then
19815 cat >>confdefs.h <<_ACEOF
19816 #define HAVE_STRUCT_OPTION_NAME 1
19823 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19824 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19825 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19826 echo $ECHO_N "(cached) $ECHO_C" >&6
19828 cat >conftest.$ac_ext <<_ACEOF
19831 cat confdefs.h >>conftest.$ac_ext
19832 cat >>conftest.$ac_ext <<_ACEOF
19833 /* end confdefs.h. */
19834 $ac_includes_default
19838 static struct stat ac_aggr;
19839 if (ac_aggr.st_blocks)
19845 rm -f conftest.$ac_objext
19846 if { (ac_try="$ac_compile"
19847 case "(($ac_try" in
19848 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19849 *) ac_try_echo
=$ac_try;;
19851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19852 (eval "$ac_compile") 2>conftest.er1
19854 grep -v '^ *+' conftest.er1
>conftest.err
19856 cat conftest.err
>&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); } && {
19859 test -z "$ac_c_werror_flag" ||
19860 test ! -s conftest.err
19861 } && test -s conftest.
$ac_objext; then
19862 ac_cv_member_struct_stat_st_blocks
=yes
19864 echo "$as_me: failed program was:" >&5
19865 sed 's/^/| /' conftest.
$ac_ext >&5
19867 cat >conftest.
$ac_ext <<_ACEOF
19870 cat confdefs.h
>>conftest.
$ac_ext
19871 cat >>conftest.
$ac_ext <<_ACEOF
19872 /* end confdefs.h. */
19873 $ac_includes_default
19877 static struct stat ac_aggr;
19878 if (sizeof ac_aggr.st_blocks)
19884 rm -f conftest.
$ac_objext
19885 if { (ac_try
="$ac_compile"
19886 case "(($ac_try" in
19887 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19888 *) ac_try_echo=$ac_try;;
19890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19891 (eval "$ac_compile") 2>conftest.er1
19893 grep -v '^ *+' conftest.er1 >conftest.err
19895 cat conftest.err >&5
19896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897 (exit $ac_status); } && {
19898 test -z "$ac_c_werror_flag" ||
19899 test ! -s conftest.err
19900 } && test -s conftest.$ac_objext; then
19901 ac_cv_member_struct_stat_st_blocks=yes
19903 echo "$as_me: failed program was:" >&5
19904 sed 's/^/| /' conftest.$ac_ext >&5
19906 ac_cv_member_struct_stat_st_blocks=no
19909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19914 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19915 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19916 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19918 cat >>confdefs.h <<_ACEOF
19919 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19926 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19927 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19928 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19929 echo $ECHO_N "(cached) $ECHO_C" >&6
19931 cat >conftest.$ac_ext <<_ACEOF
19934 cat confdefs.h >>conftest.$ac_ext
19935 cat >>conftest.$ac_ext <<_ACEOF
19936 /* end confdefs.h. */
19937 #ifdef HAVE_SYS_TYPES_H
19938 #include <sys/types.h>
19940 #ifdef HAVE_NETINET_IN_H
19941 #include <netinet/in.h>
19947 static struct sockaddr_in6 ac_aggr;
19948 if (ac_aggr.sin6_scope_id)
19954 rm -f conftest.$ac_objext
19955 if { (ac_try="$ac_compile"
19956 case "(($ac_try" in
19957 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19958 *) ac_try_echo
=$ac_try;;
19960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19961 (eval "$ac_compile") 2>conftest.er1
19963 grep -v '^ *+' conftest.er1
>conftest.err
19965 cat conftest.err
>&5
19966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19967 (exit $ac_status); } && {
19968 test -z "$ac_c_werror_flag" ||
19969 test ! -s conftest.err
19970 } && test -s conftest.
$ac_objext; then
19971 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19973 echo "$as_me: failed program was:" >&5
19974 sed 's/^/| /' conftest.
$ac_ext >&5
19976 cat >conftest.
$ac_ext <<_ACEOF
19979 cat confdefs.h
>>conftest.
$ac_ext
19980 cat >>conftest.
$ac_ext <<_ACEOF
19981 /* end confdefs.h. */
19982 #ifdef HAVE_SYS_TYPES_H
19983 #include <sys/types.h>
19985 #ifdef HAVE_NETINET_IN_H
19986 #include <netinet/in.h>
19992 static struct sockaddr_in6 ac_aggr;
19993 if (sizeof ac_aggr.sin6_scope_id)
19999 rm -f conftest.
$ac_objext
20000 if { (ac_try
="$ac_compile"
20001 case "(($ac_try" in
20002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20003 *) ac_try_echo=$ac_try;;
20005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20006 (eval "$ac_compile") 2>conftest.er1
20008 grep -v '^ *+' conftest.er1 >conftest.err
20010 cat conftest.err >&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); } && {
20013 test -z "$ac_c_werror_flag" ||
20014 test ! -s conftest.err
20015 } && test -s conftest.$ac_objext; then
20016 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20018 echo "$as_me: failed program was:" >&5
20019 sed 's/^/| /' conftest.$ac_ext >&5
20021 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20029 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20030 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20031 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20033 cat >>confdefs.h <<_ACEOF
20034 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20041 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20042 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20043 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20044 echo $ECHO_N "(cached) $ECHO_C" >&6
20046 cat >conftest.$ac_ext <<_ACEOF
20049 cat confdefs.h >>conftest.$ac_ext
20050 cat >>conftest.$ac_ext <<_ACEOF
20051 /* end confdefs.h. */
20052 #ifdef HAVE_SYS_TYPES_H
20053 #include <sys/types.h>
20055 #ifdef HAVE_NETINET_IN_H
20056 # include <netinet/in.h>
20058 #ifdef HAVE_ARPA_NAMESER_H
20059 # include <arpa/nameser.h>
20065 static ns_msg ac_aggr;
20066 if (ac_aggr._msg_ptr)
20072 rm -f conftest.$ac_objext
20073 if { (ac_try="$ac_compile"
20074 case "(($ac_try" in
20075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20076 *) ac_try_echo
=$ac_try;;
20078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20079 (eval "$ac_compile") 2>conftest.er1
20081 grep -v '^ *+' conftest.er1
>conftest.err
20083 cat conftest.err
>&5
20084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20085 (exit $ac_status); } && {
20086 test -z "$ac_c_werror_flag" ||
20087 test ! -s conftest.err
20088 } && test -s conftest.
$ac_objext; then
20089 ac_cv_member_ns_msg__msg_ptr
=yes
20091 echo "$as_me: failed program was:" >&5
20092 sed 's/^/| /' conftest.
$ac_ext >&5
20094 cat >conftest.
$ac_ext <<_ACEOF
20097 cat confdefs.h
>>conftest.
$ac_ext
20098 cat >>conftest.
$ac_ext <<_ACEOF
20099 /* end confdefs.h. */
20100 #ifdef HAVE_SYS_TYPES_H
20101 #include <sys/types.h>
20103 #ifdef HAVE_NETINET_IN_H
20104 # include <netinet/in.h>
20106 #ifdef HAVE_ARPA_NAMESER_H
20107 # include <arpa/nameser.h>
20113 static ns_msg ac_aggr;
20114 if (sizeof ac_aggr._msg_ptr)
20120 rm -f conftest.
$ac_objext
20121 if { (ac_try
="$ac_compile"
20122 case "(($ac_try" in
20123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20124 *) ac_try_echo=$ac_try;;
20126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20127 (eval "$ac_compile") 2>conftest.er1
20129 grep -v '^ *+' conftest.er1 >conftest.err
20131 cat conftest.err >&5
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); } && {
20134 test -z "$ac_c_werror_flag" ||
20135 test ! -s conftest.err
20136 } && test -s conftest.$ac_objext; then
20137 ac_cv_member_ns_msg__msg_ptr=yes
20139 echo "$as_me: failed program was:" >&5
20140 sed 's/^/| /' conftest.$ac_ext >&5
20142 ac_cv_member_ns_msg__msg_ptr=no
20145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20150 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20151 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20152 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20154 cat >>confdefs.h <<_ACEOF
20155 #define HAVE_NS_MSG__MSG_PTR 1
20162 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20163 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20164 if test "${ac_cv_have_timezone+set}" = set; then
20165 echo $ECHO_N "(cached) $ECHO_C" >&6
20167 cat >conftest.$ac_ext <<_ACEOF
20170 cat confdefs.h >>conftest.$ac_ext
20171 cat >>conftest.$ac_ext <<_ACEOF
20172 /* end confdefs.h. */
20182 rm -f conftest.$ac_objext conftest$ac_exeext
20183 if { (ac_try="$ac_link"
20184 case "(($ac_try" in
20185 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20186 *) ac_try_echo
=$ac_try;;
20188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20189 (eval "$ac_link") 2>conftest.er1
20191 grep -v '^ *+' conftest.er1
>conftest.err
20193 cat conftest.err
>&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } && {
20196 test -z "$ac_c_werror_flag" ||
20197 test ! -s conftest.err
20198 } && test -s conftest
$ac_exeext &&
20199 $as_test_x conftest
$ac_exeext; then
20200 ac_cv_have_timezone
="yes"
20202 echo "$as_me: failed program was:" >&5
20203 sed 's/^/| /' conftest.
$ac_ext >&5
20205 ac_cv_have_timezone
="no"
20208 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20209 conftest
$ac_exeext conftest.
$ac_ext
20211 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20212 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20213 if test "$ac_cv_have_timezone" = "yes"
20216 cat >>confdefs.h
<<\_ACEOF
20217 #define HAVE_TIMEZONE 1
20221 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20222 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20223 if test "${ac_cv_have_daylight+set}" = set; then
20224 echo $ECHO_N "(cached) $ECHO_C" >&6
20226 cat >conftest.
$ac_ext <<_ACEOF
20229 cat confdefs.h
>>conftest.
$ac_ext
20230 cat >>conftest.
$ac_ext <<_ACEOF
20231 /* end confdefs.h. */
20241 rm -f conftest.
$ac_objext conftest
$ac_exeext
20242 if { (ac_try
="$ac_link"
20243 case "(($ac_try" in
20244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20245 *) ac_try_echo=$ac_try;;
20247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20248 (eval "$ac_link") 2>conftest.er1
20250 grep -v '^ *+' conftest.er1 >conftest.err
20252 cat conftest.err >&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); } && {
20255 test -z "$ac_c_werror_flag" ||
20256 test ! -s conftest.err
20257 } && test -s conftest$ac_exeext &&
20258 $as_test_x conftest$ac_exeext; then
20259 ac_cv_have_daylight="yes"
20261 echo "$as_me: failed program was:" >&5
20262 sed 's/^/| /' conftest.$ac_ext >&5
20264 ac_cv_have_daylight="no"
20267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20268 conftest$ac_exeext conftest.$ac_ext
20270 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20271 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20272 if test "$ac_cv_have_daylight" = "yes"
20275 cat >>confdefs.h <<\_ACEOF
20276 #define HAVE_DAYLIGHT 1
20283 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20284 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20285 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20286 echo $ECHO_N "(cached) $ECHO_C" >&6
20288 cat >conftest.$ac_ext <<_ACEOF
20291 cat confdefs.h >>conftest.$ac_ext
20292 cat >>conftest.$ac_ext <<_ACEOF
20293 /* end confdefs.h. */
20298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20299 $EGREP "yes" >/dev/null 2>&1; then
20300 ac_cv_cpp_def___i386__=yes
20302 ac_cv_cpp_def___i386__=no
20307 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20308 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20309 if test $ac_cv_cpp_def___i386__ = yes; then
20310 CFLAGS="$CFLAGS -D__i386__"
20311 LINTFLAGS="$LINTFLAGS -D__i386__"
20314 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20315 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20316 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20317 echo $ECHO_N "(cached) $ECHO_C" >&6
20319 cat >conftest.$ac_ext <<_ACEOF
20322 cat confdefs.h >>conftest.$ac_ext
20323 cat >>conftest.$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20330 $EGREP "yes" >/dev/null 2>&1; then
20331 ac_cv_cpp_def___x86_64__=yes
20333 ac_cv_cpp_def___x86_64__=no
20338 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20339 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20340 if test $ac_cv_cpp_def___x86_64__ = yes; then
20341 CFLAGS="$CFLAGS -D__x86_64__"
20342 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20345 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20346 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20347 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20348 echo $ECHO_N "(cached) $ECHO_C" >&6
20350 cat >conftest.$ac_ext <<_ACEOF
20353 cat confdefs.h >>conftest.$ac_ext
20354 cat >>conftest.$ac_ext <<_ACEOF
20355 /* end confdefs.h. */
20360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20361 $EGREP "yes" >/dev/null 2>&1; then
20362 ac_cv_cpp_def___ALPHA__=yes
20364 ac_cv_cpp_def___ALPHA__=no
20369 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20370 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20371 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20372 CFLAGS="$CFLAGS -D__ALPHA__"
20373 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20376 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20377 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20378 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20379 echo $ECHO_N "(cached) $ECHO_C" >&6
20381 cat >conftest.$ac_ext <<_ACEOF
20384 cat confdefs.h >>conftest.$ac_ext
20385 cat >>conftest.$ac_ext <<_ACEOF
20386 /* end confdefs.h. */
20391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20392 $EGREP "yes" >/dev/null 2>&1; then
20393 ac_cv_cpp_def___sparc__=yes
20395 ac_cv_cpp_def___sparc__=no
20400 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20401 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20402 if test $ac_cv_cpp_def___sparc__ = yes; then
20403 CFLAGS="$CFLAGS -D__sparc__"
20404 LINTFLAGS="$LINTFLAGS -D__sparc__"
20407 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20408 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20409 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20410 echo $ECHO_N "(cached) $ECHO_C" >&6
20412 cat >conftest.$ac_ext <<_ACEOF
20415 cat confdefs.h >>conftest.$ac_ext
20416 cat >>conftest.$ac_ext <<_ACEOF
20417 /* end confdefs.h. */
20418 #ifndef __powerpc__
20422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20423 $EGREP "yes" >/dev/null 2>&1; then
20424 ac_cv_cpp_def___powerpc__=yes
20426 ac_cv_cpp_def___powerpc__=no
20431 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20432 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20433 if test $ac_cv_cpp_def___powerpc__ = yes; then
20434 CFLAGS="$CFLAGS -D__powerpc__"
20435 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20440 case $host_vendor in
20441 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20442 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20443 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20444 echo $ECHO_N "(cached) $ECHO_C" >&6
20446 cat >conftest.$ac_ext <<_ACEOF
20449 cat confdefs.h >>conftest.$ac_ext
20450 cat >>conftest.$ac_ext <<_ACEOF
20451 /* end confdefs.h. */
20456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20457 $EGREP "yes" >/dev/null 2>&1; then
20458 ac_cv_cpp_def___sun__=yes
20460 ac_cv_cpp_def___sun__=no
20465 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20466 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20467 if test $ac_cv_cpp_def___sun__ = yes; then
20468 CFLAGS="$CFLAGS -D__sun__"
20469 LINTFLAGS="$LINTFLAGS -D__sun__"
20475 DEPENDENCIES="### Dependencies:
20480 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20482 \$(OBJS): \$(IDL_GEN_HEADERS)
20483 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20484 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20485 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20491 ac_config_commands="$ac_config_commands include/stamp-h"
20494 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20496 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20498 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20500 ac_config_commands="$ac_config_commands dlls/user32/resources"
20502 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20504 ac_config_commands="$ac_config_commands include/wine"
20507 MAKE_RULES=Make.rules
20510 MAKE_DLL_RULES=dlls/Makedll.rules
20513 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20516 MAKE_TEST_RULES=dlls/Maketest.rules
20519 MAKE_PROG_RULES=programs/Makeprog.rules
20522 ac_config_files="$ac_config_files Make.rules"
20524 ac_config_files="$ac_config_files dlls/Makedll.rules"
20526 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20528 ac_config_files="$ac_config_files dlls/Maketest.rules"
20530 ac_config_files="$ac_config_files programs/Makeprog.rules"
20532 ac_config_files="$ac_config_files Makefile"
20534 ac_config_files="$ac_config_files dlls/Makefile"
20536 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20538 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20540 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20542 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20544 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20546 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20548 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20550 ac_config_files="$ac_config_files dlls/atl/Makefile"
20552 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20554 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20556 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20558 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20560 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20562 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20564 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20566 ac_config_files="$ac_config_files dlls/cards/Makefile"
20568 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20570 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20572 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20574 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20576 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20578 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20580 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20582 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20584 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20586 ac_config_files="$ac_config_files dlls/credui/Makefile"
20588 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
20590 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20592 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20594 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20596 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20598 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20600 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
20602 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
20604 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20606 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20608 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20610 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20612 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20614 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20616 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20618 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20620 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20622 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20624 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
20626 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20628 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20630 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20632 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20634 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20636 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20638 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20640 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20642 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20644 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20646 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20648 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20650 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20652 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20654 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20656 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20658 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20660 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20662 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20664 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20666 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20668 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20670 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20672 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20674 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20676 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20678 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20680 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
20682 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20684 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20686 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20688 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20690 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20692 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20694 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20696 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20698 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
20700 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20702 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20704 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20706 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20708 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20710 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20712 ac_config_files="$ac_config_files dlls/hal/Makefile"
20714 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20716 ac_config_files="$ac_config_files dlls/hid/Makefile"
20718 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20720 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20722 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20724 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20726 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20728 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20730 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20732 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20734 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20736 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
20738 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20740 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20742 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20744 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20746 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20748 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20750 ac_config_files="$ac_config_files dlls/itss/Makefile"
20752 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20754 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20756 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20758 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20760 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20762 ac_config_files="$ac_config_files dlls/localui/Makefile"
20764 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20766 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20768 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20770 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20772 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20774 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20776 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20778 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20780 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20782 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20784 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20786 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20788 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20790 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20792 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20794 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20796 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20798 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20800 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20802 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20804 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
20806 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20808 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20810 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20812 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20814 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20816 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20818 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20820 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20822 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20824 ac_config_files="$ac_config_files dlls/msi/Makefile"
20826 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20828 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20830 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
20832 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20834 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20836 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20838 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
20840 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20842 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20844 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20846 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20848 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20850 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20852 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20854 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20856 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20858 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20860 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20862 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20864 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20866 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20868 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20870 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20872 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20874 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20876 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20878 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20880 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20882 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20884 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20886 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20888 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20890 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20892 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20894 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20896 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20898 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20900 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20902 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20904 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20906 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20908 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
20910 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20912 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20914 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20916 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20918 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20920 ac_config_files="$ac_config_files dlls/printui/Makefile"
20922 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20924 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20926 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20928 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20930 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
20932 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20934 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20936 ac_config_files="$ac_config_files dlls/query/Makefile"
20938 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20940 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20942 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20944 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20946 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20948 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
20950 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20952 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20954 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20956 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20958 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20960 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20962 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20964 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20966 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20968 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20970 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20972 ac_config_files="$ac_config_files dlls/security/Makefile"
20974 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20976 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20978 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20980 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20982 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20984 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20986 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20988 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20990 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20992 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20994 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20996 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20998 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21000 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21002 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21004 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21006 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21008 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21010 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21012 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21014 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21016 ac_config_files="$ac_config_files dlls/sti/Makefile"
21018 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21020 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21022 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21024 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21026 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21028 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21030 ac_config_files="$ac_config_files dlls/url/Makefile"
21032 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21034 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21036 ac_config_files="$ac_config_files dlls/user32/Makefile"
21038 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21040 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21042 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21044 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21046 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21048 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21050 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21052 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21054 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21056 ac_config_files="$ac_config_files dlls/version/Makefile"
21058 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21060 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21062 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21064 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21066 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21068 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21070 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21072 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21074 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21076 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21078 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21080 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21082 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21084 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21086 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21088 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21090 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21092 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21094 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21096 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21098 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21100 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21102 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21104 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21106 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21108 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21110 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21112 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21114 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21116 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21118 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21120 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21122 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21124 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21126 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21128 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21130 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21132 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21134 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21136 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21138 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21140 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21142 ac_config_files="$ac_config_files documentation/Makefile"
21144 ac_config_files="$ac_config_files fonts/Makefile"
21146 ac_config_files="$ac_config_files include/Makefile"
21148 ac_config_files="$ac_config_files libs/Makefile"
21150 ac_config_files="$ac_config_files libs/port/Makefile"
21152 ac_config_files="$ac_config_files libs/wine/Makefile"
21154 ac_config_files="$ac_config_files libs/wpp/Makefile"
21156 ac_config_files="$ac_config_files loader/Makefile"
21158 ac_config_files="$ac_config_files programs/Makefile"
21160 ac_config_files="$ac_config_files programs/clock/Makefile"
21162 ac_config_files="$ac_config_files programs/cmd/Makefile"
21164 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21166 ac_config_files="$ac_config_files programs/control/Makefile"
21168 ac_config_files="$ac_config_files programs/eject/Makefile"
21170 ac_config_files="$ac_config_files programs/expand/Makefile"
21172 ac_config_files="$ac_config_files programs/explorer/Makefile"
21174 ac_config_files="$ac_config_files programs/hh/Makefile"
21176 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21178 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21180 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21182 ac_config_files="$ac_config_files programs/net/Makefile"
21184 ac_config_files="$ac_config_files programs/notepad/Makefile"
21186 ac_config_files="$ac_config_files programs/oleview/Makefile"
21188 ac_config_files="$ac_config_files programs/progman/Makefile"
21190 ac_config_files="$ac_config_files programs/regedit/Makefile"
21192 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21194 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21196 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21198 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21200 ac_config_files="$ac_config_files programs/start/Makefile"
21202 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21204 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21206 ac_config_files="$ac_config_files programs/view/Makefile"
21208 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21210 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21212 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21214 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21216 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21218 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21220 ac_config_files="$ac_config_files programs/winefile/Makefile"
21222 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21224 ac_config_files="$ac_config_files programs/winemine/Makefile"
21226 ac_config_files="$ac_config_files programs/winepath/Makefile"
21228 ac_config_files="$ac_config_files programs/winetest/Makefile"
21230 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21232 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21234 ac_config_files="$ac_config_files programs/winver/Makefile"
21236 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21238 ac_config_files="$ac_config_files programs/write/Makefile"
21240 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21242 ac_config_files="$ac_config_files server/Makefile"
21244 ac_config_files="$ac_config_files tools/Makefile"
21246 ac_config_files="$ac_config_files tools/widl/Makefile"
21248 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21250 ac_config_files="$ac_config_files tools/winedump/Makefile"
21252 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21254 ac_config_files="$ac_config_files tools/wmc/Makefile"
21256 ac_config_files="$ac_config_files tools/wrc/Makefile"
21259 cat >confcache <<\_ACEOF
21260 # This file is a shell script that caches the results of configure
21261 # tests run on this system so they can be shared between configure
21262 # scripts and configure runs, see configure's option --config-cache.
21263 # It is not useful on other systems. If it contains results you don't
21264 # want to keep, you may remove or edit it.
21266 # config.status only pays attention to the cache file if you give it
21267 # the --recheck option to rerun configure.
21269 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
21270 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21271 # following values.
21275 # The following way of writing the cache mishandles newlines in values,
21276 # but we know of no workaround that is simple, portable, and efficient.
21277 # So, we kill variables containing newlines.
21278 # Ultrix sh set writes to stderr and can't be redirected directly,
21279 # and sets the high bit in the cache file unless we assign to the vars.
21281 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21282 eval ac_val
=\$
$ac_var
21286 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21287 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21290 _ | IFS | as_nl
) ;; #(
21291 *) $as_unset $ac_var ;;
21297 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21298 *${as_nl}ac_space
=\
*)
21299 # `set' does not quote correctly, so add quotes (double-quote
21300 # substitution turns \\\\ into \\, and sed turns \\ into \).
21303 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21306 # `set' quotes correctly as required by POSIX, so do not add quotes.
21307 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21316 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21318 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21320 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21321 if test -w "$cache_file"; then
21322 test "x$cache_file" != "x/dev/null" &&
21323 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21324 echo "$as_me: updating cache $cache_file" >&6;}
21325 cat confcache
>$cache_file
21327 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21328 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21333 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21334 # Let make expand exec_prefix.
21335 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21337 DEFS
=-DHAVE_CONFIG_H
21341 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21342 # 1. Remove the extension, and $U if already installed.
21343 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21344 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21345 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21346 # will be set to the directory where LIBOBJS objects are built.
21347 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21348 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21350 LIBOBJS
=$ac_libobjs
21352 LTLIBOBJS
=$ac_ltlibobjs
21356 : ${CONFIG_STATUS=./config.status}
21357 ac_clean_files_save
=$ac_clean_files
21358 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21359 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21360 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21361 cat >$CONFIG_STATUS <<_ACEOF
21363 # Generated by $as_me.
21364 # Run this file to recreate the current configuration.
21365 # Compiler output produced by configure, useful for debugging
21366 # configure, is in config.log if it exists.
21369 ac_cs_recheck=false
21371 SHELL=\${CONFIG_SHELL-$SHELL}
21374 cat >>$CONFIG_STATUS <<\_ACEOF
21375 ## --------------------- ##
21376 ## M4sh Initialization. ##
21377 ## --------------------- ##
21379 # Be more Bourne compatible
21380 DUALCASE
=1; export DUALCASE
# for MKS sh
21381 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21384 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21385 # is contrary to our usage. Disable this feature.
21386 alias -g '${1+"$@"}'='"$@"'
21387 setopt NO_GLOB_SUBST
21389 case `(set -o) 2>/dev/null` in
21390 *posix
*) set -o posix
;;
21399 # Avoid depending upon Character Ranges.
21400 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21401 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21402 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21403 as_cr_digits
='0123456789'
21404 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21406 # The user is always right.
21407 if test "${PATH_SEPARATOR+set}" != set; then
21408 echo "#! /bin/sh" >conf$$.sh
21409 echo "exit 0" >>conf$$.sh
21411 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21419 # Support unset when possible.
21420 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21428 # We need space, tab and new line, in precisely that order. Quoting is
21429 # there to prevent editors from complaining about space-tab.
21430 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21431 # splitting by setting IFS to empty value.)
21436 # Find who we are. Look in the path if we contain no directory separator.
21438 *[\\/]* ) as_myself
=$0 ;;
21439 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21440 for as_dir
in $PATH
21443 test -z "$as_dir" && as_dir
=.
21444 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21450 # We did not find ourselves, most probably we were run as `sh COMMAND'
21451 # in which case we are not to be found in the path.
21452 if test "x$as_myself" = x
; then
21455 if test ! -f "$as_myself"; then
21456 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21457 { (exit 1); exit 1; }
21460 # Work around bugs in pre-3.0 UWIN ksh.
21461 for as_var
in ENV MAIL MAILPATH
21462 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21470 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21471 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21472 LC_TELEPHONE LC_TIME
21474 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21475 eval $as_var=C
; export $as_var
21477 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21481 # Required to use basename.
21482 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21483 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21489 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21490 as_basename
=basename
21496 # Name of the executable.
21497 as_me
=`$as_basename -- "$0" ||
21498 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21499 X"$0" : 'X\(//\)$' \| \
21500 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21502 sed '/^.*\/\([^/][^/]*\)\/*$/{
21521 as_lineno_1
=$LINENO
21522 as_lineno_2
=$LINENO
21523 test "x$as_lineno_1" != "x$as_lineno_2" &&
21524 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21526 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21527 # uniformly replaced by the line number. The first 'sed' inserts a
21528 # line-number line after each line using $LINENO; the second 'sed'
21529 # does the real work. The second script uses 'N' to pair each
21530 # line-number line with the line containing $LINENO, and appends
21531 # trailing '-' during substitution so that $LINENO is not a special
21532 # case at line end.
21533 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21534 # scripts with optimization help from Paolo Bonzini. Blame Lee
21535 # E. McMahon (1931-1989) for sed's syntax. :-)
21547 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21550 ' >$as_me.lineno
&&
21551 chmod +x
"$as_me.lineno" ||
21552 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21553 { (exit 1); exit 1; }; }
21555 # Don't try to exec as it changes $[0], causing all sort of problems
21556 # (the dirname of $[0] is not the place where we might find the
21557 # original and so on. Autoconf is especially sensitive to this).
21558 .
"./$as_me.lineno"
21559 # Exit status is that of the last command.
21564 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21570 ECHO_C
= ECHO_N
= ECHO_T
=
21571 case `echo -n x` in
21573 case `echo 'x\c'` in
21574 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21581 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21582 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21588 rm -f conf$$ conf$$.exe conf$$.
file
21589 if test -d conf$$.dir
; then
21590 rm -f conf$$.dir
/conf$$.
file
21596 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21598 # ... but there are two gotchas:
21599 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21600 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21601 # In both cases, we have to default to `cp -p'.
21602 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21604 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21609 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21610 rmdir conf$$.dir
2>/dev
/null
21612 if mkdir
-p .
2>/dev
/null
; then
21615 test -d .
/-p && rmdir .
/-p
21619 if test -x / >/dev
/null
2>&1; then
21620 as_test_x
='test -x'
21622 if ls -dL / >/dev
/null
2>&1; then
21629 if test -d "$1"; then
21635 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21636 ???[sx]*):;;*)false;;esac;fi
21640 as_executable_p
=$as_test_x
21642 # Sed expression to map a string onto a valid CPP name.
21643 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21645 # Sed expression to map a string onto a valid variable name.
21646 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21651 # Save the log message, to keep $[0] and so on meaningful, and to
21652 # report actual input values of CONFIG_FILES etc. instead of their
21653 # values after options handling.
21655 This file was extended by Wine $as_me 0.9.48, which was
21656 generated by GNU Autoconf 2.61. Invocation command line was
21658 CONFIG_FILES = $CONFIG_FILES
21659 CONFIG_HEADERS = $CONFIG_HEADERS
21660 CONFIG_LINKS = $CONFIG_LINKS
21661 CONFIG_COMMANDS = $CONFIG_COMMANDS
21664 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21669 cat >>$CONFIG_STATUS <<_ACEOF
21670 # Files that config.status was made for.
21671 config_files="$ac_config_files"
21672 config_headers="$ac_config_headers"
21673 config_commands="$ac_config_commands"
21677 cat >>$CONFIG_STATUS <<\_ACEOF
21679 \`$as_me' instantiates files from templates according to the
21680 current configuration.
21682 Usage: $0 [OPTIONS] [FILE]...
21684 -h, --help print this help, then exit
21685 -V, --version print version number and configuration settings, then exit
21686 -q, --quiet do not print progress messages
21687 -d, --debug don't remove temporary files
21688 --recheck update $as_me by reconfiguring in the same conditions
21689 --file=FILE[:TEMPLATE]
21690 instantiate the configuration file FILE
21691 --header=FILE[:TEMPLATE]
21692 instantiate the configuration header FILE
21694 Configuration files:
21697 Configuration headers:
21700 Configuration commands:
21703 Report bugs to <bug-autoconf@gnu.org>."
21706 cat >>$CONFIG_STATUS <<_ACEOF
21708 Wine config.status 0.9.48
21709 configured by $0, generated by GNU Autoconf 2.61,
21710 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21712 Copyright (C) 2006 Free Software Foundation, Inc.
21713 This config.status script is free software; the Free Software Foundation
21714 gives unlimited permission to copy, distribute and modify it."
21721 cat >>$CONFIG_STATUS <<\_ACEOF
21722 # If no file are specified by the user, then we need to provide default
21723 # value. By we need to know if files were specified by the user.
21729 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21730 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21741 # Handling of the options.
21742 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21744 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21745 echo "$ac_cs_version"; exit ;;
21746 --debug |
--debu |
--deb |
--de |
--d |
-d )
21748 --file |
--fil |
--fi |
--f )
21750 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21751 ac_need_defaults
=false
;;
21752 --header |
--heade |
--head |
--hea )
21754 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21755 ac_need_defaults
=false
;;
21757 # Conflict between --help and --header
21758 { echo "$as_me: error: ambiguous option: $1
21759 Try \`$0 --help' for more information." >&2
21760 { (exit 1); exit 1; }; };;
21761 --help |
--hel |
-h )
21762 echo "$ac_cs_usage"; exit ;;
21763 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21764 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21767 # This is an error.
21768 -*) { echo "$as_me: error: unrecognized option: $1
21769 Try \`$0 --help' for more information." >&2
21770 { (exit 1); exit 1; }; } ;;
21772 *) ac_config_targets
="$ac_config_targets $1"
21773 ac_need_defaults
=false
;;
21779 ac_configure_extra_args
=
21781 if $ac_cs_silent; then
21783 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21787 cat >>$CONFIG_STATUS <<_ACEOF
21788 if \$ac_cs_recheck; then
21789 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21790 CONFIG_SHELL=$SHELL
21791 export CONFIG_SHELL
21792 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21796 cat >>$CONFIG_STATUS <<\_ACEOF
21800 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21801 ## Running $as_me. ##
21807 cat >>$CONFIG_STATUS <<_ACEOF
21810 cat >>$CONFIG_STATUS <<\_ACEOF
21812 # Handling of arguments.
21813 for ac_config_target
in $ac_config_targets
21815 case $ac_config_target in
21816 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21817 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
21818 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21819 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21820 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21821 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
21822 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21823 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21824 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
21825 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
21826 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21827 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
21828 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
21829 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21830 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
21831 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
21832 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
21833 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21834 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21835 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
21836 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21837 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
21838 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
21839 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21840 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21841 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
21842 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21843 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21844 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21845 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21846 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
21847 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21848 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21849 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
21850 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21851 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21852 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21853 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21854 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21855 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
21856 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
21857 "dlls/credui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
21858 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21859 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21860 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21861 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21862 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21863 "dlls/cryptnet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
21864 "dlls/ctapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
21865 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21866 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21867 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21868 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21869 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21870 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21871 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21872 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21873 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21874 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21875 "dlls/d3dx8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
21876 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21877 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21878 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21879 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21880 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21881 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21882 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
21883 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
21884 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21885 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21886 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
21887 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21888 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
21889 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21890 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21891 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21892 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21893 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21894 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21895 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21896 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21897 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
21898 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21899 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21900 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21901 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21902 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21903 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21904 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
21905 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21906 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
21907 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21908 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21909 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21910 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21911 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21912 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21913 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21914 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21915 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21916 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21917 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
21918 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21919 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
21920 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21921 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
21922 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
21923 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21924 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21925 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21926 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
21927 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21928 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21929 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21930 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
21931 "dlls/inetcomm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
21932 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21933 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21934 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21935 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
21936 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21937 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21938 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
21939 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21940 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21941 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21942 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
21943 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21944 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
21945 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21946 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
21947 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21948 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21949 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21950 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21951 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21952 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21953 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21954 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
21955 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
21956 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21957 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21958 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21959 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
21960 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21961 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21962 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21963 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21964 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21965 "dlls/mscat32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscat32/Makefile" ;;
21966 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
21967 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21968 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21969 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21970 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21971 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21972 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21973 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21974 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21975 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
21976 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21977 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21978 "dlls/msimtf/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimtf/Makefile" ;;
21979 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21980 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21981 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21982 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
21983 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21984 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21985 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21986 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21987 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21988 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21989 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21990 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21991 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21992 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21993 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21994 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21995 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21996 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21997 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
21998 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21999 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22000 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22001 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22002 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22003 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22004 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
22005 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22006 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22007 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22008 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
22009 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22010 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22011 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22012 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22013 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22014 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22015 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22016 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22017 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22018 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22019 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22020 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
22021 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22022 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22023 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
22024 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
22025 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22026 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22027 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
22028 "dlls/qmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22029 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
22030 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22031 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
22032 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22033 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
22034 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
22035 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22036 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
22037 "dlls/riched32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22038 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22039 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22040 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22041 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22042 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22043 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22044 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22045 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
22046 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22047 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
22048 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22049 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
22050 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22051 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
22052 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22053 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22054 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22055 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
22056 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22057 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22058 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22059 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22060 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
22061 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22062 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22063 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22064 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22065 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22066 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22067 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22068 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22069 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22070 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22071 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
22072 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22073 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22074 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
22075 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22076 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22077 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
22078 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
22079 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22080 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22081 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
22082 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22083 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
22084 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
22085 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22086 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
22087 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22088 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22089 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22090 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22091 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
22092 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22093 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22094 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22095 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22096 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22097 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22098 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22099 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22100 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22101 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22102 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22103 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22104 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
22105 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22106 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22107 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22108 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22109 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22110 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22111 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22112 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22113 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22114 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
22115 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22116 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
22117 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22118 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
22119 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22120 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22121 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
22122 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22123 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22124 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22125 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22126 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22127 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22128 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22129 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
22130 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22131 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22132 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22133 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22134 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
22135 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
22136 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
22137 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
22138 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
22139 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
22140 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
22141 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
22142 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
22143 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
22144 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
22145 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22146 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
22147 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
22148 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
22149 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
22150 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
22151 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
22152 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
22153 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
22154 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
22155 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
22156 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
22157 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
22158 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
22159 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22160 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
22161 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
22162 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22163 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
22164 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22165 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22166 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
22167 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
22168 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22169 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
22170 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22171 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
22172 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
22173 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
22174 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22175 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
22176 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
22177 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
22178 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
22179 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
22180 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
22181 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
22182 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
22183 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
22184 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
22185 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
22186 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
22187 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
22188 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
22189 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
22190 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
22191 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
22193 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22194 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22195 { (exit 1); exit 1; }; };;
22200 # If the user did not use the arguments to specify the items to instantiate,
22201 # then the envvar interface is used. Set only those that are not.
22202 # We use the long form for the default assignment because of an extremely
22203 # bizarre bug on SunOS 4.1.3.
22204 if $ac_need_defaults; then
22205 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22206 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22207 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22210 # Have a temporary directory for convenience. Make it in the build tree
22211 # simply because there is no reason against having it here, and in addition,
22212 # creating and moving files from /tmp can sometimes cause problems.
22213 # Hook for its removal unless debugging.
22214 # Note that there is a small window in which the directory will not be cleaned:
22215 # after its creation but before its name has been assigned to `$tmp'.
22219 trap 'exit_status=$?
22220 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22222 trap '{ (exit 1); exit 1; }' 1 2 13 15
22224 # Create a (secure) tmp directory for tmp files.
22227 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22228 test -n "$tmp" && test -d "$tmp"
22231 tmp
=.
/conf$$
-$RANDOM
22232 (umask 077 && mkdir
"$tmp")
22235 echo "$me: cannot create a temporary directory in ." >&2
22236 { (exit 1); exit 1; }
22240 # Set up the sed scripts for CONFIG_FILES section.
22243 # No need to generate the scripts if there are no CONFIG_FILES.
22244 # This happens for instance when ./config.status config.h
22245 if test -n "$CONFIG_FILES"; then
22249 # Create sed commands to just substitute file output variables.
22251 # Remaining file output variables are in a fragment that also has non-file
22257 for ac_last_try
in false false false false false
:; do
22258 cat >conf$
$subs.
sed <<_ACEOF
22259 SHELL!$SHELL$ac_delim
22260 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22261 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22262 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22263 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22264 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22265 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22266 exec_prefix!$exec_prefix$ac_delim
22267 prefix!$prefix$ac_delim
22268 program_transform_name!$program_transform_name$ac_delim
22269 bindir!$bindir$ac_delim
22270 sbindir!$sbindir$ac_delim
22271 libexecdir!$libexecdir$ac_delim
22272 datarootdir!$datarootdir$ac_delim
22273 datadir!$datadir$ac_delim
22274 sysconfdir!$sysconfdir$ac_delim
22275 sharedstatedir!$sharedstatedir$ac_delim
22276 localstatedir!$localstatedir$ac_delim
22277 includedir!$includedir$ac_delim
22278 oldincludedir!$oldincludedir$ac_delim
22279 docdir!$docdir$ac_delim
22280 infodir!$infodir$ac_delim
22281 htmldir!$htmldir$ac_delim
22282 dvidir!$dvidir$ac_delim
22283 pdfdir!$pdfdir$ac_delim
22284 psdir!$psdir$ac_delim
22285 libdir!$libdir$ac_delim
22286 localedir!$localedir$ac_delim
22287 mandir!$mandir$ac_delim
22288 DEFS!$DEFS$ac_delim
22289 ECHO_C!$ECHO_C$ac_delim
22290 ECHO_N!$ECHO_N$ac_delim
22291 ECHO_T!$ECHO_T$ac_delim
22292 LIBS!$LIBS$ac_delim
22293 build_alias!$build_alias$ac_delim
22294 host_alias!$host_alias$ac_delim
22295 target_alias!$target_alias$ac_delim
22296 build!$build$ac_delim
22297 build_cpu!$build_cpu$ac_delim
22298 build_vendor!$build_vendor$ac_delim
22299 build_os!$build_os$ac_delim
22300 host!$host$ac_delim
22301 host_cpu!$host_cpu$ac_delim
22302 host_vendor!$host_vendor$ac_delim
22303 host_os!$host_os$ac_delim
22304 WIN16_FILES!$WIN16_FILES$ac_delim
22305 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22306 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
22307 WINETEST!$WINETEST$ac_delim
22308 SET_MAKE!$SET_MAKE$ac_delim
22310 CFLAGS!$CFLAGS$ac_delim
22311 LDFLAGS!$LDFLAGS$ac_delim
22312 CPPFLAGS!$CPPFLAGS$ac_delim
22313 ac_ct_CC!$ac_ct_CC$ac_delim
22314 EXEEXT!$EXEEXT$ac_delim
22315 OBJEXT!$OBJEXT$ac_delim
22317 CXXFLAGS!$CXXFLAGS$ac_delim
22318 ac_ct_CXX!$ac_ct_CXX$ac_delim
22319 CPPBIN!$CPPBIN$ac_delim
22320 TOOLSDIR!$TOOLSDIR$ac_delim
22321 XMKMF!$XMKMF$ac_delim
22323 X_CFLAGS!$X_CFLAGS$ac_delim
22324 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22325 X_LIBS!$X_LIBS$ac_delim
22326 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22327 FLEX!$FLEX$ac_delim
22328 BISON!$BISON$ac_delim
22330 ac_ct_AS!$ac_ct_AS$ac_delim
22333 RANLIB!$RANLIB$ac_delim
22334 STRIP!$STRIP$ac_delim
22335 WINDRES!$WINDRES$ac_delim
22336 LN_S!$LN_S$ac_delim
22338 GREP!$GREP$ac_delim
22339 EGREP!$EGREP$ac_delim
22340 LDCONFIG!$LDCONFIG$ac_delim
22343 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22345 elif $ac_last_try; then
22346 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22347 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22348 { (exit 1); exit 1; }; }
22350 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22354 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22355 if test -n "$ac_eof"; then
22356 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22357 ac_eof
=`expr $ac_eof + 1`
22360 cat >>$CONFIG_STATUS <<_ACEOF
22361 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22362 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22363 /^[ ]*@MAKE_RULES@[ ]*$/{
22367 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22371 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22372 r $MAKE_IMPLIB_RULES
22375 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22379 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22385 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22386 s/^/s,@/; s/!/@,|#_!!_#|/
22389 s/'"$ac_delim"'$/,g/; t
22391 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22392 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22393 rm -f conf$
$subs.
sed
22394 cat >>$CONFIG_STATUS <<_ACEOF
22400 for ac_last_try
in false false false false false
:; do
22401 cat >conf$
$subs.
sed <<_ACEOF
22402 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22403 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22404 INSTALL_DATA!$INSTALL_DATA$ac_delim
22405 LINT!$LINT$ac_delim
22406 LINTFLAGS!$LINTFLAGS$ac_delim
22407 FONTFORGE!$FONTFORGE$ac_delim
22408 PKG_CONFIG!$PKG_CONFIG$ac_delim
22409 PRELINK!$PRELINK$ac_delim
22410 LIBPTHREAD!$LIBPTHREAD$ac_delim
22411 XLIB!$XLIB$ac_delim
22412 XFILES!$XFILES$ac_delim
22413 OPENGLFILES!$OPENGLFILES$ac_delim
22414 GLU32FILES!$GLU32FILES$ac_delim
22415 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22416 QUARTZFILES!$QUARTZFILES$ac_delim
22417 DLLEXT!$DLLEXT$ac_delim
22418 DLLFLAGS!$DLLFLAGS$ac_delim
22419 LDSHARED!$LDSHARED$ac_delim
22420 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22421 LIBEXT!$LIBEXT$ac_delim
22422 IMPLIBEXT!$IMPLIBEXT$ac_delim
22423 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22424 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22426 DLLTOOL!$DLLTOOL$ac_delim
22427 DLLWRAP!$DLLWRAP$ac_delim
22428 MINGWAR!$MINGWAR$ac_delim
22429 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22430 IOKITLIB!$IOKITLIB$ac_delim
22431 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22432 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22433 COREAUDIO!$COREAUDIO$ac_delim
22434 CARBONLIB!$CARBONLIB$ac_delim
22435 CROSSTEST!$CROSSTEST$ac_delim
22436 CROSSCC!$CROSSCC$ac_delim
22437 CROSSWINDRES!$CROSSWINDRES$ac_delim
22438 NASLIBS!$NASLIBS$ac_delim
22439 XML2LIBS!$XML2LIBS$ac_delim
22440 XML2INCL!$XML2INCL$ac_delim
22441 XSLTLIBS!$XSLTLIBS$ac_delim
22442 XSLTINCL!$XSLTINCL$ac_delim
22443 HALINCL!$HALINCL$ac_delim
22444 sane_devel!$sane_devel$ac_delim
22445 SANEINCL!$SANEINCL$ac_delim
22446 gphoto2_devel!$gphoto2_devel$ac_delim
22447 gphoto2port_devel!$gphoto2port_devel$ac_delim
22448 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22449 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22450 RESOLVLIBS!$RESOLVLIBS$ac_delim
22451 LCMSLIBS!$LCMSLIBS$ac_delim
22452 LDAPLIBS!$LDAPLIBS$ac_delim
22453 ft_devel!$ft_devel$ac_delim
22454 FREETYPELIBS!$FREETYPELIBS$ac_delim
22455 FREETYPEINCL!$FREETYPEINCL$ac_delim
22456 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22457 ESDCONFIG!$ESDCONFIG$ac_delim
22458 ESDLIBS!$ESDLIBS$ac_delim
22459 ESDINCL!$ESDINCL$ac_delim
22460 ALSALIBS!$ALSALIBS$ac_delim
22461 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22462 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
22463 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22464 BUILTINFLAG!$BUILTINFLAG$ac_delim
22465 LDPATH!$LDPATH$ac_delim
22466 CRTLIBS!$CRTLIBS$ac_delim
22467 SOCKETLIBS!$SOCKETLIBS$ac_delim
22468 MAIN_BINARY!$MAIN_BINARY$ac_delim
22469 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22470 LIBDL!$LIBDL$ac_delim
22471 LIBPOLL!$LIBPOLL$ac_delim
22472 DEPENDENCIES!$DEPENDENCIES$ac_delim
22473 LIBOBJS!$LIBOBJS$ac_delim
22474 LTLIBOBJS!$LTLIBOBJS$ac_delim
22477 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
22479 elif $ac_last_try; then
22480 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22481 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22482 { (exit 1); exit 1; }; }
22484 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22488 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22489 if test -n "$ac_eof"; then
22490 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22491 ac_eof
=`expr $ac_eof + 1`
22494 cat >>$CONFIG_STATUS <<_ACEOF
22495 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22496 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22499 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22500 s/^/s,@/; s/!/@,|#_!!_#|/
22503 s/'"$ac_delim"'$/,g/; t
22505 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22506 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22507 rm -f conf$
$subs.
sed
22508 cat >>$CONFIG_STATUS <<_ACEOF
22515 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22516 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22517 # trailing colons and then remove the whole line if VPATH becomes empty
22518 # (actually we leave an empty line to preserve line numbers).
22519 if test "x$srcdir" = x.
; then
22520 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22521 s/:*\$(srcdir):*/:/
22522 s/:*\${srcdir}:*/:/
22524 s/^\([^=]*=[ ]*\):*/\1/
22530 cat >>$CONFIG_STATUS <<\_ACEOF
22531 fi # test -n "$CONFIG_FILES"
22534 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22537 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22539 case $ac_mode$ac_tag in
22541 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22542 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22543 { (exit 1); exit 1; }; };;
22544 :[FH
]-) ac_tag
=-:-;;
22545 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22562 -) ac_f
="$tmp/stdin";;
22563 *) # Look for the file first in the build tree, then in the source tree
22564 # (if the path is not absolute). The absolute path cannot be DOS-style,
22565 # because $ac_f cannot contain `:'.
22569 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22571 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22572 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22573 { (exit 1); exit 1; }; };;
22575 ac_file_inputs
="$ac_file_inputs $ac_f"
22578 # Let's still pretend it is `configure' which instantiates (i.e., don't
22579 # use $as_me), people would be surprised to read:
22580 # /* config.h. Generated by config.status. */
22581 configure_input
="Generated from "`IFS=:
22582 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22583 if test x
"$ac_file" != x-
; then
22584 configure_input
="$ac_file. $configure_input"
22585 { echo "$as_me:$LINENO: creating $ac_file" >&5
22586 echo "$as_me: creating $ac_file" >&6;}
22590 *:-:* |
*:-) cat >"$tmp/stdin";;
22595 ac_dir
=`$as_dirname -- "$ac_file" ||
22596 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22597 X"$ac_file" : 'X\(//\)[^/]' \| \
22598 X"$ac_file" : 'X\(//\)$' \| \
22599 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22605 /^X\(\/\/\)[^/].*/{
22620 -*) as_dir
=.
/$as_dir;;
22622 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22626 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22627 *) as_qdir
=$as_dir;;
22629 as_dirs
="'$as_qdir' $as_dirs"
22630 as_dir
=`$as_dirname -- "$as_dir" ||
22631 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22632 X"$as_dir" : 'X\(//\)[^/]' \| \
22633 X"$as_dir" : 'X\(//\)$' \| \
22634 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22640 /^X\(\/\/\)[^/].*/{
22653 test -d "$as_dir" && break
22655 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22656 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22657 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22658 { (exit 1); exit 1; }; }; }
22662 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22664 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22665 # A ".." for each directory in $ac_dir_suffix.
22666 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22667 case $ac_top_builddir_sub in
22668 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22669 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22672 ac_abs_top_builddir
=$ac_pwd
22673 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22674 # for backward compatibility:
22675 ac_top_builddir
=$ac_top_build_prefix
22678 .
) # We are building in place.
22680 ac_top_srcdir
=$ac_top_builddir_sub
22681 ac_abs_top_srcdir
=$ac_pwd ;;
22682 [\\/]* | ?
:[\\/]* ) # Absolute name.
22683 ac_srcdir
=$srcdir$ac_dir_suffix;
22684 ac_top_srcdir
=$srcdir
22685 ac_abs_top_srcdir
=$srcdir ;;
22686 *) # Relative name.
22687 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22688 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22689 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22691 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22701 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22702 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22706 cat >>$CONFIG_STATUS <<\_ACEOF
22707 # If the template does not know about datarootdir, expand it.
22708 # FIXME: This hack should be removed a few years after 2.60.
22709 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22711 case `sed -n '/datarootdir/ {
22720 ' $ac_file_inputs` in
22721 *datarootdir
*) ac_datarootdir_seen
=yes;;
22722 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22723 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22724 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22726 cat >>$CONFIG_STATUS <<_ACEOF
22727 ac_datarootdir_hack='
22728 s&@datadir@&$datadir&g
22729 s&@docdir@&$docdir&g
22730 s&@infodir@&$infodir&g
22731 s&@localedir@&$localedir&g
22732 s&@mandir@&$mandir&g
22733 s&\\\${datarootdir}&$datarootdir&g' ;;
22737 # Neutralize VPATH when `$srcdir' = `.'.
22738 # Shell code in configure.ac might set extrasub.
22739 # FIXME: do we really want to maintain this feature?
22740 cat >>$CONFIG_STATUS <<_ACEOF
22744 cat >>$CONFIG_STATUS <<\_ACEOF
22746 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22747 s
&@configure_input@
&$configure_input&;t t
22748 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22749 s
&@srcdir@
&$ac_srcdir&;t t
22750 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22751 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22752 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22753 s
&@builddir@
&$ac_builddir&;t t
22754 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22755 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22756 s
&@INSTALL@
&$ac_INSTALL&;t t
22757 $ac_datarootdir_hack
22758 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22760 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22761 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22762 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22763 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22764 which seems to be undefined. Please make sure it is defined." >&5
22765 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22766 which seems to be undefined. Please make sure it is defined." >&2;}
22770 -) cat "$tmp/out"; rm -f "$tmp/out";;
22771 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22780 # Transform confdefs.h into a sed script `conftest.defines', that
22781 # substitutes the proper values into config.h.in to produce config.h.
22782 rm -f conftest.defines conftest.
tail
22783 # First, append a space to every undef/define line, to ease matching.
22784 echo 's/$/ /' >conftest.defines
22785 # Then, protect against being on the right side of a sed subst, or in
22786 # an unquoted here document, in config.status. If some macros were
22787 # called several times there might be several #defines for the same
22788 # symbol, which is useless. But do not sort them, since the last
22789 # AC_DEFINE must be honored.
22790 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22791 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22792 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22793 # PARAMS is the parameter list in the macro definition--in most cases, it's
22794 # just an empty string.
22795 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22796 ac_dB
='\\)[ (].*,\\1define\\2'
22804 s/^[ ]*#[ ]*define[ ][ ]*//
22809 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22810 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22811 ' >>conftest.defines
22813 # Remove the space that was appended to ease matching.
22814 # Then replace #undef with comments. This is necessary, for
22815 # example, in the case of _POSIX_SOURCE, which is predefined and required
22816 # on some systems where configure will not decide to define it.
22817 # (The regexp can be short, since the line contains either #define or #undef.)
22819 s,^[ #]*u.*,/* & */,' >>conftest.defines
22821 # Break up conftest.defines:
22822 ac_max_sed_lines
=50
22824 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22825 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22826 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22828 ac_in
='$ac_file_inputs'
22829 ac_out
='"$tmp/out1"'
22830 ac_nxt
='"$tmp/out2"'
22834 # Write a here document:
22835 cat >>$CONFIG_STATUS <<_ACEOF
22836 # First, check the format of the line:
22837 cat >"\$tmp/defines.sed" <<\\CEOF
22838 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22839 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22843 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22845 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22846 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22847 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22848 grep . conftest.
tail >/dev
/null ||
break
22849 rm -f conftest.defines
22850 mv conftest.
tail conftest.defines
22852 rm -f conftest.defines conftest.
tail
22854 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22855 cat >>$CONFIG_STATUS <<\_ACEOF
22856 if test x
"$ac_file" != x-
; then
22857 echo "/* $configure_input */" >"$tmp/config.h"
22858 cat "$ac_result" >>"$tmp/config.h"
22859 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22860 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22861 echo "$as_me: $ac_file is unchanged" >&6;}
22864 mv "$tmp/config.h" $ac_file
22867 echo "/* $configure_input */"
22873 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22874 echo "$as_me: executing $ac_file commands" >&6;}
22879 case $ac_file$ac_mode in
22880 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
22881 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22882 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
22883 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22884 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
22885 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22886 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
22887 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22888 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
22889 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22890 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
22891 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
22892 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
22898 { (exit 0); exit 0; }
22900 chmod +x
$CONFIG_STATUS
22901 ac_clean_files
=$ac_clean_files_save
22904 # configure is writing to config.log, and then calls config.status.
22905 # config.status does its own redirection, appending to config.log.
22906 # Unfortunately, on DOS this fails, as config.log is still kept open
22907 # by configure, so config.status won't be able to write to it; its
22908 # output is simply discarded. So we exec the FD to /dev/null,
22909 # effectively closing config.log, so it can be properly (re)opened and
22910 # appended to by config.status. When coming back to configure, we
22911 # need to make the FD available again.
22912 if test "$no_create" != yes; then
22914 ac_config_status_args
=
22915 test "$silent" = yes &&
22916 ac_config_status_args
="$ac_config_status_args --quiet"
22918 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22920 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22921 # would make configure fail if this is the last instruction.
22922 $ac_cs_success ||
{ (exit 1); exit 1; }
22926 if test "$no_create" = "yes"
22933 if test "$verbose" = "yes"; then
22934 for msg
in $wine_notices; do
22935 if test -n "$msg"; then
22937 { echo "$as_me:$LINENO: $msg" >&5
22938 echo "$as_me: $msg" >&6;}
22942 for msg
in $wine_warnings; do
22943 if test -n "$msg"; then
22945 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22946 echo "$as_me: WARNING: $msg" >&2;}
22952 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."