2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.52.
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.52'
578 PACKAGE_STRING
='Wine 0.9.52'
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
772 ac_subst_files
='MAKE_RULES
777 ac_precious_vars
='build_alias
792 # Initialize some variables set by options.
794 ac_init_version
=false
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
804 program_transform_name
=s
,x
,x
,
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir
='${exec_prefix}/bin'
819 sbindir
='${exec_prefix}/sbin'
820 libexecdir
='${exec_prefix}/libexec'
821 datarootdir
='${prefix}/share'
822 datadir
='${datarootdir}'
823 sysconfdir
='${prefix}/etc'
824 sharedstatedir
='${prefix}/com'
825 localstatedir
='${prefix}/var'
826 includedir
='${prefix}/include'
827 oldincludedir
='/usr/include'
828 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir
='${datarootdir}/info'
834 libdir
='${exec_prefix}/lib'
835 localedir
='${datarootdir}/locale'
836 mandir
='${datarootdir}/man'
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\
$ac_option
850 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
854 # Accept the important Cygnus configure options, so we can diagnose typos.
856 case $ac_dashdash$ac_option in
860 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
862 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
865 -build |
--build |
--buil |
--bui |
--bu)
866 ac_prev
=build_alias
;;
867 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
868 build_alias
=$ac_optarg ;;
870 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
871 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
872 ac_prev
=cache_file
;;
873 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
874 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
875 cache_file
=$ac_optarg ;;
878 cache_file
=config.cache
;;
880 -datadir |
--datadir |
--datadi |
--datad)
882 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
883 datadir
=$ac_optarg ;;
885 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
886 |
--dataroo |
--dataro |
--datar)
887 ac_prev
=datarootdir
;;
888 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
889 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
890 datarootdir
=$ac_optarg ;;
892 -disable-* |
--disable-*)
893 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
896 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
897 { (exit 1); exit 1; }; }
898 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
899 eval enable_
$ac_feature=no
;;
901 -docdir |
--docdir |
--docdi |
--doc |
--do)
903 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
906 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
908 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
911 -enable-* |
--enable-*)
912 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
915 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
916 { (exit 1); exit 1; }; }
917 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
918 eval enable_
$ac_feature=\
$ac_optarg ;;
920 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
921 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
922 |
--exec |
--exe |
--ex)
923 ac_prev
=exec_prefix
;;
924 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
925 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
926 |
--exec=* |
--exe=* |
--ex=*)
927 exec_prefix
=$ac_optarg ;;
929 -gas |
--gas |
--ga |
--g)
930 # Obsolete; use --with-gas.
933 -help |
--help |
--hel |
--he |
-h)
935 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
936 ac_init_help
=recursive
;;
937 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
938 ac_init_help
=short
;;
940 -host |
--host |
--hos |
--ho)
941 ac_prev
=host_alias
;;
942 -host=* |
--host=* |
--hos=* |
--ho=*)
943 host_alias
=$ac_optarg ;;
945 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
947 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
949 htmldir
=$ac_optarg ;;
951 -includedir |
--includedir |
--includedi |
--included |
--include \
952 |
--includ |
--inclu |
--incl |
--inc)
953 ac_prev
=includedir
;;
954 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
955 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
956 includedir
=$ac_optarg ;;
958 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
960 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
961 infodir
=$ac_optarg ;;
963 -libdir |
--libdir |
--libdi |
--libd)
965 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
968 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
969 |
--libexe |
--libex |
--libe)
970 ac_prev
=libexecdir
;;
971 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
972 |
--libexe=* |
--libex=* |
--libe=*)
973 libexecdir
=$ac_optarg ;;
975 -localedir |
--localedir |
--localedi |
--localed |
--locale)
977 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
978 localedir
=$ac_optarg ;;
980 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
981 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
982 ac_prev
=localstatedir
;;
983 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
984 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
985 localstatedir
=$ac_optarg ;;
987 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
989 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
993 # Obsolete; use --without-fp.
996 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
997 |
--no-cr |
--no-c |
-n)
1000 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1001 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1004 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1005 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1006 |
--oldin |
--oldi |
--old |
--ol |
--o)
1007 ac_prev
=oldincludedir
;;
1008 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1009 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1010 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1011 oldincludedir
=$ac_optarg ;;
1013 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1015 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1016 prefix
=$ac_optarg ;;
1018 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1019 |
--program-pre |
--program-pr |
--program-p)
1020 ac_prev
=program_prefix
;;
1021 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1022 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1023 program_prefix
=$ac_optarg ;;
1025 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1026 |
--program-suf |
--program-su |
--program-s)
1027 ac_prev
=program_suffix
;;
1028 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1029 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1030 program_suffix
=$ac_optarg ;;
1032 -program-transform-name |
--program-transform-name \
1033 |
--program-transform-nam |
--program-transform-na \
1034 |
--program-transform-n |
--program-transform- \
1035 |
--program-transform |
--program-transfor \
1036 |
--program-transfo |
--program-transf \
1037 |
--program-trans |
--program-tran \
1038 |
--progr-tra |
--program-tr |
--program-t)
1039 ac_prev
=program_transform_name
;;
1040 -program-transform-name=* |
--program-transform-name=* \
1041 |
--program-transform-nam=* |
--program-transform-na=* \
1042 |
--program-transform-n=* |
--program-transform-=* \
1043 |
--program-transform=* |
--program-transfor=* \
1044 |
--program-transfo=* |
--program-transf=* \
1045 |
--program-trans=* |
--program-tran=* \
1046 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1047 program_transform_name
=$ac_optarg ;;
1049 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1051 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1052 pdfdir
=$ac_optarg ;;
1054 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1056 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1059 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1060 |
-silent |
--silent |
--silen |
--sile |
--sil)
1063 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1065 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1067 sbindir
=$ac_optarg ;;
1069 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1070 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1071 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1073 ac_prev
=sharedstatedir
;;
1074 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1075 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1076 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1078 sharedstatedir
=$ac_optarg ;;
1080 -site |
--site |
--sit)
1082 -site=* |
--site=* |
--sit=*)
1085 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1087 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1088 srcdir
=$ac_optarg ;;
1090 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1091 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1092 ac_prev
=sysconfdir
;;
1093 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1094 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1095 sysconfdir
=$ac_optarg ;;
1097 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1098 ac_prev
=target_alias
;;
1099 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1100 target_alias
=$ac_optarg ;;
1102 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1105 -version |
--version |
--versio |
--versi |
--vers |
-V)
1106 ac_init_version
=: ;;
1109 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1112 { echo "$as_me: error: invalid package name: $ac_package" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1115 eval with_
$ac_package=\
$ac_optarg ;;
1117 -without-* |
--without-*)
1118 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1121 { echo "$as_me: error: invalid package name: $ac_package" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1124 eval with_
$ac_package=no
;;
1127 # Obsolete; use --with-x.
1130 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1131 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1132 ac_prev
=x_includes
;;
1133 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1134 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1135 x_includes
=$ac_optarg ;;
1137 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1138 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1139 ac_prev
=x_libraries
;;
1140 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1141 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1142 x_libraries
=$ac_optarg ;;
1144 -*) { echo "$as_me: error: unrecognized option: $ac_option
1145 Try \`$0 --help' for more information." >&2
1146 { (exit 1); exit 1; }; }
1150 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1153 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1154 { (exit 1); exit 1; }; }
1155 eval $ac_envvar=\
$ac_optarg
1156 export $ac_envvar ;;
1159 # FIXME: should be removed in autoconf 3.0.
1160 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1161 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1162 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1163 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1169 if test -n "$ac_prev"; then
1170 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1171 { echo "$as_me: error: missing argument to $ac_option" >&2
1172 { (exit 1); exit 1; }; }
1175 # Be sure to have absolute directory names.
1176 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1177 datadir sysconfdir sharedstatedir localstatedir includedir \
1178 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1179 libdir localedir mandir
1181 eval ac_val
=\$
$ac_var
1183 [\\/$
]* | ?
:[\\/]* ) continue;;
1184 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1186 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1187 { (exit 1); exit 1; }; }
1190 # There might be people who depend on the old broken behavior: `$host'
1191 # used to hold the argument of --host etc.
1192 # FIXME: To remove some day.
1195 target
=$target_alias
1197 # FIXME: To remove some day.
1198 if test "x$host_alias" != x
; then
1199 if test "x$build_alias" = x
; then
1200 cross_compiling
=maybe
1201 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1202 If a cross compiler is detected then cross compile mode will be used." >&2
1203 elif test "x$build_alias" != "x$host_alias"; then
1209 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1211 test "$silent" = yes && exec 6>/dev
/null
1214 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1215 ac_ls_di
=`ls -di .` &&
1216 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1217 { echo "$as_me: error: Working directory cannot be determined" >&2
1218 { (exit 1); exit 1; }; }
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220 { echo "$as_me: error: pwd does not report name of working directory" >&2
1221 { (exit 1); exit 1; }; }
1224 # Find the source files, if location was not specified.
1225 if test -z "$srcdir"; then
1226 ac_srcdir_defaulted
=yes
1227 # Try the directory containing this script, then the parent directory.
1228 ac_confdir
=`$as_dirname -- "$0" ||
1229 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1230 X"$0" : 'X\(//\)[^/]' \| \
1231 X"$0" : 'X\(//\)$' \| \
1232 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1256 ac_srcdir_defaulted
=no
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1260 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1261 { (exit 1); exit 1; }; }
1263 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1265 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1266 { (exit 1); exit 1; }; }
1268 # When building in place, set srcdir=.
1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
1272 # Remove unnecessary trailing slashes from srcdir.
1273 # Double slashes in file names in object file debugging info
1274 # mess up M-x gdb in Emacs.
1276 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1278 for ac_var
in $ac_precious_vars; do
1279 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1280 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1281 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1282 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1286 # Report the --help message.
1288 if test "$ac_init_help" = "long"; then
1289 # Omit some internal or obsolete options to make the list less imposing.
1290 # This message is too long to be a string in the A/UX 3.1 sh.
1292 \`configure' configures Wine 0.9.52 to adapt to many kinds of systems.
1294 Usage: $0 [OPTION]... [VAR=VALUE]...
1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1297 VAR=VALUE. See below for descriptions of some of the useful variables.
1299 Defaults for the options are specified in brackets.
1302 -h, --help display this help and exit
1303 --help=short display options specific to this package
1304 --help=recursive display the short help of all the included packages
1305 -V, --version display version information and exit
1306 -q, --quiet, --silent do not print \`checking...' messages
1307 --cache-file=FILE cache test results in FILE [disabled]
1308 -C, --config-cache alias for \`--cache-file=config.cache'
1309 -n, --no-create do not create output files
1310 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1312 Installation directories:
1313 --prefix=PREFIX install architecture-independent files in PREFIX
1314 [$ac_default_prefix]
1315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1318 By default, \`make install' will install all the files in
1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1321 for instance \`--prefix=\$HOME'.
1323 For better control, use the options below.
1325 Fine tuning of the installation directories:
1326 --bindir=DIR user executables [EPREFIX/bin]
1327 --sbindir=DIR system admin executables [EPREFIX/sbin]
1328 --libexecdir=DIR program executables [EPREFIX/libexec]
1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1332 --libdir=DIR object code libraries [EPREFIX/lib]
1333 --includedir=DIR C header files [PREFIX/include]
1334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1337 --infodir=DIR info documentation [DATAROOTDIR/info]
1338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1339 --mandir=DIR man documentation [DATAROOTDIR/man]
1340 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1341 --htmldir=DIR html documentation [DOCDIR]
1342 --dvidir=DIR dvi documentation [DOCDIR]
1343 --pdfdir=DIR pdf documentation [DOCDIR]
1344 --psdir=DIR ps documentation [DOCDIR]
1350 --x-includes=DIR X include files are
in DIR
1351 --x-libraries=DIR X library files are
in DIR
1354 --build=BUILD configure
for building on BUILD
[guessed
]
1355 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1359 if test -n "$ac_init_help"; then
1360 case $ac_init_help in
1361 short | recursive
) echo "Configuration of Wine 0.9.52:";;
1366 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1367 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1368 --disable-win16 do not include Win16 support
1369 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1373 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1374 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1375 --without-opengl do not use OpenGL
1376 --with-wine-tools=<dir> use Wine tools from directory <dir>
1377 --with-x use the X Window System
1379 Some influential environment variables:
1380 CC C compiler command
1381 CFLAGS C compiler flags
1382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1383 nonstandard directory <lib dir>
1384 LIBS libraries to pass to the linker, e.g. -l<library>
1385 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1386 you have headers in a nonstandard directory <include dir>
1387 CXX C++ compiler command
1388 CXXFLAGS C++ compiler flags
1389 XMKMF Path to xmkmf, Makefile generator for X Window System
1392 Use these variables to override the choices made by `configure' or to
help
1393 it to
find libraries and programs with nonstandard names
/locations.
1395 Report bugs to
<wine-devel@winehq.org
>.
1400 if test "$ac_init_help" = "recursive"; then
1401 # If there are subdirs, report their specific --help.
1402 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1403 test -d "$ac_dir" ||
continue
1407 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1409 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1410 # A ".." for each directory in $ac_dir_suffix.
1411 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1412 case $ac_top_builddir_sub in
1413 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1414 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1417 ac_abs_top_builddir
=$ac_pwd
1418 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1419 # for backward compatibility:
1420 ac_top_builddir
=$ac_top_build_prefix
1423 .
) # We are building in place.
1425 ac_top_srcdir
=$ac_top_builddir_sub
1426 ac_abs_top_srcdir
=$ac_pwd ;;
1427 [\\/]* | ?
:[\\/]* ) # Absolute name.
1428 ac_srcdir
=$srcdir$ac_dir_suffix;
1429 ac_top_srcdir
=$srcdir
1430 ac_abs_top_srcdir
=$srcdir ;;
1432 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1433 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1434 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1436 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1438 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1439 # Check for guested configure.
1440 if test -f "$ac_srcdir/configure.gnu"; then
1442 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1443 elif test -f "$ac_srcdir/configure"; then
1445 $SHELL "$ac_srcdir/configure" --help=recursive
1447 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1449 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1453 test -n "$ac_init_help" && exit $ac_status
1454 if $ac_init_version; then
1456 Wine configure
0.9.52
1457 generated by GNU Autoconf
2.61
1459 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1460 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1461 This configure
script is free software
; the Free Software Foundation
1462 gives unlimited permission to copy
, distribute and modify it.
1466 cat >config.log
<<_ACEOF
1467 This file contains any messages produced by compilers while
1468 running configure, to aid debugging if configure makes a mistake.
1470 It was created by Wine $as_me 0.9.52, which was
1471 generated by GNU Autoconf 2.61. Invocation command line was
1483 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1484 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1485 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1486 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1487 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1489 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1490 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1492 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1493 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1494 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1495 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1496 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1497 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1498 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1506 test -z "$as_dir" && as_dir
=.
1507 echo "PATH: $as_dir"
1523 # Keep a trace of the command line.
1524 # Strip out --no-create and --no-recursion so they do not pile up.
1525 # Strip out --silent because we don't want to record it for future runs.
1526 # Also quote any args containing shell meta-characters.
1527 # Make two passes to allow for proper duplicate-argument suppression.
1531 ac_must_keep_next
=false
1537 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1539 |
-silent |
--silent |
--silen |
--sile |
--sil)
1542 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1547 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1548 if test $ac_must_keep_next = true
; then
1549 ac_must_keep_next
=false
# Got value, back to normal.
1552 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1553 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1554 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1555 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1556 case "$ac_configure_args0 " in
1557 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1560 -* ) ac_must_keep_next
=true
;;
1563 ac_configure_args
="$ac_configure_args '$ac_arg'"
1568 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1569 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1571 # When interrupted or exit'd, cleanup temporary files, and complete
1572 # config.log. We remove comments because anyway the quotes in there
1573 # would cause problems or look ugly.
1574 # WARNING: Use '\'' to represent an apostrophe within the trap.
1575 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1576 trap 'exit_status=$?
1577 # Save into config.log some information that might help in debugging.
1582 ## ---------------- ##
1583 ## Cache variables. ##
1584 ## ---------------- ##
1587 # The following way of writing the cache mishandles newlines in values,
1589 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1590 eval ac_val=\$$ac_var
1594 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1595 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1598 _ | IFS | as_nl) ;; #(
1599 *) $as_unset $ac_var ;;
1604 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1605 *${as_nl}ac_space=\ *)
1607 "s/'\''/'\''\\\\'\'''\''/g;
1608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1611 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1619 ## ----------------- ##
1620 ## Output variables. ##
1621 ## ----------------- ##
1624 for ac_var in $ac_subst_vars
1626 eval ac_val=\$$ac_var
1628 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1630 echo "$ac_var='\''$ac_val'\''"
1634 if test -n "$ac_subst_files"; then
1636 ## ------------------- ##
1637 ## File substitutions. ##
1638 ## ------------------- ##
1641 for ac_var
in $ac_subst_files
1643 eval ac_val
=\$
$ac_var
1645 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1647 echo "$ac_var='\''$ac_val'\''"
1652 if test -s confdefs.h; then
1662 test "$ac_signal" != 0 &&
1663 echo "$as_me: caught signal $ac_signal"
1664 echo "$as_me: exit $exit_status"
1666 rm -f core *.core core.conftest.* &&
1667 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1670 for ac_signal
in 1 2 13 15; do
1671 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1675 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1676 rm -f -r conftest
* confdefs.h
1678 # Predefined preprocessor variables.
1680 cat >>confdefs.h
<<_ACEOF
1681 #define PACKAGE_NAME "$PACKAGE_NAME"
1685 cat >>confdefs.h
<<_ACEOF
1686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1690 cat >>confdefs.h
<<_ACEOF
1691 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1695 cat >>confdefs.h
<<_ACEOF
1696 #define PACKAGE_STRING "$PACKAGE_STRING"
1700 cat >>confdefs.h
<<_ACEOF
1701 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1705 # Let the site file select an alternate cache file if it wants to.
1706 # Prefer explicitly selected file to automatically selected ones.
1707 if test -n "$CONFIG_SITE"; then
1708 set x
"$CONFIG_SITE"
1709 elif test "x$prefix" != xNONE
; then
1710 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1712 set x
"$ac_default_prefix/share/config.site" \
1713 "$ac_default_prefix/etc/config.site"
1718 if test -r "$ac_site_file"; then
1719 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1720 echo "$as_me: loading site script $ac_site_file" >&6;}
1721 sed 's/^/| /' "$ac_site_file" >&5
1726 if test -r "$cache_file"; then
1727 # Some versions of bash will fail to source /dev/null (special
1728 # files actually), so we avoid doing that.
1729 if test -f "$cache_file"; then
1730 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1731 echo "$as_me: loading cache $cache_file" >&6;}
1733 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1734 *) .
"./$cache_file";;
1738 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1739 echo "$as_me: creating cache $cache_file" >&6;}
1743 # Check that the precious variables saved in the cache have kept the same
1745 ac_cache_corrupted
=false
1746 for ac_var
in $ac_precious_vars; do
1747 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1748 eval ac_new_set
=\
$ac_env_${ac_var}_set
1749 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1750 eval ac_new_val
=\
$ac_env_${ac_var}_value
1751 case $ac_old_set,$ac_new_set in
1753 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1754 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1755 ac_cache_corrupted
=: ;;
1757 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1758 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1759 ac_cache_corrupted
=: ;;
1762 if test "x$ac_old_val" != "x$ac_new_val"; then
1763 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1764 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1765 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1766 echo "$as_me: former value: $ac_old_val" >&2;}
1767 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1768 echo "$as_me: current value: $ac_new_val" >&2;}
1769 ac_cache_corrupted
=:
1772 # Pass precious variables to config.status.
1773 if test "$ac_new_set" = set; then
1775 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1776 *) ac_arg
=$ac_var=$ac_new_val ;;
1778 case " $ac_configure_args " in
1779 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1780 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1784 if $ac_cache_corrupted; then
1785 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1786 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1787 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1788 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1789 { (exit 1); exit 1; }; }
1817 ac_cpp
='$CPP $CPPFLAGS'
1818 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1819 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1820 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1824 ac_config_headers
="$ac_config_headers include/config.h"
1827 for ac_dir
in tools
"$srcdir"/tools
; do
1828 if test -f "$ac_dir/install-sh"; then
1830 ac_install_sh
="$ac_aux_dir/install-sh -c"
1832 elif test -f "$ac_dir/install.sh"; then
1834 ac_install_sh
="$ac_aux_dir/install.sh -c"
1836 elif test -f "$ac_dir/shtool"; then
1838 ac_install_sh
="$ac_aux_dir/shtool install -c"
1842 if test -z "$ac_aux_dir"; then
1843 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1844 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1845 { (exit 1); exit 1; }; }
1848 # These three variables are undocumented and unsupported,
1849 # and are intended to be withdrawn in a future Autoconf release.
1850 # They can cause serious problems if a builder's source tree is in a directory
1851 # whose full name contains unusual characters.
1852 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1853 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1854 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1859 # Check whether --enable-win16 was given.
1860 if test "${enable_win16+set}" = set; then
1861 enableval
=$enable_win16;
1864 # Check whether --enable-win64 was given.
1865 if test "${enable_win64+set}" = set; then
1866 enableval
=$enable_win64;
1871 # Check whether --with-opengl was given.
1872 if test "${with_opengl+set}" = set; then
1873 withval
=$with_opengl;
1877 # Check whether --with-wine-tools was given.
1878 if test "${with_wine_tools+set}" = set; then
1879 withval
=$with_wine_tools;
1883 # Make sure we can run config.sub.
1884 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1885 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1886 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1887 { (exit 1); exit 1; }; }
1889 { echo "$as_me:$LINENO: checking build system type" >&5
1890 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1891 if test "${ac_cv_build+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1894 ac_build_alias
=$build_alias
1895 test "x$ac_build_alias" = x
&&
1896 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1897 test "x$ac_build_alias" = x
&&
1898 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1899 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1900 { (exit 1); exit 1; }; }
1901 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1902 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1903 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1904 { (exit 1); exit 1; }; }
1907 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1908 echo "${ECHO_T}$ac_cv_build" >&6; }
1909 case $ac_cv_build in
1911 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1912 echo "$as_me: error: invalid value of canonical build" >&2;}
1913 { (exit 1); exit 1; }; };;
1916 ac_save_IFS
=$IFS; IFS
='-'
1922 # Remember, the first character of IFS is used to create $*,
1923 # except with old shells:
1926 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1929 { echo "$as_me:$LINENO: checking host system type" >&5
1930 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1931 if test "${ac_cv_host+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 if test "x$host_alias" = x
; then
1935 ac_cv_host
=$ac_cv_build
1937 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1938 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1939 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1940 { (exit 1); exit 1; }; }
1944 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1945 echo "${ECHO_T}$ac_cv_host" >&6; }
1948 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1949 echo "$as_me: error: invalid value of canonical host" >&2;}
1950 { (exit 1); exit 1; }; };;
1953 ac_save_IFS
=$IFS; IFS
='-'
1959 # Remember, the first character of IFS is used to create $*,
1960 # except with old shells:
1963 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1968 if test "x$enable_win64" != "xyes"
1970 test -n "$CC" || CC
="gcc -m32"
1971 test -n "$CXX"|| CXX
="g++ -m32"
1972 test -n "$LD" || LD
="ld -m elf_i386"
1973 test -n "$AS" || AS
="as --32"
1981 if test "x$enable_win16" != "xno"
1988 WIN16_FILES
="\$(WIN16_FILES)"
1990 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1992 if test "x$enable_win16" != "xyes"
2000 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2001 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2002 You need to run 'make distclean' in the source tree first." >&5
2003 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2004 You need to run 'make distclean' in the source tree first." >&2;}
2005 { (exit 1); exit 1; }; }
2010 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2011 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2012 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2013 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2016 cat >conftest.
make <<\_ACEOF
2019 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2021 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2022 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2024 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2026 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2030 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2031 { echo "$as_me:$LINENO: result: yes" >&5
2032 echo "${ECHO_T}yes" >&6; }
2035 { echo "$as_me:$LINENO: result: no" >&5
2036 echo "${ECHO_T}no" >&6; }
2037 SET_MAKE
="MAKE=${MAKE-make}"
2041 ac_cpp
='$CPP $CPPFLAGS'
2042 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2043 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2044 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2045 if test -n "$ac_tool_prefix"; then
2046 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2047 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2050 if test "${ac_cv_prog_CC+set}" = set; then
2051 echo $ECHO_N "(cached) $ECHO_C" >&6
2053 if test -n "$CC"; then
2054 ac_cv_prog_CC
="$CC" # Let the user override the test.
2056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2060 test -z "$as_dir" && as_dir
=.
2061 for ac_exec_ext
in '' $ac_executable_extensions; do
2062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2063 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2074 if test -n "$CC"; then
2075 { echo "$as_me:$LINENO: result: $CC" >&5
2076 echo "${ECHO_T}$CC" >&6; }
2078 { echo "$as_me:$LINENO: result: no" >&5
2079 echo "${ECHO_T}no" >&6; }
2084 if test -z "$ac_cv_prog_CC"; then
2086 # Extract the first word of "gcc", so it can be a program name with args.
2087 set dummy gcc
; ac_word
=$2
2088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2090 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2091 echo $ECHO_N "(cached) $ECHO_C" >&6
2093 if test -n "$ac_ct_CC"; then
2094 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2100 test -z "$as_dir" && as_dir
=.
2101 for ac_exec_ext
in '' $ac_executable_extensions; do
2102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2103 ac_cv_prog_ac_ct_CC
="gcc"
2104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2113 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2114 if test -n "$ac_ct_CC"; then
2115 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2116 echo "${ECHO_T}$ac_ct_CC" >&6; }
2118 { echo "$as_me:$LINENO: result: no" >&5
2119 echo "${ECHO_T}no" >&6; }
2122 if test "x$ac_ct_CC" = x
; then
2125 case $cross_compiling:$ac_tool_warned in
2127 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2128 whose name does not start with the host triplet. If you think this
2129 configuration is useful to you, please write to autoconf@gnu.org." >&5
2130 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2131 whose name does not start with the host triplet. If you think this
2132 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2133 ac_tool_warned
=yes ;;
2141 if test -z "$CC"; then
2142 if test -n "$ac_tool_prefix"; then
2143 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2144 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2147 if test "${ac_cv_prog_CC+set}" = set; then
2148 echo $ECHO_N "(cached) $ECHO_C" >&6
2150 if test -n "$CC"; then
2151 ac_cv_prog_CC
="$CC" # Let the user override the test.
2153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2157 test -z "$as_dir" && as_dir
=.
2158 for ac_exec_ext
in '' $ac_executable_extensions; do
2159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2160 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2171 if test -n "$CC"; then
2172 { echo "$as_me:$LINENO: result: $CC" >&5
2173 echo "${ECHO_T}$CC" >&6; }
2175 { echo "$as_me:$LINENO: result: no" >&5
2176 echo "${ECHO_T}no" >&6; }
2182 if test -z "$CC"; then
2183 # Extract the first word of "cc", so it can be a program name with args.
2184 set dummy cc
; ac_word
=$2
2185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2187 if test "${ac_cv_prog_CC+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&6
2190 if test -n "$CC"; then
2191 ac_cv_prog_CC
="$CC" # Let the user override the test.
2194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2198 test -z "$as_dir" && as_dir
=.
2199 for ac_exec_ext
in '' $ac_executable_extensions; do
2200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2201 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2202 ac_prog_rejected
=yes
2206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2213 if test $ac_prog_rejected = yes; then
2214 # We found a bogon in the path, so make sure we never use it.
2215 set dummy
$ac_cv_prog_CC
2217 if test $# != 0; then
2218 # We chose a different compiler from the bogus one.
2219 # However, it has the same basename, so the bogon will be chosen
2220 # first if we set CC to just the basename; use the full file name.
2222 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2228 if test -n "$CC"; then
2229 { echo "$as_me:$LINENO: result: $CC" >&5
2230 echo "${ECHO_T}$CC" >&6; }
2232 { echo "$as_me:$LINENO: result: no" >&5
2233 echo "${ECHO_T}no" >&6; }
2238 if test -z "$CC"; then
2239 if test -n "$ac_tool_prefix"; then
2240 for ac_prog
in cl.exe
2242 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2243 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2246 if test "${ac_cv_prog_CC+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2249 if test -n "$CC"; then
2250 ac_cv_prog_CC
="$CC" # Let the user override the test.
2252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2256 test -z "$as_dir" && as_dir
=.
2257 for ac_exec_ext
in '' $ac_executable_extensions; do
2258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2259 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2270 if test -n "$CC"; then
2271 { echo "$as_me:$LINENO: result: $CC" >&5
2272 echo "${ECHO_T}$CC" >&6; }
2274 { echo "$as_me:$LINENO: result: no" >&5
2275 echo "${ECHO_T}no" >&6; }
2279 test -n "$CC" && break
2282 if test -z "$CC"; then
2284 for ac_prog
in cl.exe
2286 # Extract the first word of "$ac_prog", so it can be a program name with args.
2287 set dummy
$ac_prog; ac_word
=$2
2288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2290 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2291 echo $ECHO_N "(cached) $ECHO_C" >&6
2293 if test -n "$ac_ct_CC"; then
2294 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2300 test -z "$as_dir" && as_dir
=.
2301 for ac_exec_ext
in '' $ac_executable_extensions; do
2302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2303 ac_cv_prog_ac_ct_CC
="$ac_prog"
2304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2313 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2314 if test -n "$ac_ct_CC"; then
2315 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2316 echo "${ECHO_T}$ac_ct_CC" >&6; }
2318 { echo "$as_me:$LINENO: result: no" >&5
2319 echo "${ECHO_T}no" >&6; }
2323 test -n "$ac_ct_CC" && break
2326 if test "x$ac_ct_CC" = x
; then
2329 case $cross_compiling:$ac_tool_warned in
2331 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2332 whose name does not start with the host triplet. If you think this
2333 configuration is useful to you, please write to autoconf@gnu.org." >&5
2334 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2335 whose name does not start with the host triplet. If you think this
2336 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2337 ac_tool_warned
=yes ;;
2346 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2347 See \`config.log' for more details." >&5
2348 echo "$as_me: error: no acceptable C compiler found in \$PATH
2349 See \`config.log' for more details." >&2;}
2350 { (exit 1); exit 1; }; }
2352 # Provide some information about the compiler.
2353 echo "$as_me:$LINENO: checking for C compiler version" >&5
2354 ac_compiler
=`set X $ac_compile; echo $2`
2355 { (ac_try
="$ac_compiler --version >&5"
2357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2358 *) ac_try_echo=$ac_try;;
2360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2361 (eval "$ac_compiler --version >&5") 2>&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); }
2365 { (ac_try="$ac_compiler -v >&5"
2367 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2368 *) ac_try_echo
=$ac_try;;
2370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2371 (eval "$ac_compiler -v >&5") 2>&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }
2375 { (ac_try
="$ac_compiler -V >&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 -V >&5") 2>&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }
2386 cat >conftest.$ac_ext <<_ACEOF
2389 cat confdefs.h >>conftest.$ac_ext
2390 cat >>conftest.$ac_ext <<_ACEOF
2391 /* end confdefs.h. */
2401 ac_clean_files_save=$ac_clean_files
2402 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2403 # Try to create an executable without -o first, disregard a.out.
2404 # It will help us diagnose broken compilers, and finding out an intuition
2406 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2407 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2408 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2410 # List of possible output files, starting from the most likely.
2411 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2412 # only as a last resort. b.out is created by i960 compilers.
2413 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2415 # The IRIX 6 linker writes into existing files which may not be
2416 # executable, retaining their permissions. Remove them first so a
2417 # subsequent execution test works.
2419 for ac_file in $ac_files
2422 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2423 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2428 if { (ac_try="$ac_link_default"
2430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2431 *) ac_try_echo=$ac_try;;
2433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2434 (eval "$ac_link_default") 2>&5
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); }; then
2438 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2439 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2440 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2441 # so that the user can short-circuit this test for compilers unknown to
2443 for ac_file
in $ac_files ''
2445 test -f "$ac_file" ||
continue
2447 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2450 # We found the default executable, but exeext='' is most
2454 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2456 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2458 # We set ac_cv_exeext here because the later test for it is not
2459 # safe: cross compilers may not add the suffix if given an `-o'
2460 # argument, so we may need to know it at that point already.
2461 # Even if this section looks crufty: it has the advantage of
2468 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2474 { echo "$as_me:$LINENO: result: $ac_file" >&5
2475 echo "${ECHO_T}$ac_file" >&6; }
2476 if test -z "$ac_file"; then
2477 echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.
$ac_ext >&5
2480 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2481 See \`config.log' for more details." >&5
2482 echo "$as_me: error: C compiler cannot create executables
2483 See \`config.log' for more details." >&2;}
2484 { (exit 77); exit 77; }; }
2487 ac_exeext
=$ac_cv_exeext
2489 # Check that the compiler produces executables we can run. If not, either
2490 # the compiler is broken, or we cross compile.
2491 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2492 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2493 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2494 # If not cross compiling, check that we can run a simple program.
2495 if test "$cross_compiling" != yes; then
2496 if { ac_try
='./$ac_file'
2497 { (case "(($ac_try" in
2498 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2499 *) ac_try_echo=$ac_try;;
2501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2502 (eval "$ac_try") 2>&5
2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505 (exit $ac_status); }; }; then
2508 if test "$cross_compiling" = maybe; then
2511 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2512 If you meant to cross compile, use \`--host'.
2513 See \`config.log' for more details.
" >&5
2514 echo "$as_me: error
: cannot run C compiled programs.
2515 If you meant to cross compile
, use \
`--host'.
2516 See \`config.log
' for more details." >&2;}
2517 { (exit 1); exit 1; }; }
2521 { echo "$as_me:$LINENO: result: yes" >&5
2522 echo "${ECHO_T}yes" >&6; }
2524 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2525 ac_clean_files=$ac_clean_files_save
2526 # Check that the compiler produces executables we can run. If not, either
2527 # the compiler is broken, or we cross compile.
2528 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2529 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2530 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2531 echo "${ECHO_T}$cross_compiling" >&6; }
2533 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2534 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2535 if { (ac_try="$ac_link"
2537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2538 *) ac_try_echo=$ac_try;;
2540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2541 (eval "$ac_link") 2>&5
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }; then
2545 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2546 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2547 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2549 for ac_file
in conftest.exe conftest conftest.
*; do
2550 test -f "$ac_file" ||
continue
2552 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2553 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2559 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2560 See \`config.log' for more details." >&5
2561 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2562 See \`config.log' for more details." >&2;}
2563 { (exit 1); exit 1; }; }
2566 rm -f conftest
$ac_cv_exeext
2567 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2568 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2570 rm -f conftest.
$ac_ext
2571 EXEEXT
=$ac_cv_exeext
2573 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2574 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2575 if test "${ac_cv_objext+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2578 cat >conftest.
$ac_ext <<_ACEOF
2581 cat confdefs.h
>>conftest.
$ac_ext
2582 cat >>conftest.
$ac_ext <<_ACEOF
2583 /* end confdefs.h. */
2593 rm -f conftest.o conftest.obj
2594 if { (ac_try
="$ac_compile"
2596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2597 *) ac_try_echo=$ac_try;;
2599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2600 (eval "$ac_compile") 2>&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }; then
2604 for ac_file in conftest.o conftest.obj conftest.*; do
2605 test -f "$ac_file" || continue;
2607 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2608 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2613 echo "$as_me: failed program was:" >&5
2614 sed 's/^/| /' conftest.$ac_ext >&5
2616 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2617 See \`config.log
' for more details." >&5
2618 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2619 See \`config.log' for more details.
" >&2;}
2620 { (exit 1); exit 1; }; }
2623 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2625 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2626 echo "${ECHO_T}$ac_cv_objext" >&6; }
2627 OBJEXT=$ac_cv_objext
2629 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2630 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2631 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2632 echo $ECHO_N "(cached
) $ECHO_C" >&6
2634 cat >conftest.$ac_ext <<_ACEOF
2637 cat confdefs.h >>conftest.$ac_ext
2638 cat >>conftest.$ac_ext <<_ACEOF
2639 /* end confdefs.h. */
2652 rm -f conftest.$ac_objext
2653 if { (ac_try="$ac_compile"
2655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
2658 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2659 (eval "$ac_compile") 2>conftest.er1
2661 grep -v '^ *+' conftest.er1 >conftest.err
2663 cat conftest.err >&5
2664 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2665 (exit $ac_status); } && {
2666 test -z "$ac_c_werror_flag" ||
2667 test ! -s conftest.err
2668 } && test -s conftest.$ac_objext; then
2671 echo "$as_me: failed program was
:" >&5
2672 sed 's/^/| /' conftest.$ac_ext >&5
2677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2678 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2681 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2682 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2683 GCC=`test $ac_compiler_gnu = yes && echo yes`
2684 ac_test_CFLAGS=${CFLAGS+set}
2685 ac_save_CFLAGS=$CFLAGS
2686 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2687 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2688 if test "${ac_cv_prog_cc_g+set}" = set; then
2689 echo $ECHO_N "(cached
) $ECHO_C" >&6
2691 ac_save_c_werror_flag=$ac_c_werror_flag
2692 ac_c_werror_flag=yes
2695 cat >conftest.$ac_ext <<_ACEOF
2698 cat confdefs.h >>conftest.$ac_ext
2699 cat >>conftest.$ac_ext <<_ACEOF
2700 /* end confdefs.h. */
2710 rm -f conftest.$ac_objext
2711 if { (ac_try="$ac_compile"
2713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2714 *) ac_try_echo=$ac_try;;
2716 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2717 (eval "$ac_compile") 2>conftest.er1
2719 grep -v '^ *+' conftest.er1 >conftest.err
2721 cat conftest.err >&5
2722 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2723 (exit $ac_status); } && {
2724 test -z "$ac_c_werror_flag" ||
2725 test ! -s conftest.err
2726 } && test -s conftest.$ac_objext; then
2729 echo "$as_me: failed program was
:" >&5
2730 sed 's/^/| /' conftest.$ac_ext >&5
2733 cat >conftest.$ac_ext <<_ACEOF
2736 cat confdefs.h >>conftest.$ac_ext
2737 cat >>conftest.$ac_ext <<_ACEOF
2738 /* end confdefs.h. */
2748 rm -f conftest.$ac_objext
2749 if { (ac_try="$ac_compile"
2751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2752 *) ac_try_echo=$ac_try;;
2754 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2755 (eval "$ac_compile") 2>conftest.er1
2757 grep -v '^ *+' conftest.er1 >conftest.err
2759 cat conftest.err >&5
2760 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2761 (exit $ac_status); } && {
2762 test -z "$ac_c_werror_flag" ||
2763 test ! -s conftest.err
2764 } && test -s conftest.$ac_objext; then
2767 echo "$as_me: failed program was
:" >&5
2768 sed 's/^/| /' conftest.$ac_ext >&5
2770 ac_c_werror_flag=$ac_save_c_werror_flag
2772 cat >conftest.$ac_ext <<_ACEOF
2775 cat confdefs.h >>conftest.$ac_ext
2776 cat >>conftest.$ac_ext <<_ACEOF
2777 /* end confdefs.h. */
2787 rm -f conftest.$ac_objext
2788 if { (ac_try="$ac_compile"
2790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791 *) ac_try_echo=$ac_try;;
2793 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2794 (eval "$ac_compile") 2>conftest.er1
2796 grep -v '^ *+' conftest.er1 >conftest.err
2798 cat conftest.err >&5
2799 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2800 (exit $ac_status); } && {
2801 test -z "$ac_c_werror_flag" ||
2802 test ! -s conftest.err
2803 } && test -s conftest.$ac_objext; then
2806 echo "$as_me: failed program was
:" >&5
2807 sed 's/^/| /' conftest.$ac_ext >&5
2812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2819 ac_c_werror_flag=$ac_save_c_werror_flag
2821 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2822 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2823 if test "$ac_test_CFLAGS" = set; then
2824 CFLAGS=$ac_save_CFLAGS
2825 elif test $ac_cv_prog_cc_g = yes; then
2826 if test "$GCC" = yes; then
2832 if test "$GCC" = yes; then
2838 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2839 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2840 if test "${ac_cv_prog_cc_c89+set}" = set; then
2841 echo $ECHO_N "(cached
) $ECHO_C" >&6
2843 ac_cv_prog_cc_c89=no
2845 cat >conftest.$ac_ext <<_ACEOF
2848 cat confdefs.h >>conftest.$ac_ext
2849 cat >>conftest.$ac_ext <<_ACEOF
2850 /* end confdefs.h. */
2853 #include <sys/types.h>
2854 #include <sys/stat.h>
2855 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2856 struct buf { int x; };
2857 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2858 static char *e (p, i)
2864 static char *f (char * (*g) (char **, int), char **p, ...)
2869 s = g (p, va_arg (v,int));
2874 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2875 function prototypes and stuff, but not '\xHH' hex character constants.
2876 These don't provoke an error unfortunately, instead are silently treated
2877 as 'x'. The following induces an error, until -std is added to get
2878 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2879 array size at least. It's necessary to write '\x00'==0 to get something
2880 that's true only with -std. */
2881 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2883 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2884 inside strings and character constants. */
2886 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2888 int test (int i, double x);
2889 struct s1 {int (*f) (int a);};
2890 struct s2 {int (*f) (double a);};
2891 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2897 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2902 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2903 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2905 CC="$ac_save_CC $ac_arg"
2906 rm -f conftest.$ac_objext
2907 if { (ac_try="$ac_compile"
2909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2910 *) ac_try_echo=$ac_try;;
2912 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2913 (eval "$ac_compile") 2>conftest.er1
2915 grep -v '^ *+' conftest.er1 >conftest.err
2917 cat conftest.err >&5
2918 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2919 (exit $ac_status); } && {
2920 test -z "$ac_c_werror_flag" ||
2921 test ! -s conftest.err
2922 } && test -s conftest.$ac_objext; then
2923 ac_cv_prog_cc_c89=$ac_arg
2925 echo "$as_me: failed program was
:" >&5
2926 sed 's/^/| /' conftest.$ac_ext >&5
2931 rm -f core conftest.err conftest.$ac_objext
2932 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2934 rm -f conftest.$ac_ext
2939 case "x
$ac_cv_prog_cc_c89" in
2941 { echo "$as_me:$LINENO: result
: none needed
" >&5
2942 echo "${ECHO_T}none needed
" >&6; } ;;
2944 { echo "$as_me:$LINENO: result
: unsupported
" >&5
2945 echo "${ECHO_T}unsupported
" >&6; } ;;
2947 CC="$CC $ac_cv_prog_cc_c89"
2948 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
2949 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2954 ac_cpp='$CPP $CPPFLAGS'
2955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2960 ac_cpp='$CXXCPP $CPPFLAGS'
2961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2964 if test -z "$CXX"; then
2965 if test -n "$CCC"; then
2968 if test -n "$ac_tool_prefix"; then
2969 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2971 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2972 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2973 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
2974 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
2975 if test "${ac_cv_prog_CXX+set}" = set; then
2976 echo $ECHO_N "(cached
) $ECHO_C" >&6
2978 if test -n "$CXX"; then
2979 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2985 test -z "$as_dir" && as_dir=.
2986 for ac_exec_ext in '' $ac_executable_extensions; do
2987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2988 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2989 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2999 if test -n "$CXX"; then
3000 { echo "$as_me:$LINENO: result
: $CXX" >&5
3001 echo "${ECHO_T}$CXX" >&6; }
3003 { echo "$as_me:$LINENO: result
: no
" >&5
3004 echo "${ECHO_T}no
" >&6; }
3008 test -n "$CXX" && break
3011 if test -z "$CXX"; then
3013 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3015 # Extract the first word of "$ac_prog", so it can be a program name with args.
3016 set dummy $ac_prog; ac_word=$2
3017 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3018 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3019 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3020 echo $ECHO_N "(cached
) $ECHO_C" >&6
3022 if test -n "$ac_ct_CXX"; then
3023 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3029 test -z "$as_dir" && as_dir=.
3030 for ac_exec_ext in '' $ac_executable_extensions; do
3031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3032 ac_cv_prog_ac_ct_CXX="$ac_prog"
3033 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3042 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3043 if test -n "$ac_ct_CXX"; then
3044 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3045 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3047 { echo "$as_me:$LINENO: result
: no
" >&5
3048 echo "${ECHO_T}no
" >&6; }
3052 test -n "$ac_ct_CXX" && break
3055 if test "x
$ac_ct_CXX" = x; then
3058 case $cross_compiling:$ac_tool_warned in
3060 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3061 whose name does not start with the
host triplet. If you think this
3062 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3063 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3064 whose name does not start with the
host triplet. If you think this
3065 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3066 ac_tool_warned=yes ;;
3074 # Provide some information about the compiler.
3075 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3076 ac_compiler=`set X $ac_compile; echo $2`
3077 { (ac_try="$ac_compiler --version >&5"
3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3082 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3083 (eval "$ac_compiler --version >&5") 2>&5
3085 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3086 (exit $ac_status); }
3087 { (ac_try="$ac_compiler -v >&5"
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3092 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3093 (eval "$ac_compiler -v >&5") 2>&5
3095 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3096 (exit $ac_status); }
3097 { (ac_try="$ac_compiler -V >&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 -V >&5") 2>&5
3105 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3106 (exit $ac_status); }
3108 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3109 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3110 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3111 echo $ECHO_N "(cached
) $ECHO_C" >&6
3113 cat >conftest.$ac_ext <<_ACEOF
3116 cat confdefs.h >>conftest.$ac_ext
3117 cat >>conftest.$ac_ext <<_ACEOF
3118 /* end confdefs.h. */
3131 rm -f conftest.$ac_objext
3132 if { (ac_try="$ac_compile"
3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135 *) ac_try_echo=$ac_try;;
3137 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3138 (eval "$ac_compile") 2>conftest.er1
3140 grep -v '^ *+' conftest.er1 >conftest.err
3142 cat conftest.err >&5
3143 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3144 (exit $ac_status); } && {
3145 test -z "$ac_cxx_werror_flag" ||
3146 test ! -s conftest.err
3147 } && test -s conftest.$ac_objext; then
3150 echo "$as_me: failed program was
:" >&5
3151 sed 's/^/| /' conftest.$ac_ext >&5
3156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3157 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3160 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3161 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3162 GXX=`test $ac_compiler_gnu = yes && echo yes`
3163 ac_test_CXXFLAGS=${CXXFLAGS+set}
3164 ac_save_CXXFLAGS=$CXXFLAGS
3165 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3166 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3167 if test "${ac_cv_prog_cxx_g+set}" = set; then
3168 echo $ECHO_N "(cached
) $ECHO_C" >&6
3170 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3171 ac_cxx_werror_flag=yes
3174 cat >conftest.$ac_ext <<_ACEOF
3177 cat confdefs.h >>conftest.$ac_ext
3178 cat >>conftest.$ac_ext <<_ACEOF
3179 /* end confdefs.h. */
3189 rm -f conftest.$ac_objext
3190 if { (ac_try="$ac_compile"
3192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193 *) ac_try_echo=$ac_try;;
3195 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3196 (eval "$ac_compile") 2>conftest.er1
3198 grep -v '^ *+' conftest.er1 >conftest.err
3200 cat conftest.err >&5
3201 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3202 (exit $ac_status); } && {
3203 test -z "$ac_cxx_werror_flag" ||
3204 test ! -s conftest.err
3205 } && test -s conftest.$ac_objext; then
3206 ac_cv_prog_cxx_g=yes
3208 echo "$as_me: failed program was
:" >&5
3209 sed 's/^/| /' conftest.$ac_ext >&5
3212 cat >conftest.$ac_ext <<_ACEOF
3215 cat confdefs.h >>conftest.$ac_ext
3216 cat >>conftest.$ac_ext <<_ACEOF
3217 /* end confdefs.h. */
3227 rm -f conftest.$ac_objext
3228 if { (ac_try="$ac_compile"
3230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3231 *) ac_try_echo=$ac_try;;
3233 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3234 (eval "$ac_compile") 2>conftest.er1
3236 grep -v '^ *+' conftest.er1 >conftest.err
3238 cat conftest.err >&5
3239 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3240 (exit $ac_status); } && {
3241 test -z "$ac_cxx_werror_flag" ||
3242 test ! -s conftest.err
3243 } && test -s conftest.$ac_objext; then
3246 echo "$as_me: failed program was
:" >&5
3247 sed 's/^/| /' conftest.$ac_ext >&5
3249 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3251 cat >conftest.$ac_ext <<_ACEOF
3254 cat confdefs.h >>conftest.$ac_ext
3255 cat >>conftest.$ac_ext <<_ACEOF
3256 /* end confdefs.h. */
3266 rm -f conftest.$ac_objext
3267 if { (ac_try="$ac_compile"
3269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3270 *) ac_try_echo=$ac_try;;
3272 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3273 (eval "$ac_compile") 2>conftest.er1
3275 grep -v '^ *+' conftest.er1 >conftest.err
3277 cat conftest.err >&5
3278 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3279 (exit $ac_status); } && {
3280 test -z "$ac_cxx_werror_flag" ||
3281 test ! -s conftest.err
3282 } && test -s conftest.$ac_objext; then
3283 ac_cv_prog_cxx_g=yes
3285 echo "$as_me: failed program was
:" >&5
3286 sed 's/^/| /' conftest.$ac_ext >&5
3291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3300 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3301 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3302 if test "$ac_test_CXXFLAGS" = set; then
3303 CXXFLAGS=$ac_save_CXXFLAGS
3304 elif test $ac_cv_prog_cxx_g = yes; then
3305 if test "$GXX" = yes; then
3311 if test "$GXX" = yes; then
3318 ac_cpp='$CPP $CPPFLAGS'
3319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3323 if test -n "$ac_tool_prefix"; then
3324 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3325 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3326 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3327 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3328 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3329 echo $ECHO_N "(cached
) $ECHO_C" >&6
3331 if test -n "$CPPBIN"; then
3332 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3338 test -z "$as_dir" && as_dir=.
3339 for ac_exec_ext in '' $ac_executable_extensions; do
3340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3341 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3342 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3351 CPPBIN=$ac_cv_prog_CPPBIN
3352 if test -n "$CPPBIN"; then
3353 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3354 echo "${ECHO_T}$CPPBIN" >&6; }
3356 { echo "$as_me:$LINENO: result
: no
" >&5
3357 echo "${ECHO_T}no
" >&6; }
3362 if test -z "$ac_cv_prog_CPPBIN"; then
3363 ac_ct_CPPBIN=$CPPBIN
3364 # Extract the first word of "cpp
", so it can be a program name with args.
3365 set dummy cpp; ac_word=$2
3366 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3367 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3368 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3369 echo $ECHO_N "(cached
) $ECHO_C" >&6
3371 if test -n "$ac_ct_CPPBIN"; then
3372 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3378 test -z "$as_dir" && as_dir=.
3379 for ac_exec_ext in '' $ac_executable_extensions; do
3380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3381 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3382 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3391 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3392 if test -n "$ac_ct_CPPBIN"; then
3393 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3394 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3396 { echo "$as_me:$LINENO: result
: no
" >&5
3397 echo "${ECHO_T}no
" >&6; }
3400 if test "x
$ac_ct_CPPBIN" = x; then
3403 case $cross_compiling:$ac_tool_warned in
3405 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3406 whose name does not start with the
host triplet. If you think this
3407 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3408 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3409 whose name does not start with the
host triplet. If you think this
3410 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3411 ac_tool_warned=yes ;;
3413 CPPBIN=$ac_ct_CPPBIN
3416 CPPBIN="$ac_cv_prog_CPPBIN"
3420 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3421 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3422 if test "${wine_cv_toolsdir+set}" = set; then
3423 echo $ECHO_N "(cached
) $ECHO_C" >&6
3425 if test -z "$with_wine_tools"; then
3426 if test "$cross_compiling" = "yes"; then
3427 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3428 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3429 { (exit 1); exit 1; }; }
3431 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3433 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3434 case $with_wine_tools in
3435 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3436 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3439 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3440 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3441 { (exit 1); exit 1; }; }
3444 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3445 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3446 TOOLSDIR=$wine_cv_toolsdir
3451 ac_cpp='$CPP $CPPFLAGS'
3452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3455 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3456 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3457 # On Suns, sometimes $CPP names a directory.
3458 if test -n "$CPP" && test -d "$CPP"; then
3461 if test -z "$CPP"; then
3462 if test "${ac_cv_prog_CPP+set}" = set; then
3463 echo $ECHO_N "(cached
) $ECHO_C" >&6
3465 # Double quotes because CPP needs to be expanded
3466 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3469 for ac_c_preproc_warn_flag in '' yes
3471 # Use a header file that comes with gcc, so configuring glibc
3472 # with a fresh cross-compiler works.
3473 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3474 # <limits.h> exists even on freestanding compilers.
3475 # On the NeXT, cc -E runs the code through the compiler's parser,
3476 # not just through cpp. "Syntax error
" is here to catch this case.
3477 cat >conftest.$ac_ext <<_ACEOF
3480 cat confdefs.h >>conftest.$ac_ext
3481 cat >>conftest.$ac_ext <<_ACEOF
3482 /* end confdefs.h. */
3484 # include <limits.h>
3486 # include <assert.h>
3490 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3493 *) ac_try_echo=$ac_try;;
3495 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3496 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3498 grep -v '^ *+' conftest.er1 >conftest.err
3500 cat conftest.err >&5
3501 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3502 (exit $ac_status); } >/dev/null && {
3503 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3504 test ! -s conftest.err
3508 echo "$as_me: failed program was
:" >&5
3509 sed 's/^/| /' conftest.$ac_ext >&5
3511 # Broken: fails on valid input.
3515 rm -f conftest.err conftest.$ac_ext
3517 # OK, works on sane cases. Now check whether nonexistent headers
3518 # can be detected and how.
3519 cat >conftest.$ac_ext <<_ACEOF
3522 cat confdefs.h >>conftest.$ac_ext
3523 cat >>conftest.$ac_ext <<_ACEOF
3524 /* end confdefs.h. */
3525 #include <ac_nonexistent.h>
3527 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3530 *) ac_try_echo=$ac_try;;
3532 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3533 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3535 grep -v '^ *+' conftest.er1 >conftest.err
3537 cat conftest.err >&5
3538 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3539 (exit $ac_status); } >/dev/null && {
3540 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3541 test ! -s conftest.err
3543 # Broken: success on invalid input.
3546 echo "$as_me: failed program was
:" >&5
3547 sed 's/^/| /' conftest.$ac_ext >&5
3549 # Passes both tests.
3554 rm -f conftest.err conftest.$ac_ext
3557 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3558 rm -f conftest.err conftest.$ac_ext
3559 if $ac_preproc_ok; then
3571 { echo "$as_me:$LINENO: result
: $CPP" >&5
3572 echo "${ECHO_T}$CPP" >&6; }
3574 for ac_c_preproc_warn_flag in '' yes
3576 # Use a header file that comes with gcc, so configuring glibc
3577 # with a fresh cross-compiler works.
3578 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3579 # <limits.h> exists even on freestanding compilers.
3580 # On the NeXT, cc -E runs the code through the compiler's parser,
3581 # not just through cpp. "Syntax error
" is here to catch this case.
3582 cat >conftest.$ac_ext <<_ACEOF
3585 cat confdefs.h >>conftest.$ac_ext
3586 cat >>conftest.$ac_ext <<_ACEOF
3587 /* end confdefs.h. */
3589 # include <limits.h>
3591 # include <assert.h>
3595 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598 *) ac_try_echo=$ac_try;;
3600 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3601 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3603 grep -v '^ *+' conftest.er1 >conftest.err
3605 cat conftest.err >&5
3606 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3607 (exit $ac_status); } >/dev/null && {
3608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3609 test ! -s conftest.err
3613 echo "$as_me: failed program was
:" >&5
3614 sed 's/^/| /' conftest.$ac_ext >&5
3616 # Broken: fails on valid input.
3620 rm -f conftest.err conftest.$ac_ext
3622 # OK, works on sane cases. Now check whether nonexistent headers
3623 # can be detected and how.
3624 cat >conftest.$ac_ext <<_ACEOF
3627 cat confdefs.h >>conftest.$ac_ext
3628 cat >>conftest.$ac_ext <<_ACEOF
3629 /* end confdefs.h. */
3630 #include <ac_nonexistent.h>
3632 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3635 *) ac_try_echo=$ac_try;;
3637 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3638 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3640 grep -v '^ *+' conftest.er1 >conftest.err
3642 cat conftest.err >&5
3643 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3644 (exit $ac_status); } >/dev/null && {
3645 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3646 test ! -s conftest.err
3648 # Broken: success on invalid input.
3651 echo "$as_me: failed program was
:" >&5
3652 sed 's/^/| /' conftest.$ac_ext >&5
3654 # Passes both tests.
3659 rm -f conftest.err conftest.$ac_ext
3662 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3663 rm -f conftest.err conftest.$ac_ext
3664 if $ac_preproc_ok; then
3667 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3668 See \
`config.log' for more details." >&5
3669 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3670 See \`config.log
' for more details." >&2;}
3671 { (exit 1); exit 1; }; }
3675 ac_cpp='$CPP $CPPFLAGS'
3676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3677 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3681 { echo "$as_me:$LINENO: checking for X" >&5
3682 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3685 # Check whether --with-x was given.
3686 if test "${with_x+set}" = set; then
3690 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3691 if test "x$with_x" = xno; then
3692 # The user explicitly disabled X.
3695 case $x_includes,$x_libraries in #(
3696 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3697 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3698 { (exit 1); exit 1; }; };; #(
3699 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3700 echo $ECHO_N "(cached) $ECHO_C" >&6
3702 # One or both of the vars are not set, and there is no cached value.
3703 ac_x_includes=no ac_x_libraries=no
3704 rm -f -r conftest.dir
3705 if mkdir conftest.dir; then
3707 cat >Imakefile <<'_ACEOF'
3709 @echo incroot='${INCROOT}'
3711 @echo usrlibdir='${USRLIBDIR}'
3713 @echo libdir='${LIBDIR}'
3715 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3716 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3717 for ac_var in incroot usrlibdir libdir; do
3718 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3720 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3721 for ac_extension in a so sl; do
3722 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3723 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3724 ac_im_usrlibdir=$ac_im_libdir; break
3727 # Screen out bogus values from the imake configuration. They are
3728 # bogus both because they are the default anyway, and because
3729 # using them would break gcc on systems where it needs fixed includes.
3730 case $ac_im_incroot in
3731 /usr/include) ac_x_includes= ;;
3732 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3734 case $ac_im_usrlibdir in
3736 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3740 rm -f -r conftest.dir
3743 # Standard set of common directories for X headers.
3744 # Check X11 before X11Rn because it is often a symlink to the current release.
3756 /usr
/local
/X11
/include
3757 /usr
/local
/X11R
6/include
3758 /usr
/local
/X11R
5/include
3759 /usr
/local
/X11R
4/include
3761 /usr
/local
/include
/X11
3762 /usr
/local
/include
/X11R6
3763 /usr
/local
/include
/X11R5
3764 /usr
/local
/include
/X11R4
3768 /usr
/XFree86
/include
/X11
3772 /usr
/unsupported
/include
3774 /usr
/local
/x11r
5/include
3775 /usr
/lpp
/Xamples
/include
3777 /usr
/openwin
/include
3778 /usr
/openwin
/share
/include
'
3780 if test "$ac_x_includes" = no; then
3781 # Guess where to find include files, by looking for Xlib.h.
3782 # First, try using that file with no special directory specified.
3783 cat >conftest.$ac_ext <<_ACEOF
3786 cat confdefs.h >>conftest.$ac_ext
3787 cat >>conftest.$ac_ext <<_ACEOF
3788 /* end confdefs.h. */
3789 #include <X11/Xlib.h>
3791 if { (ac_try="$ac_cpp conftest.$ac_ext"
3793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3794 *) ac_try_echo=$ac_try;;
3796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3799 grep -v '^
*+' conftest.er1 >conftest.err
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } >/dev/null && {
3804 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3805 test ! -s conftest.err
3807 # We can compile using X headers with no special include directory.
3810 echo "$as_me: failed program was:" >&5
3811 sed 's
/^
/|
/' conftest.$ac_ext >&5
3813 for ac_dir in $ac_x_header_dirs; do
3814 if test -r "$ac_dir/X11/Xlib.h"; then
3815 ac_x_includes=$ac_dir
3821 rm -f conftest.err conftest.$ac_ext
3822 fi # $ac_x_includes = no
3824 if test "$ac_x_libraries" = no; then
3825 # Check for the libraries.
3826 # See if we find them without any special options.
3827 # Don't add to
$LIBS permanently.
3830 cat >conftest.
$ac_ext <<_ACEOF
3833 cat confdefs.h
>>conftest.
$ac_ext
3834 cat >>conftest.
$ac_ext <<_ACEOF
3835 /* end confdefs.h. */
3836 #include <X11/Xlib.h>
3845 rm -f conftest.
$ac_objext conftest
$ac_exeext
3846 if { (ac_try
="$ac_link"
3848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3849 *) ac_try_echo=$ac_try;;
3851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3852 (eval "$ac_link") 2>conftest.er1
3854 grep -v '^ *+' conftest.er1 >conftest.err
3856 cat conftest.err >&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); } && {
3859 test -z "$ac_c_werror_flag" ||
3860 test ! -s conftest.err
3861 } && test -s conftest$ac_exeext &&
3862 $as_test_x conftest$ac_exeext; then
3864 # We can link X programs with no special library path.
3867 echo "$as_me: failed program was:" >&5
3868 sed 's/^/| /' conftest.$ac_ext >&5
3871 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
3873 # Don't even attempt the hair of trying to link an X program!
3874 for ac_extension in a so sl; do
3875 if test -r "$ac_dir/libX11.$ac_extension"; then
3876 ac_x_libraries=$ac_dir
3883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3884 conftest$ac_exeext conftest.$ac_ext
3885 fi # $ac_x_libraries = no
3887 case $ac_x_includes,$ac_x_libraries in #(
3889 # Didn't find X, or a directory has "'" in its name.
3890 ac_cv_have_x="have_x=no";; #(
3892 # Record where we found X for the cache.
3893 ac_cv_have_x="have_x=yes\
3894 ac_x_includes='$ac_x_includes'\
3895 ac_x_libraries='$ac_x_libraries'"
3901 eval "$ac_cv_have_x"
3904 if test "$have_x" != yes; then
3905 { echo "$as_me:$LINENO: result: $have_x" >&5
3906 echo "${ECHO_T}$have_x" >&6; }
3909 # If each of the values was on the command line, it overrides each guess.
3910 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3911 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3912 # Update the cache value to reflect the command line values.
3913 ac_cv_have_x="have_x=yes\
3914 ac_x_includes='$x_includes'\
3915 ac_x_libraries='$x_libraries'"
3916 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3917 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3920 if test "$no_x" = yes; then
3921 # Not all programs may use this symbol, but it does not hurt to define it.
3923 cat >>confdefs.h <<\_ACEOF
3924 #define X_DISPLAY_MISSING 1
3927 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3929 if test -n "$x_includes"; then
3930 X_CFLAGS="$X_CFLAGS -I$x_includes"
3933 # It would also be nice to do this for all -L options, not just this one.
3934 if test -n "$x_libraries"; then
3935 X_LIBS="$X_LIBS -L$x_libraries"
3936 # For Solaris; some versions of Sun CC require a space after -R and
3937 # others require no space. Words are not sufficient . . . .
3938 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3939 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3940 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3941 ac_xsave_c_werror_flag=$ac_c_werror_flag
3942 ac_c_werror_flag=yes
3943 cat >conftest.$ac_ext <<_ACEOF
3946 cat confdefs.h >>conftest.$ac_ext
3947 cat >>conftest.$ac_ext <<_ACEOF
3948 /* end confdefs.h. */
3958 rm -f conftest.$ac_objext conftest$ac_exeext
3959 if { (ac_try="$ac_link"
3961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3962 *) ac_try_echo
=$ac_try;;
3964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3965 (eval "$ac_link") 2>conftest.er1
3967 grep -v '^ *+' conftest.er1
>conftest.err
3969 cat conftest.err
>&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); } && {
3972 test -z "$ac_c_werror_flag" ||
3973 test ! -s conftest.err
3974 } && test -s conftest
$ac_exeext &&
3975 $as_test_x conftest
$ac_exeext; then
3976 { echo "$as_me:$LINENO: result: no" >&5
3977 echo "${ECHO_T}no" >&6; }
3978 X_LIBS
="$X_LIBS -R$x_libraries"
3980 echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.
$ac_ext >&5
3983 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3984 cat >conftest.
$ac_ext <<_ACEOF
3987 cat confdefs.h
>>conftest.
$ac_ext
3988 cat >>conftest.
$ac_ext <<_ACEOF
3989 /* end confdefs.h. */
3999 rm -f conftest.
$ac_objext conftest
$ac_exeext
4000 if { (ac_try
="$ac_link"
4002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4003 *) ac_try_echo=$ac_try;;
4005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4006 (eval "$ac_link") 2>conftest.er1
4008 grep -v '^ *+' conftest.er1 >conftest.err
4010 cat conftest.err >&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); } && {
4013 test -z "$ac_c_werror_flag" ||
4014 test ! -s conftest.err
4015 } && test -s conftest$ac_exeext &&
4016 $as_test_x conftest$ac_exeext; then
4017 { echo "$as_me:$LINENO: result: yes" >&5
4018 echo "${ECHO_T}yes" >&6; }
4019 X_LIBS="$X_LIBS -R $x_libraries"
4021 echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.$ac_ext >&5
4024 { echo "$as_me:$LINENO: result: neither works" >&5
4025 echo "${ECHO_T}neither works" >&6; }
4028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4029 conftest$ac_exeext conftest.$ac_ext
4032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4033 conftest$ac_exeext conftest.$ac_ext
4034 ac_c_werror_flag=$ac_xsave_c_werror_flag
4038 # Check for system-dependent libraries X programs must link with.
4039 # Do this before checking for the system-independent R6 libraries
4040 # (-lICE), since we may need -lsocket or whatever for X linking.
4042 if test "$ISC" = yes; then
4043 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4045 # Martyn Johnson says this is needed for Ultrix, if the X
4046 # libraries were built with DECnet support. And Karl Berry says
4047 # the Alpha needs dnet_stub (dnet does not exist).
4048 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4049 cat >conftest.$ac_ext <<_ACEOF
4052 cat confdefs.h >>conftest.$ac_ext
4053 cat >>conftest.$ac_ext <<_ACEOF
4054 /* end confdefs.h. */
4056 /* Override any GCC internal prototype to avoid an error.
4057 Use char because int might match the return type of a GCC
4058 builtin and then its argument prototype would still apply. */
4062 char XOpenDisplay ();
4066 return XOpenDisplay ();
4071 rm -f conftest.$ac_objext conftest$ac_exeext
4072 if { (ac_try="$ac_link"
4074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4075 *) ac_try_echo
=$ac_try;;
4077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4078 (eval "$ac_link") 2>conftest.er1
4080 grep -v '^ *+' conftest.er1
>conftest.err
4082 cat conftest.err
>&5
4083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084 (exit $ac_status); } && {
4085 test -z "$ac_c_werror_flag" ||
4086 test ! -s conftest.err
4087 } && test -s conftest
$ac_exeext &&
4088 $as_test_x conftest
$ac_exeext; then
4091 echo "$as_me: failed program was:" >&5
4092 sed 's/^/| /' conftest.
$ac_ext >&5
4094 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4095 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4096 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4097 echo $ECHO_N "(cached) $ECHO_C" >&6
4099 ac_check_lib_save_LIBS
=$LIBS
4101 cat >conftest.
$ac_ext <<_ACEOF
4104 cat confdefs.h
>>conftest.
$ac_ext
4105 cat >>conftest.
$ac_ext <<_ACEOF
4106 /* end confdefs.h. */
4108 /* Override any GCC internal prototype to avoid an error.
4109 Use char because int might match the return type of a GCC
4110 builtin and then its argument prototype would still apply. */
4118 return dnet_ntoa ();
4123 rm -f conftest.
$ac_objext conftest
$ac_exeext
4124 if { (ac_try
="$ac_link"
4126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4127 *) ac_try_echo=$ac_try;;
4129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4130 (eval "$ac_link") 2>conftest.er1
4132 grep -v '^ *+' conftest.er1 >conftest.err
4134 cat conftest.err >&5
4135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 (exit $ac_status); } && {
4137 test -z "$ac_c_werror_flag" ||
4138 test ! -s conftest.err
4139 } && test -s conftest$ac_exeext &&
4140 $as_test_x conftest$ac_exeext; then
4141 ac_cv_lib_dnet_dnet_ntoa=yes
4143 echo "$as_me: failed program was:" >&5
4144 sed 's/^/| /' conftest.$ac_ext >&5
4146 ac_cv_lib_dnet_dnet_ntoa=no
4149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4150 conftest$ac_exeext conftest.$ac_ext
4151 LIBS=$ac_check_lib_save_LIBS
4153 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4154 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4155 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4156 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4159 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4160 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4161 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4162 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4163 echo $ECHO_N "(cached) $ECHO_C" >&6
4165 ac_check_lib_save_LIBS=$LIBS
4166 LIBS="-ldnet_stub $LIBS"
4167 cat >conftest.$ac_ext <<_ACEOF
4170 cat confdefs.h >>conftest.$ac_ext
4171 cat >>conftest.$ac_ext <<_ACEOF
4172 /* end confdefs.h. */
4174 /* Override any GCC internal prototype to avoid an error.
4175 Use char because int might match the return type of a GCC
4176 builtin and then its argument prototype would still apply. */
4184 return dnet_ntoa ();
4189 rm -f conftest.$ac_objext conftest$ac_exeext
4190 if { (ac_try="$ac_link"
4192 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4193 *) ac_try_echo
=$ac_try;;
4195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4196 (eval "$ac_link") 2>conftest.er1
4198 grep -v '^ *+' conftest.er1
>conftest.err
4200 cat conftest.err
>&5
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); } && {
4203 test -z "$ac_c_werror_flag" ||
4204 test ! -s conftest.err
4205 } && test -s conftest
$ac_exeext &&
4206 $as_test_x conftest
$ac_exeext; then
4207 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4209 echo "$as_me: failed program was:" >&5
4210 sed 's/^/| /' conftest.
$ac_ext >&5
4212 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4215 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4216 conftest
$ac_exeext conftest.
$ac_ext
4217 LIBS
=$ac_check_lib_save_LIBS
4219 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4220 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4221 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4222 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4228 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4229 conftest
$ac_exeext conftest.
$ac_ext
4230 LIBS
="$ac_xsave_LIBS"
4232 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4233 # to get the SysV transport functions.
4234 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4236 # The nsl library prevents programs from opening the X display
4237 # on Irix 5.2, according to T.E. Dickey.
4238 # The functions gethostbyname, getservbyname, and inet_addr are
4239 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4240 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4241 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4242 if test "${ac_cv_func_gethostbyname+set}" = set; then
4243 echo $ECHO_N "(cached) $ECHO_C" >&6
4245 cat >conftest.
$ac_ext <<_ACEOF
4248 cat confdefs.h
>>conftest.
$ac_ext
4249 cat >>conftest.
$ac_ext <<_ACEOF
4250 /* end confdefs.h. */
4251 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4253 #define gethostbyname innocuous_gethostbyname
4255 /* System header to define __stub macros and hopefully few prototypes,
4256 which can conflict with char gethostbyname (); below.
4257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4258 <limits.h> exists even on freestanding compilers. */
4261 # include <limits.h>
4263 # include <assert.h>
4266 #undef gethostbyname
4268 /* Override any GCC internal prototype to avoid an error.
4269 Use char because int might match the return type of a GCC
4270 builtin and then its argument prototype would still apply. */
4274 char gethostbyname ();
4275 /* The GNU C library defines this for functions which it implements
4276 to always fail with ENOSYS. Some functions are actually named
4277 something starting with __ and the normal name is an alias. */
4278 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4285 return gethostbyname ();
4290 rm -f conftest.
$ac_objext conftest
$ac_exeext
4291 if { (ac_try
="$ac_link"
4293 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4294 *) ac_try_echo=$ac_try;;
4296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4297 (eval "$ac_link") 2>conftest.er1
4299 grep -v '^ *+' conftest.er1 >conftest.err
4301 cat conftest.err >&5
4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303 (exit $ac_status); } && {
4304 test -z "$ac_c_werror_flag" ||
4305 test ! -s conftest.err
4306 } && test -s conftest$ac_exeext &&
4307 $as_test_x conftest$ac_exeext; then
4308 ac_cv_func_gethostbyname=yes
4310 echo "$as_me: failed program was:" >&5
4311 sed 's/^/| /' conftest.$ac_ext >&5
4313 ac_cv_func_gethostbyname=no
4316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4317 conftest$ac_exeext conftest.$ac_ext
4319 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4320 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4322 if test $ac_cv_func_gethostbyname = no; then
4323 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4324 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4325 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4326 echo $ECHO_N "(cached) $ECHO_C" >&6
4328 ac_check_lib_save_LIBS=$LIBS
4330 cat >conftest.$ac_ext <<_ACEOF
4333 cat confdefs.h >>conftest.$ac_ext
4334 cat >>conftest.$ac_ext <<_ACEOF
4335 /* end confdefs.h. */
4337 /* Override any GCC internal prototype to avoid an error.
4338 Use char because int might match the return type of a GCC
4339 builtin and then its argument prototype would still apply. */
4343 char gethostbyname ();
4347 return gethostbyname ();
4352 rm -f conftest.$ac_objext conftest$ac_exeext
4353 if { (ac_try="$ac_link"
4355 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4356 *) ac_try_echo
=$ac_try;;
4358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4359 (eval "$ac_link") 2>conftest.er1
4361 grep -v '^ *+' conftest.er1
>conftest.err
4363 cat conftest.err
>&5
4364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365 (exit $ac_status); } && {
4366 test -z "$ac_c_werror_flag" ||
4367 test ! -s conftest.err
4368 } && test -s conftest
$ac_exeext &&
4369 $as_test_x conftest
$ac_exeext; then
4370 ac_cv_lib_nsl_gethostbyname
=yes
4372 echo "$as_me: failed program was:" >&5
4373 sed 's/^/| /' conftest.
$ac_ext >&5
4375 ac_cv_lib_nsl_gethostbyname
=no
4378 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4379 conftest
$ac_exeext conftest.
$ac_ext
4380 LIBS
=$ac_check_lib_save_LIBS
4382 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4383 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4384 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4385 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4388 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4389 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4390 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4391 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4394 ac_check_lib_save_LIBS
=$LIBS
4396 cat >conftest.
$ac_ext <<_ACEOF
4399 cat confdefs.h
>>conftest.
$ac_ext
4400 cat >>conftest.
$ac_ext <<_ACEOF
4401 /* end confdefs.h. */
4403 /* Override any GCC internal prototype to avoid an error.
4404 Use char because int might match the return type of a GCC
4405 builtin and then its argument prototype would still apply. */
4409 char gethostbyname ();
4413 return gethostbyname ();
4418 rm -f conftest.
$ac_objext conftest
$ac_exeext
4419 if { (ac_try
="$ac_link"
4421 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4422 *) ac_try_echo=$ac_try;;
4424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4425 (eval "$ac_link") 2>conftest.er1
4427 grep -v '^ *+' conftest.er1 >conftest.err
4429 cat conftest.err >&5
4430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431 (exit $ac_status); } && {
4432 test -z "$ac_c_werror_flag" ||
4433 test ! -s conftest.err
4434 } && test -s conftest$ac_exeext &&
4435 $as_test_x conftest$ac_exeext; then
4436 ac_cv_lib_bsd_gethostbyname=yes
4438 echo "$as_me: failed program was:" >&5
4439 sed 's/^/| /' conftest.$ac_ext >&5
4441 ac_cv_lib_bsd_gethostbyname=no
4444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4445 conftest$ac_exeext conftest.$ac_ext
4446 LIBS=$ac_check_lib_save_LIBS
4448 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4449 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4450 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4451 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4457 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4458 # socket/setsockopt and other routines are undefined under SCO ODT
4459 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4460 # on later versions), says Simon Leinen: it contains gethostby*
4461 # variants that don't use the name server (or something). -lsocket
4462 # must be given before -lnsl if both are needed. We assume that
4463 # if connect needs -lnsl, so does gethostbyname.
4464 { echo "$as_me:$LINENO: checking for connect" >&5
4465 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4466 if test "${ac_cv_func_connect+set}" = set; then
4467 echo $ECHO_N "(cached) $ECHO_C" >&6
4469 cat >conftest.$ac_ext <<_ACEOF
4472 cat confdefs.h >>conftest.$ac_ext
4473 cat >>conftest.$ac_ext <<_ACEOF
4474 /* end confdefs.h. */
4475 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4477 #define connect innocuous_connect
4479 /* System header to define __stub macros and hopefully few prototypes,
4480 which can conflict with char connect (); below.
4481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4482 <limits.h> exists even on freestanding compilers. */
4485 # include <limits.h>
4487 # include <assert.h>
4492 /* Override any GCC internal prototype to avoid an error.
4493 Use char because int might match the return type of a GCC
4494 builtin and then its argument prototype would still apply. */
4499 /* The GNU C library defines this for functions which it implements
4500 to always fail with ENOSYS. Some functions are actually named
4501 something starting with __ and the normal name is an alias. */
4502 #if defined __stub_connect || defined __stub___connect
4514 rm -f conftest.$ac_objext conftest$ac_exeext
4515 if { (ac_try="$ac_link"
4517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4518 *) ac_try_echo
=$ac_try;;
4520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4521 (eval "$ac_link") 2>conftest.er1
4523 grep -v '^ *+' conftest.er1
>conftest.err
4525 cat conftest.err
>&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); } && {
4528 test -z "$ac_c_werror_flag" ||
4529 test ! -s conftest.err
4530 } && test -s conftest
$ac_exeext &&
4531 $as_test_x conftest
$ac_exeext; then
4532 ac_cv_func_connect
=yes
4534 echo "$as_me: failed program was:" >&5
4535 sed 's/^/| /' conftest.
$ac_ext >&5
4537 ac_cv_func_connect
=no
4540 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4541 conftest
$ac_exeext conftest.
$ac_ext
4543 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4544 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4546 if test $ac_cv_func_connect = no
; then
4547 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4548 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4549 if test "${ac_cv_lib_socket_connect+set}" = set; then
4550 echo $ECHO_N "(cached) $ECHO_C" >&6
4552 ac_check_lib_save_LIBS
=$LIBS
4553 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4554 cat >conftest.
$ac_ext <<_ACEOF
4557 cat confdefs.h
>>conftest.
$ac_ext
4558 cat >>conftest.
$ac_ext <<_ACEOF
4559 /* end confdefs.h. */
4561 /* Override any GCC internal prototype to avoid an error.
4562 Use char because int might match the return type of a GCC
4563 builtin and then its argument prototype would still apply. */
4576 rm -f conftest.
$ac_objext conftest
$ac_exeext
4577 if { (ac_try
="$ac_link"
4579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4580 *) ac_try_echo=$ac_try;;
4582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4583 (eval "$ac_link") 2>conftest.er1
4585 grep -v '^ *+' conftest.er1 >conftest.err
4587 cat conftest.err >&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); } && {
4590 test -z "$ac_c_werror_flag" ||
4591 test ! -s conftest.err
4592 } && test -s conftest$ac_exeext &&
4593 $as_test_x conftest$ac_exeext; then
4594 ac_cv_lib_socket_connect=yes
4596 echo "$as_me: failed program was:" >&5
4597 sed 's/^/| /' conftest.$ac_ext >&5
4599 ac_cv_lib_socket_connect=no
4602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4603 conftest$ac_exeext conftest.$ac_ext
4604 LIBS=$ac_check_lib_save_LIBS
4606 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4607 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4608 if test $ac_cv_lib_socket_connect = yes; then
4609 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4614 # Guillermo Gomez says -lposix is necessary on A/UX.
4615 { echo "$as_me:$LINENO: checking for remove" >&5
4616 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4617 if test "${ac_cv_func_remove+set}" = set; then
4618 echo $ECHO_N "(cached) $ECHO_C" >&6
4620 cat >conftest.$ac_ext <<_ACEOF
4623 cat confdefs.h >>conftest.$ac_ext
4624 cat >>conftest.$ac_ext <<_ACEOF
4625 /* end confdefs.h. */
4626 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4628 #define remove innocuous_remove
4630 /* System header to define __stub macros and hopefully few prototypes,
4631 which can conflict with char remove (); below.
4632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4633 <limits.h> exists even on freestanding compilers. */
4636 # include <limits.h>
4638 # include <assert.h>
4643 /* Override any GCC internal prototype to avoid an error.
4644 Use char because int might match the return type of a GCC
4645 builtin and then its argument prototype would still apply. */
4650 /* The GNU C library defines this for functions which it implements
4651 to always fail with ENOSYS. Some functions are actually named
4652 something starting with __ and the normal name is an alias. */
4653 #if defined __stub_remove || defined __stub___remove
4665 rm -f conftest.$ac_objext conftest$ac_exeext
4666 if { (ac_try="$ac_link"
4668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4669 *) ac_try_echo
=$ac_try;;
4671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4672 (eval "$ac_link") 2>conftest.er1
4674 grep -v '^ *+' conftest.er1
>conftest.err
4676 cat conftest.err
>&5
4677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); } && {
4679 test -z "$ac_c_werror_flag" ||
4680 test ! -s conftest.err
4681 } && test -s conftest
$ac_exeext &&
4682 $as_test_x conftest
$ac_exeext; then
4683 ac_cv_func_remove
=yes
4685 echo "$as_me: failed program was:" >&5
4686 sed 's/^/| /' conftest.
$ac_ext >&5
4688 ac_cv_func_remove
=no
4691 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4692 conftest
$ac_exeext conftest.
$ac_ext
4694 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4695 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4697 if test $ac_cv_func_remove = no
; then
4698 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4699 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4700 if test "${ac_cv_lib_posix_remove+set}" = set; then
4701 echo $ECHO_N "(cached) $ECHO_C" >&6
4703 ac_check_lib_save_LIBS
=$LIBS
4704 LIBS
="-lposix $LIBS"
4705 cat >conftest.
$ac_ext <<_ACEOF
4708 cat confdefs.h
>>conftest.
$ac_ext
4709 cat >>conftest.
$ac_ext <<_ACEOF
4710 /* end confdefs.h. */
4712 /* Override any GCC internal prototype to avoid an error.
4713 Use char because int might match the return type of a GCC
4714 builtin and then its argument prototype would still apply. */
4727 rm -f conftest.
$ac_objext conftest
$ac_exeext
4728 if { (ac_try
="$ac_link"
4730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4731 *) ac_try_echo=$ac_try;;
4733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4734 (eval "$ac_link") 2>conftest.er1
4736 grep -v '^ *+' conftest.er1 >conftest.err
4738 cat conftest.err >&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); } && {
4741 test -z "$ac_c_werror_flag" ||
4742 test ! -s conftest.err
4743 } && test -s conftest$ac_exeext &&
4744 $as_test_x conftest$ac_exeext; then
4745 ac_cv_lib_posix_remove=yes
4747 echo "$as_me: failed program was:" >&5
4748 sed 's/^/| /' conftest.$ac_ext >&5
4750 ac_cv_lib_posix_remove=no
4753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4754 conftest$ac_exeext conftest.$ac_ext
4755 LIBS=$ac_check_lib_save_LIBS
4757 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4758 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4759 if test $ac_cv_lib_posix_remove = yes; then
4760 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4765 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4766 { echo "$as_me:$LINENO: checking for shmat" >&5
4767 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4768 if test "${ac_cv_func_shmat+set}" = set; then
4769 echo $ECHO_N "(cached) $ECHO_C" >&6
4771 cat >conftest.$ac_ext <<_ACEOF
4774 cat confdefs.h >>conftest.$ac_ext
4775 cat >>conftest.$ac_ext <<_ACEOF
4776 /* end confdefs.h. */
4777 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4779 #define shmat innocuous_shmat
4781 /* System header to define __stub macros and hopefully few prototypes,
4782 which can conflict with char shmat (); below.
4783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4784 <limits.h> exists even on freestanding compilers. */
4787 # include <limits.h>
4789 # include <assert.h>
4794 /* Override any GCC internal prototype to avoid an error.
4795 Use char because int might match the return type of a GCC
4796 builtin and then its argument prototype would still apply. */
4801 /* The GNU C library defines this for functions which it implements
4802 to always fail with ENOSYS. Some functions are actually named
4803 something starting with __ and the normal name is an alias. */
4804 #if defined __stub_shmat || defined __stub___shmat
4816 rm -f conftest.$ac_objext conftest$ac_exeext
4817 if { (ac_try="$ac_link"
4819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4820 *) ac_try_echo
=$ac_try;;
4822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4823 (eval "$ac_link") 2>conftest.er1
4825 grep -v '^ *+' conftest.er1
>conftest.err
4827 cat conftest.err
>&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); } && {
4830 test -z "$ac_c_werror_flag" ||
4831 test ! -s conftest.err
4832 } && test -s conftest
$ac_exeext &&
4833 $as_test_x conftest
$ac_exeext; then
4834 ac_cv_func_shmat
=yes
4836 echo "$as_me: failed program was:" >&5
4837 sed 's/^/| /' conftest.
$ac_ext >&5
4842 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4843 conftest
$ac_exeext conftest.
$ac_ext
4845 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4846 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4848 if test $ac_cv_func_shmat = no
; then
4849 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4850 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4851 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4852 echo $ECHO_N "(cached) $ECHO_C" >&6
4854 ac_check_lib_save_LIBS
=$LIBS
4856 cat >conftest.
$ac_ext <<_ACEOF
4859 cat confdefs.h
>>conftest.
$ac_ext
4860 cat >>conftest.
$ac_ext <<_ACEOF
4861 /* end confdefs.h. */
4863 /* Override any GCC internal prototype to avoid an error.
4864 Use char because int might match the return type of a GCC
4865 builtin and then its argument prototype would still apply. */
4878 rm -f conftest.
$ac_objext conftest
$ac_exeext
4879 if { (ac_try
="$ac_link"
4881 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4882 *) ac_try_echo=$ac_try;;
4884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4885 (eval "$ac_link") 2>conftest.er1
4887 grep -v '^ *+' conftest.er1 >conftest.err
4889 cat conftest.err >&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); } && {
4892 test -z "$ac_c_werror_flag" ||
4893 test ! -s conftest.err
4894 } && test -s conftest$ac_exeext &&
4895 $as_test_x conftest$ac_exeext; then
4896 ac_cv_lib_ipc_shmat=yes
4898 echo "$as_me: failed program was:" >&5
4899 sed 's/^/| /' conftest.$ac_ext >&5
4901 ac_cv_lib_ipc_shmat=no
4904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4905 conftest$ac_exeext conftest.$ac_ext
4906 LIBS=$ac_check_lib_save_LIBS
4908 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4909 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4910 if test $ac_cv_lib_ipc_shmat = yes; then
4911 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4917 # Check for libraries that X11R6 Xt/Xaw programs need.
4918 ac_save_LDFLAGS=$LDFLAGS
4919 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4920 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4921 # check for ICE first), but we must link in the order -lSM -lICE or
4922 # we get undefined symbols. So assume we have SM if we have ICE.
4923 # These have to be linked with before -lX11, unlike the other
4924 # libraries we check for below, so use a different variable.
4925 # John Interrante, Karl Berry
4926 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4927 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4928 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4931 ac_check_lib_save_LIBS=$LIBS
4932 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4933 cat >conftest.$ac_ext <<_ACEOF
4936 cat confdefs.h >>conftest.$ac_ext
4937 cat >>conftest.$ac_ext <<_ACEOF
4938 /* end confdefs.h. */
4940 /* Override any GCC internal prototype to avoid an error.
4941 Use char because int might match the return type of a GCC
4942 builtin and then its argument prototype would still apply. */
4946 char IceConnectionNumber ();
4950 return IceConnectionNumber ();
4955 rm -f conftest.$ac_objext conftest$ac_exeext
4956 if { (ac_try="$ac_link"
4958 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4959 *) ac_try_echo
=$ac_try;;
4961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4962 (eval "$ac_link") 2>conftest.er1
4964 grep -v '^ *+' conftest.er1
>conftest.err
4966 cat conftest.err
>&5
4967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4968 (exit $ac_status); } && {
4969 test -z "$ac_c_werror_flag" ||
4970 test ! -s conftest.err
4971 } && test -s conftest
$ac_exeext &&
4972 $as_test_x conftest
$ac_exeext; then
4973 ac_cv_lib_ICE_IceConnectionNumber
=yes
4975 echo "$as_me: failed program was:" >&5
4976 sed 's/^/| /' conftest.
$ac_ext >&5
4978 ac_cv_lib_ICE_IceConnectionNumber
=no
4981 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4982 conftest
$ac_exeext conftest.
$ac_ext
4983 LIBS
=$ac_check_lib_save_LIBS
4985 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4986 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4987 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4988 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4991 LDFLAGS
=$ac_save_LDFLAGS
4998 # Extract the first word of "$ac_prog", so it can be a program name with args.
4999 set dummy
$ac_prog; ac_word
=$2
5000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5002 if test "${ac_cv_prog_FLEX+set}" = set; then
5003 echo $ECHO_N "(cached) $ECHO_C" >&6
5005 if test -n "$FLEX"; then
5006 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5012 test -z "$as_dir" && as_dir
=.
5013 for ac_exec_ext
in '' $ac_executable_extensions; do
5014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5015 ac_cv_prog_FLEX
="$ac_prog"
5016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5025 FLEX
=$ac_cv_prog_FLEX
5026 if test -n "$FLEX"; then
5027 { echo "$as_me:$LINENO: result: $FLEX" >&5
5028 echo "${ECHO_T}$FLEX" >&6; }
5030 { echo "$as_me:$LINENO: result: no" >&5
5031 echo "${ECHO_T}no" >&6; }
5035 test -n "$FLEX" && break
5037 test -n "$FLEX" || FLEX
="none"
5039 if test "$FLEX" = "none"
5041 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5042 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5043 { (exit 1); exit 1; }; }
5046 for ac_prog
in bison
5048 # Extract the first word of "$ac_prog", so it can be a program name with args.
5049 set dummy
$ac_prog; ac_word
=$2
5050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5052 if test "${ac_cv_prog_BISON+set}" = set; then
5053 echo $ECHO_N "(cached) $ECHO_C" >&6
5055 if test -n "$BISON"; then
5056 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5062 test -z "$as_dir" && as_dir
=.
5063 for ac_exec_ext
in '' $ac_executable_extensions; do
5064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5065 ac_cv_prog_BISON
="$ac_prog"
5066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5075 BISON
=$ac_cv_prog_BISON
5076 if test -n "$BISON"; then
5077 { echo "$as_me:$LINENO: result: $BISON" >&5
5078 echo "${ECHO_T}$BISON" >&6; }
5080 { echo "$as_me:$LINENO: result: no" >&5
5081 echo "${ECHO_T}no" >&6; }
5085 test -n "$BISON" && break
5087 test -n "$BISON" || BISON
="none"
5089 if test "$BISON" = "none"
5091 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5092 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5093 { (exit 1); exit 1; }; }
5096 if test -n "$ac_tool_prefix"; then
5097 for ac_prog
in gas as
5099 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5100 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5103 if test "${ac_cv_prog_AS+set}" = set; then
5104 echo $ECHO_N "(cached) $ECHO_C" >&6
5106 if test -n "$AS"; then
5107 ac_cv_prog_AS
="$AS" # Let the user override the test.
5109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5113 test -z "$as_dir" && as_dir
=.
5114 for ac_exec_ext
in '' $ac_executable_extensions; do
5115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5116 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5127 if test -n "$AS"; then
5128 { echo "$as_me:$LINENO: result: $AS" >&5
5129 echo "${ECHO_T}$AS" >&6; }
5131 { echo "$as_me:$LINENO: result: no" >&5
5132 echo "${ECHO_T}no" >&6; }
5136 test -n "$AS" && break
5139 if test -z "$AS"; then
5141 for ac_prog
in gas as
5143 # Extract the first word of "$ac_prog", so it can be a program name with args.
5144 set dummy
$ac_prog; ac_word
=$2
5145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5147 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5148 echo $ECHO_N "(cached) $ECHO_C" >&6
5150 if test -n "$ac_ct_AS"; then
5151 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5157 test -z "$as_dir" && as_dir
=.
5158 for ac_exec_ext
in '' $ac_executable_extensions; do
5159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5160 ac_cv_prog_ac_ct_AS
="$ac_prog"
5161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5170 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5171 if test -n "$ac_ct_AS"; then
5172 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5173 echo "${ECHO_T}$ac_ct_AS" >&6; }
5175 { echo "$as_me:$LINENO: result: no" >&5
5176 echo "${ECHO_T}no" >&6; }
5180 test -n "$ac_ct_AS" && break
5183 if test "x$ac_ct_AS" = x
; then
5186 case $cross_compiling:$ac_tool_warned in
5188 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5189 whose name does not start with the host triplet. If you think this
5190 configuration is useful to you, please write to autoconf@gnu.org." >&5
5191 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5192 whose name does not start with the host triplet. If you think this
5193 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5194 ac_tool_warned
=yes ;;
5200 if test -n "$ac_tool_prefix"; then
5201 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5202 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5205 if test "${ac_cv_prog_LD+set}" = set; then
5206 echo $ECHO_N "(cached) $ECHO_C" >&6
5208 if test -n "$LD"; then
5209 ac_cv_prog_LD
="$LD" # Let the user override the test.
5211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5215 test -z "$as_dir" && as_dir
=.
5216 for ac_exec_ext
in '' $ac_executable_extensions; do
5217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5218 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5229 if test -n "$LD"; then
5230 { echo "$as_me:$LINENO: result: $LD" >&5
5231 echo "${ECHO_T}$LD" >&6; }
5233 { echo "$as_me:$LINENO: result: no" >&5
5234 echo "${ECHO_T}no" >&6; }
5239 if test -z "$ac_cv_prog_LD"; then
5241 # Extract the first word of "ld", so it can be a program name with args.
5242 set dummy ld
; ac_word
=$2
5243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5245 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 if test -n "$ac_ct_LD"; then
5249 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5255 test -z "$as_dir" && as_dir
=.
5256 for ac_exec_ext
in '' $ac_executable_extensions; do
5257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5258 ac_cv_prog_ac_ct_LD
="ld"
5259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5269 if test -n "$ac_ct_LD"; then
5270 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5271 echo "${ECHO_T}$ac_ct_LD" >&6; }
5273 { echo "$as_me:$LINENO: result: no" >&5
5274 echo "${ECHO_T}no" >&6; }
5277 if test "x$ac_ct_LD" = x
; then
5280 case $cross_compiling:$ac_tool_warned in
5282 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5283 whose name does not start with the host triplet. If you think this
5284 configuration is useful to you, please write to autoconf@gnu.org." >&5
5285 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5286 whose name does not start with the host triplet. If you think this
5287 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5288 ac_tool_warned
=yes ;;
5296 if test -n "$ac_tool_prefix"; then
5297 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5298 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5301 if test "${ac_cv_prog_AR+set}" = set; then
5302 echo $ECHO_N "(cached) $ECHO_C" >&6
5304 if test -n "$AR"; then
5305 ac_cv_prog_AR
="$AR" # Let the user override the test.
5307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5311 test -z "$as_dir" && as_dir
=.
5312 for ac_exec_ext
in '' $ac_executable_extensions; do
5313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5314 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5325 if test -n "$AR"; then
5326 { echo "$as_me:$LINENO: result: $AR" >&5
5327 echo "${ECHO_T}$AR" >&6; }
5329 { echo "$as_me:$LINENO: result: no" >&5
5330 echo "${ECHO_T}no" >&6; }
5335 if test -z "$ac_cv_prog_AR"; then
5337 # Extract the first word of "ar", so it can be a program name with args.
5338 set dummy
ar; ac_word
=$2
5339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5341 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5342 echo $ECHO_N "(cached) $ECHO_C" >&6
5344 if test -n "$ac_ct_AR"; then
5345 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5351 test -z "$as_dir" && as_dir
=.
5352 for ac_exec_ext
in '' $ac_executable_extensions; do
5353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5354 ac_cv_prog_ac_ct_AR
="ar"
5355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5364 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5365 if test -n "$ac_ct_AR"; then
5366 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5367 echo "${ECHO_T}$ac_ct_AR" >&6; }
5369 { echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6; }
5373 if test "x$ac_ct_AR" = x
; then
5376 case $cross_compiling:$ac_tool_warned in
5378 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5379 whose name does not start with the host triplet. If you think this
5380 configuration is useful to you, please write to autoconf@gnu.org." >&5
5381 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5382 whose name does not start with the host triplet. If you think this
5383 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5384 ac_tool_warned
=yes ;;
5392 if test -n "$ac_tool_prefix"; then
5393 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5394 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5397 if test "${ac_cv_prog_RANLIB+set}" = set; then
5398 echo $ECHO_N "(cached) $ECHO_C" >&6
5400 if test -n "$RANLIB"; then
5401 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5407 test -z "$as_dir" && as_dir
=.
5408 for ac_exec_ext
in '' $ac_executable_extensions; do
5409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5410 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5420 RANLIB
=$ac_cv_prog_RANLIB
5421 if test -n "$RANLIB"; then
5422 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5423 echo "${ECHO_T}$RANLIB" >&6; }
5425 { echo "$as_me:$LINENO: result: no" >&5
5426 echo "${ECHO_T}no" >&6; }
5431 if test -z "$ac_cv_prog_RANLIB"; then
5432 ac_ct_RANLIB
=$RANLIB
5433 # Extract the first word of "ranlib", so it can be a program name with args.
5434 set dummy ranlib
; ac_word
=$2
5435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5437 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5438 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 if test -n "$ac_ct_RANLIB"; then
5441 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5447 test -z "$as_dir" && as_dir
=.
5448 for ac_exec_ext
in '' $ac_executable_extensions; do
5449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5450 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5460 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5461 if test -n "$ac_ct_RANLIB"; then
5462 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5463 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5465 { echo "$as_me:$LINENO: result: no" >&5
5466 echo "${ECHO_T}no" >&6; }
5469 if test "x$ac_ct_RANLIB" = x
; then
5472 case $cross_compiling:$ac_tool_warned in
5474 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5475 whose name does not start with the host triplet. If you think this
5476 configuration is useful to you, please write to autoconf@gnu.org." >&5
5477 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5478 whose name does not start with the host triplet. If you think this
5479 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5480 ac_tool_warned
=yes ;;
5482 RANLIB
=$ac_ct_RANLIB
5485 RANLIB
="$ac_cv_prog_RANLIB"
5488 if test -n "$ac_tool_prefix"; then
5489 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5490 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5491 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5493 if test "${ac_cv_prog_STRIP+set}" = set; then
5494 echo $ECHO_N "(cached) $ECHO_C" >&6
5496 if test -n "$STRIP"; then
5497 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5503 test -z "$as_dir" && as_dir
=.
5504 for ac_exec_ext
in '' $ac_executable_extensions; do
5505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5506 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5516 STRIP
=$ac_cv_prog_STRIP
5517 if test -n "$STRIP"; then
5518 { echo "$as_me:$LINENO: result: $STRIP" >&5
5519 echo "${ECHO_T}$STRIP" >&6; }
5521 { echo "$as_me:$LINENO: result: no" >&5
5522 echo "${ECHO_T}no" >&6; }
5527 if test -z "$ac_cv_prog_STRIP"; then
5529 # Extract the first word of "strip", so it can be a program name with args.
5530 set dummy strip
; ac_word
=$2
5531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5533 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5534 echo $ECHO_N "(cached) $ECHO_C" >&6
5536 if test -n "$ac_ct_STRIP"; then
5537 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5543 test -z "$as_dir" && as_dir
=.
5544 for ac_exec_ext
in '' $ac_executable_extensions; do
5545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5546 ac_cv_prog_ac_ct_STRIP
="strip"
5547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5556 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5557 if test -n "$ac_ct_STRIP"; then
5558 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5559 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5561 { echo "$as_me:$LINENO: result: no" >&5
5562 echo "${ECHO_T}no" >&6; }
5565 if test "x$ac_ct_STRIP" = x
; then
5568 case $cross_compiling:$ac_tool_warned in
5570 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5571 whose name does not start with the host triplet. If you think this
5572 configuration is useful to you, please write to autoconf@gnu.org." >&5
5573 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5574 whose name does not start with the host triplet. If you think this
5575 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5576 ac_tool_warned
=yes ;;
5581 STRIP
="$ac_cv_prog_STRIP"
5584 if test -n "$ac_tool_prefix"; then
5585 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5586 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5589 if test "${ac_cv_prog_WINDRES+set}" = set; then
5590 echo $ECHO_N "(cached) $ECHO_C" >&6
5592 if test -n "$WINDRES"; then
5593 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5599 test -z "$as_dir" && as_dir
=.
5600 for ac_exec_ext
in '' $ac_executable_extensions; do
5601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5602 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5612 WINDRES
=$ac_cv_prog_WINDRES
5613 if test -n "$WINDRES"; then
5614 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5615 echo "${ECHO_T}$WINDRES" >&6; }
5617 { echo "$as_me:$LINENO: result: no" >&5
5618 echo "${ECHO_T}no" >&6; }
5623 if test -z "$ac_cv_prog_WINDRES"; then
5624 ac_ct_WINDRES
=$WINDRES
5625 # Extract the first word of "windres", so it can be a program name with args.
5626 set dummy windres
; ac_word
=$2
5627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5629 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5630 echo $ECHO_N "(cached) $ECHO_C" >&6
5632 if test -n "$ac_ct_WINDRES"; then
5633 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5639 test -z "$as_dir" && as_dir
=.
5640 for ac_exec_ext
in '' $ac_executable_extensions; do
5641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5642 ac_cv_prog_ac_ct_WINDRES
="windres"
5643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5652 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5653 if test -n "$ac_ct_WINDRES"; then
5654 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5655 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5657 { echo "$as_me:$LINENO: result: no" >&5
5658 echo "${ECHO_T}no" >&6; }
5661 if test "x$ac_ct_WINDRES" = x
; then
5664 case $cross_compiling:$ac_tool_warned in
5666 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5667 whose name does not start with the host triplet. If you think this
5668 configuration is useful to you, please write to autoconf@gnu.org." >&5
5669 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5670 whose name does not start with the host triplet. If you think this
5671 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5672 ac_tool_warned
=yes ;;
5674 WINDRES
=$ac_ct_WINDRES
5677 WINDRES
="$ac_cv_prog_WINDRES"
5680 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5681 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5683 if test "$LN_S" = "ln -s"; then
5684 { echo "$as_me:$LINENO: result: yes" >&5
5685 echo "${ECHO_T}yes" >&6; }
5687 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5688 echo "${ECHO_T}no, using $LN_S" >&6; }
5691 { echo "$as_me:$LINENO: checking whether ln works" >&5
5692 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5693 rm -f conf$$ conf$$.
file
5695 if ln conf$$.
file conf$$
2>/dev
/null
; then
5698 { echo "$as_me:$LINENO: result: yes" >&5
5699 echo "${ECHO_T}yes" >&6; }
5703 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5704 echo "${ECHO_T}no, using $LN" >&6; }
5706 rm -f conf$$ conf$$.
file
5707 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5708 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5709 if test "${ac_cv_path_GREP+set}" = set; then
5710 echo $ECHO_N "(cached) $ECHO_C" >&6
5712 # Extract the first word of "grep ggrep" to use in msg output
5713 if test -z "$GREP"; then
5714 set dummy
grep ggrep
; ac_prog_name
=$2
5715 if test "${ac_cv_path_GREP+set}" = set; then
5716 echo $ECHO_N "(cached) $ECHO_C" >&6
5718 ac_path_GREP_found
=false
5719 # Loop through the user's path and test for each of PROGNAME-LIST
5720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5721 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5724 test -z "$as_dir" && as_dir
=.
5725 for ac_prog
in grep ggrep
; do
5726 for ac_exec_ext
in '' $ac_executable_extensions; do
5727 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5728 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5729 # Check for GNU ac_path_GREP and select it if it is found.
5730 # Check for GNU $ac_path_GREP
5731 case `"$ac_path_GREP" --version 2>&1` in
5733 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5736 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5739 cat "conftest.in" "conftest.in" >"conftest.tmp"
5740 mv "conftest.tmp" "conftest.in"
5741 cp "conftest.in" "conftest.nl"
5742 echo 'GREP' >> "conftest.nl"
5743 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5744 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5745 ac_count
=`expr $ac_count + 1`
5746 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5747 # Best one so far, save it but keep looking for a better one
5748 ac_cv_path_GREP
="$ac_path_GREP"
5749 ac_path_GREP_max
=$ac_count
5751 # 10*(2^10) chars as input seems more than enough
5752 test $ac_count -gt 10 && break
5754 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5758 $ac_path_GREP_found && break 3
5768 GREP
="$ac_cv_path_GREP"
5769 if test -z "$GREP"; then
5770 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5771 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5772 { (exit 1); exit 1; }; }
5776 ac_cv_path_GREP
=$GREP
5781 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5782 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5783 GREP
="$ac_cv_path_GREP"
5786 { echo "$as_me:$LINENO: checking for egrep" >&5
5787 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5788 if test "${ac_cv_path_EGREP+set}" = set; then
5789 echo $ECHO_N "(cached) $ECHO_C" >&6
5791 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5792 then ac_cv_path_EGREP
="$GREP -E"
5794 # Extract the first word of "egrep" to use in msg output
5795 if test -z "$EGREP"; then
5796 set dummy
egrep; ac_prog_name
=$2
5797 if test "${ac_cv_path_EGREP+set}" = set; then
5798 echo $ECHO_N "(cached) $ECHO_C" >&6
5800 ac_path_EGREP_found
=false
5801 # Loop through the user's path and test for each of PROGNAME-LIST
5802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5803 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5806 test -z "$as_dir" && as_dir
=.
5807 for ac_prog
in egrep; do
5808 for ac_exec_ext
in '' $ac_executable_extensions; do
5809 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5810 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5811 # Check for GNU ac_path_EGREP and select it if it is found.
5812 # Check for GNU $ac_path_EGREP
5813 case `"$ac_path_EGREP" --version 2>&1` in
5815 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5818 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5821 cat "conftest.in" "conftest.in" >"conftest.tmp"
5822 mv "conftest.tmp" "conftest.in"
5823 cp "conftest.in" "conftest.nl"
5824 echo 'EGREP' >> "conftest.nl"
5825 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5826 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5827 ac_count
=`expr $ac_count + 1`
5828 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5829 # Best one so far, save it but keep looking for a better one
5830 ac_cv_path_EGREP
="$ac_path_EGREP"
5831 ac_path_EGREP_max
=$ac_count
5833 # 10*(2^10) chars as input seems more than enough
5834 test $ac_count -gt 10 && break
5836 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5840 $ac_path_EGREP_found && break 3
5850 EGREP
="$ac_cv_path_EGREP"
5851 if test -z "$EGREP"; then
5852 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5853 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5854 { (exit 1); exit 1; }; }
5858 ac_cv_path_EGREP
=$EGREP
5864 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5865 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5866 EGREP
="$ac_cv_path_EGREP"
5869 # Extract the first word of "ldconfig", so it can be a program name with args.
5870 set dummy ldconfig
; ac_word
=$2
5871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5873 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5874 echo $ECHO_N "(cached) $ECHO_C" >&6
5878 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5882 for as_dir
in /sbin
/usr
/sbin
$PATH
5885 test -z "$as_dir" && as_dir
=.
5886 for ac_exec_ext
in '' $ac_executable_extensions; do
5887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5888 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5896 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5900 LDCONFIG
=$ac_cv_path_LDCONFIG
5901 if test -n "$LDCONFIG"; then
5902 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5903 echo "${ECHO_T}$LDCONFIG" >&6; }
5905 { echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6; }
5910 # Find a good install program. We prefer a C program (faster),
5911 # so one script is as good as another. But avoid the broken or
5912 # incompatible versions:
5913 # SysV /etc/install, /usr/sbin/install
5914 # SunOS /usr/etc/install
5915 # IRIX /sbin/install
5917 # AmigaOS /C/install, which installs bootblocks on floppy discs
5918 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5919 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5920 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5921 # OS/2's system install, which has a completely different semantic
5922 # ./install, which can be erroneously created by make from ./install.sh.
5923 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5924 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5925 if test -z "$INSTALL"; then
5926 if test "${ac_cv_path_install+set}" = set; then
5927 echo $ECHO_N "(cached) $ECHO_C" >&6
5929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5933 test -z "$as_dir" && as_dir
=.
5934 # Account for people who put trailing slashes in PATH elements.
5936 .
/ | .
// |
/cC
/* | \
5937 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5938 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5941 # OSF1 and SCO ODT 3.0 have their own names for install.
5942 # Don't use installbsd from OSF since it installs stuff as root
5944 for ac_prog
in ginstall scoinst
install; do
5945 for ac_exec_ext
in '' $ac_executable_extensions; do
5946 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5947 if test $ac_prog = install &&
5948 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5949 # AIX install. It has an incompatible calling convention.
5951 elif test $ac_prog = install &&
5952 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5953 # program-specific install script used by HP pwplus--don't use.
5956 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5969 if test "${ac_cv_path_install+set}" = set; then
5970 INSTALL
=$ac_cv_path_install
5972 # As a last resort, use the slow shell script. Don't cache a
5973 # value for INSTALL within a source directory, because that will
5974 # break other packages using the cache if that directory is
5975 # removed, or if the value is a relative name.
5976 INSTALL
=$ac_install_sh
5979 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5980 echo "${ECHO_T}$INSTALL" >&6; }
5982 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5983 # It thinks the first close brace ends the variable substitution.
5984 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5986 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5988 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5991 [\\/$
]* | ?
:[\\/]* ) ;;
5992 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5995 for ac_prog
in lclint lint
5997 # Extract the first word of "$ac_prog", so it can be a program name with args.
5998 set dummy
$ac_prog; ac_word
=$2
5999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6001 if test "${ac_cv_prog_LINT+set}" = set; then
6002 echo $ECHO_N "(cached) $ECHO_C" >&6
6004 if test -n "$LINT"; then
6005 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6011 test -z "$as_dir" && as_dir
=.
6012 for ac_exec_ext
in '' $ac_executable_extensions; do
6013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6014 ac_cv_prog_LINT
="$ac_prog"
6015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6024 LINT
=$ac_cv_prog_LINT
6025 if test -n "$LINT"; then
6026 { echo "$as_me:$LINENO: result: $LINT" >&5
6027 echo "${ECHO_T}$LINT" >&6; }
6029 { echo "$as_me:$LINENO: result: no" >&5
6030 echo "${ECHO_T}no" >&6; }
6034 test -n "$LINT" && break
6037 if test "$LINT" = "lint"
6039 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6044 for ac_prog
in fontforge
6046 # Extract the first word of "$ac_prog", so it can be a program name with args.
6047 set dummy
$ac_prog; ac_word
=$2
6048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6050 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6051 echo $ECHO_N "(cached) $ECHO_C" >&6
6053 if test -n "$FONTFORGE"; then
6054 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6060 test -z "$as_dir" && as_dir
=.
6061 for ac_exec_ext
in '' $ac_executable_extensions; do
6062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6063 ac_cv_prog_FONTFORGE
="$ac_prog"
6064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 FONTFORGE
=$ac_cv_prog_FONTFORGE
6074 if test -n "$FONTFORGE"; then
6075 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6076 echo "${ECHO_T}$FONTFORGE" >&6; }
6078 { echo "$as_me:$LINENO: result: no" >&5
6079 echo "${ECHO_T}no" >&6; }
6083 test -n "$FONTFORGE" && break
6085 test -n "$FONTFORGE" || FONTFORGE
="false"
6087 for ac_prog
in pkg-config
6089 # Extract the first word of "$ac_prog", so it can be a program name with args.
6090 set dummy
$ac_prog; ac_word
=$2
6091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6093 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6094 echo $ECHO_N "(cached) $ECHO_C" >&6
6096 if test -n "$PKG_CONFIG"; then
6097 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6103 test -z "$as_dir" && as_dir
=.
6104 for ac_exec_ext
in '' $ac_executable_extensions; do
6105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6106 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6116 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6117 if test -n "$PKG_CONFIG"; then
6118 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6119 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6121 { echo "$as_me:$LINENO: result: no" >&5
6122 echo "${ECHO_T}no" >&6; }
6126 test -n "$PKG_CONFIG" && break
6128 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6133 # Extract the first word of "prelink", so it can be a program name with args.
6134 set dummy prelink
; ac_word
=$2
6135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6137 if test "${ac_cv_path_PRELINK+set}" = set; then
6138 echo $ECHO_N "(cached) $ECHO_C" >&6
6142 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6146 for as_dir
in /sbin
/usr
/sbin
$PATH
6149 test -z "$as_dir" && as_dir
=.
6150 for ac_exec_ext
in '' $ac_executable_extensions; do
6151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6152 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6160 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6164 PRELINK
=$ac_cv_path_PRELINK
6165 if test -n "$PRELINK"; then
6166 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6167 echo "${ECHO_T}$PRELINK" >&6; }
6169 { echo "$as_me:$LINENO: result: no" >&5
6170 echo "${ECHO_T}no" >&6; }
6179 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6180 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6181 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6182 echo $ECHO_N "(cached) $ECHO_C" >&6
6184 ac_check_lib_save_LIBS
=$LIBS
6186 cat >conftest.
$ac_ext <<_ACEOF
6189 cat confdefs.h
>>conftest.
$ac_ext
6190 cat >>conftest.
$ac_ext <<_ACEOF
6191 /* end confdefs.h. */
6193 /* Override any GCC internal prototype to avoid an error.
6194 Use char because int might match the return type of a GCC
6195 builtin and then its argument prototype would still apply. */
6199 char i386_set_ldt ();
6203 return i386_set_ldt ();
6208 rm -f conftest.
$ac_objext conftest
$ac_exeext
6209 if { (ac_try
="$ac_link"
6211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6212 *) ac_try_echo=$ac_try;;
6214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6215 (eval "$ac_link") 2>conftest.er1
6217 grep -v '^ *+' conftest.er1 >conftest.err
6219 cat conftest.err >&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); } && {
6222 test -z "$ac_c_werror_flag" ||
6223 test ! -s conftest.err
6224 } && test -s conftest$ac_exeext &&
6225 $as_test_x conftest$ac_exeext; then
6226 ac_cv_lib_i386_i386_set_ldt=yes
6228 echo "$as_me: failed program was:" >&5
6229 sed 's/^/| /' conftest.$ac_ext >&5
6231 ac_cv_lib_i386_i386_set_ldt=no
6234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6235 conftest$ac_exeext conftest.$ac_ext
6236 LIBS=$ac_check_lib_save_LIBS
6238 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6239 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6240 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6241 cat >>confdefs.h <<_ACEOF
6242 #define HAVE_LIBI386 1
6250 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6251 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6252 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6253 echo $ECHO_N "(cached) $ECHO_C" >&6
6255 ac_check_lib_save_LIBS=$LIBS
6256 LIBS="-lossaudio $LIBS"
6257 cat >conftest.$ac_ext <<_ACEOF
6260 cat confdefs.h >>conftest.$ac_ext
6261 cat >>conftest.$ac_ext <<_ACEOF
6262 /* end confdefs.h. */
6264 /* Override any GCC internal prototype to avoid an error.
6265 Use char because int might match the return type of a GCC
6266 builtin and then its argument prototype would still apply. */
6274 return _oss_ioctl ();
6279 rm -f conftest.$ac_objext conftest$ac_exeext
6280 if { (ac_try="$ac_link"
6282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6283 *) ac_try_echo
=$ac_try;;
6285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6286 (eval "$ac_link") 2>conftest.er1
6288 grep -v '^ *+' conftest.er1
>conftest.err
6290 cat conftest.err
>&5
6291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6292 (exit $ac_status); } && {
6293 test -z "$ac_c_werror_flag" ||
6294 test ! -s conftest.err
6295 } && test -s conftest
$ac_exeext &&
6296 $as_test_x conftest
$ac_exeext; then
6297 ac_cv_lib_ossaudio__oss_ioctl
=yes
6299 echo "$as_me: failed program was:" >&5
6300 sed 's/^/| /' conftest.
$ac_ext >&5
6302 ac_cv_lib_ossaudio__oss_ioctl
=no
6305 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6306 conftest
$ac_exeext conftest.
$ac_ext
6307 LIBS
=$ac_check_lib_save_LIBS
6309 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6310 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6311 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6312 cat >>confdefs.h
<<_ACEOF
6313 #define HAVE_LIBOSSAUDIO 1
6316 LIBS
="-lossaudio $LIBS"
6320 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6321 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6322 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6323 echo $ECHO_N "(cached) $ECHO_C" >&6
6325 ac_check_lib_save_LIBS
=$LIBS
6326 LIBS
="-lpthread $LIBS"
6327 cat >conftest.
$ac_ext <<_ACEOF
6330 cat confdefs.h
>>conftest.
$ac_ext
6331 cat >>conftest.
$ac_ext <<_ACEOF
6332 /* end confdefs.h. */
6334 /* Override any GCC internal prototype to avoid an error.
6335 Use char because int might match the return type of a GCC
6336 builtin and then its argument prototype would still apply. */
6340 char pthread_create ();
6344 return pthread_create ();
6349 rm -f conftest.
$ac_objext conftest
$ac_exeext
6350 if { (ac_try
="$ac_link"
6352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6353 *) ac_try_echo=$ac_try;;
6355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6356 (eval "$ac_link") 2>conftest.er1
6358 grep -v '^ *+' conftest.er1 >conftest.err
6360 cat conftest.err >&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); } && {
6363 test -z "$ac_c_werror_flag" ||
6364 test ! -s conftest.err
6365 } && test -s conftest$ac_exeext &&
6366 $as_test_x conftest$ac_exeext; then
6367 ac_cv_lib_pthread_pthread_create=yes
6369 echo "$as_me: failed program was:" >&5
6370 sed 's/^/| /' conftest.$ac_ext >&5
6372 ac_cv_lib_pthread_pthread_create=no
6375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6376 conftest$ac_exeext conftest.$ac_ext
6377 LIBS=$ac_check_lib_save_LIBS
6379 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6380 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6381 if test $ac_cv_lib_pthread_pthread_create = yes; then
6382 LIBPTHREAD="-lpthread"
6401 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6402 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6403 if test "${ac_cv_header_stdc+set}" = set; then
6404 echo $ECHO_N "(cached) $ECHO_C" >&6
6406 cat >conftest.$ac_ext <<_ACEOF
6409 cat confdefs.h >>conftest.$ac_ext
6410 cat >>conftest.$ac_ext <<_ACEOF
6411 /* end confdefs.h. */
6425 rm -f conftest.$ac_objext
6426 if { (ac_try="$ac_compile"
6428 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6429 *) ac_try_echo
=$ac_try;;
6431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6432 (eval "$ac_compile") 2>conftest.er1
6434 grep -v '^ *+' conftest.er1
>conftest.err
6436 cat conftest.err
>&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); } && {
6439 test -z "$ac_c_werror_flag" ||
6440 test ! -s conftest.err
6441 } && test -s conftest.
$ac_objext; then
6442 ac_cv_header_stdc
=yes
6444 echo "$as_me: failed program was:" >&5
6445 sed 's/^/| /' conftest.
$ac_ext >&5
6447 ac_cv_header_stdc
=no
6450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6452 if test $ac_cv_header_stdc = yes; then
6453 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6454 cat >conftest.
$ac_ext <<_ACEOF
6457 cat confdefs.h
>>conftest.
$ac_ext
6458 cat >>conftest.
$ac_ext <<_ACEOF
6459 /* end confdefs.h. */
6463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6464 $EGREP "memchr" >/dev
/null
2>&1; then
6467 ac_cv_header_stdc
=no
6473 if test $ac_cv_header_stdc = yes; then
6474 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6475 cat >conftest.
$ac_ext <<_ACEOF
6478 cat confdefs.h
>>conftest.
$ac_ext
6479 cat >>conftest.
$ac_ext <<_ACEOF
6480 /* end confdefs.h. */
6484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6485 $EGREP "free" >/dev
/null
2>&1; then
6488 ac_cv_header_stdc
=no
6494 if test $ac_cv_header_stdc = yes; then
6495 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6496 if test "$cross_compiling" = yes; then
6499 cat >conftest.
$ac_ext <<_ACEOF
6502 cat confdefs.h
>>conftest.
$ac_ext
6503 cat >>conftest.
$ac_ext <<_ACEOF
6504 /* end confdefs.h. */
6507 #if ((' ' & 0x0FF) == 0x020)
6508 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6509 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6511 # define ISLOWER(c) \
6512 (('a' <= (c) && (c) <= 'i') \
6513 || ('j' <= (c) && (c) <= 'r') \
6514 || ('s' <= (c) && (c) <= 'z'))
6515 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6518 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6523 for (i = 0; i < 256; i++)
6524 if (XOR (islower (i), ISLOWER (i))
6525 || toupper (i) != TOUPPER (i))
6530 rm -f conftest
$ac_exeext
6531 if { (ac_try
="$ac_link"
6533 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6534 *) ac_try_echo=$ac_try;;
6536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6537 (eval "$ac_link") 2>&5
6539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6541 { (case "(($ac_try" in
6542 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6543 *) ac_try_echo
=$ac_try;;
6545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6546 (eval "$ac_try") 2>&5
6548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); }; }; then
6552 echo "$as_me: program exited with status $ac_status" >&5
6553 echo "$as_me: failed program was:" >&5
6554 sed 's/^/| /' conftest.
$ac_ext >&5
6557 ac_cv_header_stdc
=no
6559 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6565 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6566 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6567 if test $ac_cv_header_stdc = yes; then
6569 cat >>confdefs.h
<<\_ACEOF
6570 #define STDC_HEADERS 1
6575 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6585 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6586 inttypes.h stdint.h unistd.h
6588 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6589 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6591 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6592 echo $ECHO_N "(cached) $ECHO_C" >&6
6594 cat >conftest.
$ac_ext <<_ACEOF
6597 cat confdefs.h
>>conftest.
$ac_ext
6598 cat >>conftest.
$ac_ext <<_ACEOF
6599 /* end confdefs.h. */
6600 $ac_includes_default
6602 #include <$ac_header>
6604 rm -f conftest.
$ac_objext
6605 if { (ac_try
="$ac_compile"
6607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6608 *) ac_try_echo=$ac_try;;
6610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6611 (eval "$ac_compile") 2>conftest.er1
6613 grep -v '^ *+' conftest.er1 >conftest.err
6615 cat conftest.err >&5
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); } && {
6618 test -z "$ac_c_werror_flag" ||
6619 test ! -s conftest.err
6620 } && test -s conftest.$ac_objext; then
6621 eval "$as_ac_Header=yes"
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.$ac_ext >&5
6626 eval "$as_ac_Header=no"
6629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6631 ac_res=`eval echo '${'$as_ac_Header'}'`
6632 { echo "$as_me:$LINENO: result: $ac_res" >&5
6633 echo "${ECHO_T}$ac_res" >&6; }
6634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6635 cat >>confdefs.h <<_ACEOF
6636 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6755 AudioUnit/AudioUnit.h \
6757 CoreAudio/CoreAudio.h \
6758 DiskArbitration/DiskArbitration.h \
6771 fontconfig/fontconfig.h \
6797 machine/soundcard.h \
6802 netinet/in_systm.h \
6867 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6868 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6869 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6871 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6872 echo $ECHO_N "(cached) $ECHO_C" >&6
6874 ac_res=`eval echo '${'$as_ac_Header'}'`
6875 { echo "$as_me:$LINENO: result: $ac_res" >&5
6876 echo "${ECHO_T}$ac_res" >&6; }
6878 # Is the header compilable?
6879 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6880 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6881 cat >conftest.$ac_ext <<_ACEOF
6884 cat confdefs.h >>conftest.$ac_ext
6885 cat >>conftest.$ac_ext <<_ACEOF
6886 /* end confdefs.h. */
6887 $ac_includes_default
6888 #include <$ac_header>
6890 rm -f conftest.$ac_objext
6891 if { (ac_try="$ac_compile"
6893 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6894 *) ac_try_echo
=$ac_try;;
6896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6897 (eval "$ac_compile") 2>conftest.er1
6899 grep -v '^ *+' conftest.er1
>conftest.err
6901 cat conftest.err
>&5
6902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903 (exit $ac_status); } && {
6904 test -z "$ac_c_werror_flag" ||
6905 test ! -s conftest.err
6906 } && test -s conftest.
$ac_objext; then
6907 ac_header_compiler
=yes
6909 echo "$as_me: failed program was:" >&5
6910 sed 's/^/| /' conftest.
$ac_ext >&5
6912 ac_header_compiler
=no
6915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6916 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6917 echo "${ECHO_T}$ac_header_compiler" >&6; }
6919 # Is the header present?
6920 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6921 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6922 cat >conftest.
$ac_ext <<_ACEOF
6925 cat confdefs.h
>>conftest.
$ac_ext
6926 cat >>conftest.
$ac_ext <<_ACEOF
6927 /* end confdefs.h. */
6928 #include <$ac_header>
6930 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6932 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6933 *) ac_try_echo=$ac_try;;
6935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6936 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6938 grep -v '^ *+' conftest.er1 >conftest.err
6940 cat conftest.err >&5
6941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942 (exit $ac_status); } >/dev/null && {
6943 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6944 test ! -s conftest.err
6946 ac_header_preproc=yes
6948 echo "$as_me: failed program was:" >&5
6949 sed 's/^/| /' conftest.$ac_ext >&5
6951 ac_header_preproc=no
6954 rm -f conftest.err conftest.$ac_ext
6955 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6956 echo "${ECHO_T}$ac_header_preproc" >&6; }
6958 # So? What about this header?
6959 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6961 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6962 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6964 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6965 ac_header_preproc=yes
6968 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6969 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6970 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6971 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6972 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6973 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6974 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6975 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6977 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6978 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6979 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6981 ## ------------------------------------ ##
6982 ## Report this to wine-devel@winehq.org ##
6983 ## ------------------------------------ ##
6985 ) | sed "s/^/$as_me: WARNING: /" >&2
6988 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6991 echo $ECHO_N "(cached) $ECHO_C" >&6
6993 eval "$as_ac_Header=\$ac_header_preproc"
6995 ac_res=`eval echo '${'$as_ac_Header'}'`
6996 { echo "$as_me:$LINENO: result: $ac_res" >&5
6997 echo "${ECHO_T}$ac_res" >&6; }
7000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7001 cat >>confdefs.h <<_ACEOF
7002 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7009 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7010 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7011 if test "${ac_cv_header_stat_broken+set}" = set; then
7012 echo $ECHO_N "(cached) $ECHO_C" >&6
7014 cat >conftest.$ac_ext <<_ACEOF
7017 cat confdefs.h >>conftest.$ac_ext
7018 cat >>conftest.$ac_ext <<_ACEOF
7019 /* end confdefs.h. */
7020 #include <sys/types.h>
7021 #include <sys/stat.h>
7023 #if defined S_ISBLK && defined S_IFDIR
7024 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7027 #if defined S_ISBLK && defined S_IFCHR
7028 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7031 #if defined S_ISLNK && defined S_IFREG
7032 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7035 #if defined S_ISSOCK && defined S_IFREG
7036 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7040 rm -f conftest.$ac_objext
7041 if { (ac_try="$ac_compile"
7043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7044 *) ac_try_echo
=$ac_try;;
7046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7047 (eval "$ac_compile") 2>conftest.er1
7049 grep -v '^ *+' conftest.er1
>conftest.err
7051 cat conftest.err
>&5
7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053 (exit $ac_status); } && {
7054 test -z "$ac_c_werror_flag" ||
7055 test ! -s conftest.err
7056 } && test -s conftest.
$ac_objext; then
7057 ac_cv_header_stat_broken
=no
7059 echo "$as_me: failed program was:" >&5
7060 sed 's/^/| /' conftest.
$ac_ext >&5
7062 ac_cv_header_stat_broken
=yes
7065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7067 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7068 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7069 if test $ac_cv_header_stat_broken = yes; then
7071 cat >>confdefs.h
<<\_ACEOF
7072 #define STAT_MACROS_BROKEN 1
7083 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7085 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7086 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7088 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7089 echo $ECHO_N "(cached) $ECHO_C" >&6
7091 cat >conftest.
$ac_ext <<_ACEOF
7094 cat confdefs.h
>>conftest.
$ac_ext
7095 cat >>conftest.
$ac_ext <<_ACEOF
7096 /* end confdefs.h. */
7097 #include <sys/types.h>
7098 #if HAVE_SYS_PARAM_H
7099 # include <sys/param.h>
7102 #include <$ac_header>
7104 rm -f conftest.
$ac_objext
7105 if { (ac_try
="$ac_compile"
7107 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7108 *) ac_try_echo=$ac_try;;
7110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7111 (eval "$ac_compile") 2>conftest.er1
7113 grep -v '^ *+' conftest.er1 >conftest.err
7115 cat conftest.err >&5
7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); } && {
7118 test -z "$ac_c_werror_flag" ||
7119 test ! -s conftest.err
7120 } && test -s conftest.$ac_objext; then
7121 eval "$as_ac_Header=yes"
7123 echo "$as_me: failed program was:" >&5
7124 sed 's/^/| /' conftest.$ac_ext >&5
7126 eval "$as_ac_Header=no"
7129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7131 ac_res=`eval echo '${'$as_ac_Header'}'`
7132 { echo "$as_me:$LINENO: result: $ac_res" >&5
7133 echo "${ECHO_T}$ac_res" >&6; }
7134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7135 cat >>confdefs.h <<_ACEOF
7136 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7152 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
7154 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7155 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7157 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7158 echo $ECHO_N "(cached) $ECHO_C" >&6
7160 cat >conftest.$ac_ext <<_ACEOF
7163 cat confdefs.h >>conftest.$ac_ext
7164 cat >>conftest.$ac_ext <<_ACEOF
7165 /* end confdefs.h. */
7166 #include <sys/types.h>
7167 #if HAVE_SYS_SOCKET_H
7168 # include <sys/socket.h>
7170 #if HAVE_SYS_SOCKETVAR_H
7171 # include <sys/socketvar.h>
7173 #if HAVE_NETINET_IN_H
7174 # include <netinet/in.h>
7177 #include <$ac_header>
7179 rm -f conftest.$ac_objext
7180 if { (ac_try="$ac_compile"
7182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7183 *) ac_try_echo
=$ac_try;;
7185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7186 (eval "$ac_compile") 2>conftest.er1
7188 grep -v '^ *+' conftest.er1
>conftest.err
7190 cat conftest.err
>&5
7191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192 (exit $ac_status); } && {
7193 test -z "$ac_c_werror_flag" ||
7194 test ! -s conftest.err
7195 } && test -s conftest.
$ac_objext; then
7196 eval "$as_ac_Header=yes"
7198 echo "$as_me: failed program was:" >&5
7199 sed 's/^/| /' conftest.
$ac_ext >&5
7201 eval "$as_ac_Header=no"
7204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7206 ac_res
=`eval echo '${'$as_ac_Header'}'`
7207 { echo "$as_me:$LINENO: result: $ac_res" >&5
7208 echo "${ECHO_T}$ac_res" >&6; }
7209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7210 cat >>confdefs.h
<<_ACEOF
7211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7220 for ac_header
in netinet
/tcp_var.h
7222 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7225 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7226 echo $ECHO_N "(cached) $ECHO_C" >&6
7228 cat >conftest.
$ac_ext <<_ACEOF
7231 cat confdefs.h
>>conftest.
$ac_ext
7232 cat >>conftest.
$ac_ext <<_ACEOF
7233 /* end confdefs.h. */
7234 #include <sys/types.h>
7235 #if HAVE_SYS_SOCKET_H
7236 # include <sys/socket.h>
7238 #if HAVE_SYS_SOCKETVAR_H
7239 # include <sys/socketvar.h>
7241 #if HAVE_NETINET_IN_H
7242 # include <netinet/in.h>
7244 #ifdef HAVE_NETINET_TCP_H
7245 # include <netinet/tcp.h>
7248 #include <$ac_header>
7250 rm -f conftest.
$ac_objext
7251 if { (ac_try
="$ac_compile"
7253 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7254 *) ac_try_echo=$ac_try;;
7256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7257 (eval "$ac_compile") 2>conftest.er1
7259 grep -v '^ *+' conftest.er1 >conftest.err
7261 cat conftest.err >&5
7262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7263 (exit $ac_status); } && {
7264 test -z "$ac_c_werror_flag" ||
7265 test ! -s conftest.err
7266 } && test -s conftest.$ac_objext; then
7267 eval "$as_ac_Header=yes"
7269 echo "$as_me: failed program was:" >&5
7270 sed 's/^/| /' conftest.$ac_ext >&5
7272 eval "$as_ac_Header=no"
7275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7277 ac_res=`eval echo '${'$as_ac_Header'}'`
7278 { echo "$as_me:$LINENO: result: $ac_res" >&5
7279 echo "${ECHO_T}$ac_res" >&6; }
7280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7281 cat >>confdefs.h <<_ACEOF
7282 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7291 for ac_header in linux/ipx.h
7293 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7294 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7296 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7297 echo $ECHO_N "(cached) $ECHO_C" >&6
7299 cat >conftest.$ac_ext <<_ACEOF
7302 cat confdefs.h >>conftest.$ac_ext
7303 cat >>conftest.$ac_ext <<_ACEOF
7304 /* end confdefs.h. */
7305 #include <sys/types.h>
7306 #ifdef HAVE_ASM_TYPES_H
7307 # include <asm/types.h>
7309 #if HAVE_SYS_SOCKET_H
7310 # include <sys/socket.h>
7313 #include <$ac_header>
7315 rm -f conftest.$ac_objext
7316 if { (ac_try="$ac_compile"
7318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7319 *) ac_try_echo
=$ac_try;;
7321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7322 (eval "$ac_compile") 2>conftest.er1
7324 grep -v '^ *+' conftest.er1
>conftest.err
7326 cat conftest.err
>&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); } && {
7329 test -z "$ac_c_werror_flag" ||
7330 test ! -s conftest.err
7331 } && test -s conftest.
$ac_objext; then
7332 eval "$as_ac_Header=yes"
7334 echo "$as_me: failed program was:" >&5
7335 sed 's/^/| /' conftest.
$ac_ext >&5
7337 eval "$as_ac_Header=no"
7340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7342 ac_res
=`eval echo '${'$as_ac_Header'}'`
7343 { echo "$as_me:$LINENO: result: $ac_res" >&5
7344 echo "${ECHO_T}$ac_res" >&6; }
7345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7346 cat >>confdefs.h
<<_ACEOF
7347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7356 for ac_header
in resolv.h
7358 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7359 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7361 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7362 echo $ECHO_N "(cached) $ECHO_C" >&6
7364 cat >conftest.
$ac_ext <<_ACEOF
7367 cat confdefs.h
>>conftest.
$ac_ext
7368 cat >>conftest.
$ac_ext <<_ACEOF
7369 /* end confdefs.h. */
7370 #include <sys/types.h>
7371 #if HAVE_SYS_SOCKET_H
7372 # include <sys/socket.h>
7374 #if HAVE_NETINET_IN_H
7375 # include <netinet/in.h>
7377 #if HAVE_ARPA_NAMESER_H
7378 # include <arpa/nameser.h>
7381 #include <$ac_header>
7383 rm -f conftest.
$ac_objext
7384 if { (ac_try
="$ac_compile"
7386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7387 *) ac_try_echo=$ac_try;;
7389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7390 (eval "$ac_compile") 2>conftest.er1
7392 grep -v '^ *+' conftest.er1 >conftest.err
7394 cat conftest.err >&5
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); } && {
7397 test -z "$ac_c_werror_flag" ||
7398 test ! -s conftest.err
7399 } && test -s conftest.$ac_objext; then
7400 eval "$as_ac_Header=yes"
7402 echo "$as_me: failed program was:" >&5
7403 sed 's/^/| /' conftest.$ac_ext >&5
7405 eval "$as_ac_Header=no"
7408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7410 ac_res=`eval echo '${'$as_ac_Header'}'`
7411 { echo "$as_me:$LINENO: result: $ac_res" >&5
7412 echo "${ECHO_T}$ac_res" >&6; }
7413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7414 cat >>confdefs.h <<_ACEOF
7415 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7424 for ac_header in ucontext.h
7426 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7427 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7429 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7430 echo $ECHO_N "(cached) $ECHO_C" >&6
7432 cat >conftest.$ac_ext <<_ACEOF
7435 cat confdefs.h >>conftest.$ac_ext
7436 cat >>conftest.$ac_ext <<_ACEOF
7437 /* end confdefs.h. */
7440 #include <$ac_header>
7442 rm -f conftest.$ac_objext
7443 if { (ac_try="$ac_compile"
7445 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7446 *) ac_try_echo
=$ac_try;;
7448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7449 (eval "$ac_compile") 2>conftest.er1
7451 grep -v '^ *+' conftest.er1
>conftest.err
7453 cat conftest.err
>&5
7454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); } && {
7456 test -z "$ac_c_werror_flag" ||
7457 test ! -s conftest.err
7458 } && test -s conftest.
$ac_objext; then
7459 eval "$as_ac_Header=yes"
7461 echo "$as_me: failed program was:" >&5
7462 sed 's/^/| /' conftest.
$ac_ext >&5
7464 eval "$as_ac_Header=no"
7467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7469 ac_res
=`eval echo '${'$as_ac_Header'}'`
7470 { echo "$as_me:$LINENO: result: $ac_res" >&5
7471 echo "${ECHO_T}$ac_res" >&6; }
7472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7473 cat >>confdefs.h
<<_ACEOF
7474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7483 for ac_header
in sys
/thr.h
7485 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7486 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7488 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7489 echo $ECHO_N "(cached) $ECHO_C" >&6
7491 cat >conftest.
$ac_ext <<_ACEOF
7494 cat confdefs.h
>>conftest.
$ac_ext
7495 cat >>conftest.
$ac_ext <<_ACEOF
7496 /* end confdefs.h. */
7497 #include <sys/types.h>
7499 #include <ucontext.h>
7502 #include <$ac_header>
7504 rm -f conftest.
$ac_objext
7505 if { (ac_try
="$ac_compile"
7507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7508 *) ac_try_echo=$ac_try;;
7510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7511 (eval "$ac_compile") 2>conftest.er1
7513 grep -v '^ *+' conftest.er1 >conftest.err
7515 cat conftest.err >&5
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); } && {
7518 test -z "$ac_c_werror_flag" ||
7519 test ! -s conftest.err
7520 } && test -s conftest.$ac_objext; then
7521 eval "$as_ac_Header=yes"
7523 echo "$as_me: failed program was:" >&5
7524 sed 's/^/| /' conftest.$ac_ext >&5
7526 eval "$as_ac_Header=no"
7529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7531 ac_res=`eval echo '${'$as_ac_Header'}'`
7532 { echo "$as_me:$LINENO: result: $ac_res" >&5
7533 echo "${ECHO_T}$ac_res" >&6; }
7534 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7535 cat >>confdefs.h <<_ACEOF
7536 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7545 for ac_header in pthread_np.h
7547 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7551 echo $ECHO_N "(cached) $ECHO_C" >&6
7553 cat >conftest.$ac_ext <<_ACEOF
7556 cat confdefs.h >>conftest.$ac_ext
7557 cat >>conftest.$ac_ext <<_ACEOF
7558 /* end confdefs.h. */
7559 #ifdef HAVE_PTHREAD_H
7560 #include <pthread.h>
7563 #include <$ac_header>
7565 rm -f conftest.$ac_objext
7566 if { (ac_try="$ac_compile"
7568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7569 *) ac_try_echo
=$ac_try;;
7571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7572 (eval "$ac_compile") 2>conftest.er1
7574 grep -v '^ *+' conftest.er1
>conftest.err
7576 cat conftest.err
>&5
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); } && {
7579 test -z "$ac_c_werror_flag" ||
7580 test ! -s conftest.err
7581 } && test -s conftest.
$ac_objext; then
7582 eval "$as_ac_Header=yes"
7584 echo "$as_me: failed program was:" >&5
7585 sed 's/^/| /' conftest.
$ac_ext >&5
7587 eval "$as_ac_Header=no"
7590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7592 ac_res
=`eval echo '${'$as_ac_Header'}'`
7593 { echo "$as_me:$LINENO: result: $ac_res" >&5
7594 echo "${ECHO_T}$ac_res" >&6; }
7595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7596 cat >>confdefs.h
<<_ACEOF
7597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7606 for ac_header
in linux
/videodev.h
7608 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7611 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7612 echo $ECHO_N "(cached) $ECHO_C" >&6
7614 cat >conftest.
$ac_ext <<_ACEOF
7617 cat confdefs.h
>>conftest.
$ac_ext
7618 cat >>conftest.
$ac_ext <<_ACEOF
7619 /* end confdefs.h. */
7620 #ifdef HAVE_SYS_TIME_H
7621 #include <sys/time.h>
7623 #include <sys/types.h>
7624 #ifdef HAVE_ASM_TYPES_H
7625 #include <asm/types.h>
7628 #include <$ac_header>
7630 rm -f conftest.
$ac_objext
7631 if { (ac_try
="$ac_compile"
7633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7634 *) ac_try_echo=$ac_try;;
7636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7637 (eval "$ac_compile") 2>conftest.er1
7639 grep -v '^ *+' conftest.er1 >conftest.err
7641 cat conftest.err >&5
7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7643 (exit $ac_status); } && {
7644 test -z "$ac_c_werror_flag" ||
7645 test ! -s conftest.err
7646 } && test -s conftest.$ac_objext; then
7647 eval "$as_ac_Header=yes"
7649 echo "$as_me: failed program was:" >&5
7650 sed 's/^/| /' conftest.$ac_ext >&5
7652 eval "$as_ac_Header=no"
7655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7657 ac_res=`eval echo '${'$as_ac_Header'}'`
7658 { echo "$as_me:$LINENO: result: $ac_res" >&5
7659 echo "${ECHO_T}$ac_res" >&6; }
7660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7661 cat >>confdefs.h <<_ACEOF
7662 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7671 for ac_header in linux/capi.h
7673 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7674 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7676 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7677 echo $ECHO_N "(cached) $ECHO_C" >&6
7679 cat >conftest.$ac_ext <<_ACEOF
7682 cat confdefs.h >>conftest.$ac_ext
7683 cat >>conftest.$ac_ext <<_ACEOF
7684 /* end confdefs.h. */
7687 #include <$ac_header>
7689 rm -f conftest.$ac_objext
7690 if { (ac_try="$ac_compile"
7692 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7693 *) ac_try_echo
=$ac_try;;
7695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7696 (eval "$ac_compile") 2>conftest.er1
7698 grep -v '^ *+' conftest.er1
>conftest.err
7700 cat conftest.err
>&5
7701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702 (exit $ac_status); } && {
7703 test -z "$ac_c_werror_flag" ||
7704 test ! -s conftest.err
7705 } && test -s conftest.
$ac_objext; then
7706 eval "$as_ac_Header=yes"
7708 echo "$as_me: failed program was:" >&5
7709 sed 's/^/| /' conftest.
$ac_ext >&5
7711 eval "$as_ac_Header=no"
7714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7716 ac_res
=`eval echo '${'$as_ac_Header'}'`
7717 { echo "$as_me:$LINENO: result: $ac_res" >&5
7718 echo "${ECHO_T}$ac_res" >&6; }
7719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7720 cat >>confdefs.h
<<_ACEOF
7721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7732 DLLFLAGS
="-D_REENTRANT"
7746 # Extract the first word of "ldd", so it can be a program name with args.
7747 set dummy ldd
; ac_word
=$2
7748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7750 if test "${ac_cv_path_LDD+set}" = set; then
7751 echo $ECHO_N "(cached) $ECHO_C" >&6
7755 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7759 as_dummy
="/sbin:/usr/sbin:$PATH"
7760 for as_dir
in $as_dummy
7763 test -z "$as_dir" && as_dir
=.
7764 for ac_exec_ext
in '' $ac_executable_extensions; do
7765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7766 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7774 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7779 if test -n "$LDD"; then
7780 { echo "$as_me:$LINENO: result: $LDD" >&5
7781 echo "${ECHO_T}$LDD" >&6; }
7783 { echo "$as_me:$LINENO: result: no" >&5
7784 echo "${ECHO_T}no" >&6; }
7791 if test -n "$ac_tool_prefix"; then
7792 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7793 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7796 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7797 echo $ECHO_N "(cached) $ECHO_C" >&6
7799 if test -n "$DLLTOOL"; then
7800 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7806 test -z "$as_dir" && as_dir
=.
7807 for ac_exec_ext
in '' $ac_executable_extensions; do
7808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7809 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7819 DLLTOOL
=$ac_cv_prog_DLLTOOL
7820 if test -n "$DLLTOOL"; then
7821 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7822 echo "${ECHO_T}$DLLTOOL" >&6; }
7824 { echo "$as_me:$LINENO: result: no" >&5
7825 echo "${ECHO_T}no" >&6; }
7830 if test -z "$ac_cv_prog_DLLTOOL"; then
7831 ac_ct_DLLTOOL
=$DLLTOOL
7832 # Extract the first word of "dlltool", so it can be a program name with args.
7833 set dummy dlltool
; ac_word
=$2
7834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7836 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7837 echo $ECHO_N "(cached) $ECHO_C" >&6
7839 if test -n "$ac_ct_DLLTOOL"; then
7840 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7846 test -z "$as_dir" && as_dir
=.
7847 for ac_exec_ext
in '' $ac_executable_extensions; do
7848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7849 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7859 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7860 if test -n "$ac_ct_DLLTOOL"; then
7861 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7862 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7864 { echo "$as_me:$LINENO: result: no" >&5
7865 echo "${ECHO_T}no" >&6; }
7868 if test "x$ac_ct_DLLTOOL" = x
; then
7871 case $cross_compiling:$ac_tool_warned in
7873 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7874 whose name does not start with the host triplet. If you think this
7875 configuration is useful to you, please write to autoconf@gnu.org." >&5
7876 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7877 whose name does not start with the host triplet. If you think this
7878 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7879 ac_tool_warned
=yes ;;
7881 DLLTOOL
=$ac_ct_DLLTOOL
7884 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7887 if test -n "$ac_tool_prefix"; then
7888 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7889 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
7890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7892 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7893 echo $ECHO_N "(cached) $ECHO_C" >&6
7895 if test -n "$DLLWRAP"; then
7896 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
7898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7902 test -z "$as_dir" && as_dir
=.
7903 for ac_exec_ext
in '' $ac_executable_extensions; do
7904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7905 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
7906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7915 DLLWRAP
=$ac_cv_prog_DLLWRAP
7916 if test -n "$DLLWRAP"; then
7917 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7918 echo "${ECHO_T}$DLLWRAP" >&6; }
7920 { echo "$as_me:$LINENO: result: no" >&5
7921 echo "${ECHO_T}no" >&6; }
7926 if test -z "$ac_cv_prog_DLLWRAP"; then
7927 ac_ct_DLLWRAP
=$DLLWRAP
7928 # Extract the first word of "dllwrap", so it can be a program name with args.
7929 set dummy dllwrap
; ac_word
=$2
7930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7932 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7933 echo $ECHO_N "(cached) $ECHO_C" >&6
7935 if test -n "$ac_ct_DLLWRAP"; then
7936 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
7938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7942 test -z "$as_dir" && as_dir
=.
7943 for ac_exec_ext
in '' $ac_executable_extensions; do
7944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7945 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
7946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7955 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
7956 if test -n "$ac_ct_DLLWRAP"; then
7957 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7958 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7960 { echo "$as_me:$LINENO: result: no" >&5
7961 echo "${ECHO_T}no" >&6; }
7964 if test "x$ac_ct_DLLWRAP" = x
; then
7967 case $cross_compiling:$ac_tool_warned in
7969 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7970 whose name does not start with the host triplet. If you think this
7971 configuration is useful to you, please write to autoconf@gnu.org." >&5
7972 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7973 whose name does not start with the host triplet. If you think this
7974 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7975 ac_tool_warned
=yes ;;
7977 DLLWRAP
=$ac_ct_DLLWRAP
7980 DLLWRAP
="$ac_cv_prog_DLLWRAP"
7983 if test -n "$ac_tool_prefix"; then
7984 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7985 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7988 if test "${ac_cv_prog_MINGWAR+set}" = set; then
7989 echo $ECHO_N "(cached) $ECHO_C" >&6
7991 if test -n "$MINGWAR"; then
7992 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
7994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7998 test -z "$as_dir" && as_dir
=.
7999 for ac_exec_ext
in '' $ac_executable_extensions; do
8000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8001 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8011 MINGWAR
=$ac_cv_prog_MINGWAR
8012 if test -n "$MINGWAR"; then
8013 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8014 echo "${ECHO_T}$MINGWAR" >&6; }
8016 { echo "$as_me:$LINENO: result: no" >&5
8017 echo "${ECHO_T}no" >&6; }
8022 if test -z "$ac_cv_prog_MINGWAR"; then
8023 ac_ct_MINGWAR
=$MINGWAR
8024 # Extract the first word of "ar", so it can be a program name with args.
8025 set dummy
ar; ac_word
=$2
8026 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8028 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8029 echo $ECHO_N "(cached) $ECHO_C" >&6
8031 if test -n "$ac_ct_MINGWAR"; then
8032 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8038 test -z "$as_dir" && as_dir
=.
8039 for ac_exec_ext
in '' $ac_executable_extensions; do
8040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8041 ac_cv_prog_ac_ct_MINGWAR
="ar"
8042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8051 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8052 if test -n "$ac_ct_MINGWAR"; then
8053 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8054 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8056 { echo "$as_me:$LINENO: result: no" >&5
8057 echo "${ECHO_T}no" >&6; }
8060 if test "x$ac_ct_MINGWAR" = x
; then
8063 case $cross_compiling:$ac_tool_warned in
8065 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8066 whose name does not start with the host triplet. If you think this
8067 configuration is useful to you, please write to autoconf@gnu.org." >&5
8068 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8069 whose name does not start with the host triplet. If you think this
8070 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8071 ac_tool_warned
=yes ;;
8073 MINGWAR
=$ac_ct_MINGWAR
8076 MINGWAR
="$ac_cv_prog_MINGWAR"
8079 if test "$DLLWRAP" = "false"; then
8091 DLLFLAGS
="$DLLFLAGS -fPIC"
8092 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8093 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8094 LDSHARED
="\$(CC) -dynamiclib"
8096 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8097 SECURITYLIB
="-framework Security -framework CoreFoundation"
8099 COREFOUNDATIONLIB
="-framework CoreFoundation"
8101 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8103 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8105 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8107 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8110 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8112 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8117 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8119 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8121 CARBONLIB
="-framework Carbon"
8123 QUARTZFILES
='$(QUARTZFILES)'
8127 DLLFLAGS
="$DLLFLAGS -fPIC"
8129 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8130 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8131 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8132 echo $ECHO_N "(cached) $ECHO_C" >&6
8134 ac_wine_try_cflags_saved
=$CFLAGS
8135 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8136 cat >conftest.
$ac_ext <<_ACEOF
8139 rm -f conftest.
$ac_objext conftest
$ac_exeext
8140 if { (ac_try
="$ac_link"
8142 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8143 *) ac_try_echo=$ac_try;;
8145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8146 (eval "$ac_link") 2>conftest.er1
8148 grep -v '^ *+' conftest.er1 >conftest.err
8150 cat conftest.err >&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); } && {
8153 test -z "$ac_c_werror_flag" ||
8154 test ! -s conftest.err
8155 } && test -s conftest$ac_exeext &&
8156 $as_test_x conftest$ac_exeext; then
8157 ac_cv_c_dll_gnuelf="yes"
8159 echo "$as_me: failed program was:" >&5
8160 sed 's/^/| /' conftest.$ac_ext >&5
8162 ac_cv_c_dll_gnuelf="no"
8165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8166 conftest$ac_exeext conftest.$ac_ext
8167 CFLAGS=$ac_wine_try_cflags_saved
8169 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8170 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8171 if test "$ac_cv_c_dll_gnuelf" = "yes"
8173 LDSHARED="\$(CC) -shared"
8174 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8175 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8176 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8177 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8178 echo $ECHO_N "(cached) $ECHO_C" >&6
8180 ac_wine_try_cflags_saved=$CFLAGS
8181 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8182 cat >conftest.$ac_ext <<_ACEOF
8185 cat confdefs.h >>conftest.$ac_ext
8186 cat >>conftest.$ac_ext <<_ACEOF
8187 /* end confdefs.h. */
8197 rm -f conftest.$ac_objext conftest$ac_exeext
8198 if { (ac_try="$ac_link"
8200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8201 *) ac_try_echo
=$ac_try;;
8203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8204 (eval "$ac_link") 2>conftest.er1
8206 grep -v '^ *+' conftest.er1
>conftest.err
8208 cat conftest.err
>&5
8209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8210 (exit $ac_status); } && {
8211 test -z "$ac_c_werror_flag" ||
8212 test ! -s conftest.err
8213 } && test -s conftest
$ac_exeext &&
8214 $as_test_x conftest
$ac_exeext; then
8215 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8217 echo "$as_me: failed program was:" >&5
8218 sed 's/^/| /' conftest.
$ac_ext >&5
8220 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8223 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8224 conftest
$ac_exeext conftest.
$ac_ext
8225 CFLAGS
=$ac_wine_try_cflags_saved
8227 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8228 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8229 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8230 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8232 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8233 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8234 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8235 echo $ECHO_N "(cached) $ECHO_C" >&6
8237 ac_wine_try_cflags_saved
=$CFLAGS
8238 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8239 cat >conftest.
$ac_ext <<_ACEOF
8242 cat confdefs.h
>>conftest.
$ac_ext
8243 cat >>conftest.
$ac_ext <<_ACEOF
8244 /* end confdefs.h. */
8254 rm -f conftest.
$ac_objext conftest
$ac_exeext
8255 if { (ac_try
="$ac_link"
8257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8258 *) ac_try_echo=$ac_try;;
8260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8261 (eval "$ac_link") 2>conftest.er1
8263 grep -v '^ *+' conftest.er1 >conftest.err
8265 cat conftest.err >&5
8266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8267 (exit $ac_status); } && {
8268 test -z "$ac_c_werror_flag" ||
8269 test ! -s conftest.err
8270 } && test -s conftest$ac_exeext &&
8271 $as_test_x conftest$ac_exeext; then
8272 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8274 echo "$as_me: failed program was:" >&5
8275 sed 's/^/| /' conftest.$ac_ext >&5
8277 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8281 conftest$ac_exeext conftest.$ac_ext
8282 CFLAGS=$ac_wine_try_cflags_saved
8284 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8285 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8286 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8287 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8293 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8294 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8295 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8296 echo $ECHO_N "(cached) $ECHO_C" >&6
8298 ac_wine_try_cflags_saved=$CFLAGS
8299 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8300 cat >conftest.$ac_ext <<_ACEOF
8303 cat confdefs.h >>conftest.$ac_ext
8304 cat >>conftest.$ac_ext <<_ACEOF
8305 /* end confdefs.h. */
8315 rm -f conftest.$ac_objext conftest$ac_exeext
8316 if { (ac_try="$ac_link"
8318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8319 *) ac_try_echo
=$ac_try;;
8321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8322 (eval "$ac_link") 2>conftest.er1
8324 grep -v '^ *+' conftest.er1
>conftest.err
8326 cat conftest.err
>&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); } && {
8329 test -z "$ac_c_werror_flag" ||
8330 test ! -s conftest.err
8331 } && test -s conftest
$ac_exeext &&
8332 $as_test_x conftest
$ac_exeext; then
8333 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8335 echo "$as_me: failed program was:" >&5
8336 sed 's/^/| /' conftest.
$ac_ext >&5
8338 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8341 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8342 conftest
$ac_exeext conftest.
$ac_ext
8343 CFLAGS
=$ac_wine_try_cflags_saved
8345 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8346 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8347 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8348 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8352 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8353 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8354 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8355 echo $ECHO_N "(cached) $ECHO_C" >&6
8357 ac_wine_try_cflags_saved
=$CFLAGS
8358 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8359 cat >conftest.
$ac_ext <<_ACEOF
8362 cat confdefs.h
>>conftest.
$ac_ext
8363 cat >>conftest.
$ac_ext <<_ACEOF
8364 /* end confdefs.h. */
8374 rm -f conftest.
$ac_objext conftest
$ac_exeext
8375 if { (ac_try
="$ac_link"
8377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8378 *) ac_try_echo=$ac_try;;
8380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8381 (eval "$ac_link") 2>conftest.er1
8383 grep -v '^ *+' conftest.er1 >conftest.err
8385 cat conftest.err >&5
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 (exit $ac_status); } && {
8388 test -z "$ac_c_werror_flag" ||
8389 test ! -s conftest.err
8390 } && test -s conftest$ac_exeext &&
8391 $as_test_x conftest$ac_exeext; then
8392 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8394 echo "$as_me: failed program was:" >&5
8395 sed 's/^/| /' conftest.$ac_ext >&5
8397 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8401 conftest$ac_exeext conftest.$ac_ext
8402 CFLAGS=$ac_wine_try_cflags_saved
8404 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8405 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8406 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8407 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8411 echo '{ global: *; };' >conftest.map
8412 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8413 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8414 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8415 echo $ECHO_N "(cached) $ECHO_C" >&6
8417 ac_wine_try_cflags_saved=$CFLAGS
8418 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8419 cat >conftest.$ac_ext <<_ACEOF
8422 cat confdefs.h >>conftest.$ac_ext
8423 cat >>conftest.$ac_ext <<_ACEOF
8424 /* end confdefs.h. */
8434 rm -f conftest.$ac_objext conftest$ac_exeext
8435 if { (ac_try="$ac_link"
8437 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8438 *) ac_try_echo
=$ac_try;;
8440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8441 (eval "$ac_link") 2>conftest.er1
8443 grep -v '^ *+' conftest.er1
>conftest.err
8445 cat conftest.err
>&5
8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447 (exit $ac_status); } && {
8448 test -z "$ac_c_werror_flag" ||
8449 test ! -s conftest.err
8450 } && test -s conftest
$ac_exeext &&
8451 $as_test_x conftest
$ac_exeext; then
8452 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8454 echo "$as_me: failed program was:" >&5
8455 sed 's/^/| /' conftest.
$ac_ext >&5
8457 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8460 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8461 conftest
$ac_exeext conftest.
$ac_ext
8462 CFLAGS
=$ac_wine_try_cflags_saved
8464 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8465 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8466 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8467 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8472 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8473 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8474 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8475 echo $ECHO_N "(cached) $ECHO_C" >&6
8477 ac_wine_try_cflags_saved
=$CFLAGS
8478 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8479 cat >conftest.
$ac_ext <<_ACEOF
8482 cat confdefs.h
>>conftest.
$ac_ext
8483 cat >>conftest.
$ac_ext <<_ACEOF
8484 /* end confdefs.h. */
8494 rm -f conftest.
$ac_objext conftest
$ac_exeext
8495 if { (ac_try
="$ac_link"
8497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8498 *) ac_try_echo=$ac_try;;
8500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8501 (eval "$ac_link") 2>conftest.er1
8503 grep -v '^ *+' conftest.er1 >conftest.err
8505 cat conftest.err >&5
8506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 (exit $ac_status); } && {
8508 test -z "$ac_c_werror_flag" ||
8509 test ! -s conftest.err
8510 } && test -s conftest$ac_exeext &&
8511 $as_test_x conftest$ac_exeext; then
8512 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8514 echo "$as_me: failed program was:" >&5
8515 sed 's/^/| /' conftest.$ac_ext >&5
8517 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8521 conftest$ac_exeext conftest.$ac_ext
8522 CFLAGS=$ac_wine_try_cflags_saved
8524 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8525 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8526 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8527 LDEXECFLAGS="-Wl,--export-dynamic"
8532 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
8533 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8534 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8535 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8536 echo $ECHO_N "(cached) $ECHO_C" >&6
8538 ac_wine_try_cflags_saved=$CFLAGS
8539 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8540 cat >conftest.$ac_ext <<_ACEOF
8543 cat confdefs.h >>conftest.$ac_ext
8544 cat >>conftest.$ac_ext <<_ACEOF
8545 /* end confdefs.h. */
8555 rm -f conftest.$ac_objext conftest$ac_exeext
8556 if { (ac_try="$ac_link"
8558 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8559 *) ac_try_echo
=$ac_try;;
8561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8562 (eval "$ac_link") 2>conftest.er1
8564 grep -v '^ *+' conftest.er1
>conftest.err
8566 cat conftest.err
>&5
8567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568 (exit $ac_status); } && {
8569 test -z "$ac_c_werror_flag" ||
8570 test ! -s conftest.err
8571 } && test -s conftest
$ac_exeext &&
8572 $as_test_x conftest
$ac_exeext; then
8573 eval "$as_ac_var=yes"
8575 echo "$as_me: failed program was:" >&5
8576 sed 's/^/| /' conftest.
$ac_ext >&5
8578 eval "$as_ac_var=no"
8581 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8582 conftest
$ac_exeext conftest.
$ac_ext
8583 CFLAGS
=$ac_wine_try_cflags_saved
8585 ac_res
=`eval echo '${'$as_ac_var'}'`
8586 { echo "$as_me:$LINENO: result: $ac_res" >&5
8587 echo "${ECHO_T}$ac_res" >&6; }
8588 if test `eval echo '${'$as_ac_var'}'` = yes; then
8589 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8590 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8592 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8593 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8594 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8595 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8596 echo $ECHO_N "(cached) $ECHO_C" >&6
8598 ac_wine_try_cflags_saved
=$CFLAGS
8599 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8600 cat >conftest.
$ac_ext <<_ACEOF
8603 cat confdefs.h
>>conftest.
$ac_ext
8604 cat >>conftest.
$ac_ext <<_ACEOF
8605 /* end confdefs.h. */
8615 rm -f conftest.
$ac_objext conftest
$ac_exeext
8616 if { (ac_try
="$ac_link"
8618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8619 *) ac_try_echo=$ac_try;;
8621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8622 (eval "$ac_link") 2>conftest.er1
8624 grep -v '^ *+' conftest.er1 >conftest.err
8626 cat conftest.err >&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); } && {
8629 test -z "$ac_c_werror_flag" ||
8630 test ! -s conftest.err
8631 } && test -s conftest$ac_exeext &&
8632 $as_test_x conftest$ac_exeext; then
8633 eval "$as_ac_var=yes"
8635 echo "$as_me: failed program was:" >&5
8636 sed 's/^/| /' conftest.$ac_ext >&5
8638 eval "$as_ac_var=no"
8641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8642 conftest$ac_exeext conftest.$ac_ext
8643 CFLAGS=$ac_wine_try_cflags_saved
8645 ac_res=`eval echo '${'$as_ac_var'}'`
8646 { echo "$as_me:$LINENO: result: $ac_res" >&5
8647 echo "${ECHO_T}$ac_res" >&6; }
8648 if test `eval echo '${'$as_ac_var'}'` = yes; then
8649 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
8650 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8656 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8657 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8658 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8659 echo $ECHO_N "(cached) $ECHO_C" >&6
8661 ac_wine_try_cflags_saved=$CFLAGS
8662 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8663 cat >conftest.$ac_ext <<_ACEOF
8666 cat confdefs.h >>conftest.$ac_ext
8667 cat >>conftest.$ac_ext <<_ACEOF
8668 /* end confdefs.h. */
8678 rm -f conftest.$ac_objext conftest$ac_exeext
8679 if { (ac_try="$ac_link"
8681 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8682 *) ac_try_echo
=$ac_try;;
8684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8685 (eval "$ac_link") 2>conftest.er1
8687 grep -v '^ *+' conftest.er1
>conftest.err
8689 cat conftest.err
>&5
8690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691 (exit $ac_status); } && {
8692 test -z "$ac_c_werror_flag" ||
8693 test ! -s conftest.err
8694 } && test -s conftest
$ac_exeext &&
8695 $as_test_x conftest
$ac_exeext; then
8696 ac_cv_cflags__Wl___enable_new_dtags
=yes
8698 echo "$as_me: failed program was:" >&5
8699 sed 's/^/| /' conftest.
$ac_ext >&5
8701 ac_cv_cflags__Wl___enable_new_dtags
=no
8704 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8705 conftest
$ac_exeext conftest.
$ac_ext
8706 CFLAGS
=$ac_wine_try_cflags_saved
8708 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8709 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8710 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8711 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8716 *i
[3456789]86* | x86_64
)
8717 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8718 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8719 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8720 echo $ECHO_N "(cached) $ECHO_C" >&6
8722 ac_wine_try_cflags_saved
=$CFLAGS
8723 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8724 cat >conftest.
$ac_ext <<_ACEOF
8727 cat confdefs.h
>>conftest.
$ac_ext
8728 cat >>conftest.
$ac_ext <<_ACEOF
8729 /* end confdefs.h. */
8739 rm -f conftest.
$ac_objext conftest
$ac_exeext
8740 if { (ac_try
="$ac_link"
8742 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8743 *) ac_try_echo=$ac_try;;
8745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8746 (eval "$ac_link") 2>conftest.er1
8748 grep -v '^ *+' conftest.er1 >conftest.err
8750 cat conftest.err >&5
8751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752 (exit $ac_status); } && {
8753 test -z "$ac_c_werror_flag" ||
8754 test ! -s conftest.err
8755 } && test -s conftest$ac_exeext &&
8756 $as_test_x conftest$ac_exeext; then
8757 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8759 echo "$as_me: failed program was:" >&5
8760 sed 's/^/| /' conftest.$ac_ext >&5
8762 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8766 conftest$ac_exeext conftest.$ac_ext
8767 CFLAGS=$ac_wine_try_cflags_saved
8769 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8770 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8771 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8772 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8779 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8780 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8781 if test "${ac_cv_c_dll_unixware+set}" = set; then
8782 echo $ECHO_N "(cached) $ECHO_C" >&6
8784 ac_wine_try_cflags_saved=$CFLAGS
8785 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8786 cat >conftest.$ac_ext <<_ACEOF
8789 rm -f conftest.$ac_objext conftest$ac_exeext
8790 if { (ac_try="$ac_link"
8792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8793 *) ac_try_echo
=$ac_try;;
8795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8796 (eval "$ac_link") 2>conftest.er1
8798 grep -v '^ *+' conftest.er1
>conftest.err
8800 cat conftest.err
>&5
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); } && {
8803 test -z "$ac_c_werror_flag" ||
8804 test ! -s conftest.err
8805 } && test -s conftest
$ac_exeext &&
8806 $as_test_x conftest
$ac_exeext; then
8807 ac_cv_c_dll_unixware
="yes"
8809 echo "$as_me: failed program was:" >&5
8810 sed 's/^/| /' conftest.
$ac_ext >&5
8812 ac_cv_c_dll_unixware
="no"
8815 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8816 conftest
$ac_exeext conftest.
$ac_ext
8817 CFLAGS
=$ac_wine_try_cflags_saved
8819 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8820 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8821 if test "$ac_cv_c_dll_unixware" = "yes"
8823 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8824 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
8827 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8828 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8829 if test "${ac_cv_c_dll_hpux+set}" = set; then
8830 echo $ECHO_N "(cached) $ECHO_C" >&6
8832 ac_wine_try_cflags_saved
=$CFLAGS
8833 CFLAGS
="$CFLAGS -shared"
8834 cat >conftest.
$ac_ext <<_ACEOF
8837 rm -f conftest.
$ac_objext conftest
$ac_exeext
8838 if { (ac_try
="$ac_link"
8840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8841 *) ac_try_echo=$ac_try;;
8843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8844 (eval "$ac_link") 2>conftest.er1
8846 grep -v '^ *+' conftest.er1 >conftest.err
8848 cat conftest.err >&5
8849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8850 (exit $ac_status); } && {
8851 test -z "$ac_c_werror_flag" ||
8852 test ! -s conftest.err
8853 } && test -s conftest$ac_exeext &&
8854 $as_test_x conftest$ac_exeext; then
8855 ac_cv_c_dll_hpux="yes"
8857 echo "$as_me: failed program was:" >&5
8858 sed 's/^/| /' conftest.$ac_ext >&5
8860 ac_cv_c_dll_hpux="no"
8863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8864 conftest$ac_exeext conftest.$ac_ext
8865 CFLAGS=$ac_wine_try_cflags_saved
8867 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8868 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8869 if test "$ac_cv_c_dll_hpux" = "yes"
8873 LDDLLFLAGS="-shared -fPIC"
8874 LDSHARED="\$(CC) -shared"
8881 if test "$cross_compiling" = "no"
8883 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8885 # Extract the first word of "$ac_prog", so it can be a program name with args.
8886 set dummy $ac_prog; ac_word=$2
8887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8889 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8890 echo $ECHO_N "(cached) $ECHO_C" >&6
8892 if test -n "$CROSSCC"; then
8893 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8899 test -z "$as_dir" && as_dir=.
8900 for ac_exec_ext in '' $ac_executable_extensions; do
8901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8902 ac_cv_prog_CROSSCC="$ac_prog"
8903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8912 CROSSCC=$ac_cv_prog_CROSSCC
8913 if test -n "$CROSSCC"; then
8914 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8915 echo "${ECHO_T}$CROSSCC" >&6; }
8917 { echo "$as_me:$LINENO: result: no" >&5
8918 echo "${ECHO_T}no" >&6; }
8922 test -n "$CROSSCC" && break
8924 test -n "$CROSSCC" || CROSSCC="false"
8926 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8928 # Extract the first word of "$ac_prog", so it can be a program name with args.
8929 set dummy $ac_prog; ac_word=$2
8930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8932 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8933 echo $ECHO_N "(cached) $ECHO_C" >&6
8935 if test -n "$DLLTOOL"; then
8936 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8942 test -z "$as_dir" && as_dir=.
8943 for ac_exec_ext in '' $ac_executable_extensions; do
8944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8945 ac_cv_prog_DLLTOOL="$ac_prog"
8946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8955 DLLTOOL=$ac_cv_prog_DLLTOOL
8956 if test -n "$DLLTOOL"; then
8957 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8958 echo "${ECHO_T}$DLLTOOL" >&6; }
8960 { echo "$as_me:$LINENO: result: no" >&5
8961 echo "${ECHO_T}no" >&6; }
8965 test -n "$DLLTOOL" && break
8967 test -n "$DLLTOOL" || DLLTOOL="false"
8969 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
8971 # Extract the first word of "$ac_prog", so it can be a program name with args.
8972 set dummy $ac_prog; ac_word=$2
8973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8975 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8976 echo $ECHO_N "(cached) $ECHO_C" >&6
8978 if test -n "$CROSSWINDRES"; then
8979 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8985 test -z "$as_dir" && as_dir=.
8986 for ac_exec_ext in '' $ac_executable_extensions; do
8987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8988 ac_cv_prog_CROSSWINDRES="$ac_prog"
8989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8998 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
8999 if test -n "$CROSSWINDRES"; then
9000 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9001 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9003 { echo "$as_me:$LINENO: result: no" >&5
9004 echo "${ECHO_T}no" >&6; }
9008 test -n "$CROSSWINDRES" && break
9010 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9012 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9014 # Extract the first word of "$ac_prog", so it can be a program name with args.
9015 set dummy $ac_prog; ac_word=$2
9016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9018 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9019 echo $ECHO_N "(cached) $ECHO_C" >&6
9021 if test -n "$MINGWAR"; then
9022 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9028 test -z "$as_dir" && as_dir=.
9029 for ac_exec_ext in '' $ac_executable_extensions; do
9030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9031 ac_cv_prog_MINGWAR="$ac_prog"
9032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9041 MINGWAR=$ac_cv_prog_MINGWAR
9042 if test -n "$MINGWAR"; then
9043 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9044 echo "${ECHO_T}$MINGWAR" >&6; }
9046 { echo "$as_me:$LINENO: result: no" >&5
9047 echo "${ECHO_T}no" >&6; }
9051 test -n "$MINGWAR" && break
9053 test -n "$MINGWAR" || MINGWAR="false"
9055 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9060 if test "$LIBEXT" = "a"; then
9061 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9062 It is currently not possible to build Wine without shared library
9063 (.so) support to allow transparent switch between .so and .dll files.
9064 If you are using Linux, you will need a newer binutils.
9066 echo "$as_me: error: could not find a way to build shared libraries.
9067 It is currently not possible to build Wine without shared library
9068 (.so) support to allow transparent switch between .so and .dll files.
9069 If you are using Linux, you will need a newer binutils.
9071 { (exit 1); exit 1; }; }
9075 if test "$have_x" = "yes"
9078 ac_save_CPPFLAGS="$CPPFLAGS"
9079 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9081 { echo "$as_me:$LINENO: checking for -lX11" >&5
9082 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9083 if test "${ac_cv_lib_soname_X11+set}" = set; then
9084 echo $ECHO_N "(cached) $ECHO_C" >&6
9086 ac_check_soname_save_LIBS=$LIBS
9087 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9088 cat >conftest.$ac_ext <<_ACEOF
9091 cat confdefs.h >>conftest.$ac_ext
9092 cat >>conftest.$ac_ext <<_ACEOF
9093 /* end confdefs.h. */
9095 /* Override any GCC internal prototype to avoid an error.
9096 Use char because int might match the return type of a GCC
9097 builtin and then its argument prototype would still apply. */
9101 char XCreateWindow ();
9105 return XCreateWindow ();
9110 rm -f conftest.$ac_objext conftest$ac_exeext
9111 if { (ac_try="$ac_link"
9113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9114 *) ac_try_echo
=$ac_try;;
9116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9117 (eval "$ac_link") 2>conftest.er1
9119 grep -v '^ *+' conftest.er1
>conftest.err
9121 cat conftest.err
>&5
9122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123 (exit $ac_status); } && {
9124 test -z "$ac_c_werror_flag" ||
9125 test ! -s conftest.err
9126 } && test -s conftest
$ac_exeext &&
9127 $as_test_x conftest
$ac_exeext; then
9130 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'` ;;
9131 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9134 echo "$as_me: failed program was:" >&5
9135 sed 's/^/| /' conftest.
$ac_ext >&5
9140 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9141 conftest
$ac_exeext conftest.
$ac_ext
9142 LIBS
=$ac_check_soname_save_LIBS
9144 if test "x$ac_cv_lib_soname_X11" = "x"; then
9145 { echo "$as_me:$LINENO: result: not found" >&5
9146 echo "${ECHO_T}not found" >&6; }
9149 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9150 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9152 cat >>confdefs.h
<<_ACEOF
9153 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9159 { echo "$as_me:$LINENO: checking for -lXext" >&5
9160 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9161 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9162 echo $ECHO_N "(cached) $ECHO_C" >&6
9164 ac_check_soname_save_LIBS
=$LIBS
9165 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9166 cat >conftest.
$ac_ext <<_ACEOF
9169 cat confdefs.h
>>conftest.
$ac_ext
9170 cat >>conftest.
$ac_ext <<_ACEOF
9171 /* end confdefs.h. */
9173 /* Override any GCC internal prototype to avoid an error.
9174 Use char because int might match the return type of a GCC
9175 builtin and then its argument prototype would still apply. */
9179 char XextCreateExtension ();
9183 return XextCreateExtension ();
9188 rm -f conftest.
$ac_objext conftest
$ac_exeext
9189 if { (ac_try
="$ac_link"
9191 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9192 *) ac_try_echo=$ac_try;;
9194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9195 (eval "$ac_link") 2>conftest.er1
9197 grep -v '^ *+' conftest.er1 >conftest.err
9199 cat conftest.err >&5
9200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9201 (exit $ac_status); } && {
9202 test -z "$ac_c_werror_flag" ||
9203 test ! -s conftest.err
9204 } && test -s conftest$ac_exeext &&
9205 $as_test_x conftest$ac_exeext; then
9208 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'` ;;
9209 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9212 echo "$as_me: failed program was:" >&5
9213 sed 's/^/| /' conftest.$ac_ext >&5
9218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9219 conftest$ac_exeext conftest.$ac_ext
9220 LIBS=$ac_check_soname_save_LIBS
9222 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9223 { echo "$as_me:$LINENO: result: not found" >&5
9224 echo "${ECHO_T}not found" >&6; }
9227 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9228 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9230 cat >>confdefs.h <<_ACEOF
9231 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9250 for ac_header in X11/Xlib.h \
9253 X11/Xcursor/Xcursor.h \
9254 X11/extensions/shape.h \
9255 X11/extensions/XInput.h \
9256 X11/extensions/XShm.h \
9257 X11/extensions/Xcomposite.h \
9258 X11/extensions/Xinerama.h \
9259 X11/extensions/Xrandr.h \
9260 X11/extensions/Xrender.h \
9261 X11/extensions/xf86vmode.h
9263 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9264 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9266 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9267 echo $ECHO_N "(cached) $ECHO_C" >&6
9269 cat >conftest.$ac_ext <<_ACEOF
9272 cat confdefs.h >>conftest.$ac_ext
9273 cat >>conftest.$ac_ext <<_ACEOF
9274 /* end confdefs.h. */
9275 #ifdef HAVE_X11_XLIB_H
9276 # include <X11/Xlib.h>
9278 #ifdef HAVE_X11_XUTIL_H
9279 # include <X11/Xutil.h>
9282 #include <$ac_header>
9284 rm -f conftest.$ac_objext
9285 if { (ac_try="$ac_compile"
9287 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9288 *) ac_try_echo
=$ac_try;;
9290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9291 (eval "$ac_compile") 2>conftest.er1
9293 grep -v '^ *+' conftest.er1
>conftest.err
9295 cat conftest.err
>&5
9296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9297 (exit $ac_status); } && {
9298 test -z "$ac_c_werror_flag" ||
9299 test ! -s conftest.err
9300 } && test -s conftest.
$ac_objext; then
9301 eval "$as_ac_Header=yes"
9303 echo "$as_me: failed program was:" >&5
9304 sed 's/^/| /' conftest.
$ac_ext >&5
9306 eval "$as_ac_Header=no"
9309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9311 ac_res
=`eval echo '${'$as_ac_Header'}'`
9312 { echo "$as_me:$LINENO: result: $ac_res" >&5
9313 echo "${ECHO_T}$ac_res" >&6; }
9314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9315 cat >>confdefs.h
<<_ACEOF
9316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9324 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9326 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9327 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9328 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9329 echo $ECHO_N "(cached) $ECHO_C" >&6
9331 ac_check_lib_save_LIBS
=$LIBS
9332 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9333 cat >conftest.
$ac_ext <<_ACEOF
9336 cat confdefs.h
>>conftest.
$ac_ext
9337 cat >>conftest.
$ac_ext <<_ACEOF
9338 /* end confdefs.h. */
9340 /* Override any GCC internal prototype to avoid an error.
9341 Use char because int might match the return type of a GCC
9342 builtin and then its argument prototype would still apply. */
9346 char XkbQueryExtension ();
9350 return XkbQueryExtension ();
9355 rm -f conftest.
$ac_objext conftest
$ac_exeext
9356 if { (ac_try
="$ac_link"
9358 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9359 *) ac_try_echo=$ac_try;;
9361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9362 (eval "$ac_link") 2>conftest.er1
9364 grep -v '^ *+' conftest.er1 >conftest.err
9366 cat conftest.err >&5
9367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368 (exit $ac_status); } && {
9369 test -z "$ac_c_werror_flag" ||
9370 test ! -s conftest.err
9371 } && test -s conftest$ac_exeext &&
9372 $as_test_x conftest$ac_exeext; then
9373 ac_cv_lib_X11_XkbQueryExtension=yes
9375 echo "$as_me: failed program was:" >&5
9376 sed 's/^/| /' conftest.$ac_ext >&5
9378 ac_cv_lib_X11_XkbQueryExtension=no
9381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9382 conftest$ac_exeext conftest.$ac_ext
9383 LIBS=$ac_check_lib_save_LIBS
9385 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9386 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9387 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9389 cat >>confdefs.h <<\_ACEOF
9397 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9399 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9400 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9401 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9402 echo $ECHO_N "(cached) $ECHO_C" >&6
9404 ac_check_soname_save_LIBS=$LIBS
9405 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9406 cat >conftest.$ac_ext <<_ACEOF
9409 cat confdefs.h >>conftest.$ac_ext
9410 cat >>conftest.$ac_ext <<_ACEOF
9411 /* end confdefs.h. */
9413 /* Override any GCC internal prototype to avoid an error.
9414 Use char because int might match the return type of a GCC
9415 builtin and then its argument prototype would still apply. */
9419 char XcursorImageLoadCursor ();
9423 return XcursorImageLoadCursor ();
9428 rm -f conftest.$ac_objext conftest$ac_exeext
9429 if { (ac_try="$ac_link"
9431 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9432 *) ac_try_echo
=$ac_try;;
9434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9435 (eval "$ac_link") 2>conftest.er1
9437 grep -v '^ *+' conftest.er1
>conftest.err
9439 cat conftest.err
>&5
9440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9441 (exit $ac_status); } && {
9442 test -z "$ac_c_werror_flag" ||
9443 test ! -s conftest.err
9444 } && test -s conftest
$ac_exeext &&
9445 $as_test_x conftest
$ac_exeext; then
9448 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'` ;;
9449 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9452 echo "$as_me: failed program was:" >&5
9453 sed 's/^/| /' conftest.
$ac_ext >&5
9458 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9459 conftest
$ac_exeext conftest.
$ac_ext
9460 LIBS
=$ac_check_soname_save_LIBS
9462 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9463 { echo "$as_me:$LINENO: result: not found" >&5
9464 echo "${ECHO_T}not found" >&6; }
9467 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9468 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9470 cat >>confdefs.h
<<_ACEOF
9471 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9479 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9481 { echo "$as_me:$LINENO: checking for -lXi" >&5
9482 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9483 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9484 echo $ECHO_N "(cached) $ECHO_C" >&6
9486 ac_check_soname_save_LIBS
=$LIBS
9487 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9488 cat >conftest.
$ac_ext <<_ACEOF
9491 cat confdefs.h
>>conftest.
$ac_ext
9492 cat >>conftest.
$ac_ext <<_ACEOF
9493 /* end confdefs.h. */
9495 /* Override any GCC internal prototype to avoid an error.
9496 Use char because int might match the return type of a GCC
9497 builtin and then its argument prototype would still apply. */
9501 char XOpenDevice ();
9505 return XOpenDevice ();
9510 rm -f conftest.
$ac_objext conftest
$ac_exeext
9511 if { (ac_try
="$ac_link"
9513 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9514 *) ac_try_echo=$ac_try;;
9516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9517 (eval "$ac_link") 2>conftest.er1
9519 grep -v '^ *+' conftest.er1 >conftest.err
9521 cat conftest.err >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); } && {
9524 test -z "$ac_c_werror_flag" ||
9525 test ! -s conftest.err
9526 } && test -s conftest$ac_exeext &&
9527 $as_test_x conftest$ac_exeext; then
9530 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'` ;;
9531 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9534 echo "$as_me: failed program was:" >&5
9535 sed 's/^/| /' conftest.$ac_ext >&5
9540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9541 conftest$ac_exeext conftest.$ac_ext
9542 LIBS=$ac_check_soname_save_LIBS
9544 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9545 { echo "$as_me:$LINENO: result: not found" >&5
9546 echo "${ECHO_T}not found" >&6; }
9549 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9550 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9552 cat >>confdefs.h <<_ACEOF
9553 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9561 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9563 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9564 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9565 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9566 echo $ECHO_N "(cached) $ECHO_C" >&6
9568 ac_check_lib_save_LIBS=$LIBS
9569 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9570 cat >conftest.$ac_ext <<_ACEOF
9573 cat confdefs.h >>conftest.$ac_ext
9574 cat >>conftest.$ac_ext <<_ACEOF
9575 /* end confdefs.h. */
9577 /* Override any GCC internal prototype to avoid an error.
9578 Use char because int might match the return type of a GCC
9579 builtin and then its argument prototype would still apply. */
9583 char XShmQueryExtension ();
9587 return XShmQueryExtension ();
9592 rm -f conftest.$ac_objext conftest$ac_exeext
9593 if { (ac_try="$ac_link"
9595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9596 *) ac_try_echo
=$ac_try;;
9598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9599 (eval "$ac_link") 2>conftest.er1
9601 grep -v '^ *+' conftest.er1
>conftest.err
9603 cat conftest.err
>&5
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); } && {
9606 test -z "$ac_c_werror_flag" ||
9607 test ! -s conftest.err
9608 } && test -s conftest
$ac_exeext &&
9609 $as_test_x conftest
$ac_exeext; then
9610 ac_cv_lib_Xext_XShmQueryExtension
=yes
9612 echo "$as_me: failed program was:" >&5
9613 sed 's/^/| /' conftest.
$ac_ext >&5
9615 ac_cv_lib_Xext_XShmQueryExtension
=no
9618 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9619 conftest
$ac_exeext conftest.
$ac_ext
9620 LIBS
=$ac_check_lib_save_LIBS
9622 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9623 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9624 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9626 cat >>confdefs.h
<<\_ACEOF
9627 #define HAVE_LIBXXSHM 1
9633 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9634 wine_notices
="$wine_notices|XShm development files not found.
9635 Wine will be built without XShm support. (winex11.drv)"
9639 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9641 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9642 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9643 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9644 echo $ECHO_N "(cached) $ECHO_C" >&6
9646 ac_check_lib_save_LIBS
=$LIBS
9647 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9648 cat >conftest.
$ac_ext <<_ACEOF
9651 cat confdefs.h
>>conftest.
$ac_ext
9652 cat >>conftest.
$ac_ext <<_ACEOF
9653 /* end confdefs.h. */
9655 /* Override any GCC internal prototype to avoid an error.
9656 Use char because int might match the return type of a GCC
9657 builtin and then its argument prototype would still apply. */
9661 char XShapeQueryExtension ();
9665 return XShapeQueryExtension ();
9670 rm -f conftest.
$ac_objext conftest
$ac_exeext
9671 if { (ac_try
="$ac_link"
9673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9674 *) ac_try_echo=$ac_try;;
9676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9677 (eval "$ac_link") 2>conftest.er1
9679 grep -v '^ *+' conftest.er1 >conftest.err
9681 cat conftest.err >&5
9682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9683 (exit $ac_status); } && {
9684 test -z "$ac_c_werror_flag" ||
9685 test ! -s conftest.err
9686 } && test -s conftest$ac_exeext &&
9687 $as_test_x conftest$ac_exeext; then
9688 ac_cv_lib_Xext_XShapeQueryExtension=yes
9690 echo "$as_me: failed program was:" >&5
9691 sed 's/^/| /' conftest.$ac_ext >&5
9693 ac_cv_lib_Xext_XShapeQueryExtension=no
9696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9697 conftest$ac_exeext conftest.$ac_ext
9698 LIBS=$ac_check_lib_save_LIBS
9700 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9701 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9702 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9704 cat >>confdefs.h <<\_ACEOF
9705 #define HAVE_LIBXSHAPE 1
9711 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9712 wine_notices="$wine_notices|XShape development files not found.
9713 Wine will be built without XShape support. (winex11.drv)"
9717 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9719 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9720 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9721 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9722 echo $ECHO_N "(cached) $ECHO_C" >&6
9724 ac_check_lib_save_LIBS=$LIBS
9725 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9726 cat >conftest.$ac_ext <<_ACEOF
9729 cat confdefs.h >>conftest.$ac_ext
9730 cat >>conftest.$ac_ext <<_ACEOF
9731 /* end confdefs.h. */
9733 /* Override any GCC internal prototype to avoid an error.
9734 Use char because int might match the return type of a GCC
9735 builtin and then its argument prototype would still apply. */
9739 char XF86VidModeQueryExtension ();
9743 return XF86VidModeQueryExtension ();
9748 rm -f conftest.$ac_objext conftest$ac_exeext
9749 if { (ac_try="$ac_link"
9751 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9752 *) ac_try_echo
=$ac_try;;
9754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9755 (eval "$ac_link") 2>conftest.er1
9757 grep -v '^ *+' conftest.er1
>conftest.err
9759 cat conftest.err
>&5
9760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9761 (exit $ac_status); } && {
9762 test -z "$ac_c_werror_flag" ||
9763 test ! -s conftest.err
9764 } && test -s conftest
$ac_exeext &&
9765 $as_test_x conftest
$ac_exeext; then
9766 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
9768 echo "$as_me: failed program was:" >&5
9769 sed 's/^/| /' conftest.
$ac_ext >&5
9771 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
9774 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9775 conftest
$ac_exeext conftest.
$ac_ext
9776 LIBS
=$ac_check_lib_save_LIBS
9778 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9779 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9780 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9782 cat >>confdefs.h
<<\_ACEOF
9783 #define HAVE_LIBXXF86VM 1
9786 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
9791 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9792 wine_notices
="$wine_notices|Xxf86vm development files not found.
9793 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9797 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"
9799 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9800 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9801 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9802 echo $ECHO_N "(cached) $ECHO_C" >&6
9804 ac_check_soname_save_LIBS
=$LIBS
9805 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9806 cat >conftest.
$ac_ext <<_ACEOF
9809 cat confdefs.h
>>conftest.
$ac_ext
9810 cat >>conftest.
$ac_ext <<_ACEOF
9811 /* end confdefs.h. */
9813 /* Override any GCC internal prototype to avoid an error.
9814 Use char because int might match the return type of a GCC
9815 builtin and then its argument prototype would still apply. */
9819 char XRenderQueryExtension ();
9823 return XRenderQueryExtension ();
9828 rm -f conftest.
$ac_objext conftest
$ac_exeext
9829 if { (ac_try
="$ac_link"
9831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9832 *) ac_try_echo=$ac_try;;
9834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9835 (eval "$ac_link") 2>conftest.er1
9837 grep -v '^ *+' conftest.er1 >conftest.err
9839 cat conftest.err >&5
9840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9841 (exit $ac_status); } && {
9842 test -z "$ac_c_werror_flag" ||
9843 test ! -s conftest.err
9844 } && test -s conftest$ac_exeext &&
9845 $as_test_x conftest$ac_exeext; then
9848 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'` ;;
9849 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9852 echo "$as_me: failed program was:" >&5
9853 sed 's/^/| /' conftest.$ac_ext >&5
9858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9859 conftest$ac_exeext conftest.$ac_ext
9860 LIBS=$ac_check_soname_save_LIBS
9862 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9863 { echo "$as_me:$LINENO: result: not found" >&5
9864 echo "${ECHO_T}not found" >&6; }
9867 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9868 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9870 cat >>confdefs.h <<_ACEOF
9871 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9874 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9875 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9876 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9877 echo $ECHO_N "(cached) $ECHO_C" >&6
9879 ac_check_lib_save_LIBS=$LIBS
9880 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9881 cat >conftest.$ac_ext <<_ACEOF
9884 cat confdefs.h >>conftest.$ac_ext
9885 cat >>conftest.$ac_ext <<_ACEOF
9886 /* end confdefs.h. */
9888 /* Override any GCC internal prototype to avoid an error.
9889 Use char because int might match the return type of a GCC
9890 builtin and then its argument prototype would still apply. */
9894 char XRenderSetPictureTransform ();
9898 return XRenderSetPictureTransform ();
9903 rm -f conftest.$ac_objext conftest$ac_exeext
9904 if { (ac_try="$ac_link"
9906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9907 *) ac_try_echo
=$ac_try;;
9909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9910 (eval "$ac_link") 2>conftest.er1
9912 grep -v '^ *+' conftest.er1
>conftest.err
9914 cat conftest.err
>&5
9915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9916 (exit $ac_status); } && {
9917 test -z "$ac_c_werror_flag" ||
9918 test ! -s conftest.err
9919 } && test -s conftest
$ac_exeext &&
9920 $as_test_x conftest
$ac_exeext; then
9921 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9923 echo "$as_me: failed program was:" >&5
9924 sed 's/^/| /' conftest.
$ac_ext >&5
9926 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9929 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9930 conftest
$ac_exeext conftest.
$ac_ext
9931 LIBS
=$ac_check_lib_save_LIBS
9933 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9934 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9935 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9937 cat >>confdefs.h
<<\_ACEOF
9938 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9947 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9948 wine_notices
="$wine_notices|XRender development files not found.
9949 Wine will be built without XRender support. (winex11.drv)"
9953 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9955 cat >conftest.
$ac_ext <<_ACEOF
9958 cat confdefs.h
>>conftest.
$ac_ext
9959 cat >>conftest.
$ac_ext <<_ACEOF
9960 /* end confdefs.h. */
9961 #include <X11/Xlib.h>
9962 #include <X11/extensions/Xrandr.h>
9966 static typeof(XRRSetScreenConfigAndRate) * func;
9971 rm -f conftest.
$ac_objext
9972 if { (ac_try
="$ac_compile"
9974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9975 *) ac_try_echo=$ac_try;;
9977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9978 (eval "$ac_compile") 2>conftest.er1
9980 grep -v '^ *+' conftest.er1 >conftest.err
9982 cat conftest.err >&5
9983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984 (exit $ac_status); } && {
9985 test -z "$ac_c_werror_flag" ||
9986 test ! -s conftest.err
9987 } && test -s conftest.$ac_objext; then
9988 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
9989 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
9990 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
9991 echo $ECHO_N "(cached) $ECHO_C" >&6
9993 ac_check_soname_save_LIBS=$LIBS
9994 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9995 cat >conftest.$ac_ext <<_ACEOF
9998 cat confdefs.h >>conftest.$ac_ext
9999 cat >>conftest.$ac_ext <<_ACEOF
10000 /* end confdefs.h. */
10002 /* Override any GCC internal prototype to avoid an error.
10003 Use char because int might match the return type of a GCC
10004 builtin and then its argument prototype would still apply. */
10008 char XRRQueryExtension ();
10012 return XRRQueryExtension ();
10017 rm -f conftest.$ac_objext conftest$ac_exeext
10018 if { (ac_try="$ac_link"
10019 case "(($ac_try" in
10020 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10021 *) ac_try_echo
=$ac_try;;
10023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10024 (eval "$ac_link") 2>conftest.er1
10026 grep -v '^ *+' conftest.er1
>conftest.err
10028 cat conftest.err
>&5
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); } && {
10031 test -z "$ac_c_werror_flag" ||
10032 test ! -s conftest.err
10033 } && test -s conftest
$ac_exeext &&
10034 $as_test_x conftest
$ac_exeext; then
10037 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'` ;;
10038 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10041 echo "$as_me: failed program was:" >&5
10042 sed 's/^/| /' conftest.
$ac_ext >&5
10047 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10048 conftest
$ac_exeext conftest.
$ac_ext
10049 LIBS
=$ac_check_soname_save_LIBS
10051 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10052 { echo "$as_me:$LINENO: result: not found" >&5
10053 echo "${ECHO_T}not found" >&6; }
10056 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10057 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10059 cat >>confdefs.h
<<_ACEOF
10060 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10067 echo "$as_me: failed program was:" >&5
10068 sed 's/^/| /' conftest.
$ac_ext >&5
10073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10075 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10076 wine_notices
="$wine_notices|XRandr development files not found.
10077 Wine will be built without XRandr support. (winex11.drv)"
10081 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10083 cat >conftest.
$ac_ext <<_ACEOF
10086 cat confdefs.h
>>conftest.
$ac_ext
10087 cat >>conftest.
$ac_ext <<_ACEOF
10088 /* end confdefs.h. */
10089 #include <X11/Xlib.h>
10090 #include <X11/extensions/Xinerama.h>
10094 static typeof(XineramaQueryScreens) * func;
10099 rm -f conftest.
$ac_objext
10100 if { (ac_try
="$ac_compile"
10101 case "(($ac_try" in
10102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10103 *) ac_try_echo=$ac_try;;
10105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10106 (eval "$ac_compile") 2>conftest.er1
10108 grep -v '^ *+' conftest.er1 >conftest.err
10110 cat conftest.err >&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); } && {
10113 test -z "$ac_c_werror_flag" ||
10114 test ! -s conftest.err
10115 } && test -s conftest.$ac_objext; then
10116 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10117 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10118 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10119 echo $ECHO_N "(cached) $ECHO_C" >&6
10121 ac_check_soname_save_LIBS=$LIBS
10122 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10123 cat >conftest.$ac_ext <<_ACEOF
10126 cat confdefs.h >>conftest.$ac_ext
10127 cat >>conftest.$ac_ext <<_ACEOF
10128 /* end confdefs.h. */
10130 /* Override any GCC internal prototype to avoid an error.
10131 Use char because int might match the return type of a GCC
10132 builtin and then its argument prototype would still apply. */
10136 char XineramaQueryScreens ();
10140 return XineramaQueryScreens ();
10145 rm -f conftest.$ac_objext conftest$ac_exeext
10146 if { (ac_try="$ac_link"
10147 case "(($ac_try" in
10148 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10149 *) ac_try_echo
=$ac_try;;
10151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10152 (eval "$ac_link") 2>conftest.er1
10154 grep -v '^ *+' conftest.er1
>conftest.err
10156 cat conftest.err
>&5
10157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158 (exit $ac_status); } && {
10159 test -z "$ac_c_werror_flag" ||
10160 test ! -s conftest.err
10161 } && test -s conftest
$ac_exeext &&
10162 $as_test_x conftest
$ac_exeext; then
10165 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'` ;;
10166 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10169 echo "$as_me: failed program was:" >&5
10170 sed 's/^/| /' conftest.
$ac_ext >&5
10175 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10176 conftest
$ac_exeext conftest.
$ac_ext
10177 LIBS
=$ac_check_soname_save_LIBS
10179 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10180 { echo "$as_me:$LINENO: result: not found" >&5
10181 echo "${ECHO_T}not found" >&6; }
10184 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10185 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10187 cat >>confdefs.h
<<_ACEOF
10188 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10195 echo "$as_me: failed program was:" >&5
10196 sed 's/^/| /' conftest.
$ac_ext >&5
10201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10203 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10204 wine_notices
="$wine_notices|Xinerama development files not found.
10205 Wine will be built without Xinerama support. (winex11.drv)"
10209 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10211 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10212 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10213 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10214 echo $ECHO_N "(cached) $ECHO_C" >&6
10216 ac_check_soname_save_LIBS
=$LIBS
10217 LIBS
="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10218 cat >conftest.
$ac_ext <<_ACEOF
10221 cat confdefs.h
>>conftest.
$ac_ext
10222 cat >>conftest.
$ac_ext <<_ACEOF
10223 /* end confdefs.h. */
10225 /* Override any GCC internal prototype to avoid an error.
10226 Use char because int might match the return type of a GCC
10227 builtin and then its argument prototype would still apply. */
10231 char XCompositeRedirectWindow ();
10235 return XCompositeRedirectWindow ();
10240 rm -f conftest.
$ac_objext conftest
$ac_exeext
10241 if { (ac_try
="$ac_link"
10242 case "(($ac_try" in
10243 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10244 *) ac_try_echo=$ac_try;;
10246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10247 (eval "$ac_link") 2>conftest.er1
10249 grep -v '^ *+' conftest.er1 >conftest.err
10251 cat conftest.err >&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); } && {
10254 test -z "$ac_c_werror_flag" ||
10255 test ! -s conftest.err
10256 } && test -s conftest$ac_exeext &&
10257 $as_test_x conftest$ac_exeext; then
10260 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'` ;;
10261 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXcomposite\\.$LIBEXT" |
sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10264 echo "$as_me: failed program was:" >&5
10265 sed 's/^/| /' conftest.$ac_ext >&5
10270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10271 conftest$ac_exeext conftest.$ac_ext
10272 LIBS=$ac_check_soname_save_LIBS
10274 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10275 { echo "$as_me:$LINENO: result: not found" >&5
10276 echo "${ECHO_T}not found" >&6; }
10279 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10280 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10282 cat >>confdefs.h <<_ACEOF
10283 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10290 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10291 wine_notices="$wine_notices|XComposite development files not found.
10292 Wine will be built without XComposite support. (winex11.drv)"
10297 if test "x$with_opengl" != "xno"
10303 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10305 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10306 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10308 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10309 echo $ECHO_N "(cached) $ECHO_C" >&6
10311 cat >conftest.$ac_ext <<_ACEOF
10314 cat confdefs.h >>conftest.$ac_ext
10315 cat >>conftest.$ac_ext <<_ACEOF
10316 /* end confdefs.h. */
10317 #ifdef HAVE_GL_GLX_H
10318 # include <GL/glx.h>
10321 #include <$ac_header>
10323 rm -f conftest.$ac_objext
10324 if { (ac_try="$ac_compile"
10325 case "(($ac_try" in
10326 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10327 *) ac_try_echo
=$ac_try;;
10329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10330 (eval "$ac_compile") 2>conftest.er1
10332 grep -v '^ *+' conftest.er1
>conftest.err
10334 cat conftest.err
>&5
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); } && {
10337 test -z "$ac_c_werror_flag" ||
10338 test ! -s conftest.err
10339 } && test -s conftest.
$ac_objext; then
10340 eval "$as_ac_Header=yes"
10342 echo "$as_me: failed program was:" >&5
10343 sed 's/^/| /' conftest.
$ac_ext >&5
10345 eval "$as_ac_Header=no"
10348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10350 ac_res
=`eval echo '${'$as_ac_Header'}'`
10351 { echo "$as_me:$LINENO: result: $ac_res" >&5
10352 echo "${ECHO_T}$ac_res" >&6; }
10353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10354 cat >>confdefs.h
<<_ACEOF
10355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10362 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10364 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10365 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10366 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10367 echo $ECHO_N "(cached) $ECHO_C" >&6
10369 cat >conftest.
$ac_ext <<_ACEOF
10372 cat confdefs.h
>>conftest.
$ac_ext
10373 cat >>conftest.
$ac_ext <<_ACEOF
10374 /* end confdefs.h. */
10379 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10384 rm -f conftest.
$ac_objext
10385 if { (ac_try
="$ac_compile"
10386 case "(($ac_try" in
10387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10388 *) ac_try_echo=$ac_try;;
10390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10391 (eval "$ac_compile") 2>conftest.er1
10393 grep -v '^ *+' conftest.er1 >conftest.err
10395 cat conftest.err >&5
10396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397 (exit $ac_status); } && {
10398 test -z "$ac_c_werror_flag" ||
10399 test ! -s conftest.err
10400 } && test -s conftest.$ac_objext; then
10401 wine_cv_opengl_header_version_OK="yes"
10403 echo "$as_me: failed program was:" >&5
10404 sed 's/^/| /' conftest.$ac_ext >&5
10406 wine_cv_opengl_header_version_OK="no"
10409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10411 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10412 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10414 if test "$wine_cv_opengl_header_version_OK" = "yes"
10416 { echo "$as_me:$LINENO: checking for -lGL" >&5
10417 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10418 if test "${ac_cv_lib_soname_GL+set}" = set; then
10419 echo $ECHO_N "(cached) $ECHO_C" >&6
10421 ac_check_soname_save_LIBS=$LIBS
10422 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10423 cat >conftest.$ac_ext <<_ACEOF
10426 cat confdefs.h >>conftest.$ac_ext
10427 cat >>conftest.$ac_ext <<_ACEOF
10428 /* end confdefs.h. */
10430 /* Override any GCC internal prototype to avoid an error.
10431 Use char because int might match the return type of a GCC
10432 builtin and then its argument prototype would still apply. */
10436 char glXCreateContext ();
10440 return glXCreateContext ();
10445 rm -f conftest.$ac_objext conftest$ac_exeext
10446 if { (ac_try="$ac_link"
10447 case "(($ac_try" in
10448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10449 *) ac_try_echo
=$ac_try;;
10451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10452 (eval "$ac_link") 2>conftest.er1
10454 grep -v '^ *+' conftest.er1
>conftest.err
10456 cat conftest.err
>&5
10457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458 (exit $ac_status); } && {
10459 test -z "$ac_c_werror_flag" ||
10460 test ! -s conftest.err
10461 } && test -s conftest
$ac_exeext &&
10462 $as_test_x conftest
$ac_exeext; then
10465 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'` ;;
10466 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10469 echo "$as_me: failed program was:" >&5
10470 sed 's/^/| /' conftest.
$ac_ext >&5
10475 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10476 conftest
$ac_exeext conftest.
$ac_ext
10477 LIBS
=$ac_check_soname_save_LIBS
10479 if test "x$ac_cv_lib_soname_GL" = "x"; then
10480 { echo "$as_me:$LINENO: result: not found" >&5
10481 echo "${ECHO_T}not found" >&6; }
10482 { echo "$as_me:$LINENO: checking for -lGL" >&5
10483 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10484 if test "${ac_cv_lib_soname_GL+set}" = set; then
10485 echo $ECHO_N "(cached) $ECHO_C" >&6
10487 ac_check_soname_save_LIBS
=$LIBS
10488 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
10489 cat >conftest.
$ac_ext <<_ACEOF
10492 cat confdefs.h
>>conftest.
$ac_ext
10493 cat >>conftest.
$ac_ext <<_ACEOF
10494 /* end confdefs.h. */
10496 /* Override any GCC internal prototype to avoid an error.
10497 Use char because int might match the return type of a GCC
10498 builtin and then its argument prototype would still apply. */
10502 char glXCreateContext ();
10506 return glXCreateContext ();
10511 rm -f conftest.
$ac_objext conftest
$ac_exeext
10512 if { (ac_try
="$ac_link"
10513 case "(($ac_try" in
10514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10515 *) ac_try_echo=$ac_try;;
10517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10518 (eval "$ac_link") 2>conftest.er1
10520 grep -v '^ *+' conftest.er1 >conftest.err
10522 cat conftest.err >&5
10523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524 (exit $ac_status); } && {
10525 test -z "$ac_c_werror_flag" ||
10526 test ! -s conftest.err
10527 } && test -s conftest$ac_exeext &&
10528 $as_test_x conftest$ac_exeext; then
10531 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'` ;;
10532 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libGL\\.$LIBEXT" |
sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10535 echo "$as_me: failed program was:" >&5
10536 sed 's/^/| /' conftest.$ac_ext >&5
10541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10542 conftest$ac_exeext conftest.$ac_ext
10543 LIBS=$ac_check_soname_save_LIBS
10545 if test "x$ac_cv_lib_soname_GL" = "x"; then
10546 { echo "$as_me:$LINENO: result: not found" >&5
10547 echo "${ECHO_T}not found" >&6; }
10548 if test -f /usr/X11R6/lib/libGL.a
10550 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10551 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10553 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10554 Wine will be built without OpenGL or Direct3D support."
10557 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10558 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10560 cat >>confdefs.h <<_ACEOF
10561 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10564 OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
10565 OPENGLFILES='$(OPENGLFILES)'
10567 cat >>confdefs.h <<\_ACEOF
10568 #define HAVE_OPENGL 1
10574 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10575 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10577 cat >>confdefs.h <<_ACEOF
10578 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10582 OPENGLFILES='$(OPENGLFILES)'
10584 cat >>confdefs.h <<\_ACEOF
10585 #define HAVE_OPENGL 1
10591 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10592 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10593 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10594 echo $ECHO_N "(cached) $ECHO_C" >&6
10596 ac_check_lib_save_LIBS=$LIBS
10597 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10598 cat >conftest.$ac_ext <<_ACEOF
10601 cat confdefs.h >>conftest.$ac_ext
10602 cat >>conftest.$ac_ext <<_ACEOF
10603 /* end confdefs.h. */
10605 /* Override any GCC internal prototype to avoid an error.
10606 Use char because int might match the return type of a GCC
10607 builtin and then its argument prototype would still apply. */
10615 return gluLookAt ();
10620 rm -f conftest.$ac_objext conftest$ac_exeext
10621 if { (ac_try="$ac_link"
10622 case "(($ac_try" in
10623 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10624 *) ac_try_echo
=$ac_try;;
10626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10627 (eval "$ac_link") 2>conftest.er1
10629 grep -v '^ *+' conftest.er1
>conftest.err
10631 cat conftest.err
>&5
10632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10633 (exit $ac_status); } && {
10634 test -z "$ac_c_werror_flag" ||
10635 test ! -s conftest.err
10636 } && test -s conftest
$ac_exeext &&
10637 $as_test_x conftest
$ac_exeext; then
10638 ac_cv_lib_GLU_gluLookAt
=yes
10640 echo "$as_me: failed program was:" >&5
10641 sed 's/^/| /' conftest.
$ac_ext >&5
10643 ac_cv_lib_GLU_gluLookAt
=no
10646 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10647 conftest
$ac_exeext conftest.
$ac_ext
10648 LIBS
=$ac_check_lib_save_LIBS
10650 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10651 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10652 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10653 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
10654 GLU32FILES
='$(GLU32FILES)'
10659 wine_warnings
="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10660 Wine will be built without OpenGL or Direct3D support."
10663 wine_warnings
="$wine_warnings|OpenGL development headers not found.
10664 Wine will be built without OpenGL or Direct3D support."
10671 for ac_header
in audio
/audiolib.h
10673 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10674 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10675 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10677 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10678 echo $ECHO_N "(cached) $ECHO_C" >&6
10680 ac_res
=`eval echo '${'$as_ac_Header'}'`
10681 { echo "$as_me:$LINENO: result: $ac_res" >&5
10682 echo "${ECHO_T}$ac_res" >&6; }
10684 # Is the header compilable?
10685 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10686 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10687 cat >conftest.
$ac_ext <<_ACEOF
10690 cat confdefs.h
>>conftest.
$ac_ext
10691 cat >>conftest.
$ac_ext <<_ACEOF
10692 /* end confdefs.h. */
10693 $ac_includes_default
10694 #include <$ac_header>
10696 rm -f conftest.
$ac_objext
10697 if { (ac_try
="$ac_compile"
10698 case "(($ac_try" in
10699 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10700 *) ac_try_echo=$ac_try;;
10702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10703 (eval "$ac_compile") 2>conftest.er1
10705 grep -v '^ *+' conftest.er1 >conftest.err
10707 cat conftest.err >&5
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); } && {
10710 test -z "$ac_c_werror_flag" ||
10711 test ! -s conftest.err
10712 } && test -s conftest.$ac_objext; then
10713 ac_header_compiler=yes
10715 echo "$as_me: failed program was:" >&5
10716 sed 's/^/| /' conftest.$ac_ext >&5
10718 ac_header_compiler=no
10721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10722 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10723 echo "${ECHO_T}$ac_header_compiler" >&6; }
10725 # Is the header present?
10726 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10727 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10728 cat >conftest.$ac_ext <<_ACEOF
10731 cat confdefs.h >>conftest.$ac_ext
10732 cat >>conftest.$ac_ext <<_ACEOF
10733 /* end confdefs.h. */
10734 #include <$ac_header>
10736 if { (ac_try="$ac_cpp conftest.$ac_ext"
10737 case "(($ac_try" in
10738 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10739 *) ac_try_echo
=$ac_try;;
10741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10742 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10744 grep -v '^ *+' conftest.er1
>conftest.err
10746 cat conftest.err
>&5
10747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10748 (exit $ac_status); } >/dev
/null
&& {
10749 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10750 test ! -s conftest.err
10752 ac_header_preproc
=yes
10754 echo "$as_me: failed program was:" >&5
10755 sed 's/^/| /' conftest.
$ac_ext >&5
10757 ac_header_preproc
=no
10760 rm -f conftest.err conftest.
$ac_ext
10761 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10762 echo "${ECHO_T}$ac_header_preproc" >&6; }
10764 # So? What about this header?
10765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10767 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10768 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10770 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10771 ac_header_preproc
=yes
10774 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10775 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10776 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10777 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10778 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10779 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10780 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10781 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10783 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10784 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10785 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10787 ## ------------------------------------ ##
10788 ## Report this to wine-devel@winehq.org ##
10789 ## ------------------------------------ ##
10791 ) |
sed "s/^/$as_me: WARNING: /" >&2
10794 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10796 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10797 echo $ECHO_N "(cached) $ECHO_C" >&6
10799 eval "$as_ac_Header=\$ac_header_preproc"
10801 ac_res
=`eval echo '${'$as_ac_Header'}'`
10802 { echo "$as_me:$LINENO: result: $ac_res" >&5
10803 echo "${ECHO_T}$ac_res" >&6; }
10806 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10807 cat >>confdefs.h
<<_ACEOF
10808 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10811 for ac_header
in audio
/soundlib.h
10813 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10814 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10816 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10817 echo $ECHO_N "(cached) $ECHO_C" >&6
10819 cat >conftest.
$ac_ext <<_ACEOF
10822 cat confdefs.h
>>conftest.
$ac_ext
10823 cat >>conftest.
$ac_ext <<_ACEOF
10824 /* end confdefs.h. */
10825 #include <audio/audiolib.h>
10827 #include <$ac_header>
10829 rm -f conftest.
$ac_objext
10830 if { (ac_try
="$ac_compile"
10831 case "(($ac_try" in
10832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10833 *) ac_try_echo=$ac_try;;
10835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10836 (eval "$ac_compile") 2>conftest.er1
10838 grep -v '^ *+' conftest.er1 >conftest.err
10840 cat conftest.err >&5
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); } && {
10843 test -z "$ac_c_werror_flag" ||
10844 test ! -s conftest.err
10845 } && test -s conftest.$ac_objext; then
10846 eval "$as_ac_Header=yes"
10848 echo "$as_me: failed program was:" >&5
10849 sed 's/^/| /' conftest.$ac_ext >&5
10851 eval "$as_ac_Header=no"
10854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10856 ac_res=`eval echo '${'$as_ac_Header'}'`
10857 { echo "$as_me:$LINENO: result: $ac_res" >&5
10858 echo "${ECHO_T}$ac_res" >&6; }
10859 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10860 cat >>confdefs.h <<_ACEOF
10861 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10868 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10869 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10870 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10871 echo $ECHO_N "(cached) $ECHO_C" >&6
10873 ac_check_lib_save_LIBS=$LIBS
10874 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10875 cat >conftest.$ac_ext <<_ACEOF
10878 cat confdefs.h >>conftest.$ac_ext
10879 cat >>conftest.$ac_ext <<_ACEOF
10880 /* end confdefs.h. */
10882 /* Override any GCC internal prototype to avoid an error.
10883 Use char because int might match the return type of a GCC
10884 builtin and then its argument prototype would still apply. */
10888 char AuCreateFlow ();
10892 return AuCreateFlow ();
10897 rm -f conftest.$ac_objext conftest$ac_exeext
10898 if { (ac_try="$ac_link"
10899 case "(($ac_try" in
10900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10901 *) ac_try_echo
=$ac_try;;
10903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10904 (eval "$ac_link") 2>conftest.er1
10906 grep -v '^ *+' conftest.er1
>conftest.err
10908 cat conftest.err
>&5
10909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910 (exit $ac_status); } && {
10911 test -z "$ac_c_werror_flag" ||
10912 test ! -s conftest.err
10913 } && test -s conftest
$ac_exeext &&
10914 $as_test_x conftest
$ac_exeext; then
10915 ac_cv_lib_audio_AuCreateFlow
=yes
10917 echo "$as_me: failed program was:" >&5
10918 sed 's/^/| /' conftest.
$ac_ext >&5
10920 ac_cv_lib_audio_AuCreateFlow
=no
10923 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10924 conftest
$ac_exeext conftest.
$ac_ext
10925 LIBS
=$ac_check_lib_save_LIBS
10927 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10928 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10929 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10931 cat >>confdefs.h
<<\_ACEOF
10935 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10936 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10937 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10938 echo $ECHO_N "(cached) $ECHO_C" >&6
10940 ac_check_lib_save_LIBS
=$LIBS
10941 LIBS
="-lXau $X_LIBS $LIBS"
10942 cat >conftest.
$ac_ext <<_ACEOF
10945 cat confdefs.h
>>conftest.
$ac_ext
10946 cat >>conftest.
$ac_ext <<_ACEOF
10947 /* end confdefs.h. */
10949 /* Override any GCC internal prototype to avoid an error.
10950 Use char because int might match the return type of a GCC
10951 builtin and then its argument prototype would still apply. */
10955 char XauGetBestAuthByAddr ();
10959 return XauGetBestAuthByAddr ();
10964 rm -f conftest.
$ac_objext conftest
$ac_exeext
10965 if { (ac_try
="$ac_link"
10966 case "(($ac_try" in
10967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10968 *) ac_try_echo=$ac_try;;
10970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10971 (eval "$ac_link") 2>conftest.er1
10973 grep -v '^ *+' conftest.er1 >conftest.err
10975 cat conftest.err >&5
10976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10977 (exit $ac_status); } && {
10978 test -z "$ac_c_werror_flag" ||
10979 test ! -s conftest.err
10980 } && test -s conftest$ac_exeext &&
10981 $as_test_x conftest$ac_exeext; then
10982 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10984 echo "$as_me: failed program was:" >&5
10985 sed 's/^/| /' conftest.$ac_ext >&5
10987 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10991 conftest$ac_exeext conftest.$ac_ext
10992 LIBS=$ac_check_lib_save_LIBS
10994 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10995 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10996 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10997 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10999 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11010 CPPFLAGS="$ac_save_CPPFLAGS"
11016 wine_warnings="$wine_warnings|X development files not found. Wine will be built
11017 without X support, which probably isn't what you want. You will need to install
11018 development packages of Xlib/Xfree86 at the very least."
11030 ac_save_CPPFLAGS="$CPPFLAGS"
11031 if test "$PKG_CONFIG" != "false"
11033 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
11034 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
11036 ac_xml_libs="`xml2-config
--libs 2>/dev
/null
`"
11037 ac_xml_cflags="`xml2-config
--cflags 2>/dev
/null
`"
11039 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11041 for ac_header in libxml/parser.h
11043 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11044 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11045 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11047 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11048 echo $ECHO_N "(cached) $ECHO_C" >&6
11050 ac_res=`eval echo '${'$as_ac_Header'}'`
11051 { echo "$as_me:$LINENO: result: $ac_res" >&5
11052 echo "${ECHO_T}$ac_res" >&6; }
11054 # Is the header compilable?
11055 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11056 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11057 cat >conftest.$ac_ext <<_ACEOF
11060 cat confdefs.h >>conftest.$ac_ext
11061 cat >>conftest.$ac_ext <<_ACEOF
11062 /* end confdefs.h. */
11063 $ac_includes_default
11064 #include <$ac_header>
11066 rm -f conftest.$ac_objext
11067 if { (ac_try="$ac_compile"
11068 case "(($ac_try" in
11069 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11070 *) ac_try_echo
=$ac_try;;
11072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11073 (eval "$ac_compile") 2>conftest.er1
11075 grep -v '^ *+' conftest.er1
>conftest.err
11077 cat conftest.err
>&5
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); } && {
11080 test -z "$ac_c_werror_flag" ||
11081 test ! -s conftest.err
11082 } && test -s conftest.
$ac_objext; then
11083 ac_header_compiler
=yes
11085 echo "$as_me: failed program was:" >&5
11086 sed 's/^/| /' conftest.
$ac_ext >&5
11088 ac_header_compiler
=no
11091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11092 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11093 echo "${ECHO_T}$ac_header_compiler" >&6; }
11095 # Is the header present?
11096 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11097 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11098 cat >conftest.
$ac_ext <<_ACEOF
11101 cat confdefs.h
>>conftest.
$ac_ext
11102 cat >>conftest.
$ac_ext <<_ACEOF
11103 /* end confdefs.h. */
11104 #include <$ac_header>
11106 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11107 case "(($ac_try" in
11108 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11109 *) ac_try_echo=$ac_try;;
11111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11112 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11114 grep -v '^ *+' conftest.er1 >conftest.err
11116 cat conftest.err >&5
11117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11118 (exit $ac_status); } >/dev/null && {
11119 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11120 test ! -s conftest.err
11122 ac_header_preproc=yes
11124 echo "$as_me: failed program was:" >&5
11125 sed 's/^/| /' conftest.$ac_ext >&5
11127 ac_header_preproc=no
11130 rm -f conftest.err conftest.$ac_ext
11131 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11132 echo "${ECHO_T}$ac_header_preproc" >&6; }
11134 # So? What about this header?
11135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11137 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11138 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11140 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11141 ac_header_preproc=yes
11144 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11145 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11146 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11147 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11148 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11149 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11150 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11151 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11153 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11154 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11155 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11157 ## ------------------------------------ ##
11158 ## Report this to wine-devel@winehq.org ##
11159 ## ------------------------------------ ##
11161 ) | sed "s/^/$as_me: WARNING: /" >&2
11164 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11166 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11167 echo $ECHO_N "(cached) $ECHO_C" >&6
11169 eval "$as_ac_Header=\$ac_header_preproc"
11171 ac_res=`eval echo '${'$as_ac_Header'}'`
11172 { echo "$as_me:$LINENO: result: $ac_res" >&5
11173 echo "${ECHO_T}$ac_res" >&6; }
11176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11177 cat >>confdefs.h <<_ACEOF
11178 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11180 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11181 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11182 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11183 echo $ECHO_N "(cached) $ECHO_C" >&6
11185 ac_check_lib_save_LIBS=$LIBS
11186 LIBS="-lxml2 $ac_xml_libs $LIBS"
11187 cat >conftest.$ac_ext <<_ACEOF
11190 cat confdefs.h >>conftest.$ac_ext
11191 cat >>conftest.$ac_ext <<_ACEOF
11192 /* end confdefs.h. */
11194 /* Override any GCC internal prototype to avoid an error.
11195 Use char because int might match the return type of a GCC
11196 builtin and then its argument prototype would still apply. */
11200 char xmlParseMemory ();
11204 return xmlParseMemory ();
11209 rm -f conftest.$ac_objext conftest$ac_exeext
11210 if { (ac_try="$ac_link"
11211 case "(($ac_try" in
11212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11213 *) ac_try_echo
=$ac_try;;
11215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11216 (eval "$ac_link") 2>conftest.er1
11218 grep -v '^ *+' conftest.er1
>conftest.err
11220 cat conftest.err
>&5
11221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11222 (exit $ac_status); } && {
11223 test -z "$ac_c_werror_flag" ||
11224 test ! -s conftest.err
11225 } && test -s conftest
$ac_exeext &&
11226 $as_test_x conftest
$ac_exeext; then
11227 ac_cv_lib_xml2_xmlParseMemory
=yes
11229 echo "$as_me: failed program was:" >&5
11230 sed 's/^/| /' conftest.
$ac_ext >&5
11232 ac_cv_lib_xml2_xmlParseMemory
=no
11235 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11236 conftest
$ac_exeext conftest.
$ac_ext
11237 LIBS
=$ac_check_lib_save_LIBS
11239 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11240 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11241 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11243 cat >>confdefs.h
<<\_ACEOF
11244 #define HAVE_LIBXML2 1
11247 XML2LIBS
="$ac_xml_libs"
11248 XML2INCL
="$ac_xml_cflags"
11251 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11252 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11253 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11254 echo $ECHO_N "(cached) $ECHO_C" >&6
11256 ac_check_lib_save_LIBS
=$LIBS
11257 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11258 cat >conftest.
$ac_ext <<_ACEOF
11261 cat confdefs.h
>>conftest.
$ac_ext
11262 cat >>conftest.
$ac_ext <<_ACEOF
11263 /* end confdefs.h. */
11265 /* Override any GCC internal prototype to avoid an error.
11266 Use char because int might match the return type of a GCC
11267 builtin and then its argument prototype would still apply. */
11271 char xmlReadMemory ();
11275 return xmlReadMemory ();
11280 rm -f conftest.
$ac_objext conftest
$ac_exeext
11281 if { (ac_try
="$ac_link"
11282 case "(($ac_try" in
11283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11284 *) ac_try_echo=$ac_try;;
11286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11287 (eval "$ac_link") 2>conftest.er1
11289 grep -v '^ *+' conftest.er1 >conftest.err
11291 cat conftest.err >&5
11292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293 (exit $ac_status); } && {
11294 test -z "$ac_c_werror_flag" ||
11295 test ! -s conftest.err
11296 } && test -s conftest$ac_exeext &&
11297 $as_test_x conftest$ac_exeext; then
11298 ac_cv_lib_xml2_xmlReadMemory=yes
11300 echo "$as_me: failed program was:" >&5
11301 sed 's/^/| /' conftest.$ac_ext >&5
11303 ac_cv_lib_xml2_xmlReadMemory=no
11306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11307 conftest$ac_exeext conftest.$ac_ext
11308 LIBS=$ac_check_lib_save_LIBS
11310 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11311 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11312 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11314 cat >>confdefs.h <<\_ACEOF
11315 #define HAVE_XMLREADMEMORY 1
11320 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11321 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11322 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11323 echo $ECHO_N "(cached) $ECHO_C" >&6
11325 ac_check_lib_save_LIBS=$LIBS
11326 LIBS="-lxml2 $ac_xml_libs $LIBS"
11327 cat >conftest.$ac_ext <<_ACEOF
11330 cat confdefs.h >>conftest.$ac_ext
11331 cat >>conftest.$ac_ext <<_ACEOF
11332 /* end confdefs.h. */
11334 /* Override any GCC internal prototype to avoid an error.
11335 Use char because int might match the return type of a GCC
11336 builtin and then its argument prototype would still apply. */
11340 char xmlNewDocPI ();
11344 return xmlNewDocPI ();
11349 rm -f conftest.$ac_objext conftest$ac_exeext
11350 if { (ac_try="$ac_link"
11351 case "(($ac_try" in
11352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11353 *) ac_try_echo
=$ac_try;;
11355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11356 (eval "$ac_link") 2>conftest.er1
11358 grep -v '^ *+' conftest.er1
>conftest.err
11360 cat conftest.err
>&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); } && {
11363 test -z "$ac_c_werror_flag" ||
11364 test ! -s conftest.err
11365 } && test -s conftest
$ac_exeext &&
11366 $as_test_x conftest
$ac_exeext; then
11367 ac_cv_lib_xml2_xmlNewDocPI
=yes
11369 echo "$as_me: failed program was:" >&5
11370 sed 's/^/| /' conftest.
$ac_ext >&5
11372 ac_cv_lib_xml2_xmlNewDocPI
=no
11375 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11376 conftest
$ac_exeext conftest.
$ac_ext
11377 LIBS
=$ac_check_lib_save_LIBS
11379 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11380 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11381 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11383 cat >>confdefs.h
<<\_ACEOF
11384 #define HAVE_XMLNEWDOCPI 1
11394 CPPFLAGS
="$ac_save_CPPFLAGS"
11395 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11396 wine_notices
="$wine_notices|libxml2 development files not found.
11397 Wine will be built without XML support. (msxml.dll)"
11401 if test "$PKG_CONFIG" != "false"
11403 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11404 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11406 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
11407 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
11409 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
11412 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11414 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11415 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11417 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11418 echo $ECHO_N "(cached) $ECHO_C" >&6
11420 cat >conftest.
$ac_ext <<_ACEOF
11423 cat confdefs.h
>>conftest.
$ac_ext
11424 cat >>conftest.
$ac_ext <<_ACEOF
11425 /* end confdefs.h. */
11426 #ifdef HAVE_LIBXSLT_PATTERN_H
11427 # include <libxslt/pattern.h>
11430 #include <$ac_header>
11432 rm -f conftest.
$ac_objext
11433 if { (ac_try
="$ac_compile"
11434 case "(($ac_try" in
11435 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11436 *) ac_try_echo=$ac_try;;
11438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11439 (eval "$ac_compile") 2>conftest.er1
11441 grep -v '^ *+' conftest.er1 >conftest.err
11443 cat conftest.err >&5
11444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445 (exit $ac_status); } && {
11446 test -z "$ac_c_werror_flag" ||
11447 test ! -s conftest.err
11448 } && test -s conftest.$ac_objext; then
11449 eval "$as_ac_Header=yes"
11451 echo "$as_me: failed program was:" >&5
11452 sed 's/^/| /' conftest.$ac_ext >&5
11454 eval "$as_ac_Header=no"
11457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11459 ac_res=`eval echo '${'$as_ac_Header'}'`
11460 { echo "$as_me:$LINENO: result: $ac_res" >&5
11461 echo "${ECHO_T}$ac_res" >&6; }
11462 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11463 cat >>confdefs.h <<_ACEOF
11464 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11466 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11467 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11468 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11469 echo $ECHO_N "(cached) $ECHO_C" >&6
11471 ac_check_lib_save_LIBS=$LIBS
11472 LIBS="-lxslt $ac_xslt_libs $LIBS"
11473 cat >conftest.$ac_ext <<_ACEOF
11476 cat confdefs.h >>conftest.$ac_ext
11477 cat >>conftest.$ac_ext <<_ACEOF
11478 /* end confdefs.h. */
11480 /* Override any GCC internal prototype to avoid an error.
11481 Use char because int might match the return type of a GCC
11482 builtin and then its argument prototype would still apply. */
11486 char xsltCompilePattern ();
11490 return xsltCompilePattern ();
11495 rm -f conftest.$ac_objext conftest$ac_exeext
11496 if { (ac_try="$ac_link"
11497 case "(($ac_try" in
11498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11499 *) ac_try_echo
=$ac_try;;
11501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11502 (eval "$ac_link") 2>conftest.er1
11504 grep -v '^ *+' conftest.er1
>conftest.err
11506 cat conftest.err
>&5
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); } && {
11509 test -z "$ac_c_werror_flag" ||
11510 test ! -s conftest.err
11511 } && test -s conftest
$ac_exeext &&
11512 $as_test_x conftest
$ac_exeext; then
11513 ac_cv_lib_xslt_xsltCompilePattern
=yes
11515 echo "$as_me: failed program was:" >&5
11516 sed 's/^/| /' conftest.
$ac_ext >&5
11518 ac_cv_lib_xslt_xsltCompilePattern
=no
11521 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11522 conftest
$ac_exeext conftest.
$ac_ext
11523 LIBS
=$ac_check_lib_save_LIBS
11525 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11526 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11527 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11529 cat >>confdefs.h
<<\_ACEOF
11530 #define HAVE_LIBXSLT 1
11533 XSLTLIBS
="$ac_xslt_libs"
11534 XSLTINCL
="$ac_xslt_cflags"
11542 CPPFLAGS
="$ac_save_CPPFLAGS"
11543 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11544 wine_notices
="$wine_notices|libxslt development files not found.
11545 Wine will be built without xslt support. (msxml.dll)"
11551 if test "$PKG_CONFIG" != "false"
11553 ac_save_CPPFLAGS
="$CPPFLAGS"
11554 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
11555 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11556 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
11559 for ac_header
in dbus
/dbus.h hal
/libhal.h
11561 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11562 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11563 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11565 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11566 echo $ECHO_N "(cached) $ECHO_C" >&6
11568 ac_res
=`eval echo '${'$as_ac_Header'}'`
11569 { echo "$as_me:$LINENO: result: $ac_res" >&5
11570 echo "${ECHO_T}$ac_res" >&6; }
11572 # Is the header compilable?
11573 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11574 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11575 cat >conftest.
$ac_ext <<_ACEOF
11578 cat confdefs.h
>>conftest.
$ac_ext
11579 cat >>conftest.
$ac_ext <<_ACEOF
11580 /* end confdefs.h. */
11581 $ac_includes_default
11582 #include <$ac_header>
11584 rm -f conftest.
$ac_objext
11585 if { (ac_try
="$ac_compile"
11586 case "(($ac_try" in
11587 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11588 *) ac_try_echo=$ac_try;;
11590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11591 (eval "$ac_compile") 2>conftest.er1
11593 grep -v '^ *+' conftest.er1 >conftest.err
11595 cat conftest.err >&5
11596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11597 (exit $ac_status); } && {
11598 test -z "$ac_c_werror_flag" ||
11599 test ! -s conftest.err
11600 } && test -s conftest.$ac_objext; then
11601 ac_header_compiler=yes
11603 echo "$as_me: failed program was:" >&5
11604 sed 's/^/| /' conftest.$ac_ext >&5
11606 ac_header_compiler=no
11609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11610 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11611 echo "${ECHO_T}$ac_header_compiler" >&6; }
11613 # Is the header present?
11614 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11615 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11616 cat >conftest.$ac_ext <<_ACEOF
11619 cat confdefs.h >>conftest.$ac_ext
11620 cat >>conftest.$ac_ext <<_ACEOF
11621 /* end confdefs.h. */
11622 #include <$ac_header>
11624 if { (ac_try="$ac_cpp conftest.$ac_ext"
11625 case "(($ac_try" in
11626 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11627 *) ac_try_echo
=$ac_try;;
11629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11630 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11632 grep -v '^ *+' conftest.er1
>conftest.err
11634 cat conftest.err
>&5
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); } >/dev
/null
&& {
11637 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11638 test ! -s conftest.err
11640 ac_header_preproc
=yes
11642 echo "$as_me: failed program was:" >&5
11643 sed 's/^/| /' conftest.
$ac_ext >&5
11645 ac_header_preproc
=no
11648 rm -f conftest.err conftest.
$ac_ext
11649 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11650 echo "${ECHO_T}$ac_header_preproc" >&6; }
11652 # So? What about this header?
11653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11655 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11659 ac_header_preproc
=yes
11662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11665 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11666 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11668 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11669 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11672 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11675 ## ------------------------------------ ##
11676 ## Report this to wine-devel@winehq.org ##
11677 ## ------------------------------------ ##
11679 ) |
sed "s/^/$as_me: WARNING: /" >&2
11682 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11684 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11685 echo $ECHO_N "(cached) $ECHO_C" >&6
11687 eval "$as_ac_Header=\$ac_header_preproc"
11689 ac_res
=`eval echo '${'$as_ac_Header'}'`
11690 { echo "$as_me:$LINENO: result: $ac_res" >&5
11691 echo "${ECHO_T}$ac_res" >&6; }
11694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11695 cat >>confdefs.h
<<_ACEOF
11696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11703 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11705 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11706 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11707 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11708 echo $ECHO_N "(cached) $ECHO_C" >&6
11710 ac_check_lib_save_LIBS
=$LIBS
11711 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
11712 cat >conftest.
$ac_ext <<_ACEOF
11715 cat confdefs.h
>>conftest.
$ac_ext
11716 cat >>conftest.
$ac_ext <<_ACEOF
11717 /* end confdefs.h. */
11719 /* Override any GCC internal prototype to avoid an error.
11720 Use char because int might match the return type of a GCC
11721 builtin and then its argument prototype would still apply. */
11725 char dbus_connection_close ();
11729 return dbus_connection_close ();
11734 rm -f conftest.
$ac_objext conftest
$ac_exeext
11735 if { (ac_try
="$ac_link"
11736 case "(($ac_try" in
11737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11738 *) ac_try_echo=$ac_try;;
11740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11741 (eval "$ac_link") 2>conftest.er1
11743 grep -v '^ *+' conftest.er1 >conftest.err
11745 cat conftest.err >&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); } && {
11748 test -z "$ac_c_werror_flag" ||
11749 test ! -s conftest.err
11750 } && test -s conftest$ac_exeext &&
11751 $as_test_x conftest$ac_exeext; then
11752 ac_cv_lib_dbus_1_dbus_connection_close=yes
11754 echo "$as_me: failed program was:" >&5
11755 sed 's/^/| /' conftest.$ac_ext >&5
11757 ac_cv_lib_dbus_1_dbus_connection_close=no
11760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11761 conftest$ac_exeext conftest.$ac_ext
11762 LIBS=$ac_check_lib_save_LIBS
11764 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11765 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11766 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11767 { echo "$as_me:$LINENO: checking for -lhal" >&5
11768 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11769 if test "${ac_cv_lib_soname_hal+set}" = set; then
11770 echo $ECHO_N "(cached) $ECHO_C" >&6
11772 ac_check_soname_save_LIBS=$LIBS
11773 LIBS="-lhal $ac_hal_libs $LIBS"
11774 cat >conftest.$ac_ext <<_ACEOF
11777 cat confdefs.h >>conftest.$ac_ext
11778 cat >>conftest.$ac_ext <<_ACEOF
11779 /* end confdefs.h. */
11781 /* Override any GCC internal prototype to avoid an error.
11782 Use char because int might match the return type of a GCC
11783 builtin and then its argument prototype would still apply. */
11787 char libhal_ctx_new ();
11791 return libhal_ctx_new ();
11796 rm -f conftest.$ac_objext conftest$ac_exeext
11797 if { (ac_try="$ac_link"
11798 case "(($ac_try" in
11799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11800 *) ac_try_echo
=$ac_try;;
11802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11803 (eval "$ac_link") 2>conftest.er1
11805 grep -v '^ *+' conftest.er1
>conftest.err
11807 cat conftest.err
>&5
11808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11809 (exit $ac_status); } && {
11810 test -z "$ac_c_werror_flag" ||
11811 test ! -s conftest.err
11812 } && test -s conftest
$ac_exeext &&
11813 $as_test_x conftest
$ac_exeext; then
11816 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'` ;;
11817 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11820 echo "$as_me: failed program was:" >&5
11821 sed 's/^/| /' conftest.
$ac_ext >&5
11826 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11827 conftest
$ac_exeext conftest.
$ac_ext
11828 LIBS
=$ac_check_soname_save_LIBS
11830 if test "x$ac_cv_lib_soname_hal" = "x"; then
11831 { echo "$as_me:$LINENO: result: not found" >&5
11832 echo "${ECHO_T}not found" >&6; }
11835 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11836 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11838 cat >>confdefs.h
<<_ACEOF
11839 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11842 HALINCL
="$ac_hal_cflags"
11848 CPPFLAGS
="$ac_save_CPPFLAGS"
11850 if test "x$ac_cv_lib_soname_hal" = "x"; then
11851 wine_notices
="$wine_notices|libhal development files not found.
11852 Wine will be built without dynamic device support. (explorer.exe)"
11857 if test "$ac_cv_header_ncurses_h" = "yes"
11859 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11860 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11861 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11862 echo $ECHO_N "(cached) $ECHO_C" >&6
11864 ac_check_soname_save_LIBS
=$LIBS
11865 LIBS
="-lncurses $LIBS"
11866 cat >conftest.
$ac_ext <<_ACEOF
11869 cat confdefs.h
>>conftest.
$ac_ext
11870 cat >>conftest.
$ac_ext <<_ACEOF
11871 /* end confdefs.h. */
11873 /* Override any GCC internal prototype to avoid an error.
11874 Use char because int might match the return type of a GCC
11875 builtin and then its argument prototype would still apply. */
11888 rm -f conftest.
$ac_objext conftest
$ac_exeext
11889 if { (ac_try
="$ac_link"
11890 case "(($ac_try" in
11891 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11892 *) ac_try_echo=$ac_try;;
11894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11895 (eval "$ac_link") 2>conftest.er1
11897 grep -v '^ *+' conftest.er1 >conftest.err
11899 cat conftest.err >&5
11900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11901 (exit $ac_status); } && {
11902 test -z "$ac_c_werror_flag" ||
11903 test ! -s conftest.err
11904 } && test -s conftest$ac_exeext &&
11905 $as_test_x conftest$ac_exeext; then
11908 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'` ;;
11909 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libncurses\\.$LIBEXT" |
sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11912 echo "$as_me: failed program was:" >&5
11913 sed 's/^/| /' conftest.$ac_ext >&5
11918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11919 conftest$ac_exeext conftest.$ac_ext
11920 LIBS=$ac_check_soname_save_LIBS
11922 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11923 { echo "$as_me:$LINENO: result: not found" >&5
11924 echo "${ECHO_T}not found" >&6; }
11927 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11928 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11930 cat >>confdefs.h <<_ACEOF
11931 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11934 CURSESLIBS="-lncurses"
11937 elif test "$ac_cv_header_curses_h" = "yes"
11939 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11940 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11941 if test "${ac_cv_lib_soname_curses+set}" = set; then
11942 echo $ECHO_N "(cached) $ECHO_C" >&6
11944 ac_check_soname_save_LIBS=$LIBS
11945 LIBS="-lcurses $LIBS"
11946 cat >conftest.$ac_ext <<_ACEOF
11949 cat confdefs.h >>conftest.$ac_ext
11950 cat >>conftest.$ac_ext <<_ACEOF
11951 /* end confdefs.h. */
11953 /* Override any GCC internal prototype to avoid an error.
11954 Use char because int might match the return type of a GCC
11955 builtin and then its argument prototype would still apply. */
11968 rm -f conftest.$ac_objext conftest$ac_exeext
11969 if { (ac_try="$ac_link"
11970 case "(($ac_try" in
11971 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11972 *) ac_try_echo
=$ac_try;;
11974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11975 (eval "$ac_link") 2>conftest.er1
11977 grep -v '^ *+' conftest.er1
>conftest.err
11979 cat conftest.err
>&5
11980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11981 (exit $ac_status); } && {
11982 test -z "$ac_c_werror_flag" ||
11983 test ! -s conftest.err
11984 } && test -s conftest
$ac_exeext &&
11985 $as_test_x conftest
$ac_exeext; then
11988 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'` ;;
11989 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11992 echo "$as_me: failed program was:" >&5
11993 sed 's/^/| /' conftest.
$ac_ext >&5
11998 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11999 conftest
$ac_exeext conftest.
$ac_ext
12000 LIBS
=$ac_check_soname_save_LIBS
12002 if test "x$ac_cv_lib_soname_curses" = "x"; then
12003 { echo "$as_me:$LINENO: result: not found" >&5
12004 echo "${ECHO_T}not found" >&6; }
12007 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12008 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12010 cat >>confdefs.h
<<_ACEOF
12011 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12014 CURSESLIBS
="-lcurses"
12018 ac_save_LIBS
="$LIBS"
12019 LIBS
="$LIBS $CURSESLIBS"
12021 for ac_func
in mousemask
12023 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12024 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12026 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12027 echo $ECHO_N "(cached) $ECHO_C" >&6
12029 cat >conftest.
$ac_ext <<_ACEOF
12032 cat confdefs.h
>>conftest.
$ac_ext
12033 cat >>conftest.
$ac_ext <<_ACEOF
12034 /* end confdefs.h. */
12035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12037 #define $ac_func innocuous_$ac_func
12039 /* System header to define __stub macros and hopefully few prototypes,
12040 which can conflict with char $ac_func (); below.
12041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12042 <limits.h> exists even on freestanding compilers. */
12045 # include <limits.h>
12047 # include <assert.h>
12052 /* Override any GCC internal prototype to avoid an error.
12053 Use char because int might match the return type of a GCC
12054 builtin and then its argument prototype would still apply. */
12059 /* The GNU C library defines this for functions which it implements
12060 to always fail with ENOSYS. Some functions are actually named
12061 something starting with __ and the normal name is an alias. */
12062 #if defined __stub_$ac_func || defined __stub___$ac_func
12069 return $ac_func ();
12074 rm -f conftest.
$ac_objext conftest
$ac_exeext
12075 if { (ac_try
="$ac_link"
12076 case "(($ac_try" in
12077 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12078 *) ac_try_echo=$ac_try;;
12080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12081 (eval "$ac_link") 2>conftest.er1
12083 grep -v '^ *+' conftest.er1 >conftest.err
12085 cat conftest.err >&5
12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); } && {
12088 test -z "$ac_c_werror_flag" ||
12089 test ! -s conftest.err
12090 } && test -s conftest$ac_exeext &&
12091 $as_test_x conftest$ac_exeext; then
12092 eval "$as_ac_var=yes"
12094 echo "$as_me: failed program was:" >&5
12095 sed 's/^/| /' conftest.$ac_ext >&5
12097 eval "$as_ac_var=no"
12100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12101 conftest$ac_exeext conftest.$ac_ext
12103 ac_res=`eval echo '${'$as_ac_var'}'`
12104 { echo "$as_me:$LINENO: result: $ac_res" >&5
12105 echo "${ECHO_T}$ac_res" >&6; }
12106 if test `eval echo '${'$as_ac_var'}'` = yes; then
12107 cat >>confdefs.h <<_ACEOF
12108 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12114 LIBS="$ac_save_LIBS"
12115 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12116 wine_notices="$wine_notices|lib(n)curses development files not found.
12117 Wine will be built without (n)curses support. (wineconsole.exe)"
12121 # Extract the first word of "sane-config", so it can be a program name with args.
12122 set dummy sane-config; ac_word=$2
12123 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12125 if test "${ac_cv_prog_sane_devel+set}" = set; then
12126 echo $ECHO_N "(cached) $ECHO_C" >&6
12128 if test -n "$sane_devel"; then
12129 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12132 for as_dir in $PATH
12135 test -z "$as_dir" && as_dir=.
12136 for ac_exec_ext in '' $ac_executable_extensions; do
12137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12138 ac_cv_prog_sane_devel="sane-config"
12139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12146 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12149 sane_devel=$ac_cv_prog_sane_devel
12150 if test -n "$sane_devel"; then
12151 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12152 echo "${ECHO_T}$sane_devel" >&6; }
12154 { echo "$as_me:$LINENO: result: no" >&5
12155 echo "${ECHO_T}no" >&6; }
12159 if test "$sane_devel" != "no"
12161 ac_sane_incl="`$sane_devel --cflags`"
12162 ac_save_CPPFLAGS="$CPPFLAGS"
12163 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12164 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12165 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12166 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12167 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12168 echo $ECHO_N "(cached) $ECHO_C" >&6
12170 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12171 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12173 # Is the header compilable?
12174 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12175 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12176 cat >conftest.$ac_ext <<_ACEOF
12179 cat confdefs.h >>conftest.$ac_ext
12180 cat >>conftest.$ac_ext <<_ACEOF
12181 /* end confdefs.h. */
12182 $ac_includes_default
12183 #include <sane/sane.h>
12185 rm -f conftest.$ac_objext
12186 if { (ac_try="$ac_compile"
12187 case "(($ac_try" in
12188 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12189 *) ac_try_echo
=$ac_try;;
12191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12192 (eval "$ac_compile") 2>conftest.er1
12194 grep -v '^ *+' conftest.er1
>conftest.err
12196 cat conftest.err
>&5
12197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); } && {
12199 test -z "$ac_c_werror_flag" ||
12200 test ! -s conftest.err
12201 } && test -s conftest.
$ac_objext; then
12202 ac_header_compiler
=yes
12204 echo "$as_me: failed program was:" >&5
12205 sed 's/^/| /' conftest.
$ac_ext >&5
12207 ac_header_compiler
=no
12210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12211 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12212 echo "${ECHO_T}$ac_header_compiler" >&6; }
12214 # Is the header present?
12215 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12216 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12217 cat >conftest.
$ac_ext <<_ACEOF
12220 cat confdefs.h
>>conftest.
$ac_ext
12221 cat >>conftest.
$ac_ext <<_ACEOF
12222 /* end confdefs.h. */
12223 #include <sane/sane.h>
12225 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12226 case "(($ac_try" in
12227 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12228 *) ac_try_echo=$ac_try;;
12230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12231 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12233 grep -v '^ *+' conftest.er1 >conftest.err
12235 cat conftest.err >&5
12236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 (exit $ac_status); } >/dev/null && {
12238 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12239 test ! -s conftest.err
12241 ac_header_preproc=yes
12243 echo "$as_me: failed program was:" >&5
12244 sed 's/^/| /' conftest.$ac_ext >&5
12246 ac_header_preproc=no
12249 rm -f conftest.err conftest.$ac_ext
12250 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12251 echo "${ECHO_T}$ac_header_preproc" >&6; }
12253 # So? What about this header?
12254 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12256 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12257 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12258 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12259 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12260 ac_header_preproc=yes
12263 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12264 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12265 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12266 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12267 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12268 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12269 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12270 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12271 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12272 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12273 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12274 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12276 ## ------------------------------------ ##
12277 ## Report this to wine-devel@winehq.org ##
12278 ## ------------------------------------ ##
12280 ) | sed "s/^/$as_me: WARNING: /" >&2
12283 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12284 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12285 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12286 echo $ECHO_N "(cached) $ECHO_C" >&6
12288 ac_cv_header_sane_sane_h=$ac_header_preproc
12290 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12291 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12294 if test $ac_cv_header_sane_sane_h = yes; then
12295 { echo "$as_me:$LINENO: checking for -lsane" >&5
12296 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12297 if test "${ac_cv_lib_soname_sane+set}" = set; then
12298 echo $ECHO_N "(cached) $ECHO_C" >&6
12300 ac_check_soname_save_LIBS=$LIBS
12301 LIBS="-lsane $LIBS"
12302 cat >conftest.$ac_ext <<_ACEOF
12305 cat confdefs.h >>conftest.$ac_ext
12306 cat >>conftest.$ac_ext <<_ACEOF
12307 /* end confdefs.h. */
12309 /* Override any GCC internal prototype to avoid an error.
12310 Use char because int might match the return type of a GCC
12311 builtin and then its argument prototype would still apply. */
12319 return sane_init ();
12324 rm -f conftest.$ac_objext conftest$ac_exeext
12325 if { (ac_try="$ac_link"
12326 case "(($ac_try" in
12327 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12328 *) ac_try_echo
=$ac_try;;
12330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12331 (eval "$ac_link") 2>conftest.er1
12333 grep -v '^ *+' conftest.er1
>conftest.err
12335 cat conftest.err
>&5
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); } && {
12338 test -z "$ac_c_werror_flag" ||
12339 test ! -s conftest.err
12340 } && test -s conftest
$ac_exeext &&
12341 $as_test_x conftest
$ac_exeext; then
12344 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'` ;;
12345 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12348 echo "$as_me: failed program was:" >&5
12349 sed 's/^/| /' conftest.
$ac_ext >&5
12354 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12355 conftest
$ac_exeext conftest.
$ac_ext
12356 LIBS
=$ac_check_soname_save_LIBS
12358 if test "x$ac_cv_lib_soname_sane" = "x"; then
12359 { echo "$as_me:$LINENO: result: not found" >&5
12360 echo "${ECHO_T}not found" >&6; }
12363 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12364 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12366 cat >>confdefs.h
<<_ACEOF
12367 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12370 SANEINCL
="$ac_sane_incl"
12377 CPPFLAGS
="$ac_save_CPPFLAGS"
12379 if test "x$ac_cv_lib_soname_sane" = "x"; then
12380 wine_notices
="$wine_notices|libsane development files not found.
12381 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12385 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12386 set dummy gphoto2-config
; ac_word
=$2
12387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12389 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12390 echo $ECHO_N "(cached) $ECHO_C" >&6
12392 if test -n "$gphoto2_devel"; then
12393 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
12395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12396 for as_dir
in $PATH
12399 test -z "$as_dir" && as_dir
=.
12400 for ac_exec_ext
in '' $ac_executable_extensions; do
12401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12402 ac_cv_prog_gphoto2_devel
="gphoto2-config"
12403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12410 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
12413 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
12414 if test -n "$gphoto2_devel"; then
12415 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12416 echo "${ECHO_T}$gphoto2_devel" >&6; }
12418 { echo "$as_me:$LINENO: result: no" >&5
12419 echo "${ECHO_T}no" >&6; }
12423 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12424 set dummy gphoto2-port-config
; ac_word
=$2
12425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12427 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12428 echo $ECHO_N "(cached) $ECHO_C" >&6
12430 if test -n "$gphoto2port_devel"; then
12431 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
12433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12434 for as_dir
in $PATH
12437 test -z "$as_dir" && as_dir
=.
12438 for ac_exec_ext
in '' $ac_executable_extensions; do
12439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12440 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
12441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12448 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
12451 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
12452 if test -n "$gphoto2port_devel"; then
12453 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12454 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12456 { echo "$as_me:$LINENO: result: no" >&5
12457 echo "${ECHO_T}no" >&6; }
12461 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12463 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12465 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12468 -L/usr
/lib|
-L/usr
/lib64
) ;;
12469 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
12472 ac_save_CPPFLAGS
="$CPPFLAGS"
12473 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
12474 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12475 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12476 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12477 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12478 echo $ECHO_N "(cached) $ECHO_C" >&6
12480 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12481 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12483 # Is the header compilable?
12484 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12485 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12486 cat >conftest.
$ac_ext <<_ACEOF
12489 cat confdefs.h
>>conftest.
$ac_ext
12490 cat >>conftest.
$ac_ext <<_ACEOF
12491 /* end confdefs.h. */
12492 $ac_includes_default
12493 #include <gphoto2-camera.h>
12495 rm -f conftest.
$ac_objext
12496 if { (ac_try
="$ac_compile"
12497 case "(($ac_try" in
12498 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12499 *) ac_try_echo=$ac_try;;
12501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12502 (eval "$ac_compile") 2>conftest.er1
12504 grep -v '^ *+' conftest.er1 >conftest.err
12506 cat conftest.err >&5
12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); } && {
12509 test -z "$ac_c_werror_flag" ||
12510 test ! -s conftest.err
12511 } && test -s conftest.$ac_objext; then
12512 ac_header_compiler=yes
12514 echo "$as_me: failed program was:" >&5
12515 sed 's/^/| /' conftest.$ac_ext >&5
12517 ac_header_compiler=no
12520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12521 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12522 echo "${ECHO_T}$ac_header_compiler" >&6; }
12524 # Is the header present?
12525 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12526 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12527 cat >conftest.$ac_ext <<_ACEOF
12530 cat confdefs.h >>conftest.$ac_ext
12531 cat >>conftest.$ac_ext <<_ACEOF
12532 /* end confdefs.h. */
12533 #include <gphoto2-camera.h>
12535 if { (ac_try="$ac_cpp conftest.$ac_ext"
12536 case "(($ac_try" in
12537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12538 *) ac_try_echo
=$ac_try;;
12540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12541 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12543 grep -v '^ *+' conftest.er1
>conftest.err
12545 cat conftest.err
>&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } >/dev
/null
&& {
12548 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12549 test ! -s conftest.err
12551 ac_header_preproc
=yes
12553 echo "$as_me: failed program was:" >&5
12554 sed 's/^/| /' conftest.
$ac_ext >&5
12556 ac_header_preproc
=no
12559 rm -f conftest.err conftest.
$ac_ext
12560 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12561 echo "${ECHO_T}$ac_header_preproc" >&6; }
12563 # So? What about this header?
12564 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12566 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12567 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12568 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12569 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12570 ac_header_preproc
=yes
12573 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12574 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12575 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12576 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12577 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12578 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12579 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12580 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12581 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12582 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12583 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12584 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12586 ## ------------------------------------ ##
12587 ## Report this to wine-devel@winehq.org ##
12588 ## ------------------------------------ ##
12590 ) |
sed "s/^/$as_me: WARNING: /" >&2
12593 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12594 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12595 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12596 echo $ECHO_N "(cached) $ECHO_C" >&6
12598 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
12600 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12601 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12604 if test $ac_cv_header_gphoto2_camera_h = yes; then
12605 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12606 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12607 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12608 echo $ECHO_N "(cached) $ECHO_C" >&6
12610 ac_check_lib_save_LIBS
=$LIBS
12611 LIBS
="-lgphoto2 $GPHOTO2LIBS $LIBS"
12612 cat >conftest.
$ac_ext <<_ACEOF
12615 cat confdefs.h
>>conftest.
$ac_ext
12616 cat >>conftest.
$ac_ext <<_ACEOF
12617 /* end confdefs.h. */
12619 /* Override any GCC internal prototype to avoid an error.
12620 Use char because int might match the return type of a GCC
12621 builtin and then its argument prototype would still apply. */
12625 char gp_camera_new ();
12629 return gp_camera_new ();
12634 rm -f conftest.
$ac_objext conftest
$ac_exeext
12635 if { (ac_try
="$ac_link"
12636 case "(($ac_try" in
12637 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12638 *) ac_try_echo=$ac_try;;
12640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12641 (eval "$ac_link") 2>conftest.er1
12643 grep -v '^ *+' conftest.er1 >conftest.err
12645 cat conftest.err >&5
12646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); } && {
12648 test -z "$ac_c_werror_flag" ||
12649 test ! -s conftest.err
12650 } && test -s conftest$ac_exeext &&
12651 $as_test_x conftest$ac_exeext; then
12652 ac_cv_lib_gphoto2_gp_camera_new=yes
12654 echo "$as_me: failed program was:" >&5
12655 sed 's/^/| /' conftest.$ac_ext >&5
12657 ac_cv_lib_gphoto2_gp_camera_new=no
12660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12661 conftest$ac_exeext conftest.$ac_ext
12662 LIBS=$ac_check_lib_save_LIBS
12664 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12665 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12666 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12668 cat >>confdefs.h <<\_ACEOF
12669 #define HAVE_GPHOTO2 1
12672 GPHOTO2LIBS="$ac_gphoto2_libs"
12674 GPHOTO2INCL="$ac_gphoto2_incl"
12681 CPPFLAGS="$ac_save_CPPFLAGS"
12683 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12684 wine_notices="$wine_notices|libgphoto2 development files not found.
12685 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12692 if test "$ac_cv_header_resolv_h" = "yes"
12694 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12695 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12696 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12697 echo $ECHO_N "(cached) $ECHO_C" >&6
12699 ac_check_lib_save_LIBS=$LIBS
12700 LIBS="-lresolv $LIBS"
12701 cat >conftest.$ac_ext <<_ACEOF
12704 cat confdefs.h >>conftest.$ac_ext
12705 cat >>conftest.$ac_ext <<_ACEOF
12706 /* end confdefs.h. */
12708 /* Override any GCC internal prototype to avoid an error.
12709 Use char because int might match the return type of a GCC
12710 builtin and then its argument prototype would still apply. */
12718 return res_query ();
12723 rm -f conftest.$ac_objext conftest$ac_exeext
12724 if { (ac_try="$ac_link"
12725 case "(($ac_try" in
12726 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12727 *) ac_try_echo
=$ac_try;;
12729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12730 (eval "$ac_link") 2>conftest.er1
12732 grep -v '^ *+' conftest.er1
>conftest.err
12734 cat conftest.err
>&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); } && {
12737 test -z "$ac_c_werror_flag" ||
12738 test ! -s conftest.err
12739 } && test -s conftest
$ac_exeext &&
12740 $as_test_x conftest
$ac_exeext; then
12741 ac_cv_lib_resolv_res_query
=yes
12743 echo "$as_me: failed program was:" >&5
12744 sed 's/^/| /' conftest.
$ac_ext >&5
12746 ac_cv_lib_resolv_res_query
=no
12749 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12750 conftest
$ac_exeext conftest.
$ac_ext
12751 LIBS
=$ac_check_lib_save_LIBS
12753 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12754 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12755 if test $ac_cv_lib_resolv_res_query = yes; then
12757 cat >>confdefs.h
<<\_ACEOF
12758 #define HAVE_RESOLV 1
12761 RESOLVLIBS
="-lresolv"
12768 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12770 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12771 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12772 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12773 echo $ECHO_N "(cached) $ECHO_C" >&6
12775 ac_check_lib_save_LIBS
=$LIBS
12776 LIBS
="-llcms $LIBS"
12777 cat >conftest.
$ac_ext <<_ACEOF
12780 cat confdefs.h
>>conftest.
$ac_ext
12781 cat >>conftest.
$ac_ext <<_ACEOF
12782 /* end confdefs.h. */
12784 /* Override any GCC internal prototype to avoid an error.
12785 Use char because int might match the return type of a GCC
12786 builtin and then its argument prototype would still apply. */
12790 char cmsOpenProfileFromFile ();
12794 return cmsOpenProfileFromFile ();
12799 rm -f conftest.
$ac_objext conftest
$ac_exeext
12800 if { (ac_try
="$ac_link"
12801 case "(($ac_try" in
12802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12803 *) ac_try_echo=$ac_try;;
12805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12806 (eval "$ac_link") 2>conftest.er1
12808 grep -v '^ *+' conftest.er1 >conftest.err
12810 cat conftest.err >&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); } && {
12813 test -z "$ac_c_werror_flag" ||
12814 test ! -s conftest.err
12815 } && test -s conftest$ac_exeext &&
12816 $as_test_x conftest$ac_exeext; then
12817 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12819 echo "$as_me: failed program was:" >&5
12820 sed 's/^/| /' conftest.$ac_ext >&5
12822 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12826 conftest$ac_exeext conftest.$ac_ext
12827 LIBS=$ac_check_lib_save_LIBS
12829 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12830 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12831 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12833 cat >>confdefs.h <<\_ACEOF
12834 #define HAVE_LCMS 1
12841 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12842 wine_notices="$wine_notices|liblcms development files not found.
12843 Wine will be built without Color Management support. (mscms.dll)"
12849 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12851 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12852 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12853 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12854 echo $ECHO_N "(cached) $ECHO_C" >&6
12856 ac_check_lib_save_LIBS=$LIBS
12857 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12858 cat >conftest.$ac_ext <<_ACEOF
12861 cat confdefs.h >>conftest.$ac_ext
12862 cat >>conftest.$ac_ext <<_ACEOF
12863 /* end confdefs.h. */
12865 /* Override any GCC internal prototype to avoid an error.
12866 Use char because int might match the return type of a GCC
12867 builtin and then its argument prototype would still apply. */
12871 char ldap_initialize ();
12875 return ldap_initialize ();
12880 rm -f conftest.$ac_objext conftest$ac_exeext
12881 if { (ac_try="$ac_link"
12882 case "(($ac_try" in
12883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12884 *) ac_try_echo
=$ac_try;;
12886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12887 (eval "$ac_link") 2>conftest.er1
12889 grep -v '^ *+' conftest.er1
>conftest.err
12891 cat conftest.err
>&5
12892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12893 (exit $ac_status); } && {
12894 test -z "$ac_c_werror_flag" ||
12895 test ! -s conftest.err
12896 } && test -s conftest
$ac_exeext &&
12897 $as_test_x conftest
$ac_exeext; then
12898 ac_cv_lib_ldap_r_ldap_initialize
=yes
12900 echo "$as_me: failed program was:" >&5
12901 sed 's/^/| /' conftest.
$ac_ext >&5
12903 ac_cv_lib_ldap_r_ldap_initialize
=no
12906 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12907 conftest
$ac_exeext conftest.
$ac_ext
12908 LIBS
=$ac_check_lib_save_LIBS
12910 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12911 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12912 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12913 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12914 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12915 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12916 echo $ECHO_N "(cached) $ECHO_C" >&6
12918 ac_check_lib_save_LIBS
=$LIBS
12919 LIBS
="-llber $LIBPTHREAD $LIBS"
12920 cat >conftest.
$ac_ext <<_ACEOF
12923 cat confdefs.h
>>conftest.
$ac_ext
12924 cat >>conftest.
$ac_ext <<_ACEOF
12925 /* end confdefs.h. */
12927 /* Override any GCC internal prototype to avoid an error.
12928 Use char because int might match the return type of a GCC
12929 builtin and then its argument prototype would still apply. */
12937 return ber_init ();
12942 rm -f conftest.
$ac_objext conftest
$ac_exeext
12943 if { (ac_try
="$ac_link"
12944 case "(($ac_try" in
12945 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12946 *) ac_try_echo=$ac_try;;
12948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12949 (eval "$ac_link") 2>conftest.er1
12951 grep -v '^ *+' conftest.er1 >conftest.err
12953 cat conftest.err >&5
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); } && {
12956 test -z "$ac_c_werror_flag" ||
12957 test ! -s conftest.err
12958 } && test -s conftest$ac_exeext &&
12959 $as_test_x conftest$ac_exeext; then
12960 ac_cv_lib_lber_ber_init=yes
12962 echo "$as_me: failed program was:" >&5
12963 sed 's/^/| /' conftest.$ac_ext >&5
12965 ac_cv_lib_lber_ber_init=no
12968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12969 conftest$ac_exeext conftest.$ac_ext
12970 LIBS=$ac_check_lib_save_LIBS
12972 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12973 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12974 if test $ac_cv_lib_lber_ber_init = yes; then
12976 cat >>confdefs.h <<\_ACEOF
12977 #define HAVE_LDAP 1
12980 LDAPLIBS="-lldap_r -llber"
12985 ac_wine_check_funcs_save_LIBS="$LIBS"
12986 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12996 ldap_count_references \
12997 ldap_first_reference \
12998 ldap_next_reference \
12999 ldap_parse_reference \
13000 ldap_parse_sort_control \
13001 ldap_parse_sortresponse_control \
13002 ldap_parse_vlv_control \
13003 ldap_parse_vlvresponse_control
13005 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13006 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13008 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13009 echo $ECHO_N "(cached) $ECHO_C" >&6
13011 cat >conftest.$ac_ext <<_ACEOF
13014 cat confdefs.h >>conftest.$ac_ext
13015 cat >>conftest.$ac_ext <<_ACEOF
13016 /* end confdefs.h. */
13017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13019 #define $ac_func innocuous_$ac_func
13021 /* System header to define __stub macros and hopefully few prototypes,
13022 which can conflict with char $ac_func (); below.
13023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13024 <limits.h> exists even on freestanding compilers. */
13027 # include <limits.h>
13029 # include <assert.h>
13034 /* Override any GCC internal prototype to avoid an error.
13035 Use char because int might match the return type of a GCC
13036 builtin and then its argument prototype would still apply. */
13041 /* The GNU C library defines this for functions which it implements
13042 to always fail with ENOSYS. Some functions are actually named
13043 something starting with __ and the normal name is an alias. */
13044 #if defined __stub_$ac_func || defined __stub___$ac_func
13051 return $ac_func ();
13056 rm -f conftest.$ac_objext conftest$ac_exeext
13057 if { (ac_try="$ac_link"
13058 case "(($ac_try" in
13059 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13060 *) ac_try_echo
=$ac_try;;
13062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13063 (eval "$ac_link") 2>conftest.er1
13065 grep -v '^ *+' conftest.er1
>conftest.err
13067 cat conftest.err
>&5
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); } && {
13070 test -z "$ac_c_werror_flag" ||
13071 test ! -s conftest.err
13072 } && test -s conftest
$ac_exeext &&
13073 $as_test_x conftest
$ac_exeext; then
13074 eval "$as_ac_var=yes"
13076 echo "$as_me: failed program was:" >&5
13077 sed 's/^/| /' conftest.
$ac_ext >&5
13079 eval "$as_ac_var=no"
13082 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13083 conftest
$ac_exeext conftest.
$ac_ext
13085 ac_res
=`eval echo '${'$as_ac_var'}'`
13086 { echo "$as_me:$LINENO: result: $ac_res" >&5
13087 echo "${ECHO_T}$ac_res" >&6; }
13088 if test `eval echo '${'$as_ac_var'}'` = yes; then
13089 cat >>confdefs.h
<<_ACEOF
13090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13096 LIBS
="$ac_wine_check_funcs_save_LIBS"
13098 if test "x$LDAPLIBS" = "x"; then
13099 wine_notices
="$wine_notices|libldap (OpenLDAP) development files not found.
13100 Wine will be built without LDAP support. (wldap32.dll)"
13104 for ac_prog
in freetype-config freetype2-config
13106 # Extract the first word of "$ac_prog", so it can be a program name with args.
13107 set dummy
$ac_prog; ac_word
=$2
13108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13110 if test "${ac_cv_prog_ft_devel+set}" = set; then
13111 echo $ECHO_N "(cached) $ECHO_C" >&6
13113 if test -n "$ft_devel"; then
13114 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
13116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13117 for as_dir
in $PATH
13120 test -z "$as_dir" && as_dir
=.
13121 for ac_exec_ext
in '' $ac_executable_extensions; do
13122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13123 ac_cv_prog_ft_devel
="$ac_prog"
13124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13133 ft_devel
=$ac_cv_prog_ft_devel
13134 if test -n "$ft_devel"; then
13135 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13136 echo "${ECHO_T}$ft_devel" >&6; }
13138 { echo "$as_me:$LINENO: result: no" >&5
13139 echo "${ECHO_T}no" >&6; }
13143 test -n "$ft_devel" && break
13145 test -n "$ft_devel" || ft_devel
="false"
13147 if test "$ft_devel" != "false"
13149 ac_freetype_libs
=`$ft_devel --libs`
13150 ac_freetype_incl
=`$ft_devel --cflags`
13151 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13152 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13153 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13154 echo $ECHO_N "(cached) $ECHO_C" >&6
13156 ac_check_soname_save_LIBS
=$LIBS
13157 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
13158 cat >conftest.
$ac_ext <<_ACEOF
13161 cat confdefs.h
>>conftest.
$ac_ext
13162 cat >>conftest.
$ac_ext <<_ACEOF
13163 /* end confdefs.h. */
13165 /* Override any GCC internal prototype to avoid an error.
13166 Use char because int might match the return type of a GCC
13167 builtin and then its argument prototype would still apply. */
13171 char FT_Init_FreeType ();
13175 return FT_Init_FreeType ();
13180 rm -f conftest.
$ac_objext conftest
$ac_exeext
13181 if { (ac_try
="$ac_link"
13182 case "(($ac_try" in
13183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13184 *) ac_try_echo=$ac_try;;
13186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13187 (eval "$ac_link") 2>conftest.er1
13189 grep -v '^ *+' conftest.er1 >conftest.err
13191 cat conftest.err >&5
13192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193 (exit $ac_status); } && {
13194 test -z "$ac_c_werror_flag" ||
13195 test ! -s conftest.err
13196 } && test -s conftest$ac_exeext &&
13197 $as_test_x conftest$ac_exeext; then
13200 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'` ;;
13201 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfreetype\\.$LIBEXT" |
sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13204 echo "$as_me: failed program was:" >&5
13205 sed 's/^/| /' conftest.$ac_ext >&5
13210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13211 conftest$ac_exeext conftest.$ac_ext
13212 LIBS=$ac_check_soname_save_LIBS
13214 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13215 { echo "$as_me:$LINENO: result: not found" >&5
13216 echo "${ECHO_T}not found" >&6; }
13219 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13220 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13222 cat >>confdefs.h <<_ACEOF
13223 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13229 if test "$ft_lib" = "yes"
13231 ac_save_CPPFLAGS="$CPPFLAGS"
13232 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13245 for ac_header in ft2build.h \
13246 freetype/freetype.h \
13247 freetype/ftglyph.h \
13248 freetype/fttypes.h \
13249 freetype/tttables.h \
13250 freetype/ftnames.h \
13251 freetype/ftsnames.h \
13252 freetype/ttnameid.h \
13253 freetype/ftoutln.h \
13254 freetype/ftwinfnt.h \
13255 freetype/ftmodapi.h \
13256 freetype/internal/sfnt.h
13258 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13259 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13261 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13262 echo $ECHO_N "(cached) $ECHO_C" >&6
13264 cat >conftest.$ac_ext <<_ACEOF
13267 cat confdefs.h >>conftest.$ac_ext
13268 cat >>conftest.$ac_ext <<_ACEOF
13269 /* end confdefs.h. */
13270 #if HAVE_FT2BUILD_H
13271 #include <ft2build.h>
13274 #include <$ac_header>
13276 rm -f conftest.$ac_objext
13277 if { (ac_try="$ac_compile"
13278 case "(($ac_try" in
13279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13280 *) ac_try_echo
=$ac_try;;
13282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13283 (eval "$ac_compile") 2>conftest.er1
13285 grep -v '^ *+' conftest.er1
>conftest.err
13287 cat conftest.err
>&5
13288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13289 (exit $ac_status); } && {
13290 test -z "$ac_c_werror_flag" ||
13291 test ! -s conftest.err
13292 } && test -s conftest.
$ac_objext; then
13293 eval "$as_ac_Header=yes"
13295 echo "$as_me: failed program was:" >&5
13296 sed 's/^/| /' conftest.
$ac_ext >&5
13298 eval "$as_ac_Header=no"
13301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13303 ac_res
=`eval echo '${'$as_ac_Header'}'`
13304 { echo "$as_me:$LINENO: result: $ac_res" >&5
13305 echo "${ECHO_T}$ac_res" >&6; }
13306 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13307 cat >>confdefs.h
<<_ACEOF
13308 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13315 cat >conftest.
$ac_ext <<_ACEOF
13318 cat confdefs.h
>>conftest.
$ac_ext
13319 cat >>conftest.
$ac_ext <<_ACEOF
13320 /* end confdefs.h. */
13321 #include <ft2build.h>
13322 #include <freetype/fttrigon.h>
13324 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13325 case "(($ac_try" in
13326 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13327 *) ac_try_echo=$ac_try;;
13329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13330 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13332 grep -v '^ *+' conftest.er1 >conftest.err
13334 cat conftest.err >&5
13335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 (exit $ac_status); } >/dev/null && {
13337 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13338 test ! -s conftest.err
13341 cat >>confdefs.h <<\_ACEOF
13342 #define HAVE_FREETYPE_FTTRIGON_H 1
13345 wine_cv_fttrigon=yes
13347 echo "$as_me: failed program was:" >&5
13348 sed 's/^/| /' conftest.$ac_ext >&5
13350 wine_cv_fttrigon=no
13353 rm -f conftest.err conftest.$ac_ext
13354 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13355 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13356 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13357 echo $ECHO_N "(cached) $ECHO_C" >&6
13359 cat >conftest.$ac_ext <<_ACEOF
13362 cat confdefs.h >>conftest.$ac_ext
13363 cat >>conftest.$ac_ext <<_ACEOF
13364 /* end confdefs.h. */
13365 #include <freetype/ftmodapi.h>
13367 typedef FT_TrueTypeEngineType ac__type_new_;
13371 if ((ac__type_new_ *) 0)
13373 if (sizeof (ac__type_new_))
13379 rm -f conftest.$ac_objext
13380 if { (ac_try="$ac_compile"
13381 case "(($ac_try" in
13382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13383 *) ac_try_echo
=$ac_try;;
13385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13386 (eval "$ac_compile") 2>conftest.er1
13388 grep -v '^ *+' conftest.er1
>conftest.err
13390 cat conftest.err
>&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); } && {
13393 test -z "$ac_c_werror_flag" ||
13394 test ! -s conftest.err
13395 } && test -s conftest.
$ac_objext; then
13396 ac_cv_type_FT_TrueTypeEngineType
=yes
13398 echo "$as_me: failed program was:" >&5
13399 sed 's/^/| /' conftest.
$ac_ext >&5
13401 ac_cv_type_FT_TrueTypeEngineType
=no
13404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13406 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13407 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13408 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13410 cat >>confdefs.h
<<_ACEOF
13411 #define HAVE_FT_TRUETYPEENGINETYPE 1
13417 ac_save_CFLAGS
="$CFLAGS"
13418 CFLAGS
="$CFLAGS $ac_freetype_libs"
13420 for ac_func
in FT_Load_Sfnt_Table
13422 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13423 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13425 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13426 echo $ECHO_N "(cached) $ECHO_C" >&6
13428 cat >conftest.
$ac_ext <<_ACEOF
13431 cat confdefs.h
>>conftest.
$ac_ext
13432 cat >>conftest.
$ac_ext <<_ACEOF
13433 /* end confdefs.h. */
13434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13436 #define $ac_func innocuous_$ac_func
13438 /* System header to define __stub macros and hopefully few prototypes,
13439 which can conflict with char $ac_func (); below.
13440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13441 <limits.h> exists even on freestanding compilers. */
13444 # include <limits.h>
13446 # include <assert.h>
13451 /* Override any GCC internal prototype to avoid an error.
13452 Use char because int might match the return type of a GCC
13453 builtin and then its argument prototype would still apply. */
13458 /* The GNU C library defines this for functions which it implements
13459 to always fail with ENOSYS. Some functions are actually named
13460 something starting with __ and the normal name is an alias. */
13461 #if defined __stub_$ac_func || defined __stub___$ac_func
13468 return $ac_func ();
13473 rm -f conftest.
$ac_objext conftest
$ac_exeext
13474 if { (ac_try
="$ac_link"
13475 case "(($ac_try" in
13476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13477 *) ac_try_echo=$ac_try;;
13479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13480 (eval "$ac_link") 2>conftest.er1
13482 grep -v '^ *+' conftest.er1 >conftest.err
13484 cat conftest.err >&5
13485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13486 (exit $ac_status); } && {
13487 test -z "$ac_c_werror_flag" ||
13488 test ! -s conftest.err
13489 } && test -s conftest$ac_exeext &&
13490 $as_test_x conftest$ac_exeext; then
13491 eval "$as_ac_var=yes"
13493 echo "$as_me: failed program was:" >&5
13494 sed 's/^/| /' conftest.$ac_ext >&5
13496 eval "$as_ac_var=no"
13499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13500 conftest$ac_exeext conftest.$ac_ext
13502 ac_res=`eval echo '${'$as_ac_var'}'`
13503 { echo "$as_me:$LINENO: result: $ac_res" >&5
13504 echo "${ECHO_T}$ac_res" >&6; }
13505 if test `eval echo '${'$as_ac_var'}'` = yes; then
13506 cat >>confdefs.h <<_ACEOF
13507 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13513 CFLAGS="$ac_save_CFLAGS"
13514 CPPFLAGS="$ac_save_CPPFLAGS"
13515 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13518 cat >>confdefs.h <<\_ACEOF
13519 #define HAVE_FREETYPE 1
13522 FREETYPELIBS="$ac_freetype_libs"
13524 FREETYPEINCL="$ac_freetype_incl"
13530 if test "$FONTFORGE" = "false"
13532 wine_warnings="$wine_warnings|FontForge is missing.
13533 Fonts will not be built. Dialog text may be invisible or unaligned."
13534 elif test "x$FREETYPELIBS" = "x"
13536 wine_warnings="$wine_warnings|FreeType development files not found.
13537 Fonts will not be built. Dialog text may be invisible or unaligned."
13539 FONTSSUBDIRS="fonts"
13543 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13544 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13545 if test "${ac_cv_c_ppdev+set}" = set; then
13546 echo $ECHO_N "(cached) $ECHO_C" >&6
13548 cat >conftest.$ac_ext <<_ACEOF
13551 cat confdefs.h >>conftest.$ac_ext
13552 cat >>conftest.$ac_ext <<_ACEOF
13553 /* end confdefs.h. */
13554 #include <linux/ppdev.h>
13558 ioctl (1,PPCLAIM,0)
13563 rm -f conftest.$ac_objext
13564 if { (ac_try="$ac_compile"
13565 case "(($ac_try" in
13566 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13567 *) ac_try_echo
=$ac_try;;
13569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13570 (eval "$ac_compile") 2>conftest.er1
13572 grep -v '^ *+' conftest.er1
>conftest.err
13574 cat conftest.err
>&5
13575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13576 (exit $ac_status); } && {
13577 test -z "$ac_c_werror_flag" ||
13578 test ! -s conftest.err
13579 } && test -s conftest.
$ac_objext; then
13580 ac_cv_c_ppdev
="yes"
13582 echo "$as_me: failed program was:" >&5
13583 sed 's/^/| /' conftest.
$ac_ext >&5
13588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13590 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13591 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13592 if test "$ac_cv_c_ppdev" = "yes"
13595 cat >>confdefs.h
<<\_ACEOF
13596 #define HAVE_PPDEV 1
13601 { echo "$as_me:$LINENO: checking for va_copy" >&5
13602 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13603 if test "${ac_cv_c_va_copy+set}" = set; then
13604 echo $ECHO_N "(cached) $ECHO_C" >&6
13606 cat >conftest.
$ac_ext <<_ACEOF
13609 cat confdefs.h
>>conftest.
$ac_ext
13610 cat >>conftest.
$ac_ext <<_ACEOF
13611 /* end confdefs.h. */
13612 #include <stdarg.h>
13616 va_list ap1, ap2; va_copy(ap1,ap2);
13621 rm -f conftest.
$ac_objext conftest
$ac_exeext
13622 if { (ac_try
="$ac_link"
13623 case "(($ac_try" in
13624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13625 *) ac_try_echo=$ac_try;;
13627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13628 (eval "$ac_link") 2>conftest.er1
13630 grep -v '^ *+' conftest.er1 >conftest.err
13632 cat conftest.err >&5
13633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634 (exit $ac_status); } && {
13635 test -z "$ac_c_werror_flag" ||
13636 test ! -s conftest.err
13637 } && test -s conftest$ac_exeext &&
13638 $as_test_x conftest$ac_exeext; then
13639 ac_cv_c_va_copy="yes"
13641 echo "$as_me: failed program was:" >&5
13642 sed 's/^/| /' conftest.$ac_ext >&5
13644 ac_cv_c_va_copy="no"
13647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13648 conftest$ac_exeext conftest.$ac_ext
13651 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13652 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13653 if test "$ac_cv_c_va_copy" = "yes"
13656 cat >>confdefs.h <<\_ACEOF
13657 #define HAVE_VA_COPY 1
13661 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13662 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13663 if test "${ac_cv_c___va_copy+set}" = set; then
13664 echo $ECHO_N "(cached) $ECHO_C" >&6
13666 cat >conftest.$ac_ext <<_ACEOF
13669 cat confdefs.h >>conftest.$ac_ext
13670 cat >>conftest.$ac_ext <<_ACEOF
13671 /* end confdefs.h. */
13672 #include <stdarg.h>
13676 va_list ap1, ap2; __va_copy(ap1,ap2);
13681 rm -f conftest.$ac_objext conftest$ac_exeext
13682 if { (ac_try="$ac_link"
13683 case "(($ac_try" in
13684 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13685 *) ac_try_echo
=$ac_try;;
13687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13688 (eval "$ac_link") 2>conftest.er1
13690 grep -v '^ *+' conftest.er1
>conftest.err
13692 cat conftest.err
>&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); } && {
13695 test -z "$ac_c_werror_flag" ||
13696 test ! -s conftest.err
13697 } && test -s conftest
$ac_exeext &&
13698 $as_test_x conftest
$ac_exeext; then
13699 ac_cv_c___va_copy
="yes"
13701 echo "$as_me: failed program was:" >&5
13702 sed 's/^/| /' conftest.
$ac_ext >&5
13704 ac_cv_c___va_copy
="no"
13707 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13708 conftest
$ac_exeext conftest.
$ac_ext
13711 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13712 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13713 if test "$ac_cv_c___va_copy" = "yes"
13716 cat >>confdefs.h
<<\_ACEOF
13717 #define HAVE___VA_COPY 1
13722 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13723 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13724 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13725 echo $ECHO_N "(cached) $ECHO_C" >&6
13727 cat >conftest.
$ac_ext <<_ACEOF
13730 cat confdefs.h
>>conftest.
$ac_ext
13731 cat >>conftest.
$ac_ext <<_ACEOF
13732 /* end confdefs.h. */
13733 #include <setjmp.h>
13738 sigsetjmp( buf, 1 );
13739 siglongjmp( buf, 1 );
13744 rm -f conftest.
$ac_objext conftest
$ac_exeext
13745 if { (ac_try
="$ac_link"
13746 case "(($ac_try" in
13747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13748 *) ac_try_echo=$ac_try;;
13750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13751 (eval "$ac_link") 2>conftest.er1
13753 grep -v '^ *+' conftest.er1 >conftest.err
13755 cat conftest.err >&5
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); } && {
13758 test -z "$ac_c_werror_flag" ||
13759 test ! -s conftest.err
13760 } && test -s conftest$ac_exeext &&
13761 $as_test_x conftest$ac_exeext; then
13762 ac_cv_c_sigsetjmp="yes"
13764 echo "$as_me: failed program was:" >&5
13765 sed 's/^/| /' conftest.$ac_ext >&5
13767 ac_cv_c_sigsetjmp="no"
13770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13771 conftest$ac_exeext conftest.$ac_ext
13774 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13775 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13776 if test "$ac_cv_c_sigsetjmp" = "yes"
13779 cat >>confdefs.h <<\_ACEOF
13780 #define HAVE_SIGSETJMP 1
13785 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13786 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13787 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13788 echo $ECHO_N "(cached) $ECHO_C" >&6
13790 cat >conftest.$ac_ext <<_ACEOF
13793 cat confdefs.h >>conftest.$ac_ext
13794 cat >>conftest.$ac_ext <<_ACEOF
13795 /* end confdefs.h. */
13796 #define _GNU_SOURCE
13797 #include <pthread.h>
13799 typedef pthread_rwlock_t ac__type_new_;
13803 if ((ac__type_new_ *) 0)
13805 if (sizeof (ac__type_new_))
13811 rm -f conftest.$ac_objext
13812 if { (ac_try="$ac_compile"
13813 case "(($ac_try" in
13814 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13815 *) ac_try_echo
=$ac_try;;
13817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13818 (eval "$ac_compile") 2>conftest.er1
13820 grep -v '^ *+' conftest.er1
>conftest.err
13822 cat conftest.err
>&5
13823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 (exit $ac_status); } && {
13825 test -z "$ac_c_werror_flag" ||
13826 test ! -s conftest.err
13827 } && test -s conftest.
$ac_objext; then
13828 ac_cv_type_pthread_rwlock_t
=yes
13830 echo "$as_me: failed program was:" >&5
13831 sed 's/^/| /' conftest.
$ac_ext >&5
13833 ac_cv_type_pthread_rwlock_t
=no
13836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13838 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13839 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13840 if test $ac_cv_type_pthread_rwlock_t = yes; then
13842 cat >>confdefs.h
<<_ACEOF
13843 #define HAVE_PTHREAD_RWLOCK_T 1
13848 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13849 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13850 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13851 echo $ECHO_N "(cached) $ECHO_C" >&6
13853 cat >conftest.
$ac_ext <<_ACEOF
13856 cat confdefs.h
>>conftest.
$ac_ext
13857 cat >>conftest.
$ac_ext <<_ACEOF
13858 /* end confdefs.h. */
13859 #define _GNU_SOURCE
13860 #include <pthread.h>
13862 typedef pthread_rwlockattr_t ac__type_new_;
13866 if ((ac__type_new_ *) 0)
13868 if (sizeof (ac__type_new_))
13874 rm -f conftest.
$ac_objext
13875 if { (ac_try
="$ac_compile"
13876 case "(($ac_try" in
13877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13878 *) ac_try_echo=$ac_try;;
13880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13881 (eval "$ac_compile") 2>conftest.er1
13883 grep -v '^ *+' conftest.er1 >conftest.err
13885 cat conftest.err >&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); } && {
13888 test -z "$ac_c_werror_flag" ||
13889 test ! -s conftest.err
13890 } && test -s conftest.$ac_objext; then
13891 ac_cv_type_pthread_rwlockattr_t=yes
13893 echo "$as_me: failed program was:" >&5
13894 sed 's/^/| /' conftest.$ac_ext >&5
13896 ac_cv_type_pthread_rwlockattr_t=no
13899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13901 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13902 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13903 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13905 cat >>confdefs.h <<_ACEOF
13906 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13913 ac_wine_check_funcs_save_LIBS="$LIBS"
13914 LIBS="$LIBS $LIBPTHREAD"
13920 pthread_attr_get_np \
13921 pthread_getattr_np \
13922 pthread_get_stackaddr_np \
13923 pthread_get_stacksize_np
13925 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13926 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13928 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13929 echo $ECHO_N "(cached) $ECHO_C" >&6
13931 cat >conftest.$ac_ext <<_ACEOF
13934 cat confdefs.h >>conftest.$ac_ext
13935 cat >>conftest.$ac_ext <<_ACEOF
13936 /* end confdefs.h. */
13937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13939 #define $ac_func innocuous_$ac_func
13941 /* System header to define __stub macros and hopefully few prototypes,
13942 which can conflict with char $ac_func (); below.
13943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13944 <limits.h> exists even on freestanding compilers. */
13947 # include <limits.h>
13949 # include <assert.h>
13954 /* Override any GCC internal prototype to avoid an error.
13955 Use char because int might match the return type of a GCC
13956 builtin and then its argument prototype would still apply. */
13961 /* The GNU C library defines this for functions which it implements
13962 to always fail with ENOSYS. Some functions are actually named
13963 something starting with __ and the normal name is an alias. */
13964 #if defined __stub_$ac_func || defined __stub___$ac_func
13971 return $ac_func ();
13976 rm -f conftest.$ac_objext conftest$ac_exeext
13977 if { (ac_try="$ac_link"
13978 case "(($ac_try" in
13979 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13980 *) ac_try_echo
=$ac_try;;
13982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13983 (eval "$ac_link") 2>conftest.er1
13985 grep -v '^ *+' conftest.er1
>conftest.err
13987 cat conftest.err
>&5
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); } && {
13990 test -z "$ac_c_werror_flag" ||
13991 test ! -s conftest.err
13992 } && test -s conftest
$ac_exeext &&
13993 $as_test_x conftest
$ac_exeext; then
13994 eval "$as_ac_var=yes"
13996 echo "$as_me: failed program was:" >&5
13997 sed 's/^/| /' conftest.
$ac_ext >&5
13999 eval "$as_ac_var=no"
14002 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14003 conftest
$ac_exeext conftest.
$ac_ext
14005 ac_res
=`eval echo '${'$as_ac_var'}'`
14006 { echo "$as_me:$LINENO: result: $ac_res" >&5
14007 echo "${ECHO_T}$ac_res" >&6; }
14008 if test `eval echo '${'$as_ac_var'}'` = yes; then
14009 cat >>confdefs.h
<<_ACEOF
14010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14016 LIBS
="$ac_wine_check_funcs_save_LIBS"
14018 # Extract the first word of "esd-config", so it can be a program name with args.
14019 set dummy esd-config
; ac_word
=$2
14020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14022 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14023 echo $ECHO_N "(cached) $ECHO_C" >&6
14027 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
14030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14031 for as_dir
in $PATH
14034 test -z "$as_dir" && as_dir
=.
14035 for ac_exec_ext
in '' $ac_executable_extensions; do
14036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14037 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
14038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14048 ESDCONFIG
=$ac_cv_path_ESDCONFIG
14049 if test -n "$ESDCONFIG"; then
14050 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14051 echo "${ECHO_T}$ESDCONFIG" >&6; }
14053 { echo "$as_me:$LINENO: result: no" >&5
14054 echo "${ECHO_T}no" >&6; }
14058 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
14061 for i
in `$ESDCONFIG --cflags`
14064 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
14067 ESD_LIBS
=`$ESDCONFIG --libs`
14068 save_CFLAGS
="$CFLAGS"
14069 CFLAGS
="$CFLAGS $ESD_CFLAGS"
14070 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14071 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14072 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14073 echo $ECHO_N "(cached) $ECHO_C" >&6
14075 ac_check_lib_save_LIBS
=$LIBS
14077 cat >conftest.
$ac_ext <<_ACEOF
14080 cat confdefs.h
>>conftest.
$ac_ext
14081 cat >>conftest.
$ac_ext <<_ACEOF
14082 /* end confdefs.h. */
14084 /* Override any GCC internal prototype to avoid an error.
14085 Use char because int might match the return type of a GCC
14086 builtin and then its argument prototype would still apply. */
14090 char esd_open_sound ();
14094 return esd_open_sound ();
14099 rm -f conftest.
$ac_objext conftest
$ac_exeext
14100 if { (ac_try
="$ac_link"
14101 case "(($ac_try" in
14102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14103 *) ac_try_echo=$ac_try;;
14105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14106 (eval "$ac_link") 2>conftest.er1
14108 grep -v '^ *+' conftest.er1 >conftest.err
14110 cat conftest.err >&5
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); } && {
14113 test -z "$ac_c_werror_flag" ||
14114 test ! -s conftest.err
14115 } && test -s conftest$ac_exeext &&
14116 $as_test_x conftest$ac_exeext; then
14117 ac_cv_lib_esd_esd_open_sound=yes
14119 echo "$as_me: failed program was:" >&5
14120 sed 's/^/| /' conftest.$ac_ext >&5
14122 ac_cv_lib_esd_esd_open_sound=no
14125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14126 conftest$ac_exeext conftest.$ac_ext
14127 LIBS=$ac_check_lib_save_LIBS
14129 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14130 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14131 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14134 ESDINCL=$ESD_CFLAGS
14137 cat >>confdefs.h <<\_ACEOF
14143 CFLAGS="$save_CFLAGS"
14148 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14150 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14151 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14152 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14153 echo $ECHO_N "(cached) $ECHO_C" >&6
14155 ac_check_lib_save_LIBS=$LIBS
14156 LIBS="-lasound $LIBS"
14157 cat >conftest.$ac_ext <<_ACEOF
14160 cat confdefs.h >>conftest.$ac_ext
14161 cat >>conftest.$ac_ext <<_ACEOF
14162 /* end confdefs.h. */
14164 /* Override any GCC internal prototype to avoid an error.
14165 Use char because int might match the return type of a GCC
14166 builtin and then its argument prototype would still apply. */
14170 char snd_pcm_hw_params_get_access ();
14174 return snd_pcm_hw_params_get_access ();
14179 rm -f conftest.$ac_objext conftest$ac_exeext
14180 if { (ac_try="$ac_link"
14181 case "(($ac_try" in
14182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14183 *) ac_try_echo
=$ac_try;;
14185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14186 (eval "$ac_link") 2>conftest.er1
14188 grep -v '^ *+' conftest.er1
>conftest.err
14190 cat conftest.err
>&5
14191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14192 (exit $ac_status); } && {
14193 test -z "$ac_c_werror_flag" ||
14194 test ! -s conftest.err
14195 } && test -s conftest
$ac_exeext &&
14196 $as_test_x conftest
$ac_exeext; then
14197 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
14199 echo "$as_me: failed program was:" >&5
14200 sed 's/^/| /' conftest.
$ac_ext >&5
14202 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
14205 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14206 conftest
$ac_exeext conftest.
$ac_ext
14207 LIBS
=$ac_check_lib_save_LIBS
14209 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14210 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14211 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14212 cat >conftest.
$ac_ext <<_ACEOF
14215 cat confdefs.h
>>conftest.
$ac_ext
14216 cat >>conftest.
$ac_ext <<_ACEOF
14217 /* end confdefs.h. */
14218 #ifdef HAVE_ALSA_ASOUNDLIB_H
14219 #include <alsa/asoundlib.h>
14220 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14221 #include <sys/asoundlib.h>
14226 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14231 rm -f conftest.
$ac_objext
14232 if { (ac_try
="$ac_compile"
14233 case "(($ac_try" in
14234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14235 *) ac_try_echo=$ac_try;;
14237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14238 (eval "$ac_compile") 2>conftest.er1
14240 grep -v '^ *+' conftest.er1 >conftest.err
14242 cat conftest.err >&5
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); } && {
14245 test -z "$ac_c_werror_flag" ||
14246 test ! -s conftest.err
14247 } && test -s conftest.$ac_objext; then
14249 cat >>confdefs.h <<\_ACEOF
14250 #define HAVE_ALSA 1
14253 ALSALIBS="-lasound"
14255 echo "$as_me: failed program was:" >&5
14256 sed 's/^/| /' conftest.$ac_ext >&5
14261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14268 if test "$ac_cv_header_libaudioio_h" = "yes"
14270 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14271 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14272 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14273 echo $ECHO_N "(cached) $ECHO_C" >&6
14275 ac_check_lib_save_LIBS=$LIBS
14276 LIBS="-laudioio $LIBS"
14277 cat >conftest.$ac_ext <<_ACEOF
14280 cat confdefs.h >>conftest.$ac_ext
14281 cat >>conftest.$ac_ext <<_ACEOF
14282 /* end confdefs.h. */
14284 /* Override any GCC internal prototype to avoid an error.
14285 Use char because int might match the return type of a GCC
14286 builtin and then its argument prototype would still apply. */
14290 char AudioIOGetVersion ();
14294 return AudioIOGetVersion ();
14299 rm -f conftest.$ac_objext conftest$ac_exeext
14300 if { (ac_try="$ac_link"
14301 case "(($ac_try" in
14302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14303 *) ac_try_echo
=$ac_try;;
14305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14306 (eval "$ac_link") 2>conftest.er1
14308 grep -v '^ *+' conftest.er1
>conftest.err
14310 cat conftest.err
>&5
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); } && {
14313 test -z "$ac_c_werror_flag" ||
14314 test ! -s conftest.err
14315 } && test -s conftest
$ac_exeext &&
14316 $as_test_x conftest
$ac_exeext; then
14317 ac_cv_lib_audioio_AudioIOGetVersion
=yes
14319 echo "$as_me: failed program was:" >&5
14320 sed 's/^/| /' conftest.
$ac_ext >&5
14322 ac_cv_lib_audioio_AudioIOGetVersion
=no
14325 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14326 conftest
$ac_exeext conftest.
$ac_ext
14327 LIBS
=$ac_check_lib_save_LIBS
14329 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14330 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14331 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14332 AUDIOIOLIBS
="-laudioio"
14334 cat >>confdefs.h
<<\_ACEOF
14335 #define HAVE_LIBAUDIOIO 1
14343 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14345 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14346 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14347 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14348 echo $ECHO_N "(cached) $ECHO_C" >&6
14350 ac_check_soname_save_LIBS
=$LIBS
14351 LIBS
="-lcapi20 $LIBS"
14352 cat >conftest.
$ac_ext <<_ACEOF
14355 cat confdefs.h
>>conftest.
$ac_ext
14356 cat >>conftest.
$ac_ext <<_ACEOF
14357 /* end confdefs.h. */
14359 /* Override any GCC internal prototype to avoid an error.
14360 Use char because int might match the return type of a GCC
14361 builtin and then its argument prototype would still apply. */
14365 char capi20_register ();
14369 return capi20_register ();
14374 rm -f conftest.
$ac_objext conftest
$ac_exeext
14375 if { (ac_try
="$ac_link"
14376 case "(($ac_try" in
14377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14378 *) ac_try_echo=$ac_try;;
14380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14381 (eval "$ac_link") 2>conftest.er1
14383 grep -v '^ *+' conftest.er1 >conftest.err
14385 cat conftest.err >&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); } && {
14388 test -z "$ac_c_werror_flag" ||
14389 test ! -s conftest.err
14390 } && test -s conftest$ac_exeext &&
14391 $as_test_x conftest$ac_exeext; then
14394 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'` ;;
14395 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcapi20\\.$LIBEXT" |
sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14398 echo "$as_me: failed program was:" >&5
14399 sed 's/^/| /' conftest.$ac_ext >&5
14404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14405 conftest$ac_exeext conftest.$ac_ext
14406 LIBS=$ac_check_soname_save_LIBS
14408 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14409 { echo "$as_me:$LINENO: result: not found" >&5
14410 echo "${ECHO_T}not found" >&6; }
14413 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14414 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14416 cat >>confdefs.h <<_ACEOF
14417 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14424 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14425 wine_notices="$wine_notices|libcapi20 development files not found.
14426 Wine will be built without ISDN support. (capi2032.dll)"
14430 if test "$ac_cv_header_cups_cups_h" = "yes"
14432 { echo "$as_me:$LINENO: checking for -lcups" >&5
14433 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14434 if test "${ac_cv_lib_soname_cups+set}" = set; then
14435 echo $ECHO_N "(cached) $ECHO_C" >&6
14437 ac_check_soname_save_LIBS=$LIBS
14438 LIBS="-lcups $LIBS"
14439 cat >conftest.$ac_ext <<_ACEOF
14442 cat confdefs.h >>conftest.$ac_ext
14443 cat >>conftest.$ac_ext <<_ACEOF
14444 /* end confdefs.h. */
14446 /* Override any GCC internal prototype to avoid an error.
14447 Use char because int might match the return type of a GCC
14448 builtin and then its argument prototype would still apply. */
14452 char cupsGetDefault ();
14456 return cupsGetDefault ();
14461 rm -f conftest.$ac_objext conftest$ac_exeext
14462 if { (ac_try="$ac_link"
14463 case "(($ac_try" in
14464 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14465 *) ac_try_echo
=$ac_try;;
14467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14468 (eval "$ac_link") 2>conftest.er1
14470 grep -v '^ *+' conftest.er1
>conftest.err
14472 cat conftest.err
>&5
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); } && {
14475 test -z "$ac_c_werror_flag" ||
14476 test ! -s conftest.err
14477 } && test -s conftest
$ac_exeext &&
14478 $as_test_x conftest
$ac_exeext; then
14481 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'` ;;
14482 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14485 echo "$as_me: failed program was:" >&5
14486 sed 's/^/| /' conftest.
$ac_ext >&5
14491 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14492 conftest
$ac_exeext conftest.
$ac_ext
14493 LIBS
=$ac_check_soname_save_LIBS
14495 if test "x$ac_cv_lib_soname_cups" = "x"; then
14496 { echo "$as_me:$LINENO: result: not found" >&5
14497 echo "${ECHO_T}not found" >&6; }
14500 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14501 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14503 cat >>confdefs.h
<<_ACEOF
14504 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14511 if test "x$ac_cv_lib_soname_cups" = "x"; then
14512 wine_notices
="$wine_notices|libcups development files not found.
14513 Wine will be built without CUPS support."
14517 if test "$ac_cv_header_jack_jack_h" = "yes"
14519 { echo "$as_me:$LINENO: checking for -ljack" >&5
14520 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14521 if test "${ac_cv_lib_soname_jack+set}" = set; then
14522 echo $ECHO_N "(cached) $ECHO_C" >&6
14524 ac_check_soname_save_LIBS
=$LIBS
14525 LIBS
="-ljack $LIBS"
14526 cat >conftest.
$ac_ext <<_ACEOF
14529 cat confdefs.h
>>conftest.
$ac_ext
14530 cat >>conftest.
$ac_ext <<_ACEOF
14531 /* end confdefs.h. */
14533 /* Override any GCC internal prototype to avoid an error.
14534 Use char because int might match the return type of a GCC
14535 builtin and then its argument prototype would still apply. */
14539 char jack_client_new ();
14543 return jack_client_new ();
14548 rm -f conftest.
$ac_objext conftest
$ac_exeext
14549 if { (ac_try
="$ac_link"
14550 case "(($ac_try" in
14551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14552 *) ac_try_echo=$ac_try;;
14554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14555 (eval "$ac_link") 2>conftest.er1
14557 grep -v '^ *+' conftest.er1 >conftest.err
14559 cat conftest.err >&5
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); } && {
14562 test -z "$ac_c_werror_flag" ||
14563 test ! -s conftest.err
14564 } && test -s conftest$ac_exeext &&
14565 $as_test_x conftest$ac_exeext; then
14568 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'` ;;
14569 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjack\\.$LIBEXT" |
sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14572 echo "$as_me: failed program was:" >&5
14573 sed 's/^/| /' conftest.$ac_ext >&5
14578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14579 conftest$ac_exeext conftest.$ac_ext
14580 LIBS=$ac_check_soname_save_LIBS
14582 if test "x$ac_cv_lib_soname_jack" = "x"; then
14583 { echo "$as_me:$LINENO: result: not found" >&5
14584 echo "${ECHO_T}not found" >&6; }
14587 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14588 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14590 cat >>confdefs.h <<_ACEOF
14591 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14599 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14601 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14602 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14603 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14604 echo $ECHO_N "(cached) $ECHO_C" >&6
14606 ac_check_soname_save_LIBS=$LIBS
14607 LIBS="-lfontconfig $LIBS"
14608 cat >conftest.$ac_ext <<_ACEOF
14611 cat confdefs.h >>conftest.$ac_ext
14612 cat >>conftest.$ac_ext <<_ACEOF
14613 /* end confdefs.h. */
14615 /* Override any GCC internal prototype to avoid an error.
14616 Use char because int might match the return type of a GCC
14617 builtin and then its argument prototype would still apply. */
14630 rm -f conftest.$ac_objext conftest$ac_exeext
14631 if { (ac_try="$ac_link"
14632 case "(($ac_try" in
14633 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14634 *) ac_try_echo
=$ac_try;;
14636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14637 (eval "$ac_link") 2>conftest.er1
14639 grep -v '^ *+' conftest.er1
>conftest.err
14641 cat conftest.err
>&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); } && {
14644 test -z "$ac_c_werror_flag" ||
14645 test ! -s conftest.err
14646 } && test -s conftest
$ac_exeext &&
14647 $as_test_x conftest
$ac_exeext; then
14650 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'` ;;
14651 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14654 echo "$as_me: failed program was:" >&5
14655 sed 's/^/| /' conftest.
$ac_ext >&5
14660 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14661 conftest
$ac_exeext conftest.
$ac_ext
14662 LIBS
=$ac_check_soname_save_LIBS
14664 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14665 { echo "$as_me:$LINENO: result: not found" >&5
14666 echo "${ECHO_T}not found" >&6; }
14669 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14670 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14672 cat >>confdefs.h
<<_ACEOF
14673 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14679 elif test -n "$X_CFLAGS"
14681 ac_save_CPPFLAGS
="$CPPFLAGS"
14682 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
14683 $as_unset ac_cv_header_fontconfig_fontconfig_h
14685 for ac_header
in fontconfig
/fontconfig.h
14687 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14688 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14689 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14691 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14692 echo $ECHO_N "(cached) $ECHO_C" >&6
14694 ac_res
=`eval echo '${'$as_ac_Header'}'`
14695 { echo "$as_me:$LINENO: result: $ac_res" >&5
14696 echo "${ECHO_T}$ac_res" >&6; }
14698 # Is the header compilable?
14699 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14700 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14701 cat >conftest.
$ac_ext <<_ACEOF
14704 cat confdefs.h
>>conftest.
$ac_ext
14705 cat >>conftest.
$ac_ext <<_ACEOF
14706 /* end confdefs.h. */
14707 $ac_includes_default
14708 #include <$ac_header>
14710 rm -f conftest.
$ac_objext
14711 if { (ac_try
="$ac_compile"
14712 case "(($ac_try" in
14713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14714 *) ac_try_echo=$ac_try;;
14716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14717 (eval "$ac_compile") 2>conftest.er1
14719 grep -v '^ *+' conftest.er1 >conftest.err
14721 cat conftest.err >&5
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); } && {
14724 test -z "$ac_c_werror_flag" ||
14725 test ! -s conftest.err
14726 } && test -s conftest.$ac_objext; then
14727 ac_header_compiler=yes
14729 echo "$as_me: failed program was:" >&5
14730 sed 's/^/| /' conftest.$ac_ext >&5
14732 ac_header_compiler=no
14735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14736 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14737 echo "${ECHO_T}$ac_header_compiler" >&6; }
14739 # Is the header present?
14740 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14741 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14742 cat >conftest.$ac_ext <<_ACEOF
14745 cat confdefs.h >>conftest.$ac_ext
14746 cat >>conftest.$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14748 #include <$ac_header>
14750 if { (ac_try="$ac_cpp conftest.$ac_ext"
14751 case "(($ac_try" in
14752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14753 *) ac_try_echo
=$ac_try;;
14755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14758 grep -v '^ *+' conftest.er1
>conftest.err
14760 cat conftest.err
>&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); } >/dev
/null
&& {
14763 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14764 test ! -s conftest.err
14766 ac_header_preproc
=yes
14768 echo "$as_me: failed program was:" >&5
14769 sed 's/^/| /' conftest.
$ac_ext >&5
14771 ac_header_preproc
=no
14774 rm -f conftest.err conftest.
$ac_ext
14775 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14776 echo "${ECHO_T}$ac_header_preproc" >&6; }
14778 # So? What about this header?
14779 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14781 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14782 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14784 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14785 ac_header_preproc
=yes
14788 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14789 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14790 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14791 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14792 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14793 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14794 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14795 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14796 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14797 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14798 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14799 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14801 ## ------------------------------------ ##
14802 ## Report this to wine-devel@winehq.org ##
14803 ## ------------------------------------ ##
14805 ) |
sed "s/^/$as_me: WARNING: /" >&2
14808 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14810 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14811 echo $ECHO_N "(cached) $ECHO_C" >&6
14813 eval "$as_ac_Header=\$ac_header_preproc"
14815 ac_res
=`eval echo '${'$as_ac_Header'}'`
14816 { echo "$as_me:$LINENO: result: $ac_res" >&5
14817 echo "${ECHO_T}$ac_res" >&6; }
14820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14821 cat >>confdefs.h
<<_ACEOF
14822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14829 CPPFLAGS
="$ac_save_CPPFLAGS"
14830 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14832 FONTCONFIGINCL
="$X_CFLAGS"
14834 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14835 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14836 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14837 echo $ECHO_N "(cached) $ECHO_C" >&6
14839 ac_check_soname_save_LIBS
=$LIBS
14840 LIBS
="-lfontconfig $X_LIBS $LIBS"
14841 cat >conftest.
$ac_ext <<_ACEOF
14844 cat confdefs.h
>>conftest.
$ac_ext
14845 cat >>conftest.
$ac_ext <<_ACEOF
14846 /* end confdefs.h. */
14848 /* Override any GCC internal prototype to avoid an error.
14849 Use char because int might match the return type of a GCC
14850 builtin and then its argument prototype would still apply. */
14863 rm -f conftest.
$ac_objext conftest
$ac_exeext
14864 if { (ac_try
="$ac_link"
14865 case "(($ac_try" in
14866 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14867 *) ac_try_echo=$ac_try;;
14869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14870 (eval "$ac_link") 2>conftest.er1
14872 grep -v '^ *+' conftest.er1 >conftest.err
14874 cat conftest.err >&5
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); } && {
14877 test -z "$ac_c_werror_flag" ||
14878 test ! -s conftest.err
14879 } && test -s conftest$ac_exeext &&
14880 $as_test_x conftest$ac_exeext; then
14883 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'` ;;
14884 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14887 echo "$as_me: failed program was:" >&5
14888 sed 's/^/| /' conftest.$ac_ext >&5
14893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14894 conftest$ac_exeext conftest.$ac_ext
14895 LIBS=$ac_check_soname_save_LIBS
14897 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14898 { echo "$as_me:$LINENO: result: not found" >&5
14899 echo "${ECHO_T}not found" >&6; }
14902 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14903 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14905 cat >>confdefs.h <<_ACEOF
14906 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14914 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14915 wine_notices="$wine_notices|fontconfig development files not found.
14916 Wine will be built without fontconfig support."
14920 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14922 { echo "$as_me:$LINENO: checking for -lssl" >&5
14923 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14924 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14925 echo $ECHO_N "(cached) $ECHO_C" >&6
14927 ac_check_soname_save_LIBS=$LIBS
14929 cat >conftest.$ac_ext <<_ACEOF
14932 cat confdefs.h >>conftest.$ac_ext
14933 cat >>conftest.$ac_ext <<_ACEOF
14934 /* end confdefs.h. */
14936 /* Override any GCC internal prototype to avoid an error.
14937 Use char because int might match the return type of a GCC
14938 builtin and then its argument prototype would still apply. */
14942 char SSL_library_init ();
14946 return SSL_library_init ();
14951 rm -f conftest.$ac_objext conftest$ac_exeext
14952 if { (ac_try="$ac_link"
14953 case "(($ac_try" in
14954 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14955 *) ac_try_echo
=$ac_try;;
14957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14958 (eval "$ac_link") 2>conftest.er1
14960 grep -v '^ *+' conftest.er1
>conftest.err
14962 cat conftest.err
>&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); } && {
14965 test -z "$ac_c_werror_flag" ||
14966 test ! -s conftest.err
14967 } && test -s conftest
$ac_exeext &&
14968 $as_test_x conftest
$ac_exeext; then
14971 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'` ;;
14972 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14975 echo "$as_me: failed program was:" >&5
14976 sed 's/^/| /' conftest.
$ac_ext >&5
14981 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14982 conftest
$ac_exeext conftest.
$ac_ext
14983 LIBS
=$ac_check_soname_save_LIBS
14985 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14986 { echo "$as_me:$LINENO: result: not found" >&5
14987 echo "${ECHO_T}not found" >&6; }
14990 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14991 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14993 cat >>confdefs.h
<<_ACEOF
14994 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15000 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15001 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15002 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15003 echo $ECHO_N "(cached) $ECHO_C" >&6
15005 ac_check_soname_save_LIBS
=$LIBS
15006 LIBS
="-lcrypto $LIBS"
15007 cat >conftest.
$ac_ext <<_ACEOF
15010 cat confdefs.h
>>conftest.
$ac_ext
15011 cat >>conftest.
$ac_ext <<_ACEOF
15012 /* end confdefs.h. */
15014 /* Override any GCC internal prototype to avoid an error.
15015 Use char because int might match the return type of a GCC
15016 builtin and then its argument prototype would still apply. */
15020 char BIO_new_socket ();
15024 return BIO_new_socket ();
15029 rm -f conftest.
$ac_objext conftest
$ac_exeext
15030 if { (ac_try
="$ac_link"
15031 case "(($ac_try" in
15032 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15033 *) ac_try_echo=$ac_try;;
15035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15036 (eval "$ac_link") 2>conftest.er1
15038 grep -v '^ *+' conftest.er1 >conftest.err
15040 cat conftest.err >&5
15041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15042 (exit $ac_status); } && {
15043 test -z "$ac_c_werror_flag" ||
15044 test ! -s conftest.err
15045 } && test -s conftest$ac_exeext &&
15046 $as_test_x conftest$ac_exeext; then
15049 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'` ;;
15050 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcrypto\\.$LIBEXT" |
sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15053 echo "$as_me: failed program was:" >&5
15054 sed 's/^/| /' conftest.$ac_ext >&5
15059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15060 conftest$ac_exeext conftest.$ac_ext
15061 LIBS=$ac_check_soname_save_LIBS
15063 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15064 { echo "$as_me:$LINENO: result: not found" >&5
15065 echo "${ECHO_T}not found" >&6; }
15068 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15069 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15071 cat >>confdefs.h <<_ACEOF
15072 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15079 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15080 wine_notices="$wine_notices|OpenSSL development files not found.
15081 Wine will be built without SSL support. (wininet.dll)"
15085 if test "$ac_cv_header_jpeglib_h" = "yes"
15087 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15088 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15089 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15090 echo $ECHO_N "(cached) $ECHO_C" >&6
15092 ac_check_soname_save_LIBS=$LIBS
15093 LIBS="-ljpeg $LIBS"
15094 cat >conftest.$ac_ext <<_ACEOF
15097 cat confdefs.h >>conftest.$ac_ext
15098 cat >>conftest.$ac_ext <<_ACEOF
15099 /* end confdefs.h. */
15101 /* Override any GCC internal prototype to avoid an error.
15102 Use char because int might match the return type of a GCC
15103 builtin and then its argument prototype would still apply. */
15107 char jpeg_start_decompress ();
15111 return jpeg_start_decompress ();
15116 rm -f conftest.$ac_objext conftest$ac_exeext
15117 if { (ac_try="$ac_link"
15118 case "(($ac_try" in
15119 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15120 *) ac_try_echo
=$ac_try;;
15122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15123 (eval "$ac_link") 2>conftest.er1
15125 grep -v '^ *+' conftest.er1
>conftest.err
15127 cat conftest.err
>&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); } && {
15130 test -z "$ac_c_werror_flag" ||
15131 test ! -s conftest.err
15132 } && test -s conftest
$ac_exeext &&
15133 $as_test_x conftest
$ac_exeext; then
15136 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'` ;;
15137 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15140 echo "$as_me: failed program was:" >&5
15141 sed 's/^/| /' conftest.
$ac_ext >&5
15146 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15147 conftest
$ac_exeext conftest.
$ac_ext
15148 LIBS
=$ac_check_soname_save_LIBS
15150 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15151 { echo "$as_me:$LINENO: result: not found" >&5
15152 echo "${ECHO_T}not found" >&6; }
15155 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15156 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15158 cat >>confdefs.h
<<_ACEOF
15159 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15166 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15167 wine_notices
="$wine_notices|libjpeg development files not found.
15168 Wine will be built without JPEG support. (oleaut32.dll)"
15172 if test "$ac_cv_header_png_h" = "yes"
15174 { echo "$as_me:$LINENO: checking for -lpng" >&5
15175 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15176 if test "${ac_cv_lib_soname_png+set}" = set; then
15177 echo $ECHO_N "(cached) $ECHO_C" >&6
15179 ac_check_soname_save_LIBS
=$LIBS
15181 cat >conftest.
$ac_ext <<_ACEOF
15184 cat confdefs.h
>>conftest.
$ac_ext
15185 cat >>conftest.
$ac_ext <<_ACEOF
15186 /* end confdefs.h. */
15188 /* Override any GCC internal prototype to avoid an error.
15189 Use char because int might match the return type of a GCC
15190 builtin and then its argument prototype would still apply. */
15194 char png_create_read_struct ();
15198 return png_create_read_struct ();
15203 rm -f conftest.
$ac_objext conftest
$ac_exeext
15204 if { (ac_try
="$ac_link"
15205 case "(($ac_try" in
15206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15207 *) ac_try_echo=$ac_try;;
15209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15210 (eval "$ac_link") 2>conftest.er1
15212 grep -v '^ *+' conftest.er1 >conftest.err
15214 cat conftest.err >&5
15215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15216 (exit $ac_status); } && {
15217 test -z "$ac_c_werror_flag" ||
15218 test ! -s conftest.err
15219 } && test -s conftest$ac_exeext &&
15220 $as_test_x conftest$ac_exeext; then
15223 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'` ;;
15224 *) 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'` ;;
15227 echo "$as_me: failed program was:" >&5
15228 sed 's/^/| /' conftest.$ac_ext >&5
15233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15234 conftest$ac_exeext conftest.$ac_ext
15235 LIBS=$ac_check_soname_save_LIBS
15237 if test "x$ac_cv_lib_soname_png" = "x"; then
15238 { echo "$as_me:$LINENO: result: not found" >&5
15239 echo "${ECHO_T}not found" >&6; }
15242 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15243 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15245 cat >>confdefs.h <<_ACEOF
15246 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15253 if test "x$ac_cv_lib_soname_png" = "x"; then
15254 wine_notices="$wine_notices|libpng development files not found.
15255 Wine will be built without PNG support. (oleaut32.dll)"
15259 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15260 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15261 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15262 "$ac_cv_header_soundcard_h" != "yes"; then
15263 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15270 if test "x${GCC}" = "xyes"
15272 EXTRACFLAGS="-Wall -pipe"
15274 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15275 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15276 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15277 echo $ECHO_N "(cached) $ECHO_C" >&6
15279 if test "$cross_compiling" = yes; then
15280 ac_cv_c_gcc_strength_bug="yes"
15282 cat >conftest.$ac_ext <<_ACEOF
15285 cat confdefs.h >>conftest.$ac_ext
15286 cat >>conftest.$ac_ext <<_ACEOF
15287 /* end confdefs.h. */
15288 int L[4] = {0,1,2,3};
15292 static int Array[3];
15293 unsigned int B = 3;
15295 for(i=0; i<B; i++) Array[i] = i - 3;
15296 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15298 exit( Array[1] != -2 || L[2] != 3)
15303 rm -f conftest$ac_exeext
15304 if { (ac_try="$ac_link"
15305 case "(($ac_try" in
15306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15307 *) ac_try_echo
=$ac_try;;
15309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15310 (eval "$ac_link") 2>&5
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15314 { (case "(($ac_try" in
15315 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15316 *) ac_try_echo=$ac_try;;
15318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15319 (eval "$ac_try") 2>&5
15321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15322 (exit $ac_status); }; }; then
15323 ac_cv_c_gcc_strength_bug="no"
15325 echo "$as_me: program exited with status $ac_status" >&5
15326 echo "$as_me: failed program was:" >&5
15327 sed 's/^/| /' conftest.$ac_ext >&5
15329 ( exit $ac_status )
15330 ac_cv_c_gcc_strength_bug="yes"
15332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15337 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15338 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15339 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15341 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15345 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15346 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15347 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15348 echo $ECHO_N "(cached) $ECHO_C" >&6
15350 ac_wine_try_cflags_saved=$CFLAGS
15351 CFLAGS="$CFLAGS -fshort-wchar"
15352 cat >conftest.$ac_ext <<_ACEOF
15355 cat confdefs.h >>conftest.$ac_ext
15356 cat >>conftest.$ac_ext <<_ACEOF
15357 /* end confdefs.h. */
15367 rm -f conftest.$ac_objext conftest$ac_exeext
15368 if { (ac_try="$ac_link"
15369 case "(($ac_try" in
15370 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15371 *) ac_try_echo
=$ac_try;;
15373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15374 (eval "$ac_link") 2>conftest.er1
15376 grep -v '^ *+' conftest.er1
>conftest.err
15378 cat conftest.err
>&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); } && {
15381 test -z "$ac_c_werror_flag" ||
15382 test ! -s conftest.err
15383 } && test -s conftest
$ac_exeext &&
15384 $as_test_x conftest
$ac_exeext; then
15385 ac_cv_cflags__fshort_wchar
=yes
15387 echo "$as_me: failed program was:" >&5
15388 sed 's/^/| /' conftest.
$ac_ext >&5
15390 ac_cv_cflags__fshort_wchar
=no
15393 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15394 conftest
$ac_exeext conftest.
$ac_ext
15395 CFLAGS
=$ac_wine_try_cflags_saved
15397 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15398 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15399 if test $ac_cv_cflags__fshort_wchar = yes; then
15401 cat >>confdefs.h
<<\_ACEOF
15402 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15407 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15408 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15409 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15410 echo $ECHO_N "(cached) $ECHO_C" >&6
15412 ac_wine_try_cflags_saved
=$CFLAGS
15413 CFLAGS
="$CFLAGS -fno-strict-aliasing"
15414 cat >conftest.
$ac_ext <<_ACEOF
15417 cat confdefs.h
>>conftest.
$ac_ext
15418 cat >>conftest.
$ac_ext <<_ACEOF
15419 /* end confdefs.h. */
15429 rm -f conftest.
$ac_objext conftest
$ac_exeext
15430 if { (ac_try
="$ac_link"
15431 case "(($ac_try" in
15432 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15433 *) ac_try_echo=$ac_try;;
15435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15436 (eval "$ac_link") 2>conftest.er1
15438 grep -v '^ *+' conftest.er1 >conftest.err
15440 cat conftest.err >&5
15441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15442 (exit $ac_status); } && {
15443 test -z "$ac_c_werror_flag" ||
15444 test ! -s conftest.err
15445 } && test -s conftest$ac_exeext &&
15446 $as_test_x conftest$ac_exeext; then
15447 ac_cv_cflags__fno_strict_aliasing=yes
15449 echo "$as_me: failed program was:" >&5
15450 sed 's/^/| /' conftest.$ac_ext >&5
15452 ac_cv_cflags__fno_strict_aliasing=no
15455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15456 conftest$ac_exeext conftest.$ac_ext
15457 CFLAGS=$ac_wine_try_cflags_saved
15459 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15460 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15461 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15462 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15465 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15466 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15467 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15468 echo $ECHO_N "(cached) $ECHO_C" >&6
15470 ac_wine_try_cflags_saved=$CFLAGS
15471 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15472 cat >conftest.$ac_ext <<_ACEOF
15475 cat confdefs.h >>conftest.$ac_ext
15476 cat >>conftest.$ac_ext <<_ACEOF
15477 /* end confdefs.h. */
15487 rm -f conftest.$ac_objext conftest$ac_exeext
15488 if { (ac_try="$ac_link"
15489 case "(($ac_try" in
15490 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15491 *) ac_try_echo
=$ac_try;;
15493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15494 (eval "$ac_link") 2>conftest.er1
15496 grep -v '^ *+' conftest.er1
>conftest.err
15498 cat conftest.err
>&5
15499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500 (exit $ac_status); } && {
15501 test -z "$ac_c_werror_flag" ||
15502 test ! -s conftest.err
15503 } && test -s conftest
$ac_exeext &&
15504 $as_test_x conftest
$ac_exeext; then
15505 ac_cv_cflags__Wdeclaration_after_statement
=yes
15507 echo "$as_me: failed program was:" >&5
15508 sed 's/^/| /' conftest.
$ac_ext >&5
15510 ac_cv_cflags__Wdeclaration_after_statement
=no
15513 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15514 conftest
$ac_exeext conftest.
$ac_ext
15515 CFLAGS
=$ac_wine_try_cflags_saved
15517 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15518 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15519 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15520 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
15523 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15524 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15525 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15526 echo $ECHO_N "(cached) $ECHO_C" >&6
15528 ac_wine_try_cflags_saved
=$CFLAGS
15529 CFLAGS
="$CFLAGS -Wwrite-strings"
15530 cat >conftest.
$ac_ext <<_ACEOF
15533 cat confdefs.h
>>conftest.
$ac_ext
15534 cat >>conftest.
$ac_ext <<_ACEOF
15535 /* end confdefs.h. */
15545 rm -f conftest.
$ac_objext conftest
$ac_exeext
15546 if { (ac_try
="$ac_link"
15547 case "(($ac_try" in
15548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15549 *) ac_try_echo=$ac_try;;
15551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15552 (eval "$ac_link") 2>conftest.er1
15554 grep -v '^ *+' conftest.er1 >conftest.err
15556 cat conftest.err >&5
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); } && {
15559 test -z "$ac_c_werror_flag" ||
15560 test ! -s conftest.err
15561 } && test -s conftest$ac_exeext &&
15562 $as_test_x conftest$ac_exeext; then
15563 ac_cv_cflags__Wwrite_strings=yes
15565 echo "$as_me: failed program was:" >&5
15566 sed 's/^/| /' conftest.$ac_ext >&5
15568 ac_cv_cflags__Wwrite_strings=no
15571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15572 conftest$ac_exeext conftest.$ac_ext
15573 CFLAGS=$ac_wine_try_cflags_saved
15575 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15576 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15577 if test $ac_cv_cflags__Wwrite_strings = yes; then
15578 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15582 saved_CFLAGS="$CFLAGS"
15583 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15584 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15585 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15586 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15587 echo $ECHO_N "(cached) $ECHO_C" >&6
15589 cat >conftest.$ac_ext <<_ACEOF
15592 cat confdefs.h >>conftest.$ac_ext
15593 cat >>conftest.$ac_ext <<_ACEOF
15594 /* end confdefs.h. */
15595 #include <string.h>
15604 rm -f conftest.$ac_objext
15605 if { (ac_try="$ac_compile"
15606 case "(($ac_try" in
15607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15608 *) ac_try_echo
=$ac_try;;
15610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15611 (eval "$ac_compile") 2>conftest.er1
15613 grep -v '^ *+' conftest.er1
>conftest.err
15615 cat conftest.err
>&5
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); } && {
15618 test -z "$ac_c_werror_flag" ||
15619 test ! -s conftest.err
15620 } && test -s conftest.
$ac_objext; then
15621 ac_cv_c_string_h_warnings
=no
15623 echo "$as_me: failed program was:" >&5
15624 sed 's/^/| /' conftest.
$ac_ext >&5
15626 ac_cv_c_string_h_warnings
=yes
15629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15631 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15632 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15633 CFLAGS
="$saved_CFLAGS"
15634 if test "$ac_cv_c_string_h_warnings" = "no"
15636 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
15641 saved_CFLAGS
="$CFLAGS"
15642 CFLAGS
="$CFLAGS -Werror"
15643 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15644 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15645 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15646 echo $ECHO_N "(cached) $ECHO_C" >&6
15648 cat >conftest.
$ac_ext <<_ACEOF
15651 cat confdefs.h
>>conftest.
$ac_ext
15652 cat >>conftest.
$ac_ext <<_ACEOF
15653 /* end confdefs.h. */
15658 int iswlower(unsigned short);
15663 rm -f conftest.
$ac_objext
15664 if { (ac_try
="$ac_compile"
15665 case "(($ac_try" in
15666 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15667 *) ac_try_echo=$ac_try;;
15669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15670 (eval "$ac_compile") 2>conftest.er1
15672 grep -v '^ *+' conftest.er1 >conftest.err
15674 cat conftest.err >&5
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); } && {
15677 test -z "$ac_c_werror_flag" ||
15678 test ! -s conftest.err
15679 } && test -s conftest.$ac_objext; then
15680 ac_cv_c_builtin_wchar_ctype=no
15682 echo "$as_me: failed program was:" >&5
15683 sed 's/^/| /' conftest.$ac_ext >&5
15685 ac_cv_c_builtin_wchar_ctype=yes
15688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15690 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15691 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15692 CFLAGS="$saved_CFLAGS"
15693 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15695 BUILTINFLAG="-fno-builtin"
15700 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15701 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15702 if test "${ac_cv_asm_func_def+set}" = set; then
15703 echo $ECHO_N "(cached) $ECHO_C" >&6
15705 cat >conftest.$ac_ext <<_ACEOF
15708 cat confdefs.h >>conftest.$ac_ext
15709 cat >>conftest.$ac_ext <<_ACEOF
15710 /* end confdefs.h. */
15715 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15720 rm -f conftest.$ac_objext conftest$ac_exeext
15721 if { (ac_try="$ac_link"
15722 case "(($ac_try" in
15723 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15724 *) ac_try_echo
=$ac_try;;
15726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15727 (eval "$ac_link") 2>conftest.er1
15729 grep -v '^ *+' conftest.er1
>conftest.err
15731 cat conftest.err
>&5
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); } && {
15734 test -z "$ac_c_werror_flag" ||
15735 test ! -s conftest.err
15736 } && test -s conftest
$ac_exeext &&
15737 $as_test_x conftest
$ac_exeext; then
15738 ac_cv_asm_func_def
=".def"
15740 echo "$as_me: failed program was:" >&5
15741 sed 's/^/| /' conftest.
$ac_ext >&5
15743 cat >conftest.
$ac_ext <<_ACEOF
15746 cat confdefs.h
>>conftest.
$ac_ext
15747 cat >>conftest.
$ac_ext <<_ACEOF
15748 /* end confdefs.h. */
15753 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15758 rm -f conftest.
$ac_objext conftest
$ac_exeext
15759 if { (ac_try
="$ac_link"
15760 case "(($ac_try" in
15761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15762 *) ac_try_echo=$ac_try;;
15764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15765 (eval "$ac_link") 2>conftest.er1
15767 grep -v '^ *+' conftest.er1 >conftest.err
15769 cat conftest.err >&5
15770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771 (exit $ac_status); } && {
15772 test -z "$ac_c_werror_flag" ||
15773 test ! -s conftest.err
15774 } && test -s conftest$ac_exeext &&
15775 $as_test_x conftest$ac_exeext; then
15776 ac_cv_asm_func_def=".type @function"
15778 echo "$as_me: failed program was:" >&5
15779 sed 's/^/| /' conftest.$ac_ext >&5
15781 cat >conftest.$ac_ext <<_ACEOF
15784 cat confdefs.h >>conftest.$ac_ext
15785 cat >>conftest.$ac_ext <<_ACEOF
15786 /* end confdefs.h. */
15791 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15796 rm -f conftest.$ac_objext conftest$ac_exeext
15797 if { (ac_try="$ac_link"
15798 case "(($ac_try" in
15799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15800 *) ac_try_echo
=$ac_try;;
15802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15803 (eval "$ac_link") 2>conftest.er1
15805 grep -v '^ *+' conftest.er1
>conftest.err
15807 cat conftest.err
>&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); } && {
15810 test -z "$ac_c_werror_flag" ||
15811 test ! -s conftest.err
15812 } && test -s conftest
$ac_exeext &&
15813 $as_test_x conftest
$ac_exeext; then
15814 ac_cv_asm_func_def
=".type 2"
15816 echo "$as_me: failed program was:" >&5
15817 sed 's/^/| /' conftest.
$ac_ext >&5
15819 ac_cv_asm_func_def
="unknown"
15822 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15823 conftest
$ac_exeext conftest.
$ac_ext
15826 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15827 conftest
$ac_exeext conftest.
$ac_ext
15830 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15831 conftest
$ac_exeext conftest.
$ac_ext
15833 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15834 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15838 case "$ac_cv_asm_func_def" in
15840 cat >>confdefs.h
<<\_ACEOF
15841 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15845 cat >>confdefs.h
<<\_ACEOF
15846 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15850 cat >>confdefs.h
<<\_ACEOF
15851 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15855 cat >>confdefs.h
<<\_ACEOF
15856 #define __ASM_FUNC(name) ""
15862 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15863 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15864 if test "${ac_cv_c_extern_prefix+set}" = set; then
15865 echo $ECHO_N "(cached) $ECHO_C" >&6
15867 cat >conftest.
$ac_ext <<_ACEOF
15870 cat confdefs.h
>>conftest.
$ac_ext
15871 cat >>conftest.
$ac_ext <<_ACEOF
15872 /* end confdefs.h. */
15873 extern int ac_test;
15877 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15882 rm -f conftest.
$ac_objext conftest
$ac_exeext
15883 if { (ac_try
="$ac_link"
15884 case "(($ac_try" in
15885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15886 *) ac_try_echo=$ac_try;;
15888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15889 (eval "$ac_link") 2>conftest.er1
15891 grep -v '^ *+' conftest.er1 >conftest.err
15893 cat conftest.err >&5
15894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15895 (exit $ac_status); } && {
15896 test -z "$ac_c_werror_flag" ||
15897 test ! -s conftest.err
15898 } && test -s conftest$ac_exeext &&
15899 $as_test_x conftest$ac_exeext; then
15900 ac_cv_c_extern_prefix="yes"
15902 echo "$as_me: failed program was:" >&5
15903 sed 's/^/| /' conftest.$ac_ext >&5
15905 ac_cv_c_extern_prefix="no"
15908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15909 conftest$ac_exeext conftest.$ac_ext
15911 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15912 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15916 if test "$ac_cv_c_extern_prefix" = "yes"
15918 cat >>confdefs.h <<\_ACEOF
15919 #define __ASM_NAME(name) "_" name
15923 cat >>confdefs.h <<\_ACEOF
15924 #define __ASM_NAME(name) name
15934 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15938 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15940 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15944 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15952 SOCKETLIBS="-lws2_32"
15957 MAIN_BINARY="wine-pthread"
15961 linux* | k*bsd*-gnu)
15962 MAIN_BINARY="wine-glibc"
15964 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15967 MAIN_BINARY="wine-freebsd"
15969 EXTRA_BINARIES="wine-pthread"
16107 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16108 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16110 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16111 echo $ECHO_N "(cached) $ECHO_C" >&6
16113 cat >conftest.$ac_ext <<_ACEOF
16116 cat confdefs.h >>conftest.$ac_ext
16117 cat >>conftest.$ac_ext <<_ACEOF
16118 /* end confdefs.h. */
16119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16121 #define $ac_func innocuous_$ac_func
16123 /* System header to define __stub macros and hopefully few prototypes,
16124 which can conflict with char $ac_func (); below.
16125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16126 <limits.h> exists even on freestanding compilers. */
16129 # include <limits.h>
16131 # include <assert.h>
16136 /* Override any GCC internal prototype to avoid an error.
16137 Use char because int might match the return type of a GCC
16138 builtin and then its argument prototype would still apply. */
16143 /* The GNU C library defines this for functions which it implements
16144 to always fail with ENOSYS. Some functions are actually named
16145 something starting with __ and the normal name is an alias. */
16146 #if defined __stub_$ac_func || defined __stub___$ac_func
16153 return $ac_func ();
16158 rm -f conftest.$ac_objext conftest$ac_exeext
16159 if { (ac_try="$ac_link"
16160 case "(($ac_try" in
16161 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16162 *) ac_try_echo
=$ac_try;;
16164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16165 (eval "$ac_link") 2>conftest.er1
16167 grep -v '^ *+' conftest.er1
>conftest.err
16169 cat conftest.err
>&5
16170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16171 (exit $ac_status); } && {
16172 test -z "$ac_c_werror_flag" ||
16173 test ! -s conftest.err
16174 } && test -s conftest
$ac_exeext &&
16175 $as_test_x conftest
$ac_exeext; then
16176 eval "$as_ac_var=yes"
16178 echo "$as_me: failed program was:" >&5
16179 sed 's/^/| /' conftest.
$ac_ext >&5
16181 eval "$as_ac_var=no"
16184 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16185 conftest
$ac_exeext conftest.
$ac_ext
16187 ac_res
=`eval echo '${'$as_ac_var'}'`
16188 { echo "$as_me:$LINENO: result: $ac_res" >&5
16189 echo "${ECHO_T}$ac_res" >&6; }
16190 if test `eval echo '${'$as_ac_var'}'` = yes; then
16191 cat >>confdefs.h
<<_ACEOF
16192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16199 if test "$ac_cv_func_dlopen" = no
16201 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16202 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16203 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16204 echo $ECHO_N "(cached) $ECHO_C" >&6
16206 ac_check_lib_save_LIBS
=$LIBS
16208 cat >conftest.
$ac_ext <<_ACEOF
16211 cat confdefs.h
>>conftest.
$ac_ext
16212 cat >>conftest.
$ac_ext <<_ACEOF
16213 /* end confdefs.h. */
16215 /* Override any GCC internal prototype to avoid an error.
16216 Use char because int might match the return type of a GCC
16217 builtin and then its argument prototype would still apply. */
16230 rm -f conftest.
$ac_objext conftest
$ac_exeext
16231 if { (ac_try
="$ac_link"
16232 case "(($ac_try" in
16233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16234 *) ac_try_echo=$ac_try;;
16236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16237 (eval "$ac_link") 2>conftest.er1
16239 grep -v '^ *+' conftest.er1 >conftest.err
16241 cat conftest.err >&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); } && {
16244 test -z "$ac_c_werror_flag" ||
16245 test ! -s conftest.err
16246 } && test -s conftest$ac_exeext &&
16247 $as_test_x conftest$ac_exeext; then
16248 ac_cv_lib_dl_dlopen=yes
16250 echo "$as_me: failed program was:" >&5
16251 sed 's/^/| /' conftest.$ac_ext >&5
16253 ac_cv_lib_dl_dlopen=no
16256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16257 conftest$ac_exeext conftest.$ac_ext
16258 LIBS=$ac_check_lib_save_LIBS
16260 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16261 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16262 if test $ac_cv_lib_dl_dlopen = yes; then
16263 cat >>confdefs.h <<\_ACEOF
16264 #define HAVE_DLOPEN 1
16271 ac_wine_check_funcs_save_LIBS="$LIBS"
16272 LIBS="$LIBS $LIBDL"
16274 for ac_func in dladdr
16276 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16277 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16279 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16280 echo $ECHO_N "(cached) $ECHO_C" >&6
16282 cat >conftest.$ac_ext <<_ACEOF
16285 cat confdefs.h >>conftest.$ac_ext
16286 cat >>conftest.$ac_ext <<_ACEOF
16287 /* end confdefs.h. */
16288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16290 #define $ac_func innocuous_$ac_func
16292 /* System header to define __stub macros and hopefully few prototypes,
16293 which can conflict with char $ac_func (); below.
16294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16295 <limits.h> exists even on freestanding compilers. */
16298 # include <limits.h>
16300 # include <assert.h>
16305 /* Override any GCC internal prototype to avoid an error.
16306 Use char because int might match the return type of a GCC
16307 builtin and then its argument prototype would still apply. */
16312 /* The GNU C library defines this for functions which it implements
16313 to always fail with ENOSYS. Some functions are actually named
16314 something starting with __ and the normal name is an alias. */
16315 #if defined __stub_$ac_func || defined __stub___$ac_func
16322 return $ac_func ();
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 eval "$as_ac_var=yes"
16347 echo "$as_me: failed program was:" >&5
16348 sed 's/^/| /' conftest.
$ac_ext >&5
16350 eval "$as_ac_var=no"
16353 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16354 conftest
$ac_exeext conftest.
$ac_ext
16356 ac_res
=`eval echo '${'$as_ac_var'}'`
16357 { echo "$as_me:$LINENO: result: $ac_res" >&5
16358 echo "${ECHO_T}$ac_res" >&6; }
16359 if test `eval echo '${'$as_ac_var'}'` = yes; then
16360 cat >>confdefs.h
<<_ACEOF
16361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16367 LIBS
="$ac_wine_check_funcs_save_LIBS"
16369 if test "$ac_cv_func_poll" = no
16371 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16372 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16373 if test "${ac_cv_lib_poll_poll+set}" = set; then
16374 echo $ECHO_N "(cached) $ECHO_C" >&6
16376 ac_check_lib_save_LIBS
=$LIBS
16377 LIBS
="-lpoll $LIBS"
16378 cat >conftest.
$ac_ext <<_ACEOF
16381 cat confdefs.h
>>conftest.
$ac_ext
16382 cat >>conftest.
$ac_ext <<_ACEOF
16383 /* end confdefs.h. */
16385 /* Override any GCC internal prototype to avoid an error.
16386 Use char because int might match the return type of a GCC
16387 builtin and then its argument prototype would still apply. */
16400 rm -f conftest.
$ac_objext conftest
$ac_exeext
16401 if { (ac_try
="$ac_link"
16402 case "(($ac_try" in
16403 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16404 *) ac_try_echo=$ac_try;;
16406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16407 (eval "$ac_link") 2>conftest.er1
16409 grep -v '^ *+' conftest.er1 >conftest.err
16411 cat conftest.err >&5
16412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16413 (exit $ac_status); } && {
16414 test -z "$ac_c_werror_flag" ||
16415 test ! -s conftest.err
16416 } && test -s conftest$ac_exeext &&
16417 $as_test_x conftest$ac_exeext; then
16418 ac_cv_lib_poll_poll=yes
16420 echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.$ac_ext >&5
16423 ac_cv_lib_poll_poll=no
16426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16427 conftest$ac_exeext conftest.$ac_ext
16428 LIBS=$ac_check_lib_save_LIBS
16430 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16431 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16432 if test $ac_cv_lib_poll_poll = yes; then
16433 cat >>confdefs.h <<\_ACEOF
16434 #define HAVE_POLL 1
16442 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16443 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16444 if test "${ac_cv_search_gethostbyname+set}" = set; then
16445 echo $ECHO_N "(cached) $ECHO_C" >&6
16447 ac_func_search_save_LIBS=$LIBS
16448 cat >conftest.$ac_ext <<_ACEOF
16451 cat confdefs.h >>conftest.$ac_ext
16452 cat >>conftest.$ac_ext <<_ACEOF
16453 /* end confdefs.h. */
16455 /* Override any GCC internal prototype to avoid an error.
16456 Use char because int might match the return type of a GCC
16457 builtin and then its argument prototype would still apply. */
16461 char gethostbyname ();
16465 return gethostbyname ();
16470 for ac_lib in '' nsl; do
16471 if test -z "$ac_lib"; then
16472 ac_res="none required"
16475 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16477 rm -f conftest.$ac_objext conftest$ac_exeext
16478 if { (ac_try="$ac_link"
16479 case "(($ac_try" in
16480 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16481 *) ac_try_echo
=$ac_try;;
16483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16484 (eval "$ac_link") 2>conftest.er1
16486 grep -v '^ *+' conftest.er1
>conftest.err
16488 cat conftest.err
>&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); } && {
16491 test -z "$ac_c_werror_flag" ||
16492 test ! -s conftest.err
16493 } && test -s conftest
$ac_exeext &&
16494 $as_test_x conftest
$ac_exeext; then
16495 ac_cv_search_gethostbyname
=$ac_res
16497 echo "$as_me: failed program was:" >&5
16498 sed 's/^/| /' conftest.
$ac_ext >&5
16503 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16505 if test "${ac_cv_search_gethostbyname+set}" = set; then
16509 if test "${ac_cv_search_gethostbyname+set}" = set; then
16512 ac_cv_search_gethostbyname
=no
16514 rm conftest.
$ac_ext
16515 LIBS
=$ac_func_search_save_LIBS
16517 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16518 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16519 ac_res
=$ac_cv_search_gethostbyname
16520 if test "$ac_res" != no
; then
16521 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16526 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16527 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16528 if test "${ac_cv_search_connect+set}" = set; then
16529 echo $ECHO_N "(cached) $ECHO_C" >&6
16531 ac_func_search_save_LIBS
=$LIBS
16532 cat >conftest.
$ac_ext <<_ACEOF
16535 cat confdefs.h
>>conftest.
$ac_ext
16536 cat >>conftest.
$ac_ext <<_ACEOF
16537 /* end confdefs.h. */
16539 /* Override any GCC internal prototype to avoid an error.
16540 Use char because int might match the return type of a GCC
16541 builtin and then its argument prototype would still apply. */
16554 for ac_lib
in '' socket
; do
16555 if test -z "$ac_lib"; then
16556 ac_res
="none required"
16559 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16561 rm -f conftest.
$ac_objext conftest
$ac_exeext
16562 if { (ac_try
="$ac_link"
16563 case "(($ac_try" in
16564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16565 *) ac_try_echo=$ac_try;;
16567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16568 (eval "$ac_link") 2>conftest.er1
16570 grep -v '^ *+' conftest.er1 >conftest.err
16572 cat conftest.err >&5
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); } && {
16575 test -z "$ac_c_werror_flag" ||
16576 test ! -s conftest.err
16577 } && test -s conftest$ac_exeext &&
16578 $as_test_x conftest$ac_exeext; then
16579 ac_cv_search_connect=$ac_res
16581 echo "$as_me: failed program was:" >&5
16582 sed 's/^/| /' conftest.$ac_ext >&5
16587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16589 if test "${ac_cv_search_connect+set}" = set; then
16593 if test "${ac_cv_search_connect+set}" = set; then
16596 ac_cv_search_connect=no
16598 rm conftest.$ac_ext
16599 LIBS=$ac_func_search_save_LIBS
16601 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16602 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16603 ac_res=$ac_cv_search_connect
16604 if test "$ac_res" != no; then
16605 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16610 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16611 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16612 if test "${ac_cv_search_inet_aton+set}" = set; then
16613 echo $ECHO_N "(cached) $ECHO_C" >&6
16615 ac_func_search_save_LIBS=$LIBS
16616 cat >conftest.$ac_ext <<_ACEOF
16619 cat confdefs.h >>conftest.$ac_ext
16620 cat >>conftest.$ac_ext <<_ACEOF
16621 /* end confdefs.h. */
16623 /* Override any GCC internal prototype to avoid an error.
16624 Use char because int might match the return type of a GCC
16625 builtin and then its argument prototype would still apply. */
16633 return inet_aton ();
16638 for ac_lib in '' resolv; do
16639 if test -z "$ac_lib"; then
16640 ac_res="none required"
16643 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16645 rm -f conftest.$ac_objext conftest$ac_exeext
16646 if { (ac_try="$ac_link"
16647 case "(($ac_try" in
16648 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16649 *) ac_try_echo
=$ac_try;;
16651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16652 (eval "$ac_link") 2>conftest.er1
16654 grep -v '^ *+' conftest.er1
>conftest.err
16656 cat conftest.err
>&5
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); } && {
16659 test -z "$ac_c_werror_flag" ||
16660 test ! -s conftest.err
16661 } && test -s conftest
$ac_exeext &&
16662 $as_test_x conftest
$ac_exeext; then
16663 ac_cv_search_inet_aton
=$ac_res
16665 echo "$as_me: failed program was:" >&5
16666 sed 's/^/| /' conftest.
$ac_ext >&5
16671 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16673 if test "${ac_cv_search_inet_aton+set}" = set; then
16677 if test "${ac_cv_search_inet_aton+set}" = set; then
16680 ac_cv_search_inet_aton
=no
16682 rm conftest.
$ac_ext
16683 LIBS
=$ac_func_search_save_LIBS
16685 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16686 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16687 ac_res
=$ac_cv_search_inet_aton
16688 if test "$ac_res" != no
; then
16689 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16713 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16714 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16716 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16717 echo $ECHO_N "(cached) $ECHO_C" >&6
16719 cat >conftest.
$ac_ext <<_ACEOF
16722 cat confdefs.h
>>conftest.
$ac_ext
16723 cat >>conftest.
$ac_ext <<_ACEOF
16724 /* end confdefs.h. */
16725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16727 #define $ac_func innocuous_$ac_func
16729 /* System header to define __stub macros and hopefully few prototypes,
16730 which can conflict with char $ac_func (); below.
16731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16732 <limits.h> exists even on freestanding compilers. */
16735 # include <limits.h>
16737 # include <assert.h>
16742 /* Override any GCC internal prototype to avoid an error.
16743 Use char because int might match the return type of a GCC
16744 builtin and then its argument prototype would still apply. */
16749 /* The GNU C library defines this for functions which it implements
16750 to always fail with ENOSYS. Some functions are actually named
16751 something starting with __ and the normal name is an alias. */
16752 #if defined __stub_$ac_func || defined __stub___$ac_func
16759 return $ac_func ();
16764 rm -f conftest.
$ac_objext conftest
$ac_exeext
16765 if { (ac_try
="$ac_link"
16766 case "(($ac_try" in
16767 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16768 *) ac_try_echo=$ac_try;;
16770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16771 (eval "$ac_link") 2>conftest.er1
16773 grep -v '^ *+' conftest.er1 >conftest.err
16775 cat conftest.err >&5
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); } && {
16778 test -z "$ac_c_werror_flag" ||
16779 test ! -s conftest.err
16780 } && test -s conftest$ac_exeext &&
16781 $as_test_x conftest$ac_exeext; then
16782 eval "$as_ac_var=yes"
16784 echo "$as_me: failed program was:" >&5
16785 sed 's/^/| /' conftest.$ac_ext >&5
16787 eval "$as_ac_var=no"
16790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16791 conftest$ac_exeext conftest.$ac_ext
16793 ac_res=`eval echo '${'$as_ac_var'}'`
16794 { echo "$as_me:$LINENO: result: $ac_res" >&5
16795 echo "${ECHO_T}$ac_res" >&6; }
16796 if test `eval echo '${'$as_ac_var'}'` = yes; then
16797 cat >>confdefs.h <<_ACEOF
16798 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16806 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16807 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16808 if test "${ac_cv_c_const+set}" = set; then
16809 echo $ECHO_N "(cached) $ECHO_C" >&6
16811 cat >conftest.$ac_ext <<_ACEOF
16814 cat confdefs.h >>conftest.$ac_ext
16815 cat >>conftest.$ac_ext <<_ACEOF
16816 /* end confdefs.h. */
16821 /* FIXME: Include the comments suggested by Paul. */
16822 #ifndef __cplusplus
16823 /* Ultrix mips cc rejects this. */
16824 typedef int charset[2];
16826 /* SunOS 4.1.1 cc rejects this. */
16827 char const *const *pcpcc;
16829 /* NEC SVR4.0.2 mips cc rejects this. */
16830 struct point {int x, y;};
16831 static struct point const zero = {0,0};
16832 /* AIX XL C 1.02.0.0 rejects this.
16833 It does not let you subtract one const X* pointer from another in
16834 an arm of an if-expression whose if-part is not a constant
16836 const char *g = "string";
16837 pcpcc = &g + (g ? g-g : 0);
16838 /* HPUX 7.0 cc rejects these. */
16840 ppc = (char**) pcpcc;
16841 pcpcc = (char const *const *) ppc;
16842 { /* SCO 3.2v4 cc rejects this. */
16844 char const *s = 0 ? (char *) 0 : (char const *) 0;
16849 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16850 int x[] = {25, 17};
16851 const int *foo = &x[0];
16854 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16855 typedef const int *iptr;
16859 { /* AIX XL C 1.02.0.0 rejects this saying
16860 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16861 struct s { int j; const int *ap[3]; };
16862 struct s *b; b->j = 5;
16864 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16865 const int foo = 10;
16866 if (!foo) return 0;
16868 return !cs[0] && !zero.x;
16875 rm -f conftest.$ac_objext
16876 if { (ac_try="$ac_compile"
16877 case "(($ac_try" in
16878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16879 *) ac_try_echo
=$ac_try;;
16881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16882 (eval "$ac_compile") 2>conftest.er1
16884 grep -v '^ *+' conftest.er1
>conftest.err
16886 cat conftest.err
>&5
16887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16888 (exit $ac_status); } && {
16889 test -z "$ac_c_werror_flag" ||
16890 test ! -s conftest.err
16891 } && test -s conftest.
$ac_objext; then
16894 echo "$as_me: failed program was:" >&5
16895 sed 's/^/| /' conftest.
$ac_ext >&5
16900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16902 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16903 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16904 if test $ac_cv_c_const = no
; then
16906 cat >>confdefs.h
<<\_ACEOF
16912 { echo "$as_me:$LINENO: checking for inline" >&5
16913 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16914 if test "${ac_cv_c_inline+set}" = set; then
16915 echo $ECHO_N "(cached) $ECHO_C" >&6
16918 for ac_kw
in inline __inline__ __inline
; do
16919 cat >conftest.
$ac_ext <<_ACEOF
16922 cat confdefs.h
>>conftest.
$ac_ext
16923 cat >>conftest.
$ac_ext <<_ACEOF
16924 /* end confdefs.h. */
16925 #ifndef __cplusplus
16927 static $ac_kw foo_t static_foo () {return 0; }
16928 $ac_kw foo_t foo () {return 0; }
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_c_inline=$ac_kw
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.$ac_ext >&5
16957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16958 test "$ac_cv_c_inline" != no && break
16962 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16963 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16966 case $ac_cv_c_inline in
16969 case $ac_cv_c_inline in
16971 *) ac_val=$ac_cv_c_inline;;
16973 cat >>confdefs.h <<_ACEOF
16974 #ifndef __cplusplus
16975 #define inline $ac_val
16981 { echo "$as_me:$LINENO: checking for mode_t" >&5
16982 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16983 if test "${ac_cv_type_mode_t+set}" = set; then
16984 echo $ECHO_N "(cached) $ECHO_C" >&6
16986 cat >conftest.$ac_ext <<_ACEOF
16989 cat confdefs.h >>conftest.$ac_ext
16990 cat >>conftest.$ac_ext <<_ACEOF
16991 /* end confdefs.h. */
16992 $ac_includes_default
16993 typedef mode_t ac__type_new_;
16997 if ((ac__type_new_ *) 0)
16999 if (sizeof (ac__type_new_))
17005 rm -f conftest.$ac_objext
17006 if { (ac_try="$ac_compile"
17007 case "(($ac_try" in
17008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17009 *) ac_try_echo
=$ac_try;;
17011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17012 (eval "$ac_compile") 2>conftest.er1
17014 grep -v '^ *+' conftest.er1
>conftest.err
17016 cat conftest.err
>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } && {
17019 test -z "$ac_c_werror_flag" ||
17020 test ! -s conftest.err
17021 } && test -s conftest.
$ac_objext; then
17022 ac_cv_type_mode_t
=yes
17024 echo "$as_me: failed program was:" >&5
17025 sed 's/^/| /' conftest.
$ac_ext >&5
17027 ac_cv_type_mode_t
=no
17030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17032 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17033 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17034 if test $ac_cv_type_mode_t = yes; then
17036 cat >>confdefs.h
<<_ACEOF
17037 #define HAVE_MODE_T 1
17042 { echo "$as_me:$LINENO: checking for off_t" >&5
17043 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17044 if test "${ac_cv_type_off_t+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17047 cat >conftest.
$ac_ext <<_ACEOF
17050 cat confdefs.h
>>conftest.
$ac_ext
17051 cat >>conftest.
$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053 $ac_includes_default
17054 typedef off_t ac__type_new_;
17058 if ((ac__type_new_ *) 0)
17060 if (sizeof (ac__type_new_))
17066 rm -f conftest.
$ac_objext
17067 if { (ac_try
="$ac_compile"
17068 case "(($ac_try" in
17069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17070 *) ac_try_echo=$ac_try;;
17072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17073 (eval "$ac_compile") 2>conftest.er1
17075 grep -v '^ *+' conftest.er1 >conftest.err
17077 cat conftest.err >&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } && {
17080 test -z "$ac_c_werror_flag" ||
17081 test ! -s conftest.err
17082 } && test -s conftest.$ac_objext; then
17083 ac_cv_type_off_t=yes
17085 echo "$as_me: failed program was:" >&5
17086 sed 's/^/| /' conftest.$ac_ext >&5
17088 ac_cv_type_off_t=no
17091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17093 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17094 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17095 if test $ac_cv_type_off_t = yes; then
17097 cat >>confdefs.h <<_ACEOF
17098 #define HAVE_OFF_T 1
17103 { echo "$as_me:$LINENO: checking for pid_t" >&5
17104 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17105 if test "${ac_cv_type_pid_t+set}" = set; then
17106 echo $ECHO_N "(cached) $ECHO_C" >&6
17108 cat >conftest.$ac_ext <<_ACEOF
17111 cat confdefs.h >>conftest.$ac_ext
17112 cat >>conftest.$ac_ext <<_ACEOF
17113 /* end confdefs.h. */
17114 $ac_includes_default
17115 typedef pid_t ac__type_new_;
17119 if ((ac__type_new_ *) 0)
17121 if (sizeof (ac__type_new_))
17127 rm -f conftest.$ac_objext
17128 if { (ac_try="$ac_compile"
17129 case "(($ac_try" in
17130 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17131 *) ac_try_echo
=$ac_try;;
17133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17134 (eval "$ac_compile") 2>conftest.er1
17136 grep -v '^ *+' conftest.er1
>conftest.err
17138 cat conftest.err
>&5
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); } && {
17141 test -z "$ac_c_werror_flag" ||
17142 test ! -s conftest.err
17143 } && test -s conftest.
$ac_objext; then
17144 ac_cv_type_pid_t
=yes
17146 echo "$as_me: failed program was:" >&5
17147 sed 's/^/| /' conftest.
$ac_ext >&5
17149 ac_cv_type_pid_t
=no
17152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17154 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17155 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17156 if test $ac_cv_type_pid_t = yes; then
17158 cat >>confdefs.h
<<_ACEOF
17159 #define HAVE_PID_T 1
17164 { echo "$as_me:$LINENO: checking for size_t" >&5
17165 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17166 if test "${ac_cv_type_size_t+set}" = set; then
17167 echo $ECHO_N "(cached) $ECHO_C" >&6
17169 cat >conftest.
$ac_ext <<_ACEOF
17172 cat confdefs.h
>>conftest.
$ac_ext
17173 cat >>conftest.
$ac_ext <<_ACEOF
17174 /* end confdefs.h. */
17175 $ac_includes_default
17176 typedef size_t ac__type_new_;
17180 if ((ac__type_new_ *) 0)
17182 if (sizeof (ac__type_new_))
17188 rm -f conftest.
$ac_objext
17189 if { (ac_try
="$ac_compile"
17190 case "(($ac_try" in
17191 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17192 *) ac_try_echo=$ac_try;;
17194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17195 (eval "$ac_compile") 2>conftest.er1
17197 grep -v '^ *+' conftest.er1 >conftest.err
17199 cat conftest.err >&5
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); } && {
17202 test -z "$ac_c_werror_flag" ||
17203 test ! -s conftest.err
17204 } && test -s conftest.$ac_objext; then
17205 ac_cv_type_size_t=yes
17207 echo "$as_me: failed program was:" >&5
17208 sed 's/^/| /' conftest.$ac_ext >&5
17210 ac_cv_type_size_t=no
17213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17215 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17216 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17217 if test $ac_cv_type_size_t = yes; then
17219 cat >>confdefs.h <<_ACEOF
17220 #define HAVE_SIZE_T 1
17225 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17226 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17227 if test "${ac_cv_type_ssize_t+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6
17230 cat >conftest.$ac_ext <<_ACEOF
17233 cat confdefs.h >>conftest.$ac_ext
17234 cat >>conftest.$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17236 $ac_includes_default
17237 typedef ssize_t ac__type_new_;
17241 if ((ac__type_new_ *) 0)
17243 if (sizeof (ac__type_new_))
17249 rm -f conftest.$ac_objext
17250 if { (ac_try="$ac_compile"
17251 case "(($ac_try" in
17252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17253 *) ac_try_echo
=$ac_try;;
17255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17256 (eval "$ac_compile") 2>conftest.er1
17258 grep -v '^ *+' conftest.er1
>conftest.err
17260 cat conftest.err
>&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); } && {
17263 test -z "$ac_c_werror_flag" ||
17264 test ! -s conftest.err
17265 } && test -s conftest.
$ac_objext; then
17266 ac_cv_type_ssize_t
=yes
17268 echo "$as_me: failed program was:" >&5
17269 sed 's/^/| /' conftest.
$ac_ext >&5
17271 ac_cv_type_ssize_t
=no
17274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17276 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17277 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17278 if test $ac_cv_type_ssize_t = yes; then
17280 cat >>confdefs.h
<<_ACEOF
17281 #define HAVE_SSIZE_T 1
17286 { echo "$as_me:$LINENO: checking for long long" >&5
17287 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17288 if test "${ac_cv_type_long_long+set}" = set; then
17289 echo $ECHO_N "(cached) $ECHO_C" >&6
17291 cat >conftest.
$ac_ext <<_ACEOF
17294 cat confdefs.h
>>conftest.
$ac_ext
17295 cat >>conftest.
$ac_ext <<_ACEOF
17296 /* end confdefs.h. */
17297 $ac_includes_default
17298 typedef long long ac__type_new_;
17302 if ((ac__type_new_ *) 0)
17304 if (sizeof (ac__type_new_))
17310 rm -f conftest.
$ac_objext
17311 if { (ac_try
="$ac_compile"
17312 case "(($ac_try" in
17313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17314 *) ac_try_echo=$ac_try;;
17316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17317 (eval "$ac_compile") 2>conftest.er1
17319 grep -v '^ *+' conftest.er1 >conftest.err
17321 cat conftest.err >&5
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17323 (exit $ac_status); } && {
17324 test -z "$ac_c_werror_flag" ||
17325 test ! -s conftest.err
17326 } && test -s conftest.$ac_objext; then
17327 ac_cv_type_long_long=yes
17329 echo "$as_me: failed program was:" >&5
17330 sed 's/^/| /' conftest.$ac_ext >&5
17332 ac_cv_type_long_long=no
17335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17337 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17338 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17339 if test $ac_cv_type_long_long = yes; then
17341 cat >>confdefs.h <<_ACEOF
17342 #define HAVE_LONG_LONG 1
17347 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17348 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17349 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17350 echo $ECHO_N "(cached) $ECHO_C" >&6
17352 cat >conftest.$ac_ext <<_ACEOF
17355 cat confdefs.h >>conftest.$ac_ext
17356 cat >>conftest.$ac_ext <<_ACEOF
17357 /* end confdefs.h. */
17358 $ac_includes_default
17359 typedef fsblkcnt_t ac__type_new_;
17363 if ((ac__type_new_ *) 0)
17365 if (sizeof (ac__type_new_))
17371 rm -f conftest.$ac_objext
17372 if { (ac_try="$ac_compile"
17373 case "(($ac_try" in
17374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17375 *) ac_try_echo
=$ac_try;;
17377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17378 (eval "$ac_compile") 2>conftest.er1
17380 grep -v '^ *+' conftest.er1
>conftest.err
17382 cat conftest.err
>&5
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); } && {
17385 test -z "$ac_c_werror_flag" ||
17386 test ! -s conftest.err
17387 } && test -s conftest.
$ac_objext; then
17388 ac_cv_type_fsblkcnt_t
=yes
17390 echo "$as_me: failed program was:" >&5
17391 sed 's/^/| /' conftest.
$ac_ext >&5
17393 ac_cv_type_fsblkcnt_t
=no
17396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17398 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17399 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17400 if test $ac_cv_type_fsblkcnt_t = yes; then
17402 cat >>confdefs.h
<<_ACEOF
17403 #define HAVE_FSBLKCNT_T 1
17408 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17409 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17410 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17411 echo $ECHO_N "(cached) $ECHO_C" >&6
17413 cat >conftest.
$ac_ext <<_ACEOF
17416 cat confdefs.h
>>conftest.
$ac_ext
17417 cat >>conftest.
$ac_ext <<_ACEOF
17418 /* end confdefs.h. */
17419 $ac_includes_default
17420 typedef fsfilcnt_t ac__type_new_;
17424 if ((ac__type_new_ *) 0)
17426 if (sizeof (ac__type_new_))
17432 rm -f conftest.
$ac_objext
17433 if { (ac_try
="$ac_compile"
17434 case "(($ac_try" in
17435 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17436 *) ac_try_echo=$ac_try;;
17438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17439 (eval "$ac_compile") 2>conftest.er1
17441 grep -v '^ *+' conftest.er1 >conftest.err
17443 cat conftest.err >&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); } && {
17446 test -z "$ac_c_werror_flag" ||
17447 test ! -s conftest.err
17448 } && test -s conftest.$ac_objext; then
17449 ac_cv_type_fsfilcnt_t=yes
17451 echo "$as_me: failed program was:" >&5
17452 sed 's/^/| /' conftest.$ac_ext >&5
17454 ac_cv_type_fsfilcnt_t=no
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17459 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17460 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17461 if test $ac_cv_type_fsfilcnt_t = yes; then
17463 cat >>confdefs.h <<_ACEOF
17464 #define HAVE_FSFILCNT_T 1
17470 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17471 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17472 if test "${ac_cv_type_sigset_t+set}" = set; then
17473 echo $ECHO_N "(cached) $ECHO_C" >&6
17475 cat >conftest.$ac_ext <<_ACEOF
17478 cat confdefs.h >>conftest.$ac_ext
17479 cat >>conftest.$ac_ext <<_ACEOF
17480 /* end confdefs.h. */
17481 #include <signal.h>
17483 typedef sigset_t ac__type_new_;
17487 if ((ac__type_new_ *) 0)
17489 if (sizeof (ac__type_new_))
17495 rm -f conftest.$ac_objext
17496 if { (ac_try="$ac_compile"
17497 case "(($ac_try" in
17498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17499 *) ac_try_echo
=$ac_try;;
17501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17502 (eval "$ac_compile") 2>conftest.er1
17504 grep -v '^ *+' conftest.er1
>conftest.err
17506 cat conftest.err
>&5
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); } && {
17509 test -z "$ac_c_werror_flag" ||
17510 test ! -s conftest.err
17511 } && test -s conftest.
$ac_objext; then
17512 ac_cv_type_sigset_t
=yes
17514 echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.
$ac_ext >&5
17517 ac_cv_type_sigset_t
=no
17520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17522 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17523 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17524 if test $ac_cv_type_sigset_t = yes; then
17526 cat >>confdefs.h
<<_ACEOF
17527 #define HAVE_SIGSET_T 1
17533 { echo "$as_me:$LINENO: checking for request_sense" >&5
17534 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17535 if test "${ac_cv_type_request_sense+set}" = set; then
17536 echo $ECHO_N "(cached) $ECHO_C" >&6
17538 cat >conftest.
$ac_ext <<_ACEOF
17541 cat confdefs.h
>>conftest.
$ac_ext
17542 cat >>conftest.
$ac_ext <<_ACEOF
17543 /* end confdefs.h. */
17544 #include <linux/cdrom.h>
17546 typedef request_sense ac__type_new_;
17550 if ((ac__type_new_ *) 0)
17552 if (sizeof (ac__type_new_))
17558 rm -f conftest.
$ac_objext
17559 if { (ac_try
="$ac_compile"
17560 case "(($ac_try" in
17561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17562 *) ac_try_echo=$ac_try;;
17564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17565 (eval "$ac_compile") 2>conftest.er1
17567 grep -v '^ *+' conftest.er1 >conftest.err
17569 cat conftest.err >&5
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); } && {
17572 test -z "$ac_c_werror_flag" ||
17573 test ! -s conftest.err
17574 } && test -s conftest.$ac_objext; then
17575 ac_cv_type_request_sense=yes
17577 echo "$as_me: failed program was:" >&5
17578 sed 's/^/| /' conftest.$ac_ext >&5
17580 ac_cv_type_request_sense=no
17583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17585 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17586 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17587 if test $ac_cv_type_request_sense = yes; then
17589 cat >>confdefs.h <<_ACEOF
17590 #define HAVE_REQUEST_SENSE 1
17597 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17598 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17599 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17600 echo $ECHO_N "(cached) $ECHO_C" >&6
17602 cat >conftest.$ac_ext <<_ACEOF
17605 cat confdefs.h >>conftest.$ac_ext
17606 cat >>conftest.$ac_ext <<_ACEOF
17607 /* end confdefs.h. */
17608 #ifdef HAVE_LINUX_INPUT_H
17609 #include <linux/input.h>
17615 static struct ff_effect ac_aggr;
17616 if (ac_aggr.direction)
17622 rm -f conftest.$ac_objext
17623 if { (ac_try="$ac_compile"
17624 case "(($ac_try" in
17625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17626 *) ac_try_echo
=$ac_try;;
17628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17629 (eval "$ac_compile") 2>conftest.er1
17631 grep -v '^ *+' conftest.er1
>conftest.err
17633 cat conftest.err
>&5
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); } && {
17636 test -z "$ac_c_werror_flag" ||
17637 test ! -s conftest.err
17638 } && test -s conftest.
$ac_objext; then
17639 ac_cv_member_struct_ff_effect_direction
=yes
17641 echo "$as_me: failed program was:" >&5
17642 sed 's/^/| /' conftest.
$ac_ext >&5
17644 cat >conftest.
$ac_ext <<_ACEOF
17647 cat confdefs.h
>>conftest.
$ac_ext
17648 cat >>conftest.
$ac_ext <<_ACEOF
17649 /* end confdefs.h. */
17650 #ifdef HAVE_LINUX_INPUT_H
17651 #include <linux/input.h>
17657 static struct ff_effect ac_aggr;
17658 if (sizeof ac_aggr.direction)
17664 rm -f conftest.
$ac_objext
17665 if { (ac_try
="$ac_compile"
17666 case "(($ac_try" in
17667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17668 *) ac_try_echo=$ac_try;;
17670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17671 (eval "$ac_compile") 2>conftest.er1
17673 grep -v '^ *+' conftest.er1 >conftest.err
17675 cat conftest.err >&5
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); } && {
17678 test -z "$ac_c_werror_flag" ||
17679 test ! -s conftest.err
17680 } && test -s conftest.$ac_objext; then
17681 ac_cv_member_struct_ff_effect_direction=yes
17683 echo "$as_me: failed program was:" >&5
17684 sed 's/^/| /' conftest.$ac_ext >&5
17686 ac_cv_member_struct_ff_effect_direction=no
17689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17694 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17695 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17696 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17698 cat >>confdefs.h <<_ACEOF
17699 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17706 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17707 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17708 if test "${wine_cv_have_sigaddset+set}" = set; then
17709 echo $ECHO_N "(cached) $ECHO_C" >&6
17711 cat >conftest.$ac_ext <<_ACEOF
17714 cat confdefs.h >>conftest.$ac_ext
17715 cat >>conftest.$ac_ext <<_ACEOF
17716 /* end confdefs.h. */
17717 #include <signal.h>
17721 sigset_t set; sigaddset(&set,SIGTERM);
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_have_sigaddset
=yes
17746 echo "$as_me: failed program was:" >&5
17747 sed 's/^/| /' conftest.
$ac_ext >&5
17749 wine_cv_have_sigaddset
=no
17752 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17753 conftest
$ac_exeext conftest.
$ac_ext
17755 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17756 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17757 if test "$wine_cv_have_sigaddset" = "yes"
17760 cat >>confdefs.h
<<\_ACEOF
17761 #define HAVE_SIGADDSET 1
17767 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17768 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17769 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17770 echo $ECHO_N "(cached) $ECHO_C" >&6
17772 cat >conftest.
$ac_ext <<_ACEOF
17775 cat confdefs.h
>>conftest.
$ac_ext
17776 cat >>conftest.
$ac_ext <<_ACEOF
17777 /* end confdefs.h. */
17785 struct hostent *result;
17792 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17793 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17799 rm -f conftest.
$ac_objext conftest
$ac_exeext
17800 if { (ac_try
="$ac_link"
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_link") 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_exeext &&
17816 $as_test_x conftest$ac_exeext; then
17817 wine_cv_linux_gethostbyname_r_6=yes
17819 echo "$as_me: failed program was:" >&5
17820 sed 's/^/| /' conftest.$ac_ext >&5
17822 wine_cv_linux_gethostbyname_r_6=no
17826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17827 conftest$ac_exeext conftest.$ac_ext
17830 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17831 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17832 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17835 cat >>confdefs.h <<\_ACEOF
17836 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17841 if test "$ac_cv_header_linux_joystick_h" = "yes"
17843 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17844 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17845 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17846 echo $ECHO_N "(cached) $ECHO_C" >&6
17848 cat >conftest.$ac_ext <<_ACEOF
17851 cat confdefs.h >>conftest.$ac_ext
17852 cat >>conftest.$ac_ext <<_ACEOF
17853 /* end confdefs.h. */
17855 #include <sys/ioctl.h>
17856 #include <sys/types.h>
17857 #include <linux/joystick.h>
17859 struct js_event blub;
17860 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17861 #error "no 2.2 header"
17872 rm -f conftest.$ac_objext
17873 if { (ac_try="$ac_compile"
17874 case "(($ac_try" in
17875 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17876 *) ac_try_echo
=$ac_try;;
17878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17879 (eval "$ac_compile") 2>conftest.er1
17881 grep -v '^ *+' conftest.er1
>conftest.err
17883 cat conftest.err
>&5
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); } && {
17886 test -z "$ac_c_werror_flag" ||
17887 test ! -s conftest.err
17888 } && test -s conftest.
$ac_objext; then
17889 wine_cv_linux_joystick_22_api
=yes
17891 echo "$as_me: failed program was:" >&5
17892 sed 's/^/| /' conftest.
$ac_ext >&5
17894 wine_cv_linux_joystick_22_api
=no
17897 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17900 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17901 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17902 if test "$wine_cv_linux_joystick_22_api" = "yes"
17905 cat >>confdefs.h
<<\_ACEOF
17906 #define HAVE_LINUX_22_JOYSTICK_API 1
17913 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17914 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17915 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17916 echo $ECHO_N "(cached) $ECHO_C" >&6
17918 cat >conftest.
$ac_ext <<_ACEOF
17921 cat confdefs.h
>>conftest.
$ac_ext
17922 cat >>conftest.
$ac_ext <<_ACEOF
17923 /* end confdefs.h. */
17924 #include <sys/types.h>
17925 #ifdef HAVE_SYS_PARAM_H
17926 # include <sys/param.h>
17928 #ifdef HAVE_SYS_MOUNT_H
17929 # include <sys/mount.h>
17931 #ifdef HAVE_SYS_VFS_H
17932 # include <sys/vfs.h>
17934 #ifdef HAVE_SYS_STATFS_H
17935 # include <sys/statfs.h>
17941 static struct statfs ac_aggr;
17942 if (ac_aggr.f_bfree)
17948 rm -f conftest.
$ac_objext
17949 if { (ac_try
="$ac_compile"
17950 case "(($ac_try" in
17951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17952 *) ac_try_echo=$ac_try;;
17954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17955 (eval "$ac_compile") 2>conftest.er1
17957 grep -v '^ *+' conftest.er1 >conftest.err
17959 cat conftest.err >&5
17960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17961 (exit $ac_status); } && {
17962 test -z "$ac_c_werror_flag" ||
17963 test ! -s conftest.err
17964 } && test -s conftest.$ac_objext; then
17965 ac_cv_member_struct_statfs_f_bfree=yes
17967 echo "$as_me: failed program was:" >&5
17968 sed 's/^/| /' conftest.$ac_ext >&5
17970 cat >conftest.$ac_ext <<_ACEOF
17973 cat confdefs.h >>conftest.$ac_ext
17974 cat >>conftest.$ac_ext <<_ACEOF
17975 /* end confdefs.h. */
17976 #include <sys/types.h>
17977 #ifdef HAVE_SYS_PARAM_H
17978 # include <sys/param.h>
17980 #ifdef HAVE_SYS_MOUNT_H
17981 # include <sys/mount.h>
17983 #ifdef HAVE_SYS_VFS_H
17984 # include <sys/vfs.h>
17986 #ifdef HAVE_SYS_STATFS_H
17987 # include <sys/statfs.h>
17993 static struct statfs ac_aggr;
17994 if (sizeof ac_aggr.f_bfree)
18000 rm -f conftest.$ac_objext
18001 if { (ac_try="$ac_compile"
18002 case "(($ac_try" in
18003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18004 *) ac_try_echo
=$ac_try;;
18006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18007 (eval "$ac_compile") 2>conftest.er1
18009 grep -v '^ *+' conftest.er1
>conftest.err
18011 cat conftest.err
>&5
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); } && {
18014 test -z "$ac_c_werror_flag" ||
18015 test ! -s conftest.err
18016 } && test -s conftest.
$ac_objext; then
18017 ac_cv_member_struct_statfs_f_bfree
=yes
18019 echo "$as_me: failed program was:" >&5
18020 sed 's/^/| /' conftest.
$ac_ext >&5
18022 ac_cv_member_struct_statfs_f_bfree
=no
18025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18030 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18031 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18032 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18034 cat >>confdefs.h
<<_ACEOF
18035 #define HAVE_STRUCT_STATFS_F_BFREE 1
18040 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18041 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18042 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18045 cat >conftest.
$ac_ext <<_ACEOF
18048 cat confdefs.h
>>conftest.
$ac_ext
18049 cat >>conftest.
$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18051 #include <sys/types.h>
18052 #ifdef HAVE_SYS_PARAM_H
18053 # include <sys/param.h>
18055 #ifdef HAVE_SYS_MOUNT_H
18056 # include <sys/mount.h>
18058 #ifdef HAVE_SYS_VFS_H
18059 # include <sys/vfs.h>
18061 #ifdef HAVE_SYS_STATFS_H
18062 # include <sys/statfs.h>
18068 static struct statfs ac_aggr;
18069 if (ac_aggr.f_bavail)
18075 rm -f conftest.
$ac_objext
18076 if { (ac_try
="$ac_compile"
18077 case "(($ac_try" in
18078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18079 *) ac_try_echo=$ac_try;;
18081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18082 (eval "$ac_compile") 2>conftest.er1
18084 grep -v '^ *+' conftest.er1 >conftest.err
18086 cat conftest.err >&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); } && {
18089 test -z "$ac_c_werror_flag" ||
18090 test ! -s conftest.err
18091 } && test -s conftest.$ac_objext; then
18092 ac_cv_member_struct_statfs_f_bavail=yes
18094 echo "$as_me: failed program was:" >&5
18095 sed 's/^/| /' conftest.$ac_ext >&5
18097 cat >conftest.$ac_ext <<_ACEOF
18100 cat confdefs.h >>conftest.$ac_ext
18101 cat >>conftest.$ac_ext <<_ACEOF
18102 /* end confdefs.h. */
18103 #include <sys/types.h>
18104 #ifdef HAVE_SYS_PARAM_H
18105 # include <sys/param.h>
18107 #ifdef HAVE_SYS_MOUNT_H
18108 # include <sys/mount.h>
18110 #ifdef HAVE_SYS_VFS_H
18111 # include <sys/vfs.h>
18113 #ifdef HAVE_SYS_STATFS_H
18114 # include <sys/statfs.h>
18120 static struct statfs ac_aggr;
18121 if (sizeof ac_aggr.f_bavail)
18127 rm -f conftest.$ac_objext
18128 if { (ac_try="$ac_compile"
18129 case "(($ac_try" in
18130 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18131 *) ac_try_echo
=$ac_try;;
18133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18134 (eval "$ac_compile") 2>conftest.er1
18136 grep -v '^ *+' conftest.er1
>conftest.err
18138 cat conftest.err
>&5
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); } && {
18141 test -z "$ac_c_werror_flag" ||
18142 test ! -s conftest.err
18143 } && test -s conftest.
$ac_objext; then
18144 ac_cv_member_struct_statfs_f_bavail
=yes
18146 echo "$as_me: failed program was:" >&5
18147 sed 's/^/| /' conftest.
$ac_ext >&5
18149 ac_cv_member_struct_statfs_f_bavail
=no
18152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18157 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18158 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18159 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18161 cat >>confdefs.h
<<_ACEOF
18162 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18167 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18168 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18169 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18170 echo $ECHO_N "(cached) $ECHO_C" >&6
18172 cat >conftest.
$ac_ext <<_ACEOF
18175 cat confdefs.h
>>conftest.
$ac_ext
18176 cat >>conftest.
$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18178 #include <sys/types.h>
18179 #ifdef HAVE_SYS_PARAM_H
18180 # include <sys/param.h>
18182 #ifdef HAVE_SYS_MOUNT_H
18183 # include <sys/mount.h>
18185 #ifdef HAVE_SYS_VFS_H
18186 # include <sys/vfs.h>
18188 #ifdef HAVE_SYS_STATFS_H
18189 # include <sys/statfs.h>
18195 static struct statfs ac_aggr;
18196 if (ac_aggr.f_frsize)
18202 rm -f conftest.
$ac_objext
18203 if { (ac_try
="$ac_compile"
18204 case "(($ac_try" in
18205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18206 *) ac_try_echo=$ac_try;;
18208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18209 (eval "$ac_compile") 2>conftest.er1
18211 grep -v '^ *+' conftest.er1 >conftest.err
18213 cat conftest.err >&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); } && {
18216 test -z "$ac_c_werror_flag" ||
18217 test ! -s conftest.err
18218 } && test -s conftest.$ac_objext; then
18219 ac_cv_member_struct_statfs_f_frsize=yes
18221 echo "$as_me: failed program was:" >&5
18222 sed 's/^/| /' conftest.$ac_ext >&5
18224 cat >conftest.$ac_ext <<_ACEOF
18227 cat confdefs.h >>conftest.$ac_ext
18228 cat >>conftest.$ac_ext <<_ACEOF
18229 /* end confdefs.h. */
18230 #include <sys/types.h>
18231 #ifdef HAVE_SYS_PARAM_H
18232 # include <sys/param.h>
18234 #ifdef HAVE_SYS_MOUNT_H
18235 # include <sys/mount.h>
18237 #ifdef HAVE_SYS_VFS_H
18238 # include <sys/vfs.h>
18240 #ifdef HAVE_SYS_STATFS_H
18241 # include <sys/statfs.h>
18247 static struct statfs ac_aggr;
18248 if (sizeof ac_aggr.f_frsize)
18254 rm -f conftest.$ac_objext
18255 if { (ac_try="$ac_compile"
18256 case "(($ac_try" in
18257 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18258 *) ac_try_echo
=$ac_try;;
18260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18261 (eval "$ac_compile") 2>conftest.er1
18263 grep -v '^ *+' conftest.er1
>conftest.err
18265 cat conftest.err
>&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); } && {
18268 test -z "$ac_c_werror_flag" ||
18269 test ! -s conftest.err
18270 } && test -s conftest.
$ac_objext; then
18271 ac_cv_member_struct_statfs_f_frsize
=yes
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.
$ac_ext >&5
18276 ac_cv_member_struct_statfs_f_frsize
=no
18279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18284 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18285 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18286 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18288 cat >>confdefs.h
<<_ACEOF
18289 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18294 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18295 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18296 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18297 echo $ECHO_N "(cached) $ECHO_C" >&6
18299 cat >conftest.
$ac_ext <<_ACEOF
18302 cat confdefs.h
>>conftest.
$ac_ext
18303 cat >>conftest.
$ac_ext <<_ACEOF
18304 /* end confdefs.h. */
18305 #include <sys/types.h>
18306 #ifdef HAVE_SYS_PARAM_H
18307 # include <sys/param.h>
18309 #ifdef HAVE_SYS_MOUNT_H
18310 # include <sys/mount.h>
18312 #ifdef HAVE_SYS_VFS_H
18313 # include <sys/vfs.h>
18315 #ifdef HAVE_SYS_STATFS_H
18316 # include <sys/statfs.h>
18322 static struct statfs ac_aggr;
18323 if (ac_aggr.f_ffree)
18329 rm -f conftest.
$ac_objext
18330 if { (ac_try
="$ac_compile"
18331 case "(($ac_try" in
18332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18333 *) ac_try_echo=$ac_try;;
18335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18336 (eval "$ac_compile") 2>conftest.er1
18338 grep -v '^ *+' conftest.er1 >conftest.err
18340 cat conftest.err >&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); } && {
18343 test -z "$ac_c_werror_flag" ||
18344 test ! -s conftest.err
18345 } && test -s conftest.$ac_objext; then
18346 ac_cv_member_struct_statfs_f_ffree=yes
18348 echo "$as_me: failed program was:" >&5
18349 sed 's/^/| /' conftest.$ac_ext >&5
18351 cat >conftest.$ac_ext <<_ACEOF
18354 cat confdefs.h >>conftest.$ac_ext
18355 cat >>conftest.$ac_ext <<_ACEOF
18356 /* end confdefs.h. */
18357 #include <sys/types.h>
18358 #ifdef HAVE_SYS_PARAM_H
18359 # include <sys/param.h>
18361 #ifdef HAVE_SYS_MOUNT_H
18362 # include <sys/mount.h>
18364 #ifdef HAVE_SYS_VFS_H
18365 # include <sys/vfs.h>
18367 #ifdef HAVE_SYS_STATFS_H
18368 # include <sys/statfs.h>
18374 static struct statfs ac_aggr;
18375 if (sizeof ac_aggr.f_ffree)
18381 rm -f conftest.$ac_objext
18382 if { (ac_try="$ac_compile"
18383 case "(($ac_try" in
18384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18385 *) ac_try_echo
=$ac_try;;
18387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18388 (eval "$ac_compile") 2>conftest.er1
18390 grep -v '^ *+' conftest.er1
>conftest.err
18392 cat conftest.err
>&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); } && {
18395 test -z "$ac_c_werror_flag" ||
18396 test ! -s conftest.err
18397 } && test -s conftest.
$ac_objext; then
18398 ac_cv_member_struct_statfs_f_ffree
=yes
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.
$ac_ext >&5
18403 ac_cv_member_struct_statfs_f_ffree
=no
18406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18411 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18412 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18413 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18415 cat >>confdefs.h
<<_ACEOF
18416 #define HAVE_STRUCT_STATFS_F_FFREE 1
18421 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18422 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18423 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18424 echo $ECHO_N "(cached) $ECHO_C" >&6
18426 cat >conftest.
$ac_ext <<_ACEOF
18429 cat confdefs.h
>>conftest.
$ac_ext
18430 cat >>conftest.
$ac_ext <<_ACEOF
18431 /* end confdefs.h. */
18432 #include <sys/types.h>
18433 #ifdef HAVE_SYS_PARAM_H
18434 # include <sys/param.h>
18436 #ifdef HAVE_SYS_MOUNT_H
18437 # include <sys/mount.h>
18439 #ifdef HAVE_SYS_VFS_H
18440 # include <sys/vfs.h>
18442 #ifdef HAVE_SYS_STATFS_H
18443 # include <sys/statfs.h>
18449 static struct statfs ac_aggr;
18450 if (ac_aggr.f_favail)
18456 rm -f conftest.
$ac_objext
18457 if { (ac_try
="$ac_compile"
18458 case "(($ac_try" in
18459 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18460 *) ac_try_echo=$ac_try;;
18462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18463 (eval "$ac_compile") 2>conftest.er1
18465 grep -v '^ *+' conftest.er1 >conftest.err
18467 cat conftest.err >&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); } && {
18470 test -z "$ac_c_werror_flag" ||
18471 test ! -s conftest.err
18472 } && test -s conftest.$ac_objext; then
18473 ac_cv_member_struct_statfs_f_favail=yes
18475 echo "$as_me: failed program was:" >&5
18476 sed 's/^/| /' conftest.$ac_ext >&5
18478 cat >conftest.$ac_ext <<_ACEOF
18481 cat confdefs.h >>conftest.$ac_ext
18482 cat >>conftest.$ac_ext <<_ACEOF
18483 /* end confdefs.h. */
18484 #include <sys/types.h>
18485 #ifdef HAVE_SYS_PARAM_H
18486 # include <sys/param.h>
18488 #ifdef HAVE_SYS_MOUNT_H
18489 # include <sys/mount.h>
18491 #ifdef HAVE_SYS_VFS_H
18492 # include <sys/vfs.h>
18494 #ifdef HAVE_SYS_STATFS_H
18495 # include <sys/statfs.h>
18501 static struct statfs ac_aggr;
18502 if (sizeof ac_aggr.f_favail)
18508 rm -f conftest.$ac_objext
18509 if { (ac_try="$ac_compile"
18510 case "(($ac_try" in
18511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18512 *) ac_try_echo
=$ac_try;;
18514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18515 (eval "$ac_compile") 2>conftest.er1
18517 grep -v '^ *+' conftest.er1
>conftest.err
18519 cat conftest.err
>&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } && {
18522 test -z "$ac_c_werror_flag" ||
18523 test ! -s conftest.err
18524 } && test -s conftest.
$ac_objext; then
18525 ac_cv_member_struct_statfs_f_favail
=yes
18527 echo "$as_me: failed program was:" >&5
18528 sed 's/^/| /' conftest.
$ac_ext >&5
18530 ac_cv_member_struct_statfs_f_favail
=no
18533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18538 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18539 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18540 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18542 cat >>confdefs.h
<<_ACEOF
18543 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18548 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18549 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18550 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18551 echo $ECHO_N "(cached) $ECHO_C" >&6
18553 cat >conftest.
$ac_ext <<_ACEOF
18556 cat confdefs.h
>>conftest.
$ac_ext
18557 cat >>conftest.
$ac_ext <<_ACEOF
18558 /* end confdefs.h. */
18559 #include <sys/types.h>
18560 #ifdef HAVE_SYS_PARAM_H
18561 # include <sys/param.h>
18563 #ifdef HAVE_SYS_MOUNT_H
18564 # include <sys/mount.h>
18566 #ifdef HAVE_SYS_VFS_H
18567 # include <sys/vfs.h>
18569 #ifdef HAVE_SYS_STATFS_H
18570 # include <sys/statfs.h>
18576 static struct statfs ac_aggr;
18577 if (ac_aggr.f_namelen)
18583 rm -f conftest.
$ac_objext
18584 if { (ac_try
="$ac_compile"
18585 case "(($ac_try" in
18586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18587 *) ac_try_echo=$ac_try;;
18589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18590 (eval "$ac_compile") 2>conftest.er1
18592 grep -v '^ *+' conftest.er1 >conftest.err
18594 cat conftest.err >&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); } && {
18597 test -z "$ac_c_werror_flag" ||
18598 test ! -s conftest.err
18599 } && test -s conftest.$ac_objext; then
18600 ac_cv_member_struct_statfs_f_namelen=yes
18602 echo "$as_me: failed program was:" >&5
18603 sed 's/^/| /' conftest.$ac_ext >&5
18605 cat >conftest.$ac_ext <<_ACEOF
18608 cat confdefs.h >>conftest.$ac_ext
18609 cat >>conftest.$ac_ext <<_ACEOF
18610 /* end confdefs.h. */
18611 #include <sys/types.h>
18612 #ifdef HAVE_SYS_PARAM_H
18613 # include <sys/param.h>
18615 #ifdef HAVE_SYS_MOUNT_H
18616 # include <sys/mount.h>
18618 #ifdef HAVE_SYS_VFS_H
18619 # include <sys/vfs.h>
18621 #ifdef HAVE_SYS_STATFS_H
18622 # include <sys/statfs.h>
18628 static struct statfs ac_aggr;
18629 if (sizeof ac_aggr.f_namelen)
18635 rm -f conftest.$ac_objext
18636 if { (ac_try="$ac_compile"
18637 case "(($ac_try" in
18638 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18639 *) ac_try_echo
=$ac_try;;
18641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18642 (eval "$ac_compile") 2>conftest.er1
18644 grep -v '^ *+' conftest.er1
>conftest.err
18646 cat conftest.err
>&5
18647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18648 (exit $ac_status); } && {
18649 test -z "$ac_c_werror_flag" ||
18650 test ! -s conftest.err
18651 } && test -s conftest.
$ac_objext; then
18652 ac_cv_member_struct_statfs_f_namelen
=yes
18654 echo "$as_me: failed program was:" >&5
18655 sed 's/^/| /' conftest.
$ac_ext >&5
18657 ac_cv_member_struct_statfs_f_namelen
=no
18660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18665 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18666 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18667 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18669 cat >>confdefs.h
<<_ACEOF
18670 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18677 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18678 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18679 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18680 echo $ECHO_N "(cached) $ECHO_C" >&6
18682 cat >conftest.
$ac_ext <<_ACEOF
18685 cat confdefs.h
>>conftest.
$ac_ext
18686 cat >>conftest.
$ac_ext <<_ACEOF
18687 /* end confdefs.h. */
18688 #ifdef HAVE_SYS_STATVFS_H
18689 #include <sys/statvfs.h>
18695 static struct statvfs ac_aggr;
18696 if (ac_aggr.f_blocks)
18702 rm -f conftest.
$ac_objext
18703 if { (ac_try
="$ac_compile"
18704 case "(($ac_try" in
18705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18706 *) ac_try_echo=$ac_try;;
18708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18709 (eval "$ac_compile") 2>conftest.er1
18711 grep -v '^ *+' conftest.er1 >conftest.err
18713 cat conftest.err >&5
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); } && {
18716 test -z "$ac_c_werror_flag" ||
18717 test ! -s conftest.err
18718 } && test -s conftest.$ac_objext; then
18719 ac_cv_member_struct_statvfs_f_blocks=yes
18721 echo "$as_me: failed program was:" >&5
18722 sed 's/^/| /' conftest.$ac_ext >&5
18724 cat >conftest.$ac_ext <<_ACEOF
18727 cat confdefs.h >>conftest.$ac_ext
18728 cat >>conftest.$ac_ext <<_ACEOF
18729 /* end confdefs.h. */
18730 #ifdef HAVE_SYS_STATVFS_H
18731 #include <sys/statvfs.h>
18737 static struct statvfs ac_aggr;
18738 if (sizeof ac_aggr.f_blocks)
18744 rm -f conftest.$ac_objext
18745 if { (ac_try="$ac_compile"
18746 case "(($ac_try" in
18747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18748 *) ac_try_echo
=$ac_try;;
18750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18751 (eval "$ac_compile") 2>conftest.er1
18753 grep -v '^ *+' conftest.er1
>conftest.err
18755 cat conftest.err
>&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); } && {
18758 test -z "$ac_c_werror_flag" ||
18759 test ! -s conftest.err
18760 } && test -s conftest.
$ac_objext; then
18761 ac_cv_member_struct_statvfs_f_blocks
=yes
18763 echo "$as_me: failed program was:" >&5
18764 sed 's/^/| /' conftest.
$ac_ext >&5
18766 ac_cv_member_struct_statvfs_f_blocks
=no
18769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18774 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18775 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18776 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18778 cat >>confdefs.h
<<_ACEOF
18779 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18786 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18787 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18788 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18789 echo $ECHO_N "(cached) $ECHO_C" >&6
18791 cat >conftest.
$ac_ext <<_ACEOF
18794 cat confdefs.h
>>conftest.
$ac_ext
18795 cat >>conftest.
$ac_ext <<_ACEOF
18796 /* end confdefs.h. */
18797 #include <sys/types.h>
18798 #ifdef HAVE_SYS_SOCKET_H
18799 # include <sys/socket.h>
18801 #ifdef HAVE_SYS_UN_H
18802 # include <sys/un.h>
18808 static struct msghdr ac_aggr;
18809 if (ac_aggr.msg_accrights)
18815 rm -f conftest.
$ac_objext
18816 if { (ac_try
="$ac_compile"
18817 case "(($ac_try" in
18818 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18819 *) ac_try_echo=$ac_try;;
18821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18822 (eval "$ac_compile") 2>conftest.er1
18824 grep -v '^ *+' conftest.er1 >conftest.err
18826 cat conftest.err >&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); } && {
18829 test -z "$ac_c_werror_flag" ||
18830 test ! -s conftest.err
18831 } && test -s conftest.$ac_objext; then
18832 ac_cv_member_struct_msghdr_msg_accrights=yes
18834 echo "$as_me: failed program was:" >&5
18835 sed 's/^/| /' conftest.$ac_ext >&5
18837 cat >conftest.$ac_ext <<_ACEOF
18840 cat confdefs.h >>conftest.$ac_ext
18841 cat >>conftest.$ac_ext <<_ACEOF
18842 /* end confdefs.h. */
18843 #include <sys/types.h>
18844 #ifdef HAVE_SYS_SOCKET_H
18845 # include <sys/socket.h>
18847 #ifdef HAVE_SYS_UN_H
18848 # include <sys/un.h>
18854 static struct msghdr ac_aggr;
18855 if (sizeof ac_aggr.msg_accrights)
18861 rm -f conftest.$ac_objext
18862 if { (ac_try="$ac_compile"
18863 case "(($ac_try" in
18864 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18865 *) ac_try_echo
=$ac_try;;
18867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18868 (eval "$ac_compile") 2>conftest.er1
18870 grep -v '^ *+' conftest.er1
>conftest.err
18872 cat conftest.err
>&5
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); } && {
18875 test -z "$ac_c_werror_flag" ||
18876 test ! -s conftest.err
18877 } && test -s conftest.
$ac_objext; then
18878 ac_cv_member_struct_msghdr_msg_accrights
=yes
18880 echo "$as_me: failed program was:" >&5
18881 sed 's/^/| /' conftest.
$ac_ext >&5
18883 ac_cv_member_struct_msghdr_msg_accrights
=no
18886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18891 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18892 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18893 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18895 cat >>confdefs.h
<<_ACEOF
18896 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18901 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18902 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18903 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18904 echo $ECHO_N "(cached) $ECHO_C" >&6
18906 cat >conftest.
$ac_ext <<_ACEOF
18909 cat confdefs.h
>>conftest.
$ac_ext
18910 cat >>conftest.
$ac_ext <<_ACEOF
18911 /* end confdefs.h. */
18912 #include <sys/types.h>
18913 #ifdef HAVE_SYS_SOCKET_H
18914 # include <sys/socket.h>
18916 #ifdef HAVE_SYS_UN_H
18917 # include <sys/un.h>
18923 static struct sockaddr ac_aggr;
18924 if (ac_aggr.sa_len)
18930 rm -f conftest.
$ac_objext
18931 if { (ac_try
="$ac_compile"
18932 case "(($ac_try" in
18933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18934 *) ac_try_echo=$ac_try;;
18936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18937 (eval "$ac_compile") 2>conftest.er1
18939 grep -v '^ *+' conftest.er1 >conftest.err
18941 cat conftest.err >&5
18942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943 (exit $ac_status); } && {
18944 test -z "$ac_c_werror_flag" ||
18945 test ! -s conftest.err
18946 } && test -s conftest.$ac_objext; then
18947 ac_cv_member_struct_sockaddr_sa_len=yes
18949 echo "$as_me: failed program was:" >&5
18950 sed 's/^/| /' conftest.$ac_ext >&5
18952 cat >conftest.$ac_ext <<_ACEOF
18955 cat confdefs.h >>conftest.$ac_ext
18956 cat >>conftest.$ac_ext <<_ACEOF
18957 /* end confdefs.h. */
18958 #include <sys/types.h>
18959 #ifdef HAVE_SYS_SOCKET_H
18960 # include <sys/socket.h>
18962 #ifdef HAVE_SYS_UN_H
18963 # include <sys/un.h>
18969 static struct sockaddr ac_aggr;
18970 if (sizeof ac_aggr.sa_len)
18976 rm -f conftest.$ac_objext
18977 if { (ac_try="$ac_compile"
18978 case "(($ac_try" in
18979 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18980 *) ac_try_echo
=$ac_try;;
18982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18983 (eval "$ac_compile") 2>conftest.er1
18985 grep -v '^ *+' conftest.er1
>conftest.err
18987 cat conftest.err
>&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } && {
18990 test -z "$ac_c_werror_flag" ||
18991 test ! -s conftest.err
18992 } && test -s conftest.
$ac_objext; then
18993 ac_cv_member_struct_sockaddr_sa_len
=yes
18995 echo "$as_me: failed program was:" >&5
18996 sed 's/^/| /' conftest.
$ac_ext >&5
18998 ac_cv_member_struct_sockaddr_sa_len
=no
19001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19006 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19007 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19008 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19010 cat >>confdefs.h
<<_ACEOF
19011 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19016 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19017 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19018 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19019 echo $ECHO_N "(cached) $ECHO_C" >&6
19021 cat >conftest.
$ac_ext <<_ACEOF
19024 cat confdefs.h
>>conftest.
$ac_ext
19025 cat >>conftest.
$ac_ext <<_ACEOF
19026 /* end confdefs.h. */
19027 #include <sys/types.h>
19028 #ifdef HAVE_SYS_SOCKET_H
19029 # include <sys/socket.h>
19031 #ifdef HAVE_SYS_UN_H
19032 # include <sys/un.h>
19038 static struct sockaddr_un ac_aggr;
19039 if (ac_aggr.sun_len)
19045 rm -f conftest.
$ac_objext
19046 if { (ac_try
="$ac_compile"
19047 case "(($ac_try" in
19048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19049 *) ac_try_echo=$ac_try;;
19051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19052 (eval "$ac_compile") 2>conftest.er1
19054 grep -v '^ *+' conftest.er1 >conftest.err
19056 cat conftest.err >&5
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); } && {
19059 test -z "$ac_c_werror_flag" ||
19060 test ! -s conftest.err
19061 } && test -s conftest.$ac_objext; then
19062 ac_cv_member_struct_sockaddr_un_sun_len=yes
19064 echo "$as_me: failed program was:" >&5
19065 sed 's/^/| /' conftest.$ac_ext >&5
19067 cat >conftest.$ac_ext <<_ACEOF
19070 cat confdefs.h >>conftest.$ac_ext
19071 cat >>conftest.$ac_ext <<_ACEOF
19072 /* end confdefs.h. */
19073 #include <sys/types.h>
19074 #ifdef HAVE_SYS_SOCKET_H
19075 # include <sys/socket.h>
19077 #ifdef HAVE_SYS_UN_H
19078 # include <sys/un.h>
19084 static struct sockaddr_un ac_aggr;
19085 if (sizeof ac_aggr.sun_len)
19091 rm -f conftest.$ac_objext
19092 if { (ac_try="$ac_compile"
19093 case "(($ac_try" in
19094 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19095 *) ac_try_echo
=$ac_try;;
19097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19098 (eval "$ac_compile") 2>conftest.er1
19100 grep -v '^ *+' conftest.er1
>conftest.err
19102 cat conftest.err
>&5
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); } && {
19105 test -z "$ac_c_werror_flag" ||
19106 test ! -s conftest.err
19107 } && test -s conftest.
$ac_objext; then
19108 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19110 echo "$as_me: failed program was:" >&5
19111 sed 's/^/| /' conftest.
$ac_ext >&5
19113 ac_cv_member_struct_sockaddr_un_sun_len
=no
19116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19121 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19122 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19123 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19125 cat >>confdefs.h
<<_ACEOF
19126 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19133 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19134 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19135 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19136 echo $ECHO_N "(cached) $ECHO_C" >&6
19138 cat >conftest.
$ac_ext <<_ACEOF
19141 cat confdefs.h
>>conftest.
$ac_ext
19142 cat >>conftest.
$ac_ext <<_ACEOF
19143 /* end confdefs.h. */
19144 #include <sys/types.h>
19145 #ifdef HAVE_SCSI_SG_H
19146 #include <scsi/sg.h>
19152 static scsireq_t ac_aggr;
19159 rm -f conftest.
$ac_objext
19160 if { (ac_try
="$ac_compile"
19161 case "(($ac_try" in
19162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19163 *) ac_try_echo=$ac_try;;
19165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19166 (eval "$ac_compile") 2>conftest.er1
19168 grep -v '^ *+' conftest.er1 >conftest.err
19170 cat conftest.err >&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); } && {
19173 test -z "$ac_c_werror_flag" ||
19174 test ! -s conftest.err
19175 } && test -s conftest.$ac_objext; then
19176 ac_cv_member_scsireq_t_cmd=yes
19178 echo "$as_me: failed program was:" >&5
19179 sed 's/^/| /' conftest.$ac_ext >&5
19181 cat >conftest.$ac_ext <<_ACEOF
19184 cat confdefs.h >>conftest.$ac_ext
19185 cat >>conftest.$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19187 #include <sys/types.h>
19188 #ifdef HAVE_SCSI_SG_H
19189 #include <scsi/sg.h>
19195 static scsireq_t ac_aggr;
19196 if (sizeof ac_aggr.cmd)
19202 rm -f conftest.$ac_objext
19203 if { (ac_try="$ac_compile"
19204 case "(($ac_try" in
19205 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19206 *) ac_try_echo
=$ac_try;;
19208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19209 (eval "$ac_compile") 2>conftest.er1
19211 grep -v '^ *+' conftest.er1
>conftest.err
19213 cat conftest.err
>&5
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); } && {
19216 test -z "$ac_c_werror_flag" ||
19217 test ! -s conftest.err
19218 } && test -s conftest.
$ac_objext; then
19219 ac_cv_member_scsireq_t_cmd
=yes
19221 echo "$as_me: failed program was:" >&5
19222 sed 's/^/| /' conftest.
$ac_ext >&5
19224 ac_cv_member_scsireq_t_cmd
=no
19227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19232 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19233 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19234 if test $ac_cv_member_scsireq_t_cmd = yes; then
19236 cat >>confdefs.h
<<_ACEOF
19237 #define HAVE_SCSIREQ_T_CMD 1
19242 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19243 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19244 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19245 echo $ECHO_N "(cached) $ECHO_C" >&6
19247 cat >conftest.
$ac_ext <<_ACEOF
19250 cat confdefs.h
>>conftest.
$ac_ext
19251 cat >>conftest.
$ac_ext <<_ACEOF
19252 /* end confdefs.h. */
19253 #include <sys/types.h>
19254 #ifdef HAVE_SCSI_SG_H
19255 #include <scsi/sg.h>
19261 static sg_io_hdr_t ac_aggr;
19262 if (ac_aggr.interface_id)
19268 rm -f conftest.
$ac_objext
19269 if { (ac_try
="$ac_compile"
19270 case "(($ac_try" in
19271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19272 *) ac_try_echo=$ac_try;;
19274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19275 (eval "$ac_compile") 2>conftest.er1
19277 grep -v '^ *+' conftest.er1 >conftest.err
19279 cat conftest.err >&5
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); } && {
19282 test -z "$ac_c_werror_flag" ||
19283 test ! -s conftest.err
19284 } && test -s conftest.$ac_objext; then
19285 ac_cv_member_sg_io_hdr_t_interface_id=yes
19287 echo "$as_me: failed program was:" >&5
19288 sed 's/^/| /' conftest.$ac_ext >&5
19290 cat >conftest.$ac_ext <<_ACEOF
19293 cat confdefs.h >>conftest.$ac_ext
19294 cat >>conftest.$ac_ext <<_ACEOF
19295 /* end confdefs.h. */
19296 #include <sys/types.h>
19297 #ifdef HAVE_SCSI_SG_H
19298 #include <scsi/sg.h>
19304 static sg_io_hdr_t ac_aggr;
19305 if (sizeof ac_aggr.interface_id)
19311 rm -f conftest.$ac_objext
19312 if { (ac_try="$ac_compile"
19313 case "(($ac_try" in
19314 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19315 *) ac_try_echo
=$ac_try;;
19317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19318 (eval "$ac_compile") 2>conftest.er1
19320 grep -v '^ *+' conftest.er1
>conftest.err
19322 cat conftest.err
>&5
19323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19324 (exit $ac_status); } && {
19325 test -z "$ac_c_werror_flag" ||
19326 test ! -s conftest.err
19327 } && test -s conftest.
$ac_objext; then
19328 ac_cv_member_sg_io_hdr_t_interface_id
=yes
19330 echo "$as_me: failed program was:" >&5
19331 sed 's/^/| /' conftest.
$ac_ext >&5
19333 ac_cv_member_sg_io_hdr_t_interface_id
=no
19336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19341 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19342 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19343 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19345 cat >>confdefs.h
<<_ACEOF
19346 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19353 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19354 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19355 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19356 echo $ECHO_N "(cached) $ECHO_C" >&6
19358 cat >conftest.
$ac_ext <<_ACEOF
19361 cat confdefs.h
>>conftest.
$ac_ext
19362 cat >>conftest.
$ac_ext <<_ACEOF
19363 /* end confdefs.h. */
19364 #include <signal.h>
19369 static siginfo_t ac_aggr;
19376 rm -f conftest.
$ac_objext
19377 if { (ac_try
="$ac_compile"
19378 case "(($ac_try" in
19379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19380 *) ac_try_echo=$ac_try;;
19382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19383 (eval "$ac_compile") 2>conftest.er1
19385 grep -v '^ *+' conftest.er1 >conftest.err
19387 cat conftest.err >&5
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); } && {
19390 test -z "$ac_c_werror_flag" ||
19391 test ! -s conftest.err
19392 } && test -s conftest.$ac_objext; then
19393 ac_cv_member_siginfo_t_si_fd=yes
19395 echo "$as_me: failed program was:" >&5
19396 sed 's/^/| /' conftest.$ac_ext >&5
19398 cat >conftest.$ac_ext <<_ACEOF
19401 cat confdefs.h >>conftest.$ac_ext
19402 cat >>conftest.$ac_ext <<_ACEOF
19403 /* end confdefs.h. */
19404 #include <signal.h>
19409 static siginfo_t ac_aggr;
19410 if (sizeof ac_aggr.si_fd)
19416 rm -f conftest.$ac_objext
19417 if { (ac_try="$ac_compile"
19418 case "(($ac_try" in
19419 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19420 *) ac_try_echo
=$ac_try;;
19422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19423 (eval "$ac_compile") 2>conftest.er1
19425 grep -v '^ *+' conftest.er1
>conftest.err
19427 cat conftest.err
>&5
19428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429 (exit $ac_status); } && {
19430 test -z "$ac_c_werror_flag" ||
19431 test ! -s conftest.err
19432 } && test -s conftest.
$ac_objext; then
19433 ac_cv_member_siginfo_t_si_fd
=yes
19435 echo "$as_me: failed program was:" >&5
19436 sed 's/^/| /' conftest.
$ac_ext >&5
19438 ac_cv_member_siginfo_t_si_fd
=no
19441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19446 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19447 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19448 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19450 cat >>confdefs.h
<<_ACEOF
19451 #define HAVE_SIGINFO_T_SI_FD 1
19458 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19459 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19460 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19461 echo $ECHO_N "(cached) $ECHO_C" >&6
19463 cat >conftest.
$ac_ext <<_ACEOF
19466 cat confdefs.h
>>conftest.
$ac_ext
19467 cat >>conftest.
$ac_ext <<_ACEOF
19468 /* end confdefs.h. */
19469 #include <sys/types.h>
19470 #ifdef HAVE_SYS_MTIO_H
19471 #include <sys/mtio.h>
19477 static struct mtget ac_aggr;
19478 if (ac_aggr.mt_blksiz)
19484 rm -f conftest.
$ac_objext
19485 if { (ac_try
="$ac_compile"
19486 case "(($ac_try" in
19487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19488 *) ac_try_echo=$ac_try;;
19490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19491 (eval "$ac_compile") 2>conftest.er1
19493 grep -v '^ *+' conftest.er1 >conftest.err
19495 cat conftest.err >&5
19496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); } && {
19498 test -z "$ac_c_werror_flag" ||
19499 test ! -s conftest.err
19500 } && test -s conftest.$ac_objext; then
19501 ac_cv_member_struct_mtget_mt_blksiz=yes
19503 echo "$as_me: failed program was:" >&5
19504 sed 's/^/| /' conftest.$ac_ext >&5
19506 cat >conftest.$ac_ext <<_ACEOF
19509 cat confdefs.h >>conftest.$ac_ext
19510 cat >>conftest.$ac_ext <<_ACEOF
19511 /* end confdefs.h. */
19512 #include <sys/types.h>
19513 #ifdef HAVE_SYS_MTIO_H
19514 #include <sys/mtio.h>
19520 static struct mtget ac_aggr;
19521 if (sizeof ac_aggr.mt_blksiz)
19527 rm -f conftest.$ac_objext
19528 if { (ac_try="$ac_compile"
19529 case "(($ac_try" in
19530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19531 *) ac_try_echo
=$ac_try;;
19533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19534 (eval "$ac_compile") 2>conftest.er1
19536 grep -v '^ *+' conftest.er1
>conftest.err
19538 cat conftest.err
>&5
19539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 (exit $ac_status); } && {
19541 test -z "$ac_c_werror_flag" ||
19542 test ! -s conftest.err
19543 } && test -s conftest.
$ac_objext; then
19544 ac_cv_member_struct_mtget_mt_blksiz
=yes
19546 echo "$as_me: failed program was:" >&5
19547 sed 's/^/| /' conftest.
$ac_ext >&5
19549 ac_cv_member_struct_mtget_mt_blksiz
=no
19552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19557 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19558 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19559 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19561 cat >>confdefs.h
<<_ACEOF
19562 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19567 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19568 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19569 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19570 echo $ECHO_N "(cached) $ECHO_C" >&6
19572 cat >conftest.
$ac_ext <<_ACEOF
19575 cat confdefs.h
>>conftest.
$ac_ext
19576 cat >>conftest.
$ac_ext <<_ACEOF
19577 /* end confdefs.h. */
19578 #include <sys/types.h>
19579 #ifdef HAVE_SYS_MTIO_H
19580 #include <sys/mtio.h>
19586 static struct mtget ac_aggr;
19587 if (ac_aggr.mt_gstat)
19593 rm -f conftest.
$ac_objext
19594 if { (ac_try
="$ac_compile"
19595 case "(($ac_try" in
19596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19597 *) ac_try_echo=$ac_try;;
19599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19600 (eval "$ac_compile") 2>conftest.er1
19602 grep -v '^ *+' conftest.er1 >conftest.err
19604 cat conftest.err >&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); } && {
19607 test -z "$ac_c_werror_flag" ||
19608 test ! -s conftest.err
19609 } && test -s conftest.$ac_objext; then
19610 ac_cv_member_struct_mtget_mt_gstat=yes
19612 echo "$as_me: failed program was:" >&5
19613 sed 's/^/| /' conftest.$ac_ext >&5
19615 cat >conftest.$ac_ext <<_ACEOF
19618 cat confdefs.h >>conftest.$ac_ext
19619 cat >>conftest.$ac_ext <<_ACEOF
19620 /* end confdefs.h. */
19621 #include <sys/types.h>
19622 #ifdef HAVE_SYS_MTIO_H
19623 #include <sys/mtio.h>
19629 static struct mtget ac_aggr;
19630 if (sizeof ac_aggr.mt_gstat)
19636 rm -f conftest.$ac_objext
19637 if { (ac_try="$ac_compile"
19638 case "(($ac_try" in
19639 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19640 *) ac_try_echo
=$ac_try;;
19642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19643 (eval "$ac_compile") 2>conftest.er1
19645 grep -v '^ *+' conftest.er1
>conftest.err
19647 cat conftest.err
>&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); } && {
19650 test -z "$ac_c_werror_flag" ||
19651 test ! -s conftest.err
19652 } && test -s conftest.
$ac_objext; then
19653 ac_cv_member_struct_mtget_mt_gstat
=yes
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.
$ac_ext >&5
19658 ac_cv_member_struct_mtget_mt_gstat
=no
19661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19666 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19667 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19668 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19670 cat >>confdefs.h
<<_ACEOF
19671 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19676 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19677 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19678 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19679 echo $ECHO_N "(cached) $ECHO_C" >&6
19681 cat >conftest.
$ac_ext <<_ACEOF
19684 cat confdefs.h
>>conftest.
$ac_ext
19685 cat >>conftest.
$ac_ext <<_ACEOF
19686 /* end confdefs.h. */
19687 #include <sys/types.h>
19688 #ifdef HAVE_SYS_MTIO_H
19689 #include <sys/mtio.h>
19695 static struct mtget ac_aggr;
19696 if (ac_aggr.mt_blkno)
19702 rm -f conftest.
$ac_objext
19703 if { (ac_try
="$ac_compile"
19704 case "(($ac_try" in
19705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19706 *) ac_try_echo=$ac_try;;
19708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19709 (eval "$ac_compile") 2>conftest.er1
19711 grep -v '^ *+' conftest.er1 >conftest.err
19713 cat conftest.err >&5
19714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19715 (exit $ac_status); } && {
19716 test -z "$ac_c_werror_flag" ||
19717 test ! -s conftest.err
19718 } && test -s conftest.$ac_objext; then
19719 ac_cv_member_struct_mtget_mt_blkno=yes
19721 echo "$as_me: failed program was:" >&5
19722 sed 's/^/| /' conftest.$ac_ext >&5
19724 cat >conftest.$ac_ext <<_ACEOF
19727 cat confdefs.h >>conftest.$ac_ext
19728 cat >>conftest.$ac_ext <<_ACEOF
19729 /* end confdefs.h. */
19730 #include <sys/types.h>
19731 #ifdef HAVE_SYS_MTIO_H
19732 #include <sys/mtio.h>
19738 static struct mtget ac_aggr;
19739 if (sizeof ac_aggr.mt_blkno)
19745 rm -f conftest.$ac_objext
19746 if { (ac_try="$ac_compile"
19747 case "(($ac_try" in
19748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19749 *) ac_try_echo
=$ac_try;;
19751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19752 (eval "$ac_compile") 2>conftest.er1
19754 grep -v '^ *+' conftest.er1
>conftest.err
19756 cat conftest.err
>&5
19757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758 (exit $ac_status); } && {
19759 test -z "$ac_c_werror_flag" ||
19760 test ! -s conftest.err
19761 } && test -s conftest.
$ac_objext; then
19762 ac_cv_member_struct_mtget_mt_blkno
=yes
19764 echo "$as_me: failed program was:" >&5
19765 sed 's/^/| /' conftest.
$ac_ext >&5
19767 ac_cv_member_struct_mtget_mt_blkno
=no
19770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19775 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19776 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19777 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19779 cat >>confdefs.h
<<_ACEOF
19780 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19787 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19788 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19789 if test "${ac_cv_member_struct_option_name+set}" = set; then
19790 echo $ECHO_N "(cached) $ECHO_C" >&6
19792 cat >conftest.
$ac_ext <<_ACEOF
19795 cat confdefs.h
>>conftest.
$ac_ext
19796 cat >>conftest.
$ac_ext <<_ACEOF
19797 /* end confdefs.h. */
19798 #ifdef HAVE_GETOPT_H
19799 #include <getopt.h>
19805 static struct option ac_aggr;
19812 rm -f conftest.
$ac_objext
19813 if { (ac_try
="$ac_compile"
19814 case "(($ac_try" in
19815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19816 *) ac_try_echo=$ac_try;;
19818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19819 (eval "$ac_compile") 2>conftest.er1
19821 grep -v '^ *+' conftest.er1 >conftest.err
19823 cat conftest.err >&5
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); } && {
19826 test -z "$ac_c_werror_flag" ||
19827 test ! -s conftest.err
19828 } && test -s conftest.$ac_objext; then
19829 ac_cv_member_struct_option_name=yes
19831 echo "$as_me: failed program was:" >&5
19832 sed 's/^/| /' conftest.$ac_ext >&5
19834 cat >conftest.$ac_ext <<_ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 #ifdef HAVE_GETOPT_H
19841 #include <getopt.h>
19847 static struct option ac_aggr;
19848 if (sizeof ac_aggr.name)
19854 rm -f conftest.$ac_objext
19855 if { (ac_try="$ac_compile"
19856 case "(($ac_try" in
19857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19858 *) ac_try_echo
=$ac_try;;
19860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19861 (eval "$ac_compile") 2>conftest.er1
19863 grep -v '^ *+' conftest.er1
>conftest.err
19865 cat conftest.err
>&5
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); } && {
19868 test -z "$ac_c_werror_flag" ||
19869 test ! -s conftest.err
19870 } && test -s conftest.
$ac_objext; then
19871 ac_cv_member_struct_option_name
=yes
19873 echo "$as_me: failed program was:" >&5
19874 sed 's/^/| /' conftest.
$ac_ext >&5
19876 ac_cv_member_struct_option_name
=no
19879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19884 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19885 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19886 if test $ac_cv_member_struct_option_name = yes; then
19888 cat >>confdefs.h
<<_ACEOF
19889 #define HAVE_STRUCT_OPTION_NAME 1
19896 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19897 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19898 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19899 echo $ECHO_N "(cached) $ECHO_C" >&6
19901 cat >conftest.
$ac_ext <<_ACEOF
19904 cat confdefs.h
>>conftest.
$ac_ext
19905 cat >>conftest.
$ac_ext <<_ACEOF
19906 /* end confdefs.h. */
19907 $ac_includes_default
19911 static struct stat ac_aggr;
19912 if (ac_aggr.st_blocks)
19918 rm -f conftest.
$ac_objext
19919 if { (ac_try
="$ac_compile"
19920 case "(($ac_try" in
19921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19922 *) ac_try_echo=$ac_try;;
19924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19925 (eval "$ac_compile") 2>conftest.er1
19927 grep -v '^ *+' conftest.er1 >conftest.err
19929 cat conftest.err >&5
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); } && {
19932 test -z "$ac_c_werror_flag" ||
19933 test ! -s conftest.err
19934 } && test -s conftest.$ac_objext; then
19935 ac_cv_member_struct_stat_st_blocks=yes
19937 echo "$as_me: failed program was:" >&5
19938 sed 's/^/| /' conftest.$ac_ext >&5
19940 cat >conftest.$ac_ext <<_ACEOF
19943 cat confdefs.h >>conftest.$ac_ext
19944 cat >>conftest.$ac_ext <<_ACEOF
19945 /* end confdefs.h. */
19946 $ac_includes_default
19950 static struct stat ac_aggr;
19951 if (sizeof ac_aggr.st_blocks)
19957 rm -f conftest.$ac_objext
19958 if { (ac_try="$ac_compile"
19959 case "(($ac_try" in
19960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19961 *) ac_try_echo
=$ac_try;;
19963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19964 (eval "$ac_compile") 2>conftest.er1
19966 grep -v '^ *+' conftest.er1
>conftest.err
19968 cat conftest.err
>&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); } && {
19971 test -z "$ac_c_werror_flag" ||
19972 test ! -s conftest.err
19973 } && test -s conftest.
$ac_objext; then
19974 ac_cv_member_struct_stat_st_blocks
=yes
19976 echo "$as_me: failed program was:" >&5
19977 sed 's/^/| /' conftest.
$ac_ext >&5
19979 ac_cv_member_struct_stat_st_blocks
=no
19982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19987 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19988 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19989 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19991 cat >>confdefs.h
<<_ACEOF
19992 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19999 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20000 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20001 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20002 echo $ECHO_N "(cached) $ECHO_C" >&6
20004 cat >conftest.
$ac_ext <<_ACEOF
20007 cat confdefs.h
>>conftest.
$ac_ext
20008 cat >>conftest.
$ac_ext <<_ACEOF
20009 /* end confdefs.h. */
20010 #ifdef HAVE_SYS_TYPES_H
20011 #include <sys/types.h>
20013 #ifdef HAVE_NETINET_IN_H
20014 #include <netinet/in.h>
20020 static struct sockaddr_in6 ac_aggr;
20021 if (ac_aggr.sin6_scope_id)
20027 rm -f conftest.
$ac_objext
20028 if { (ac_try
="$ac_compile"
20029 case "(($ac_try" in
20030 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20031 *) ac_try_echo=$ac_try;;
20033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20034 (eval "$ac_compile") 2>conftest.er1
20036 grep -v '^ *+' conftest.er1 >conftest.err
20038 cat conftest.err >&5
20039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040 (exit $ac_status); } && {
20041 test -z "$ac_c_werror_flag" ||
20042 test ! -s conftest.err
20043 } && test -s conftest.$ac_objext; then
20044 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20046 echo "$as_me: failed program was:" >&5
20047 sed 's/^/| /' conftest.$ac_ext >&5
20049 cat >conftest.$ac_ext <<_ACEOF
20052 cat confdefs.h >>conftest.$ac_ext
20053 cat >>conftest.$ac_ext <<_ACEOF
20054 /* end confdefs.h. */
20055 #ifdef HAVE_SYS_TYPES_H
20056 #include <sys/types.h>
20058 #ifdef HAVE_NETINET_IN_H
20059 #include <netinet/in.h>
20065 static struct sockaddr_in6 ac_aggr;
20066 if (sizeof ac_aggr.sin6_scope_id)
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_struct_sockaddr_in6_sin6_scope_id
=yes
20091 echo "$as_me: failed program was:" >&5
20092 sed 's/^/| /' conftest.
$ac_ext >&5
20094 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
20097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20102 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20103 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20104 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20106 cat >>confdefs.h
<<_ACEOF
20107 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20114 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20115 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20116 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20117 echo $ECHO_N "(cached) $ECHO_C" >&6
20119 cat >conftest.
$ac_ext <<_ACEOF
20122 cat confdefs.h
>>conftest.
$ac_ext
20123 cat >>conftest.
$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20125 #ifdef HAVE_SYS_TYPES_H
20126 #include <sys/types.h>
20128 #ifdef HAVE_NETINET_IN_H
20129 # include <netinet/in.h>
20131 #ifdef HAVE_ARPA_NAMESER_H
20132 # include <arpa/nameser.h>
20138 static ns_msg ac_aggr;
20139 if (ac_aggr._msg_ptr)
20145 rm -f conftest.
$ac_objext
20146 if { (ac_try
="$ac_compile"
20147 case "(($ac_try" in
20148 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20149 *) ac_try_echo=$ac_try;;
20151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20152 (eval "$ac_compile") 2>conftest.er1
20154 grep -v '^ *+' conftest.er1 >conftest.err
20156 cat conftest.err >&5
20157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158 (exit $ac_status); } && {
20159 test -z "$ac_c_werror_flag" ||
20160 test ! -s conftest.err
20161 } && test -s conftest.$ac_objext; then
20162 ac_cv_member_ns_msg__msg_ptr=yes
20164 echo "$as_me: failed program was:" >&5
20165 sed 's/^/| /' conftest.$ac_ext >&5
20167 cat >conftest.$ac_ext <<_ACEOF
20170 cat confdefs.h >>conftest.$ac_ext
20171 cat >>conftest.$ac_ext <<_ACEOF
20172 /* end confdefs.h. */
20173 #ifdef HAVE_SYS_TYPES_H
20174 #include <sys/types.h>
20176 #ifdef HAVE_NETINET_IN_H
20177 # include <netinet/in.h>
20179 #ifdef HAVE_ARPA_NAMESER_H
20180 # include <arpa/nameser.h>
20186 static ns_msg ac_aggr;
20187 if (sizeof ac_aggr._msg_ptr)
20193 rm -f conftest.$ac_objext
20194 if { (ac_try="$ac_compile"
20195 case "(($ac_try" in
20196 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20197 *) ac_try_echo
=$ac_try;;
20199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20200 (eval "$ac_compile") 2>conftest.er1
20202 grep -v '^ *+' conftest.er1
>conftest.err
20204 cat conftest.err
>&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); } && {
20207 test -z "$ac_c_werror_flag" ||
20208 test ! -s conftest.err
20209 } && test -s conftest.
$ac_objext; then
20210 ac_cv_member_ns_msg__msg_ptr
=yes
20212 echo "$as_me: failed program was:" >&5
20213 sed 's/^/| /' conftest.
$ac_ext >&5
20215 ac_cv_member_ns_msg__msg_ptr
=no
20218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20223 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20224 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20225 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20227 cat >>confdefs.h
<<_ACEOF
20228 #define HAVE_NS_MSG__MSG_PTR 1
20235 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20236 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20237 if test "${ac_cv_have_timezone+set}" = set; then
20238 echo $ECHO_N "(cached) $ECHO_C" >&6
20240 cat >conftest.
$ac_ext <<_ACEOF
20243 cat confdefs.h
>>conftest.
$ac_ext
20244 cat >>conftest.
$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20255 rm -f conftest.
$ac_objext conftest
$ac_exeext
20256 if { (ac_try
="$ac_link"
20257 case "(($ac_try" in
20258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20259 *) ac_try_echo=$ac_try;;
20261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20262 (eval "$ac_link") 2>conftest.er1
20264 grep -v '^ *+' conftest.er1 >conftest.err
20266 cat conftest.err >&5
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); } && {
20269 test -z "$ac_c_werror_flag" ||
20270 test ! -s conftest.err
20271 } && test -s conftest$ac_exeext &&
20272 $as_test_x conftest$ac_exeext; then
20273 ac_cv_have_timezone="yes"
20275 echo "$as_me: failed program was:" >&5
20276 sed 's/^/| /' conftest.$ac_ext >&5
20278 ac_cv_have_timezone="no"
20281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20282 conftest$ac_exeext conftest.$ac_ext
20284 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20285 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20286 if test "$ac_cv_have_timezone" = "yes"
20289 cat >>confdefs.h <<\_ACEOF
20290 #define HAVE_TIMEZONE 1
20294 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20295 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20296 if test "${ac_cv_have_daylight+set}" = set; then
20297 echo $ECHO_N "(cached) $ECHO_C" >&6
20299 cat >conftest.$ac_ext <<_ACEOF
20302 cat confdefs.h >>conftest.$ac_ext
20303 cat >>conftest.$ac_ext <<_ACEOF
20304 /* end confdefs.h. */
20314 rm -f conftest.$ac_objext conftest$ac_exeext
20315 if { (ac_try="$ac_link"
20316 case "(($ac_try" in
20317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20318 *) ac_try_echo
=$ac_try;;
20320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20321 (eval "$ac_link") 2>conftest.er1
20323 grep -v '^ *+' conftest.er1
>conftest.err
20325 cat conftest.err
>&5
20326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327 (exit $ac_status); } && {
20328 test -z "$ac_c_werror_flag" ||
20329 test ! -s conftest.err
20330 } && test -s conftest
$ac_exeext &&
20331 $as_test_x conftest
$ac_exeext; then
20332 ac_cv_have_daylight
="yes"
20334 echo "$as_me: failed program was:" >&5
20335 sed 's/^/| /' conftest.
$ac_ext >&5
20337 ac_cv_have_daylight
="no"
20340 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20341 conftest
$ac_exeext conftest.
$ac_ext
20343 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20344 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20345 if test "$ac_cv_have_daylight" = "yes"
20348 cat >>confdefs.h
<<\_ACEOF
20349 #define HAVE_DAYLIGHT 1
20356 *i
[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20357 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20358 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20359 echo $ECHO_N "(cached) $ECHO_C" >&6
20361 cat >conftest.
$ac_ext <<_ACEOF
20364 cat confdefs.h
>>conftest.
$ac_ext
20365 cat >>conftest.
$ac_ext <<_ACEOF
20366 /* end confdefs.h. */
20371 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20372 $EGREP "yes" >/dev
/null
2>&1; then
20373 ac_cv_cpp_def___i386__
=yes
20375 ac_cv_cpp_def___i386__
=no
20380 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20381 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20382 if test $ac_cv_cpp_def___i386__ = yes; then
20383 CFLAGS
="$CFLAGS -D__i386__"
20384 LINTFLAGS
="$LINTFLAGS -D__i386__"
20387 *x86_64
*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20388 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20389 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20390 echo $ECHO_N "(cached) $ECHO_C" >&6
20392 cat >conftest.
$ac_ext <<_ACEOF
20395 cat confdefs.h
>>conftest.
$ac_ext
20396 cat >>conftest.
$ac_ext <<_ACEOF
20397 /* end confdefs.h. */
20402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20403 $EGREP "yes" >/dev
/null
2>&1; then
20404 ac_cv_cpp_def___x86_64__
=yes
20406 ac_cv_cpp_def___x86_64__
=no
20411 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20412 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20413 if test $ac_cv_cpp_def___x86_64__ = yes; then
20414 CFLAGS
="$CFLAGS -D__x86_64__"
20415 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20418 *alpha
*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20419 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20420 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20421 echo $ECHO_N "(cached) $ECHO_C" >&6
20423 cat >conftest.
$ac_ext <<_ACEOF
20426 cat confdefs.h
>>conftest.
$ac_ext
20427 cat >>conftest.
$ac_ext <<_ACEOF
20428 /* end confdefs.h. */
20433 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20434 $EGREP "yes" >/dev
/null
2>&1; then
20435 ac_cv_cpp_def___ALPHA__
=yes
20437 ac_cv_cpp_def___ALPHA__
=no
20442 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20443 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20444 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20445 CFLAGS
="$CFLAGS -D__ALPHA__"
20446 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
20449 *sparc
*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20450 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20451 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20452 echo $ECHO_N "(cached) $ECHO_C" >&6
20454 cat >conftest.
$ac_ext <<_ACEOF
20457 cat confdefs.h
>>conftest.
$ac_ext
20458 cat >>conftest.
$ac_ext <<_ACEOF
20459 /* end confdefs.h. */
20464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20465 $EGREP "yes" >/dev
/null
2>&1; then
20466 ac_cv_cpp_def___sparc__
=yes
20468 ac_cv_cpp_def___sparc__
=no
20473 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20474 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20475 if test $ac_cv_cpp_def___sparc__ = yes; then
20476 CFLAGS
="$CFLAGS -D__sparc__"
20477 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20480 *powerpc
*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20481 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20482 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20483 echo $ECHO_N "(cached) $ECHO_C" >&6
20485 cat >conftest.
$ac_ext <<_ACEOF
20488 cat confdefs.h
>>conftest.
$ac_ext
20489 cat >>conftest.
$ac_ext <<_ACEOF
20490 /* end confdefs.h. */
20491 #ifndef __powerpc__
20495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20496 $EGREP "yes" >/dev
/null
2>&1; then
20497 ac_cv_cpp_def___powerpc__
=yes
20499 ac_cv_cpp_def___powerpc__
=no
20504 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20505 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20506 if test $ac_cv_cpp_def___powerpc__ = yes; then
20507 CFLAGS
="$CFLAGS -D__powerpc__"
20508 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20513 case $host_vendor in
20514 *sun
*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20515 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20516 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20517 echo $ECHO_N "(cached) $ECHO_C" >&6
20519 cat >conftest.
$ac_ext <<_ACEOF
20522 cat confdefs.h
>>conftest.
$ac_ext
20523 cat >>conftest.
$ac_ext <<_ACEOF
20524 /* end confdefs.h. */
20529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20530 $EGREP "yes" >/dev
/null
2>&1; then
20531 ac_cv_cpp_def___sun__
=yes
20533 ac_cv_cpp_def___sun__
=no
20538 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20539 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20540 if test $ac_cv_cpp_def___sun__ = yes; then
20541 CFLAGS
="$CFLAGS -D__sun__"
20542 LINTFLAGS
="$LINTFLAGS -D__sun__"
20548 DEPENDENCIES
="### Dependencies:
20553 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20555 \$(OBJS): \$(IDL_GEN_HEADERS)
20556 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20557 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20558 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20564 ac_config_commands
="$ac_config_commands include/stamp-h"
20567 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
20569 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
20571 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
20573 ac_config_commands
="$ac_config_commands dlls/user32/resources"
20575 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
20577 ac_config_commands
="$ac_config_commands include/wine"
20580 MAKE_RULES
=Make.rules
20583 MAKE_DLL_RULES
=dlls
/Makedll.rules
20586 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
20589 MAKE_TEST_RULES
=dlls
/Maketest.rules
20592 MAKE_PROG_RULES
=programs
/Makeprog.rules
20595 ac_config_files
="$ac_config_files Make.rules"
20597 ac_config_files
="$ac_config_files dlls/Makedll.rules"
20599 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
20601 ac_config_files
="$ac_config_files dlls/Maketest.rules"
20603 ac_config_files
="$ac_config_files programs/Makeprog.rules"
20605 ac_config_files
="$ac_config_files Makefile"
20607 ac_config_files
="$ac_config_files dlls/Makefile"
20609 ac_config_files
="$ac_config_files dlls/acledit/Makefile"
20611 ac_config_files
="$ac_config_files dlls/activeds/Makefile"
20613 ac_config_files
="$ac_config_files dlls/actxprxy/Makefile"
20615 ac_config_files
="$ac_config_files dlls/advapi32/Makefile"
20617 ac_config_files
="$ac_config_files dlls/advapi32/tests/Makefile"
20619 ac_config_files
="$ac_config_files dlls/advpack/Makefile"
20621 ac_config_files
="$ac_config_files dlls/advpack/tests/Makefile"
20623 ac_config_files
="$ac_config_files dlls/amstream/Makefile"
20625 ac_config_files
="$ac_config_files dlls/atl/Makefile"
20627 ac_config_files
="$ac_config_files dlls/avicap32/Makefile"
20629 ac_config_files
="$ac_config_files dlls/avifil32/Makefile"
20631 ac_config_files
="$ac_config_files dlls/browseui/Makefile"
20633 ac_config_files
="$ac_config_files dlls/browseui/tests/Makefile"
20635 ac_config_files
="$ac_config_files dlls/cabinet/Makefile"
20637 ac_config_files
="$ac_config_files dlls/cabinet/tests/Makefile"
20639 ac_config_files
="$ac_config_files dlls/capi2032/Makefile"
20641 ac_config_files
="$ac_config_files dlls/cards/Makefile"
20643 ac_config_files
="$ac_config_files dlls/cfgmgr32/Makefile"
20645 ac_config_files
="$ac_config_files dlls/clusapi/Makefile"
20647 ac_config_files
="$ac_config_files dlls/comcat/Makefile"
20649 ac_config_files
="$ac_config_files dlls/comcat/tests/Makefile"
20651 ac_config_files
="$ac_config_files dlls/comctl32/Makefile"
20653 ac_config_files
="$ac_config_files dlls/comctl32/tests/Makefile"
20655 ac_config_files
="$ac_config_files dlls/comdlg32/Makefile"
20657 ac_config_files
="$ac_config_files dlls/comdlg32/tests/Makefile"
20659 ac_config_files
="$ac_config_files dlls/compstui/Makefile"
20661 ac_config_files
="$ac_config_files dlls/credui/Makefile"
20663 ac_config_files
="$ac_config_files dlls/credui/tests/Makefile"
20665 ac_config_files
="$ac_config_files dlls/crtdll/Makefile"
20667 ac_config_files
="$ac_config_files dlls/crypt32/Makefile"
20669 ac_config_files
="$ac_config_files dlls/crypt32/tests/Makefile"
20671 ac_config_files
="$ac_config_files dlls/cryptdll/Makefile"
20673 ac_config_files
="$ac_config_files dlls/cryptnet/Makefile"
20675 ac_config_files
="$ac_config_files dlls/cryptnet/tests/Makefile"
20677 ac_config_files
="$ac_config_files dlls/ctapi32/Makefile"
20679 ac_config_files
="$ac_config_files dlls/ctl3d32/Makefile"
20681 ac_config_files
="$ac_config_files dlls/d3d10/Makefile"
20683 ac_config_files
="$ac_config_files dlls/d3d8/Makefile"
20685 ac_config_files
="$ac_config_files dlls/d3d8/tests/Makefile"
20687 ac_config_files
="$ac_config_files dlls/d3d9/Makefile"
20689 ac_config_files
="$ac_config_files dlls/d3d9/tests/Makefile"
20691 ac_config_files
="$ac_config_files dlls/d3dim/Makefile"
20693 ac_config_files
="$ac_config_files dlls/d3drm/Makefile"
20695 ac_config_files
="$ac_config_files dlls/d3drm/tests/Makefile"
20697 ac_config_files
="$ac_config_files dlls/d3dx8/Makefile"
20699 ac_config_files
="$ac_config_files dlls/d3dx8/tests/Makefile"
20701 ac_config_files
="$ac_config_files dlls/d3dxof/Makefile"
20703 ac_config_files
="$ac_config_files dlls/dbghelp/Makefile"
20705 ac_config_files
="$ac_config_files dlls/dciman32/Makefile"
20707 ac_config_files
="$ac_config_files dlls/ddraw/Makefile"
20709 ac_config_files
="$ac_config_files dlls/ddraw/tests/Makefile"
20711 ac_config_files
="$ac_config_files dlls/ddrawex/Makefile"
20713 ac_config_files
="$ac_config_files dlls/devenum/Makefile"
20715 ac_config_files
="$ac_config_files dlls/dinput/Makefile"
20717 ac_config_files
="$ac_config_files dlls/dinput/tests/Makefile"
20719 ac_config_files
="$ac_config_files dlls/dinput8/Makefile"
20721 ac_config_files
="$ac_config_files dlls/dmband/Makefile"
20723 ac_config_files
="$ac_config_files dlls/dmcompos/Makefile"
20725 ac_config_files
="$ac_config_files dlls/dmime/Makefile"
20727 ac_config_files
="$ac_config_files dlls/dmloader/Makefile"
20729 ac_config_files
="$ac_config_files dlls/dmscript/Makefile"
20731 ac_config_files
="$ac_config_files dlls/dmstyle/Makefile"
20733 ac_config_files
="$ac_config_files dlls/dmsynth/Makefile"
20735 ac_config_files
="$ac_config_files dlls/dmusic/Makefile"
20737 ac_config_files
="$ac_config_files dlls/dmusic32/Makefile"
20739 ac_config_files
="$ac_config_files dlls/dnsapi/Makefile"
20741 ac_config_files
="$ac_config_files dlls/dnsapi/tests/Makefile"
20743 ac_config_files
="$ac_config_files dlls/dplay/Makefile"
20745 ac_config_files
="$ac_config_files dlls/dplayx/Makefile"
20747 ac_config_files
="$ac_config_files dlls/dplayx/tests/Makefile"
20749 ac_config_files
="$ac_config_files dlls/dpnaddr/Makefile"
20751 ac_config_files
="$ac_config_files dlls/dpnet/Makefile"
20753 ac_config_files
="$ac_config_files dlls/dpnhpast/Makefile"
20755 ac_config_files
="$ac_config_files dlls/dpnlobby/Makefile"
20757 ac_config_files
="$ac_config_files dlls/dsound/Makefile"
20759 ac_config_files
="$ac_config_files dlls/dsound/tests/Makefile"
20761 ac_config_files
="$ac_config_files dlls/dswave/Makefile"
20763 ac_config_files
="$ac_config_files dlls/dwmapi/Makefile"
20765 ac_config_files
="$ac_config_files dlls/dxdiagn/Makefile"
20767 ac_config_files
="$ac_config_files dlls/dxerr8/Makefile"
20769 ac_config_files
="$ac_config_files dlls/dxerr9/Makefile"
20771 ac_config_files
="$ac_config_files dlls/dxguid/Makefile"
20773 ac_config_files
="$ac_config_files dlls/faultrep/Makefile"
20775 ac_config_files
="$ac_config_files dlls/gdi32/Makefile"
20777 ac_config_files
="$ac_config_files dlls/gdi32/tests/Makefile"
20779 ac_config_files
="$ac_config_files dlls/gdiplus/Makefile"
20781 ac_config_files
="$ac_config_files dlls/gdiplus/tests/Makefile"
20783 ac_config_files
="$ac_config_files dlls/glu32/Makefile"
20785 ac_config_files
="$ac_config_files dlls/gphoto2.ds/Makefile"
20787 ac_config_files
="$ac_config_files dlls/hal/Makefile"
20789 ac_config_files
="$ac_config_files dlls/hhctrl.ocx/Makefile"
20791 ac_config_files
="$ac_config_files dlls/hid/Makefile"
20793 ac_config_files
="$ac_config_files dlls/hlink/Makefile"
20795 ac_config_files
="$ac_config_files dlls/hlink/tests/Makefile"
20797 ac_config_files
="$ac_config_files dlls/hnetcfg/Makefile"
20799 ac_config_files
="$ac_config_files dlls/iccvid/Makefile"
20801 ac_config_files
="$ac_config_files dlls/icmp/Makefile"
20803 ac_config_files
="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20805 ac_config_files
="$ac_config_files dlls/imaadp32.acm/Makefile"
20807 ac_config_files
="$ac_config_files dlls/imagehlp/Makefile"
20809 ac_config_files
="$ac_config_files dlls/imm32/Makefile"
20811 ac_config_files
="$ac_config_files dlls/imm32/tests/Makefile"
20813 ac_config_files
="$ac_config_files dlls/inetcomm/Makefile"
20815 ac_config_files
="$ac_config_files dlls/inetcomm/tests/Makefile"
20817 ac_config_files
="$ac_config_files dlls/infosoft/Makefile"
20819 ac_config_files
="$ac_config_files dlls/infosoft/tests/Makefile"
20821 ac_config_files
="$ac_config_files dlls/inkobj/Makefile"
20823 ac_config_files
="$ac_config_files dlls/inseng/Makefile"
20825 ac_config_files
="$ac_config_files dlls/iphlpapi/Makefile"
20827 ac_config_files
="$ac_config_files dlls/iphlpapi/tests/Makefile"
20829 ac_config_files
="$ac_config_files dlls/itss/Makefile"
20831 ac_config_files
="$ac_config_files dlls/itss/tests/Makefile"
20833 ac_config_files
="$ac_config_files dlls/kernel32/Makefile"
20835 ac_config_files
="$ac_config_files dlls/kernel32/tests/Makefile"
20837 ac_config_files
="$ac_config_files dlls/localspl/Makefile"
20839 ac_config_files
="$ac_config_files dlls/localspl/tests/Makefile"
20841 ac_config_files
="$ac_config_files dlls/localui/Makefile"
20843 ac_config_files
="$ac_config_files dlls/localui/tests/Makefile"
20845 ac_config_files
="$ac_config_files dlls/lz32/Makefile"
20847 ac_config_files
="$ac_config_files dlls/lz32/tests/Makefile"
20849 ac_config_files
="$ac_config_files dlls/mapi32/Makefile"
20851 ac_config_files
="$ac_config_files dlls/mapi32/tests/Makefile"
20853 ac_config_files
="$ac_config_files dlls/mciavi32/Makefile"
20855 ac_config_files
="$ac_config_files dlls/mcicda/Makefile"
20857 ac_config_files
="$ac_config_files dlls/mciseq/Makefile"
20859 ac_config_files
="$ac_config_files dlls/mciwave/Makefile"
20861 ac_config_files
="$ac_config_files dlls/midimap/Makefile"
20863 ac_config_files
="$ac_config_files dlls/mlang/Makefile"
20865 ac_config_files
="$ac_config_files dlls/mlang/tests/Makefile"
20867 ac_config_files
="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20869 ac_config_files
="$ac_config_files dlls/monodebg.vxd/Makefile"
20871 ac_config_files
="$ac_config_files dlls/mpr/Makefile"
20873 ac_config_files
="$ac_config_files dlls/mprapi/Makefile"
20875 ac_config_files
="$ac_config_files dlls/msacm32.drv/Makefile"
20877 ac_config_files
="$ac_config_files dlls/msacm32/Makefile"
20879 ac_config_files
="$ac_config_files dlls/msacm32/tests/Makefile"
20881 ac_config_files
="$ac_config_files dlls/msadp32.acm/Makefile"
20883 ac_config_files
="$ac_config_files dlls/mscat32/Makefile"
20885 ac_config_files
="$ac_config_files dlls/mscms/Makefile"
20887 ac_config_files
="$ac_config_files dlls/mscms/tests/Makefile"
20889 ac_config_files
="$ac_config_files dlls/mscoree/Makefile"
20891 ac_config_files
="$ac_config_files dlls/msdmo/Makefile"
20893 ac_config_files
="$ac_config_files dlls/msftedit/Makefile"
20895 ac_config_files
="$ac_config_files dlls/msg711.acm/Makefile"
20897 ac_config_files
="$ac_config_files dlls/mshtml.tlb/Makefile"
20899 ac_config_files
="$ac_config_files dlls/mshtml/Makefile"
20901 ac_config_files
="$ac_config_files dlls/mshtml/tests/Makefile"
20903 ac_config_files
="$ac_config_files dlls/msi/Makefile"
20905 ac_config_files
="$ac_config_files dlls/msi/tests/Makefile"
20907 ac_config_files
="$ac_config_files dlls/msimg32/Makefile"
20909 ac_config_files
="$ac_config_files dlls/msimtf/Makefile"
20911 ac_config_files
="$ac_config_files dlls/msisys.ocx/Makefile"
20913 ac_config_files
="$ac_config_files dlls/msnet32/Makefile"
20915 ac_config_files
="$ac_config_files dlls/msrle32/Makefile"
20917 ac_config_files
="$ac_config_files dlls/msvcirt/Makefile"
20919 ac_config_files
="$ac_config_files dlls/msvcrt/Makefile"
20921 ac_config_files
="$ac_config_files dlls/msvcrt/tests/Makefile"
20923 ac_config_files
="$ac_config_files dlls/msvcrt20/Makefile"
20925 ac_config_files
="$ac_config_files dlls/msvcrt40/Makefile"
20927 ac_config_files
="$ac_config_files dlls/msvcrtd/Makefile"
20929 ac_config_files
="$ac_config_files dlls/msvcrtd/tests/Makefile"
20931 ac_config_files
="$ac_config_files dlls/msvfw32/Makefile"
20933 ac_config_files
="$ac_config_files dlls/msvidc32/Makefile"
20935 ac_config_files
="$ac_config_files dlls/mswsock/Makefile"
20937 ac_config_files
="$ac_config_files dlls/msxml3/Makefile"
20939 ac_config_files
="$ac_config_files dlls/msxml3/tests/Makefile"
20941 ac_config_files
="$ac_config_files dlls/nddeapi/Makefile"
20943 ac_config_files
="$ac_config_files dlls/netapi32/Makefile"
20945 ac_config_files
="$ac_config_files dlls/netapi32/tests/Makefile"
20947 ac_config_files
="$ac_config_files dlls/newdev/Makefile"
20949 ac_config_files
="$ac_config_files dlls/ntdll/Makefile"
20951 ac_config_files
="$ac_config_files dlls/ntdll/tests/Makefile"
20953 ac_config_files
="$ac_config_files dlls/ntdsapi/Makefile"
20955 ac_config_files
="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20957 ac_config_files
="$ac_config_files dlls/ntprint/Makefile"
20959 ac_config_files
="$ac_config_files dlls/ntprint/tests/Makefile"
20961 ac_config_files
="$ac_config_files dlls/objsel/Makefile"
20963 ac_config_files
="$ac_config_files dlls/odbc32/Makefile"
20965 ac_config_files
="$ac_config_files dlls/odbccp32/Makefile"
20967 ac_config_files
="$ac_config_files dlls/odbccp32/tests/Makefile"
20969 ac_config_files
="$ac_config_files dlls/ole32/Makefile"
20971 ac_config_files
="$ac_config_files dlls/ole32/tests/Makefile"
20973 ac_config_files
="$ac_config_files dlls/oleacc/Makefile"
20975 ac_config_files
="$ac_config_files dlls/oleaut32/Makefile"
20977 ac_config_files
="$ac_config_files dlls/oleaut32/tests/Makefile"
20979 ac_config_files
="$ac_config_files dlls/olecli32/Makefile"
20981 ac_config_files
="$ac_config_files dlls/oledlg/Makefile"
20983 ac_config_files
="$ac_config_files dlls/olepro32/Makefile"
20985 ac_config_files
="$ac_config_files dlls/olesvr32/Makefile"
20987 ac_config_files
="$ac_config_files dlls/olethk32/Makefile"
20989 ac_config_files
="$ac_config_files dlls/opengl32/Makefile"
20991 ac_config_files
="$ac_config_files dlls/opengl32/tests/Makefile"
20993 ac_config_files
="$ac_config_files dlls/pdh/Makefile"
20995 ac_config_files
="$ac_config_files dlls/pdh/tests/Makefile"
20997 ac_config_files
="$ac_config_files dlls/powrprof/Makefile"
20999 ac_config_files
="$ac_config_files dlls/printui/Makefile"
21001 ac_config_files
="$ac_config_files dlls/psapi/Makefile"
21003 ac_config_files
="$ac_config_files dlls/psapi/tests/Makefile"
21005 ac_config_files
="$ac_config_files dlls/pstorec/Makefile"
21007 ac_config_files
="$ac_config_files dlls/qcap/Makefile"
21009 ac_config_files
="$ac_config_files dlls/qmgr/Makefile"
21011 ac_config_files
="$ac_config_files dlls/qmgrprxy/Makefile"
21013 ac_config_files
="$ac_config_files dlls/quartz/Makefile"
21015 ac_config_files
="$ac_config_files dlls/quartz/tests/Makefile"
21017 ac_config_files
="$ac_config_files dlls/query/Makefile"
21019 ac_config_files
="$ac_config_files dlls/rasapi32/Makefile"
21021 ac_config_files
="$ac_config_files dlls/resutils/Makefile"
21023 ac_config_files
="$ac_config_files dlls/riched20/Makefile"
21025 ac_config_files
="$ac_config_files dlls/riched20/tests/Makefile"
21027 ac_config_files
="$ac_config_files dlls/riched32/Makefile"
21029 ac_config_files
="$ac_config_files dlls/riched32/tests/Makefile"
21031 ac_config_files
="$ac_config_files dlls/rpcrt4/Makefile"
21033 ac_config_files
="$ac_config_files dlls/rpcrt4/tests/Makefile"
21035 ac_config_files
="$ac_config_files dlls/rsabase/Makefile"
21037 ac_config_files
="$ac_config_files dlls/rsabase/tests/Makefile"
21039 ac_config_files
="$ac_config_files dlls/rsaenh/Makefile"
21041 ac_config_files
="$ac_config_files dlls/rsaenh/tests/Makefile"
21043 ac_config_files
="$ac_config_files dlls/sane.ds/Makefile"
21045 ac_config_files
="$ac_config_files dlls/schannel/Makefile"
21047 ac_config_files
="$ac_config_files dlls/schannel/tests/Makefile"
21049 ac_config_files
="$ac_config_files dlls/secur32/Makefile"
21051 ac_config_files
="$ac_config_files dlls/secur32/tests/Makefile"
21053 ac_config_files
="$ac_config_files dlls/security/Makefile"
21055 ac_config_files
="$ac_config_files dlls/sensapi/Makefile"
21057 ac_config_files
="$ac_config_files dlls/serialui/Makefile"
21059 ac_config_files
="$ac_config_files dlls/serialui/tests/Makefile"
21061 ac_config_files
="$ac_config_files dlls/setupapi/Makefile"
21063 ac_config_files
="$ac_config_files dlls/setupapi/tests/Makefile"
21065 ac_config_files
="$ac_config_files dlls/sfc/Makefile"
21067 ac_config_files
="$ac_config_files dlls/sfc_os/Makefile"
21069 ac_config_files
="$ac_config_files dlls/shdoclc/Makefile"
21071 ac_config_files
="$ac_config_files dlls/shdocvw/Makefile"
21073 ac_config_files
="$ac_config_files dlls/shdocvw/tests/Makefile"
21075 ac_config_files
="$ac_config_files dlls/shell32/Makefile"
21077 ac_config_files
="$ac_config_files dlls/shell32/tests/Makefile"
21079 ac_config_files
="$ac_config_files dlls/shfolder/Makefile"
21081 ac_config_files
="$ac_config_files dlls/shlwapi/Makefile"
21083 ac_config_files
="$ac_config_files dlls/shlwapi/tests/Makefile"
21085 ac_config_files
="$ac_config_files dlls/snmpapi/Makefile"
21087 ac_config_files
="$ac_config_files dlls/snmpapi/tests/Makefile"
21089 ac_config_files
="$ac_config_files dlls/spoolss/Makefile"
21091 ac_config_files
="$ac_config_files dlls/spoolss/tests/Makefile"
21093 ac_config_files
="$ac_config_files dlls/stdole2.tlb/Makefile"
21095 ac_config_files
="$ac_config_files dlls/stdole32.tlb/Makefile"
21097 ac_config_files
="$ac_config_files dlls/sti/Makefile"
21099 ac_config_files
="$ac_config_files dlls/strmiids/Makefile"
21101 ac_config_files
="$ac_config_files dlls/svrapi/Makefile"
21103 ac_config_files
="$ac_config_files dlls/sxs/Makefile"
21105 ac_config_files
="$ac_config_files dlls/tapi32/Makefile"
21107 ac_config_files
="$ac_config_files dlls/twain_32/Makefile"
21109 ac_config_files
="$ac_config_files dlls/unicows/Makefile"
21111 ac_config_files
="$ac_config_files dlls/url/Makefile"
21113 ac_config_files
="$ac_config_files dlls/urlmon/Makefile"
21115 ac_config_files
="$ac_config_files dlls/urlmon/tests/Makefile"
21117 ac_config_files
="$ac_config_files dlls/user32/Makefile"
21119 ac_config_files
="$ac_config_files dlls/user32/tests/Makefile"
21121 ac_config_files
="$ac_config_files dlls/userenv/Makefile"
21123 ac_config_files
="$ac_config_files dlls/usp10/Makefile"
21125 ac_config_files
="$ac_config_files dlls/usp10/tests/Makefile"
21127 ac_config_files
="$ac_config_files dlls/uuid/Makefile"
21129 ac_config_files
="$ac_config_files dlls/uxtheme/Makefile"
21131 ac_config_files
="$ac_config_files dlls/uxtheme/tests/Makefile"
21133 ac_config_files
="$ac_config_files dlls/vdhcp.vxd/Makefile"
21135 ac_config_files
="$ac_config_files dlls/vdmdbg/Makefile"
21137 ac_config_files
="$ac_config_files dlls/version/Makefile"
21139 ac_config_files
="$ac_config_files dlls/version/tests/Makefile"
21141 ac_config_files
="$ac_config_files dlls/vmm.vxd/Makefile"
21143 ac_config_files
="$ac_config_files dlls/vnbt.vxd/Makefile"
21145 ac_config_files
="$ac_config_files dlls/vnetbios.vxd/Makefile"
21147 ac_config_files
="$ac_config_files dlls/vtdapi.vxd/Makefile"
21149 ac_config_files
="$ac_config_files dlls/vwin32.vxd/Makefile"
21151 ac_config_files
="$ac_config_files dlls/w32skrnl/Makefile"
21153 ac_config_files
="$ac_config_files dlls/winealsa.drv/Makefile"
21155 ac_config_files
="$ac_config_files dlls/wineaudioio.drv/Makefile"
21157 ac_config_files
="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21159 ac_config_files
="$ac_config_files dlls/winecrt0/Makefile"
21161 ac_config_files
="$ac_config_files dlls/wined3d/Makefile"
21163 ac_config_files
="$ac_config_files dlls/winedos/Makefile"
21165 ac_config_files
="$ac_config_files dlls/wineesd.drv/Makefile"
21167 ac_config_files
="$ac_config_files dlls/winejack.drv/Makefile"
21169 ac_config_files
="$ac_config_files dlls/winejoystick.drv/Makefile"
21171 ac_config_files
="$ac_config_files dlls/winemp3.acm/Makefile"
21173 ac_config_files
="$ac_config_files dlls/winenas.drv/Makefile"
21175 ac_config_files
="$ac_config_files dlls/wineoss.drv/Makefile"
21177 ac_config_files
="$ac_config_files dlls/wineps.drv/Makefile"
21179 ac_config_files
="$ac_config_files dlls/winequartz.drv/Makefile"
21181 ac_config_files
="$ac_config_files dlls/winex11.drv/Makefile"
21183 ac_config_files
="$ac_config_files dlls/wing32/Makefile"
21185 ac_config_files
="$ac_config_files dlls/winhttp/Makefile"
21187 ac_config_files
="$ac_config_files dlls/wininet/Makefile"
21189 ac_config_files
="$ac_config_files dlls/wininet/tests/Makefile"
21191 ac_config_files
="$ac_config_files dlls/winmm/Makefile"
21193 ac_config_files
="$ac_config_files dlls/winmm/tests/Makefile"
21195 ac_config_files
="$ac_config_files dlls/winnls32/Makefile"
21197 ac_config_files
="$ac_config_files dlls/winscard/Makefile"
21199 ac_config_files
="$ac_config_files dlls/winspool.drv/Makefile"
21201 ac_config_files
="$ac_config_files dlls/winspool.drv/tests/Makefile"
21203 ac_config_files
="$ac_config_files dlls/wintab32/Makefile"
21205 ac_config_files
="$ac_config_files dlls/wintrust/Makefile"
21207 ac_config_files
="$ac_config_files dlls/wintrust/tests/Makefile"
21209 ac_config_files
="$ac_config_files dlls/wldap32/Makefile"
21211 ac_config_files
="$ac_config_files dlls/wnaspi32/Makefile"
21213 ac_config_files
="$ac_config_files dlls/wow32/Makefile"
21215 ac_config_files
="$ac_config_files dlls/ws2_32/Makefile"
21217 ac_config_files
="$ac_config_files dlls/ws2_32/tests/Makefile"
21219 ac_config_files
="$ac_config_files dlls/wsock32/Makefile"
21221 ac_config_files
="$ac_config_files dlls/wtsapi32/Makefile"
21223 ac_config_files
="$ac_config_files documentation/Makefile"
21225 ac_config_files
="$ac_config_files fonts/Makefile"
21227 ac_config_files
="$ac_config_files include/Makefile"
21229 ac_config_files
="$ac_config_files libs/Makefile"
21231 ac_config_files
="$ac_config_files libs/port/Makefile"
21233 ac_config_files
="$ac_config_files libs/wine/Makefile"
21235 ac_config_files
="$ac_config_files libs/wpp/Makefile"
21237 ac_config_files
="$ac_config_files loader/Makefile"
21239 ac_config_files
="$ac_config_files programs/Makefile"
21241 ac_config_files
="$ac_config_files programs/clock/Makefile"
21243 ac_config_files
="$ac_config_files programs/cmd/Makefile"
21245 ac_config_files
="$ac_config_files programs/cmdlgtst/Makefile"
21247 ac_config_files
="$ac_config_files programs/control/Makefile"
21249 ac_config_files
="$ac_config_files programs/eject/Makefile"
21251 ac_config_files
="$ac_config_files programs/expand/Makefile"
21253 ac_config_files
="$ac_config_files programs/explorer/Makefile"
21255 ac_config_files
="$ac_config_files programs/hh/Makefile"
21257 ac_config_files
="$ac_config_files programs/icinfo/Makefile"
21259 ac_config_files
="$ac_config_files programs/iexplore/Makefile"
21261 ac_config_files
="$ac_config_files programs/msiexec/Makefile"
21263 ac_config_files
="$ac_config_files programs/net/Makefile"
21265 ac_config_files
="$ac_config_files programs/notepad/Makefile"
21267 ac_config_files
="$ac_config_files programs/oleview/Makefile"
21269 ac_config_files
="$ac_config_files programs/progman/Makefile"
21271 ac_config_files
="$ac_config_files programs/regedit/Makefile"
21273 ac_config_files
="$ac_config_files programs/regsvr32/Makefile"
21275 ac_config_files
="$ac_config_files programs/rpcss/Makefile"
21277 ac_config_files
="$ac_config_files programs/rundll32/Makefile"
21279 ac_config_files
="$ac_config_files programs/spoolsv/Makefile"
21281 ac_config_files
="$ac_config_files programs/start/Makefile"
21283 ac_config_files
="$ac_config_files programs/svchost/Makefile"
21285 ac_config_files
="$ac_config_files programs/taskmgr/Makefile"
21287 ac_config_files
="$ac_config_files programs/uninstaller/Makefile"
21289 ac_config_files
="$ac_config_files programs/view/Makefile"
21291 ac_config_files
="$ac_config_files programs/wineboot/Makefile"
21293 ac_config_files
="$ac_config_files programs/winebrowser/Makefile"
21295 ac_config_files
="$ac_config_files programs/winecfg/Makefile"
21297 ac_config_files
="$ac_config_files programs/wineconsole/Makefile"
21299 ac_config_files
="$ac_config_files programs/winedbg/Makefile"
21301 ac_config_files
="$ac_config_files programs/winedevice/Makefile"
21303 ac_config_files
="$ac_config_files programs/winefile/Makefile"
21305 ac_config_files
="$ac_config_files programs/winemenubuilder/Makefile"
21307 ac_config_files
="$ac_config_files programs/winemine/Makefile"
21309 ac_config_files
="$ac_config_files programs/winepath/Makefile"
21311 ac_config_files
="$ac_config_files programs/winetest/Makefile"
21313 ac_config_files
="$ac_config_files programs/winevdm/Makefile"
21315 ac_config_files
="$ac_config_files programs/winhelp/Makefile"
21317 ac_config_files
="$ac_config_files programs/winver/Makefile"
21319 ac_config_files
="$ac_config_files programs/wordpad/Makefile"
21321 ac_config_files
="$ac_config_files programs/write/Makefile"
21323 ac_config_files
="$ac_config_files programs/xcopy/Makefile"
21325 ac_config_files
="$ac_config_files server/Makefile"
21327 ac_config_files
="$ac_config_files tools/Makefile"
21329 ac_config_files
="$ac_config_files tools/widl/Makefile"
21331 ac_config_files
="$ac_config_files tools/winebuild/Makefile"
21333 ac_config_files
="$ac_config_files tools/winedump/Makefile"
21335 ac_config_files
="$ac_config_files tools/winegcc/Makefile"
21337 ac_config_files
="$ac_config_files tools/wmc/Makefile"
21339 ac_config_files
="$ac_config_files tools/wrc/Makefile"
21342 cat >confcache
<<\_ACEOF
21343 # This file is a shell script that caches the results of configure
21344 # tests run on this system so they can be shared between configure
21345 # scripts and configure runs, see configure's option --config-cache.
21346 # It is not useful on other systems. If it contains results you don't
21347 # want to keep, you may remove or edit it.
21349 # config.status only pays attention to the cache file if you give it
21350 # the --recheck option to rerun configure.
21352 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21353 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21354 # following values.
21358 # The following way of writing the cache mishandles newlines in values,
21359 # but we know of no workaround that is simple, portable, and efficient.
21360 # So, we kill variables containing newlines.
21361 # Ultrix sh set writes to stderr and can't be redirected directly,
21362 # and sets the high bit in the cache file unless we assign to the vars.
21364 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21365 eval ac_val
=\$
$ac_var
21369 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21370 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21373 _ | IFS | as_nl
) ;; #(
21374 *) $as_unset $ac_var ;;
21380 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21381 *${as_nl}ac_space
=\
*)
21382 # `set' does not quote correctly, so add quotes (double-quote
21383 # substitution turns \\\\ into \\, and sed turns \\ into \).
21386 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21389 # `set' quotes correctly as required by POSIX, so do not add quotes.
21390 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21399 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21401 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21403 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21404 if test -w "$cache_file"; then
21405 test "x$cache_file" != "x/dev/null" &&
21406 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21407 echo "$as_me: updating cache $cache_file" >&6;}
21408 cat confcache
>$cache_file
21410 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21411 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21416 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21417 # Let make expand exec_prefix.
21418 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21420 DEFS
=-DHAVE_CONFIG_H
21424 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21425 # 1. Remove the extension, and $U if already installed.
21426 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21427 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21428 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21429 # will be set to the directory where LIBOBJS objects are built.
21430 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21431 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21433 LIBOBJS
=$ac_libobjs
21435 LTLIBOBJS
=$ac_ltlibobjs
21439 : ${CONFIG_STATUS=./config.status}
21440 ac_clean_files_save
=$ac_clean_files
21441 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21442 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21443 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21444 cat >$CONFIG_STATUS <<_ACEOF
21446 # Generated by $as_me.
21447 # Run this file to recreate the current configuration.
21448 # Compiler output produced by configure, useful for debugging
21449 # configure, is in config.log if it exists.
21452 ac_cs_recheck=false
21454 SHELL=\${CONFIG_SHELL-$SHELL}
21457 cat >>$CONFIG_STATUS <<\_ACEOF
21458 ## --------------------- ##
21459 ## M4sh Initialization. ##
21460 ## --------------------- ##
21462 # Be more Bourne compatible
21463 DUALCASE
=1; export DUALCASE
# for MKS sh
21464 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21467 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21468 # is contrary to our usage. Disable this feature.
21469 alias -g '${1+"$@"}'='"$@"'
21470 setopt NO_GLOB_SUBST
21472 case `(set -o) 2>/dev/null` in
21473 *posix
*) set -o posix
;;
21482 # Avoid depending upon Character Ranges.
21483 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21484 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21485 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21486 as_cr_digits
='0123456789'
21487 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21489 # The user is always right.
21490 if test "${PATH_SEPARATOR+set}" != set; then
21491 echo "#! /bin/sh" >conf$$.sh
21492 echo "exit 0" >>conf$$.sh
21494 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21502 # Support unset when possible.
21503 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21511 # We need space, tab and new line, in precisely that order. Quoting is
21512 # there to prevent editors from complaining about space-tab.
21513 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21514 # splitting by setting IFS to empty value.)
21519 # Find who we are. Look in the path if we contain no directory separator.
21521 *[\\/]* ) as_myself
=$0 ;;
21522 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21523 for as_dir
in $PATH
21526 test -z "$as_dir" && as_dir
=.
21527 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21533 # We did not find ourselves, most probably we were run as `sh COMMAND'
21534 # in which case we are not to be found in the path.
21535 if test "x$as_myself" = x
; then
21538 if test ! -f "$as_myself"; then
21539 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21540 { (exit 1); exit 1; }
21543 # Work around bugs in pre-3.0 UWIN ksh.
21544 for as_var
in ENV MAIL MAILPATH
21545 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21553 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21554 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21555 LC_TELEPHONE LC_TIME
21557 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21558 eval $as_var=C
; export $as_var
21560 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21564 # Required to use basename.
21565 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21566 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21572 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21573 as_basename
=basename
21579 # Name of the executable.
21580 as_me
=`$as_basename -- "$0" ||
21581 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21582 X"$0" : 'X\(//\)$' \| \
21583 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21585 sed '/^.*\/\([^/][^/]*\)\/*$/{
21604 as_lineno_1
=$LINENO
21605 as_lineno_2
=$LINENO
21606 test "x$as_lineno_1" != "x$as_lineno_2" &&
21607 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21609 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21610 # uniformly replaced by the line number. The first 'sed' inserts a
21611 # line-number line after each line using $LINENO; the second 'sed'
21612 # does the real work. The second script uses 'N' to pair each
21613 # line-number line with the line containing $LINENO, and appends
21614 # trailing '-' during substitution so that $LINENO is not a special
21615 # case at line end.
21616 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21617 # scripts with optimization help from Paolo Bonzini. Blame Lee
21618 # E. McMahon (1931-1989) for sed's syntax. :-)
21630 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21633 ' >$as_me.lineno
&&
21634 chmod +x
"$as_me.lineno" ||
21635 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21636 { (exit 1); exit 1; }; }
21638 # Don't try to exec as it changes $[0], causing all sort of problems
21639 # (the dirname of $[0] is not the place where we might find the
21640 # original and so on. Autoconf is especially sensitive to this).
21641 .
"./$as_me.lineno"
21642 # Exit status is that of the last command.
21647 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21653 ECHO_C
= ECHO_N
= ECHO_T
=
21654 case `echo -n x` in
21656 case `echo 'x\c'` in
21657 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21664 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21665 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21671 rm -f conf$$ conf$$.exe conf$$.
file
21672 if test -d conf$$.dir
; then
21673 rm -f conf$$.dir
/conf$$.
file
21679 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21681 # ... but there are two gotchas:
21682 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21683 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21684 # In both cases, we have to default to `cp -p'.
21685 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21687 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21692 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21693 rmdir conf$$.dir
2>/dev
/null
21695 if mkdir
-p .
2>/dev
/null
; then
21698 test -d .
/-p && rmdir .
/-p
21702 if test -x / >/dev
/null
2>&1; then
21703 as_test_x
='test -x'
21705 if ls -dL / >/dev
/null
2>&1; then
21712 if test -d "$1"; then
21718 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21719 ???[sx]*):;;*)false;;esac;fi
21723 as_executable_p
=$as_test_x
21725 # Sed expression to map a string onto a valid CPP name.
21726 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21728 # Sed expression to map a string onto a valid variable name.
21729 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21734 # Save the log message, to keep $[0] and so on meaningful, and to
21735 # report actual input values of CONFIG_FILES etc. instead of their
21736 # values after options handling.
21738 This file was extended by Wine $as_me 0.9.52, which was
21739 generated by GNU Autoconf 2.61. Invocation command line was
21741 CONFIG_FILES = $CONFIG_FILES
21742 CONFIG_HEADERS = $CONFIG_HEADERS
21743 CONFIG_LINKS = $CONFIG_LINKS
21744 CONFIG_COMMANDS = $CONFIG_COMMANDS
21747 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21752 cat >>$CONFIG_STATUS <<_ACEOF
21753 # Files that config.status was made for.
21754 config_files="$ac_config_files"
21755 config_headers="$ac_config_headers"
21756 config_commands="$ac_config_commands"
21760 cat >>$CONFIG_STATUS <<\_ACEOF
21762 \`$as_me' instantiates files from templates according to the
21763 current configuration.
21765 Usage: $0 [OPTIONS] [FILE]...
21767 -h, --help print this help, then exit
21768 -V, --version print version number and configuration settings, then exit
21769 -q, --quiet do not print progress messages
21770 -d, --debug don't remove temporary files
21771 --recheck update $as_me by reconfiguring in the same conditions
21772 --file=FILE[:TEMPLATE]
21773 instantiate the configuration file FILE
21774 --header=FILE[:TEMPLATE]
21775 instantiate the configuration header FILE
21777 Configuration files:
21780 Configuration headers:
21783 Configuration commands:
21786 Report bugs to <bug-autoconf@gnu.org>."
21789 cat >>$CONFIG_STATUS <<_ACEOF
21791 Wine config.status 0.9.52
21792 configured by $0, generated by GNU Autoconf 2.61,
21793 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21795 Copyright (C) 2006 Free Software Foundation, Inc.
21796 This config.status script is free software; the Free Software Foundation
21797 gives unlimited permission to copy, distribute and modify it."
21804 cat >>$CONFIG_STATUS <<\_ACEOF
21805 # If no file are specified by the user, then we need to provide default
21806 # value. By we need to know if files were specified by the user.
21812 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21813 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21824 # Handling of the options.
21825 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21827 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21828 echo "$ac_cs_version"; exit ;;
21829 --debug |
--debu |
--deb |
--de |
--d |
-d )
21831 --file |
--fil |
--fi |
--f )
21833 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21834 ac_need_defaults
=false
;;
21835 --header |
--heade |
--head |
--hea )
21837 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21838 ac_need_defaults
=false
;;
21840 # Conflict between --help and --header
21841 { echo "$as_me: error: ambiguous option: $1
21842 Try \`$0 --help' for more information." >&2
21843 { (exit 1); exit 1; }; };;
21844 --help |
--hel |
-h )
21845 echo "$ac_cs_usage"; exit ;;
21846 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21847 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21850 # This is an error.
21851 -*) { echo "$as_me: error: unrecognized option: $1
21852 Try \`$0 --help' for more information." >&2
21853 { (exit 1); exit 1; }; } ;;
21855 *) ac_config_targets
="$ac_config_targets $1"
21856 ac_need_defaults
=false
;;
21862 ac_configure_extra_args
=
21864 if $ac_cs_silent; then
21866 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21870 cat >>$CONFIG_STATUS <<_ACEOF
21871 if \$ac_cs_recheck; then
21872 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21873 CONFIG_SHELL=$SHELL
21874 export CONFIG_SHELL
21875 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21879 cat >>$CONFIG_STATUS <<\_ACEOF
21883 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21884 ## Running $as_me. ##
21890 cat >>$CONFIG_STATUS <<_ACEOF
21893 cat >>$CONFIG_STATUS <<\_ACEOF
21895 # Handling of arguments.
21896 for ac_config_target
in $ac_config_targets
21898 case $ac_config_target in
21899 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21900 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
21901 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21902 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21903 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21904 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
21905 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21906 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21907 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
21908 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
21909 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21910 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
21911 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
21912 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21913 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
21914 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
21915 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
21916 "dlls/actxprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
21917 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21918 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21919 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
21920 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21921 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
21922 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
21923 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21924 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21925 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
21926 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21927 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21928 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21929 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21930 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
21931 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21932 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21933 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
21934 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21935 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21936 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21937 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21938 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21939 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
21940 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
21941 "dlls/credui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
21942 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21943 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21944 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21945 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21946 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21947 "dlls/cryptnet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
21948 "dlls/ctapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
21949 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21950 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21951 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21952 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21953 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21954 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21955 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21956 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21957 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21958 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21959 "dlls/d3dx8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
21960 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21961 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21962 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21963 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21964 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21965 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21966 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
21967 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
21968 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21969 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21970 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
21971 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21972 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
21973 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21974 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21975 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21976 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21977 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21978 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21979 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21980 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21981 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
21982 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21983 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21984 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21985 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21986 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21987 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21988 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
21989 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21990 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
21991 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21992 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21993 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21994 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21995 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21996 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21997 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21998 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21999 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22000 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22001 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
22002 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22003 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
22004 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22005 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
22006 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
22007 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22008 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22009 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22010 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
22011 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22012 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22013 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22014 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
22015 "dlls/imm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22016 "dlls/inetcomm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22017 "dlls/inetcomm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22018 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22019 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22020 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22021 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
22022 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22023 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22024 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
22025 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22026 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22027 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22028 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
22029 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22030 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
22031 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22032 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
22033 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22034 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22035 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22036 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22037 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22038 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22039 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22040 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
22041 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
22042 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22043 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22044 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22045 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
22046 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22047 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22048 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22049 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22050 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22051 "dlls/mscat32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22052 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
22053 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22054 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22055 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22056 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22057 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22058 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22059 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22060 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22061 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
22062 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22063 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22064 "dlls/msimtf/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22065 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22066 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22067 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22068 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22069 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22070 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22071 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22072 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22073 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22074 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22075 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22076 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22077 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22078 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22079 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22080 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22081 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22082 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22083 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
22084 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22085 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22086 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22087 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22088 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22089 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22090 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
22091 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22092 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22093 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22094 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
22095 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22096 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22097 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22098 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22099 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22100 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22101 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22102 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22103 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22104 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22105 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22106 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
22107 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22108 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22109 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
22110 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
22111 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22112 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22113 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
22114 "dlls/qmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22115 "dlls/qmgrprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22116 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
22117 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22118 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
22119 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22120 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
22121 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
22122 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22123 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
22124 "dlls/riched32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22125 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22126 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22127 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22128 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22129 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22130 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22131 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22132 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
22133 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22134 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
22135 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22136 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
22137 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22138 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
22139 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22140 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22141 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22142 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
22143 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22144 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22145 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22146 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22147 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
22148 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22149 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22150 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22151 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22152 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22153 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22154 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22155 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22156 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22157 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22158 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
22159 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22160 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22161 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
22162 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22163 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22164 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
22165 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
22166 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22167 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22168 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
22169 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22170 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
22171 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
22172 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22173 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
22174 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22175 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22176 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22177 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22178 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
22179 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22180 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22181 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22182 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22183 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22184 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22185 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22186 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22187 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22188 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22189 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22190 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22191 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
22192 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22193 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22194 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22195 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22196 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22197 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22198 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22199 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22200 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22201 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
22202 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22203 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
22204 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22205 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
22206 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22207 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22208 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
22209 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22210 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22211 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22212 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22213 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22214 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22215 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22216 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
22217 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22218 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22219 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22220 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22221 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
22222 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
22223 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
22224 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
22225 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
22226 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
22227 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
22228 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
22229 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
22230 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
22231 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
22232 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22233 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
22234 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
22235 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
22236 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
22237 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
22238 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
22239 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
22240 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
22241 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
22242 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
22243 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
22244 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
22245 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
22246 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22247 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
22248 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
22249 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22250 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
22251 "programs/svchost/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/svchost/Makefile" ;;
22252 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22253 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22254 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
22255 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
22256 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22257 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
22258 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22259 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
22260 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
22261 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
22262 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22263 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
22264 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
22265 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
22266 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
22267 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
22268 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
22269 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
22270 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
22271 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
22272 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
22273 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
22274 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
22275 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
22276 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
22277 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
22278 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
22279 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
22281 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22282 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22283 { (exit 1); exit 1; }; };;
22288 # If the user did not use the arguments to specify the items to instantiate,
22289 # then the envvar interface is used. Set only those that are not.
22290 # We use the long form for the default assignment because of an extremely
22291 # bizarre bug on SunOS 4.1.3.
22292 if $ac_need_defaults; then
22293 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22294 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22295 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22298 # Have a temporary directory for convenience. Make it in the build tree
22299 # simply because there is no reason against having it here, and in addition,
22300 # creating and moving files from /tmp can sometimes cause problems.
22301 # Hook for its removal unless debugging.
22302 # Note that there is a small window in which the directory will not be cleaned:
22303 # after its creation but before its name has been assigned to `$tmp'.
22307 trap 'exit_status=$?
22308 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22310 trap '{ (exit 1); exit 1; }' 1 2 13 15
22312 # Create a (secure) tmp directory for tmp files.
22315 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22316 test -n "$tmp" && test -d "$tmp"
22319 tmp
=.
/conf$$
-$RANDOM
22320 (umask 077 && mkdir
"$tmp")
22323 echo "$me: cannot create a temporary directory in ." >&2
22324 { (exit 1); exit 1; }
22328 # Set up the sed scripts for CONFIG_FILES section.
22331 # No need to generate the scripts if there are no CONFIG_FILES.
22332 # This happens for instance when ./config.status config.h
22333 if test -n "$CONFIG_FILES"; then
22337 # Create sed commands to just substitute file output variables.
22339 # Remaining file output variables are in a fragment that also has non-file
22345 for ac_last_try
in false false false false false
:; do
22346 cat >conf$
$subs.
sed <<_ACEOF
22347 SHELL!$SHELL$ac_delim
22348 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22349 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22350 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22351 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22352 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22353 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22354 exec_prefix!$exec_prefix$ac_delim
22355 prefix!$prefix$ac_delim
22356 program_transform_name!$program_transform_name$ac_delim
22357 bindir!$bindir$ac_delim
22358 sbindir!$sbindir$ac_delim
22359 libexecdir!$libexecdir$ac_delim
22360 datarootdir!$datarootdir$ac_delim
22361 datadir!$datadir$ac_delim
22362 sysconfdir!$sysconfdir$ac_delim
22363 sharedstatedir!$sharedstatedir$ac_delim
22364 localstatedir!$localstatedir$ac_delim
22365 includedir!$includedir$ac_delim
22366 oldincludedir!$oldincludedir$ac_delim
22367 docdir!$docdir$ac_delim
22368 infodir!$infodir$ac_delim
22369 htmldir!$htmldir$ac_delim
22370 dvidir!$dvidir$ac_delim
22371 pdfdir!$pdfdir$ac_delim
22372 psdir!$psdir$ac_delim
22373 libdir!$libdir$ac_delim
22374 localedir!$localedir$ac_delim
22375 mandir!$mandir$ac_delim
22376 DEFS!$DEFS$ac_delim
22377 ECHO_C!$ECHO_C$ac_delim
22378 ECHO_N!$ECHO_N$ac_delim
22379 ECHO_T!$ECHO_T$ac_delim
22380 LIBS!$LIBS$ac_delim
22381 build_alias!$build_alias$ac_delim
22382 host_alias!$host_alias$ac_delim
22383 target_alias!$target_alias$ac_delim
22384 build!$build$ac_delim
22385 build_cpu!$build_cpu$ac_delim
22386 build_vendor!$build_vendor$ac_delim
22387 build_os!$build_os$ac_delim
22388 host!$host$ac_delim
22389 host_cpu!$host_cpu$ac_delim
22390 host_vendor!$host_vendor$ac_delim
22391 host_os!$host_os$ac_delim
22392 WIN16_FILES!$WIN16_FILES$ac_delim
22393 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22394 SET_MAKE!$SET_MAKE$ac_delim
22396 CFLAGS!$CFLAGS$ac_delim
22397 LDFLAGS!$LDFLAGS$ac_delim
22398 CPPFLAGS!$CPPFLAGS$ac_delim
22399 ac_ct_CC!$ac_ct_CC$ac_delim
22400 EXEEXT!$EXEEXT$ac_delim
22401 OBJEXT!$OBJEXT$ac_delim
22403 CXXFLAGS!$CXXFLAGS$ac_delim
22404 ac_ct_CXX!$ac_ct_CXX$ac_delim
22405 CPPBIN!$CPPBIN$ac_delim
22406 TOOLSDIR!$TOOLSDIR$ac_delim
22407 XMKMF!$XMKMF$ac_delim
22409 X_CFLAGS!$X_CFLAGS$ac_delim
22410 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22411 X_LIBS!$X_LIBS$ac_delim
22412 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22413 FLEX!$FLEX$ac_delim
22414 BISON!$BISON$ac_delim
22416 ac_ct_AS!$ac_ct_AS$ac_delim
22419 RANLIB!$RANLIB$ac_delim
22420 STRIP!$STRIP$ac_delim
22421 WINDRES!$WINDRES$ac_delim
22422 LN_S!$LN_S$ac_delim
22424 GREP!$GREP$ac_delim
22425 EGREP!$EGREP$ac_delim
22426 LDCONFIG!$LDCONFIG$ac_delim
22427 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22428 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22431 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22433 elif $ac_last_try; then
22434 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22435 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22436 { (exit 1); exit 1; }; }
22438 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22442 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22443 if test -n "$ac_eof"; then
22444 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22445 ac_eof
=`expr $ac_eof + 1`
22448 cat >>$CONFIG_STATUS <<_ACEOF
22449 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22450 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22451 /^[ ]*@MAKE_RULES@[ ]*$/{
22455 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22459 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22460 r $MAKE_IMPLIB_RULES
22463 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22467 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22473 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22474 s/^/s,@/; s/!/@,|#_!!_#|/
22477 s/'"$ac_delim"'$/,g/; t
22479 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22480 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22481 rm -f conf$
$subs.
sed
22482 cat >>$CONFIG_STATUS <<_ACEOF
22488 for ac_last_try
in false false false false false
:; do
22489 cat >conf$
$subs.
sed <<_ACEOF
22490 INSTALL_DATA!$INSTALL_DATA$ac_delim
22491 LINT!$LINT$ac_delim
22492 LINTFLAGS!$LINTFLAGS$ac_delim
22493 FONTFORGE!$FONTFORGE$ac_delim
22494 PKG_CONFIG!$PKG_CONFIG$ac_delim
22495 PRELINK!$PRELINK$ac_delim
22496 LIBPTHREAD!$LIBPTHREAD$ac_delim
22497 XLIB!$XLIB$ac_delim
22498 XFILES!$XFILES$ac_delim
22499 OPENGLFILES!$OPENGLFILES$ac_delim
22500 GLU32FILES!$GLU32FILES$ac_delim
22501 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22502 QUARTZFILES!$QUARTZFILES$ac_delim
22503 DLLEXT!$DLLEXT$ac_delim
22504 DLLFLAGS!$DLLFLAGS$ac_delim
22505 LDSHARED!$LDSHARED$ac_delim
22506 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22507 LIBEXT!$LIBEXT$ac_delim
22508 IMPLIBEXT!$IMPLIBEXT$ac_delim
22509 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22510 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22512 DLLTOOL!$DLLTOOL$ac_delim
22513 DLLWRAP!$DLLWRAP$ac_delim
22514 MINGWAR!$MINGWAR$ac_delim
22515 SECURITYLIB!$SECURITYLIB$ac_delim
22516 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22517 IOKITLIB!$IOKITLIB$ac_delim
22518 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22519 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22520 COREAUDIO!$COREAUDIO$ac_delim
22521 CARBONLIB!$CARBONLIB$ac_delim
22522 CROSSTEST!$CROSSTEST$ac_delim
22523 CROSSCC!$CROSSCC$ac_delim
22524 CROSSWINDRES!$CROSSWINDRES$ac_delim
22525 NASLIBS!$NASLIBS$ac_delim
22526 XML2LIBS!$XML2LIBS$ac_delim
22527 XML2INCL!$XML2INCL$ac_delim
22528 XSLTLIBS!$XSLTLIBS$ac_delim
22529 XSLTINCL!$XSLTINCL$ac_delim
22530 HALINCL!$HALINCL$ac_delim
22531 sane_devel!$sane_devel$ac_delim
22532 SANEINCL!$SANEINCL$ac_delim
22533 gphoto2_devel!$gphoto2_devel$ac_delim
22534 gphoto2port_devel!$gphoto2port_devel$ac_delim
22535 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22536 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22537 RESOLVLIBS!$RESOLVLIBS$ac_delim
22538 LCMSLIBS!$LCMSLIBS$ac_delim
22539 LDAPLIBS!$LDAPLIBS$ac_delim
22540 ft_devel!$ft_devel$ac_delim
22541 FREETYPELIBS!$FREETYPELIBS$ac_delim
22542 FREETYPEINCL!$FREETYPEINCL$ac_delim
22543 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22544 ESDCONFIG!$ESDCONFIG$ac_delim
22545 ESDLIBS!$ESDLIBS$ac_delim
22546 ESDINCL!$ESDINCL$ac_delim
22547 ALSALIBS!$ALSALIBS$ac_delim
22548 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22549 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
22550 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22551 BUILTINFLAG!$BUILTINFLAG$ac_delim
22552 LDPATH!$LDPATH$ac_delim
22553 CRTLIBS!$CRTLIBS$ac_delim
22554 SOCKETLIBS!$SOCKETLIBS$ac_delim
22555 MAIN_BINARY!$MAIN_BINARY$ac_delim
22556 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22557 LIBDL!$LIBDL$ac_delim
22558 LIBPOLL!$LIBPOLL$ac_delim
22559 DEPENDENCIES!$DEPENDENCIES$ac_delim
22560 LIBOBJS!$LIBOBJS$ac_delim
22561 LTLIBOBJS!$LTLIBOBJS$ac_delim
22564 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
22566 elif $ac_last_try; then
22567 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22568 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22569 { (exit 1); exit 1; }; }
22571 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22575 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22576 if test -n "$ac_eof"; then
22577 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22578 ac_eof
=`expr $ac_eof + 1`
22581 cat >>$CONFIG_STATUS <<_ACEOF
22582 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22583 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22586 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22587 s/^/s,@/; s/!/@,|#_!!_#|/
22590 s/'"$ac_delim"'$/,g/; t
22592 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22593 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22594 rm -f conf$
$subs.
sed
22595 cat >>$CONFIG_STATUS <<_ACEOF
22602 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22603 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22604 # trailing colons and then remove the whole line if VPATH becomes empty
22605 # (actually we leave an empty line to preserve line numbers).
22606 if test "x$srcdir" = x.
; then
22607 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22608 s/:*\$(srcdir):*/:/
22609 s/:*\${srcdir}:*/:/
22611 s/^\([^=]*=[ ]*\):*/\1/
22617 cat >>$CONFIG_STATUS <<\_ACEOF
22618 fi # test -n "$CONFIG_FILES"
22621 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22624 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22626 case $ac_mode$ac_tag in
22628 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22629 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22630 { (exit 1); exit 1; }; };;
22631 :[FH
]-) ac_tag
=-:-;;
22632 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22649 -) ac_f
="$tmp/stdin";;
22650 *) # Look for the file first in the build tree, then in the source tree
22651 # (if the path is not absolute). The absolute path cannot be DOS-style,
22652 # because $ac_f cannot contain `:'.
22656 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22658 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22659 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22660 { (exit 1); exit 1; }; };;
22662 ac_file_inputs
="$ac_file_inputs $ac_f"
22665 # Let's still pretend it is `configure' which instantiates (i.e., don't
22666 # use $as_me), people would be surprised to read:
22667 # /* config.h. Generated by config.status. */
22668 configure_input
="Generated from "`IFS=:
22669 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22670 if test x
"$ac_file" != x-
; then
22671 configure_input
="$ac_file. $configure_input"
22672 { echo "$as_me:$LINENO: creating $ac_file" >&5
22673 echo "$as_me: creating $ac_file" >&6;}
22677 *:-:* |
*:-) cat >"$tmp/stdin";;
22682 ac_dir
=`$as_dirname -- "$ac_file" ||
22683 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22684 X"$ac_file" : 'X\(//\)[^/]' \| \
22685 X"$ac_file" : 'X\(//\)$' \| \
22686 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22688 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22692 /^X\(\/\/\)[^/].*/{
22707 -*) as_dir
=.
/$as_dir;;
22709 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22713 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22714 *) as_qdir
=$as_dir;;
22716 as_dirs
="'$as_qdir' $as_dirs"
22717 as_dir
=`$as_dirname -- "$as_dir" ||
22718 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22719 X"$as_dir" : 'X\(//\)[^/]' \| \
22720 X"$as_dir" : 'X\(//\)$' \| \
22721 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22727 /^X\(\/\/\)[^/].*/{
22740 test -d "$as_dir" && break
22742 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22743 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22744 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22745 { (exit 1); exit 1; }; }; }
22749 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22751 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22752 # A ".." for each directory in $ac_dir_suffix.
22753 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22754 case $ac_top_builddir_sub in
22755 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22756 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22759 ac_abs_top_builddir
=$ac_pwd
22760 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22761 # for backward compatibility:
22762 ac_top_builddir
=$ac_top_build_prefix
22765 .
) # We are building in place.
22767 ac_top_srcdir
=$ac_top_builddir_sub
22768 ac_abs_top_srcdir
=$ac_pwd ;;
22769 [\\/]* | ?
:[\\/]* ) # Absolute name.
22770 ac_srcdir
=$srcdir$ac_dir_suffix;
22771 ac_top_srcdir
=$srcdir
22772 ac_abs_top_srcdir
=$srcdir ;;
22773 *) # Relative name.
22774 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22775 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22776 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22778 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22788 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22789 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22793 cat >>$CONFIG_STATUS <<\_ACEOF
22794 # If the template does not know about datarootdir, expand it.
22795 # FIXME: This hack should be removed a few years after 2.60.
22796 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22798 case `sed -n '/datarootdir/ {
22807 ' $ac_file_inputs` in
22808 *datarootdir
*) ac_datarootdir_seen
=yes;;
22809 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22810 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22811 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22813 cat >>$CONFIG_STATUS <<_ACEOF
22814 ac_datarootdir_hack='
22815 s&@datadir@&$datadir&g
22816 s&@docdir@&$docdir&g
22817 s&@infodir@&$infodir&g
22818 s&@localedir@&$localedir&g
22819 s&@mandir@&$mandir&g
22820 s&\\\${datarootdir}&$datarootdir&g' ;;
22824 # Neutralize VPATH when `$srcdir' = `.'.
22825 # Shell code in configure.ac might set extrasub.
22826 # FIXME: do we really want to maintain this feature?
22827 cat >>$CONFIG_STATUS <<_ACEOF
22831 cat >>$CONFIG_STATUS <<\_ACEOF
22833 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22834 s
&@configure_input@
&$configure_input&;t t
22835 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22836 s
&@srcdir@
&$ac_srcdir&;t t
22837 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22838 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22839 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22840 s
&@builddir@
&$ac_builddir&;t t
22841 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22842 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22843 s
&@INSTALL@
&$ac_INSTALL&;t t
22844 $ac_datarootdir_hack
22845 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22847 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22848 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22849 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22850 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22851 which seems to be undefined. Please make sure it is defined." >&5
22852 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22853 which seems to be undefined. Please make sure it is defined." >&2;}
22857 -) cat "$tmp/out"; rm -f "$tmp/out";;
22858 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22867 # Transform confdefs.h into a sed script `conftest.defines', that
22868 # substitutes the proper values into config.h.in to produce config.h.
22869 rm -f conftest.defines conftest.
tail
22870 # First, append a space to every undef/define line, to ease matching.
22871 echo 's/$/ /' >conftest.defines
22872 # Then, protect against being on the right side of a sed subst, or in
22873 # an unquoted here document, in config.status. If some macros were
22874 # called several times there might be several #defines for the same
22875 # symbol, which is useless. But do not sort them, since the last
22876 # AC_DEFINE must be honored.
22877 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22878 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22879 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22880 # PARAMS is the parameter list in the macro definition--in most cases, it's
22881 # just an empty string.
22882 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22883 ac_dB
='\\)[ (].*,\\1define\\2'
22891 s/^[ ]*#[ ]*define[ ][ ]*//
22896 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22897 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22898 ' >>conftest.defines
22900 # Remove the space that was appended to ease matching.
22901 # Then replace #undef with comments. This is necessary, for
22902 # example, in the case of _POSIX_SOURCE, which is predefined and required
22903 # on some systems where configure will not decide to define it.
22904 # (The regexp can be short, since the line contains either #define or #undef.)
22906 s,^[ #]*u.*,/* & */,' >>conftest.defines
22908 # Break up conftest.defines:
22909 ac_max_sed_lines
=50
22911 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22912 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22913 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22915 ac_in
='$ac_file_inputs'
22916 ac_out
='"$tmp/out1"'
22917 ac_nxt
='"$tmp/out2"'
22921 # Write a here document:
22922 cat >>$CONFIG_STATUS <<_ACEOF
22923 # First, check the format of the line:
22924 cat >"\$tmp/defines.sed" <<\\CEOF
22925 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22926 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22930 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22932 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22933 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22934 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22935 grep . conftest.
tail >/dev
/null ||
break
22936 rm -f conftest.defines
22937 mv conftest.
tail conftest.defines
22939 rm -f conftest.defines conftest.
tail
22941 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22942 cat >>$CONFIG_STATUS <<\_ACEOF
22943 if test x
"$ac_file" != x-
; then
22944 echo "/* $configure_input */" >"$tmp/config.h"
22945 cat "$ac_result" >>"$tmp/config.h"
22946 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22947 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22948 echo "$as_me: $ac_file is unchanged" >&6;}
22951 mv "$tmp/config.h" $ac_file
22954 echo "/* $configure_input */"
22960 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22961 echo "$as_me: executing $ac_file commands" >&6;}
22966 case $ac_file$ac_mode in
22967 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
22968 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22969 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
22970 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22971 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
22972 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22973 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
22974 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22975 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
22976 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22977 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
22978 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
22979 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
22985 { (exit 0); exit 0; }
22987 chmod +x
$CONFIG_STATUS
22988 ac_clean_files
=$ac_clean_files_save
22991 # configure is writing to config.log, and then calls config.status.
22992 # config.status does its own redirection, appending to config.log.
22993 # Unfortunately, on DOS this fails, as config.log is still kept open
22994 # by configure, so config.status won't be able to write to it; its
22995 # output is simply discarded. So we exec the FD to /dev/null,
22996 # effectively closing config.log, so it can be properly (re)opened and
22997 # appended to by config.status. When coming back to configure, we
22998 # need to make the FD available again.
22999 if test "$no_create" != yes; then
23001 ac_config_status_args
=
23002 test "$silent" = yes &&
23003 ac_config_status_args
="$ac_config_status_args --quiet"
23005 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23007 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23008 # would make configure fail if this is the last instruction.
23009 $ac_cs_success ||
{ (exit 1); exit 1; }
23013 if test "$no_create" = "yes"
23020 if test "$verbose" = "yes"; then
23021 for msg
in $wine_notices; do
23022 if test -n "$msg"; then
23024 { echo "$as_me:$LINENO: $msg" >&5
23025 echo "$as_me: $msg" >&6;}
23029 for msg
in $wine_warnings; do
23030 if test -n "$msg"; then
23032 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23033 echo "$as_me: WARNING: $msg" >&2;}
23039 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."