2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.56.
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.56'
578 PACKAGE_STRING
='Wine 0.9.56'
579 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
581 ac_unique_file
="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default
="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
774 ac_subst_files
='MAKE_RULES
779 ac_precious_vars
='build_alias
794 # Initialize some variables set by options.
796 ac_init_version
=false
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
806 program_transform_name
=s
,x
,x
,
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir
='${exec_prefix}/bin'
821 sbindir
='${exec_prefix}/sbin'
822 libexecdir
='${exec_prefix}/libexec'
823 datarootdir
='${prefix}/share'
824 datadir
='${datarootdir}'
825 sysconfdir
='${prefix}/etc'
826 sharedstatedir
='${prefix}/com'
827 localstatedir
='${prefix}/var'
828 includedir
='${prefix}/include'
829 oldincludedir
='/usr/include'
830 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
831 infodir
='${datarootdir}/info'
836 libdir
='${exec_prefix}/lib'
837 localedir
='${datarootdir}/locale'
838 mandir
='${datarootdir}/man'
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\
$ac_option
852 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
856 # Accept the important Cygnus configure options, so we can diagnose typos.
858 case $ac_dashdash$ac_option in
862 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
864 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
867 -build |
--build |
--buil |
--bui |
--bu)
868 ac_prev
=build_alias
;;
869 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
870 build_alias
=$ac_optarg ;;
872 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
873 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
874 ac_prev
=cache_file
;;
875 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
876 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
877 cache_file
=$ac_optarg ;;
880 cache_file
=config.cache
;;
882 -datadir |
--datadir |
--datadi |
--datad)
884 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
885 datadir
=$ac_optarg ;;
887 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
888 |
--dataroo |
--dataro |
--datar)
889 ac_prev
=datarootdir
;;
890 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
891 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
892 datarootdir
=$ac_optarg ;;
894 -disable-* |
--disable-*)
895 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
898 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
899 { (exit 1); exit 1; }; }
900 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
901 eval enable_
$ac_feature=no
;;
903 -docdir |
--docdir |
--docdi |
--doc |
--do)
905 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
908 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
910 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
913 -enable-* |
--enable-*)
914 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
917 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
918 { (exit 1); exit 1; }; }
919 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
920 eval enable_
$ac_feature=\
$ac_optarg ;;
922 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
923 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
924 |
--exec |
--exe |
--ex)
925 ac_prev
=exec_prefix
;;
926 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
927 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
928 |
--exec=* |
--exe=* |
--ex=*)
929 exec_prefix
=$ac_optarg ;;
931 -gas |
--gas |
--ga |
--g)
932 # Obsolete; use --with-gas.
935 -help |
--help |
--hel |
--he |
-h)
937 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
938 ac_init_help
=recursive
;;
939 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
940 ac_init_help
=short
;;
942 -host |
--host |
--hos |
--ho)
943 ac_prev
=host_alias
;;
944 -host=* |
--host=* |
--hos=* |
--ho=*)
945 host_alias
=$ac_optarg ;;
947 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
949 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
951 htmldir
=$ac_optarg ;;
953 -includedir |
--includedir |
--includedi |
--included |
--include \
954 |
--includ |
--inclu |
--incl |
--inc)
955 ac_prev
=includedir
;;
956 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
957 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
958 includedir
=$ac_optarg ;;
960 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
962 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
963 infodir
=$ac_optarg ;;
965 -libdir |
--libdir |
--libdi |
--libd)
967 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
970 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
971 |
--libexe |
--libex |
--libe)
972 ac_prev
=libexecdir
;;
973 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
974 |
--libexe=* |
--libex=* |
--libe=*)
975 libexecdir
=$ac_optarg ;;
977 -localedir |
--localedir |
--localedi |
--localed |
--locale)
979 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
980 localedir
=$ac_optarg ;;
982 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
983 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
984 ac_prev
=localstatedir
;;
985 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
986 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
987 localstatedir
=$ac_optarg ;;
989 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
991 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
995 # Obsolete; use --without-fp.
998 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
999 |
--no-cr |
--no-c |
-n)
1002 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1003 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1006 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1007 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1008 |
--oldin |
--oldi |
--old |
--ol |
--o)
1009 ac_prev
=oldincludedir
;;
1010 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1011 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1012 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1013 oldincludedir
=$ac_optarg ;;
1015 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1017 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1018 prefix
=$ac_optarg ;;
1020 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1021 |
--program-pre |
--program-pr |
--program-p)
1022 ac_prev
=program_prefix
;;
1023 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1024 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1025 program_prefix
=$ac_optarg ;;
1027 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1028 |
--program-suf |
--program-su |
--program-s)
1029 ac_prev
=program_suffix
;;
1030 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1031 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1032 program_suffix
=$ac_optarg ;;
1034 -program-transform-name |
--program-transform-name \
1035 |
--program-transform-nam |
--program-transform-na \
1036 |
--program-transform-n |
--program-transform- \
1037 |
--program-transform |
--program-transfor \
1038 |
--program-transfo |
--program-transf \
1039 |
--program-trans |
--program-tran \
1040 |
--progr-tra |
--program-tr |
--program-t)
1041 ac_prev
=program_transform_name
;;
1042 -program-transform-name=* |
--program-transform-name=* \
1043 |
--program-transform-nam=* |
--program-transform-na=* \
1044 |
--program-transform-n=* |
--program-transform-=* \
1045 |
--program-transform=* |
--program-transfor=* \
1046 |
--program-transfo=* |
--program-transf=* \
1047 |
--program-trans=* |
--program-tran=* \
1048 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1049 program_transform_name
=$ac_optarg ;;
1051 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1053 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1054 pdfdir
=$ac_optarg ;;
1056 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1058 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1061 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1062 |
-silent |
--silent |
--silen |
--sile |
--sil)
1065 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1067 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1069 sbindir
=$ac_optarg ;;
1071 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1072 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1073 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1075 ac_prev
=sharedstatedir
;;
1076 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1077 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1078 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1080 sharedstatedir
=$ac_optarg ;;
1082 -site |
--site |
--sit)
1084 -site=* |
--site=* |
--sit=*)
1087 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1089 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1090 srcdir
=$ac_optarg ;;
1092 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1093 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1094 ac_prev
=sysconfdir
;;
1095 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1096 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1097 sysconfdir
=$ac_optarg ;;
1099 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1100 ac_prev
=target_alias
;;
1101 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1102 target_alias
=$ac_optarg ;;
1104 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1107 -version |
--version |
--versio |
--versi |
--vers |
-V)
1108 ac_init_version
=: ;;
1111 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1114 { echo "$as_me: error: invalid package name: $ac_package" >&2
1115 { (exit 1); exit 1; }; }
1116 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1117 eval with_
$ac_package=\
$ac_optarg ;;
1119 -without-* |
--without-*)
1120 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1123 { echo "$as_me: error: invalid package name: $ac_package" >&2
1124 { (exit 1); exit 1; }; }
1125 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1126 eval with_
$ac_package=no
;;
1129 # Obsolete; use --with-x.
1132 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1133 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1134 ac_prev
=x_includes
;;
1135 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1136 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1137 x_includes
=$ac_optarg ;;
1139 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1140 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1141 ac_prev
=x_libraries
;;
1142 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1143 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1144 x_libraries
=$ac_optarg ;;
1146 -*) { echo "$as_me: error: unrecognized option: $ac_option
1147 Try \`$0 --help' for more information." >&2
1148 { (exit 1); exit 1; }; }
1152 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1155 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1156 { (exit 1); exit 1; }; }
1157 eval $ac_envvar=\
$ac_optarg
1158 export $ac_envvar ;;
1161 # FIXME: should be removed in autoconf 3.0.
1162 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1164 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1171 if test -n "$ac_prev"; then
1172 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1173 { echo "$as_me: error: missing argument to $ac_option" >&2
1174 { (exit 1); exit 1; }; }
1177 # Be sure to have absolute directory names.
1178 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179 datadir sysconfdir sharedstatedir localstatedir includedir \
1180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181 libdir localedir mandir
1183 eval ac_val
=\$
$ac_var
1185 [\\/$
]* | ?
:[\\/]* ) continue;;
1186 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1188 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1189 { (exit 1); exit 1; }; }
1192 # There might be people who depend on the old broken behavior: `$host'
1193 # used to hold the argument of --host etc.
1194 # FIXME: To remove some day.
1197 target
=$target_alias
1199 # FIXME: To remove some day.
1200 if test "x$host_alias" != x
; then
1201 if test "x$build_alias" = x
; then
1202 cross_compiling
=maybe
1203 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1204 If a cross compiler is detected then cross compile mode will be used." >&2
1205 elif test "x$build_alias" != "x$host_alias"; then
1211 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1213 test "$silent" = yes && exec 6>/dev
/null
1216 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1217 ac_ls_di
=`ls -di .` &&
1218 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1219 { echo "$as_me: error: Working directory cannot be determined" >&2
1220 { (exit 1); exit 1; }; }
1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1222 { echo "$as_me: error: pwd does not report name of working directory" >&2
1223 { (exit 1); exit 1; }; }
1226 # Find the source files, if location was not specified.
1227 if test -z "$srcdir"; then
1228 ac_srcdir_defaulted
=yes
1229 # Try the directory containing this script, then the parent directory.
1230 ac_confdir
=`$as_dirname -- "$0" ||
1231 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1232 X"$0" : 'X\(//\)[^/]' \| \
1233 X"$0" : 'X\(//\)$' \| \
1234 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1254 if test ! -r "$srcdir/$ac_unique_file"; then
1258 ac_srcdir_defaulted
=no
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1261 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1262 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1263 { (exit 1); exit 1; }; }
1265 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1267 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1268 { (exit 1); exit 1; }; }
1270 # When building in place, set srcdir=.
1271 if test "$ac_abs_confdir" = "$ac_pwd"; then
1274 # Remove unnecessary trailing slashes from srcdir.
1275 # Double slashes in file names in object file debugging info
1276 # mess up M-x gdb in Emacs.
1278 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1280 for ac_var
in $ac_precious_vars; do
1281 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1282 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1283 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1284 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1288 # Report the --help message.
1290 if test "$ac_init_help" = "long"; then
1291 # Omit some internal or obsolete options to make the list less imposing.
1292 # This message is too long to be a string in the A/UX 3.1 sh.
1294 \`configure' configures Wine 0.9.56 to adapt to many kinds of systems.
1296 Usage: $0 [OPTION]... [VAR=VALUE]...
1298 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1299 VAR=VALUE. See below for descriptions of some of the useful variables.
1301 Defaults for the options are specified in brackets.
1304 -h, --help display this help and exit
1305 --help=short display options specific to this package
1306 --help=recursive display the short help of all the included packages
1307 -V, --version display version information and exit
1308 -q, --quiet, --silent do not print \`checking...' messages
1309 --cache-file=FILE cache test results in FILE [disabled]
1310 -C, --config-cache alias for \`--cache-file=config.cache'
1311 -n, --no-create do not create output files
1312 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1314 Installation directories:
1315 --prefix=PREFIX install architecture-independent files in PREFIX
1316 [$ac_default_prefix]
1317 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1320 By default, \`make install' will install all the files in
1321 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1322 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1323 for instance \`--prefix=\$HOME'.
1325 For better control, use the options below.
1327 Fine tuning of the installation directories:
1328 --bindir=DIR user executables [EPREFIX/bin]
1329 --sbindir=DIR system admin executables [EPREFIX/sbin]
1330 --libexecdir=DIR program executables [EPREFIX/libexec]
1331 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1332 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1333 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1334 --libdir=DIR object code libraries [EPREFIX/lib]
1335 --includedir=DIR C header files [PREFIX/include]
1336 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1339 --infodir=DIR info documentation [DATAROOTDIR/info]
1340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1341 --mandir=DIR man documentation [DATAROOTDIR/man]
1342 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1343 --htmldir=DIR html documentation [DOCDIR]
1344 --dvidir=DIR dvi documentation [DOCDIR]
1345 --pdfdir=DIR pdf documentation [DOCDIR]
1346 --psdir=DIR ps documentation [DOCDIR]
1352 --x-includes=DIR X include files are
in DIR
1353 --x-libraries=DIR X library files are
in DIR
1356 --build=BUILD configure
for building on BUILD
[guessed
]
1357 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1361 if test -n "$ac_init_help"; then
1362 case $ac_init_help in
1363 short | recursive
) echo "Configuration of Wine 0.9.56:";;
1368 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1369 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1370 --disable-win16 do not include Win16 support
1371 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1373 --disable-tests do not build the testsuites
1376 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1377 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1378 --without-alsa do not use the Alsa sound support
1379 --without-audioio do not use the AudioIO sound support
1380 --without-capi do not use CAPI (ISDN support)
1381 --without-cms do not use CMS (color management support)
1382 --without-coreaudio do not use the CoreAudio sound support
1383 --without-cups do not use CUPS
1384 --without-curses do not use (n)curses
1385 --without-esd do not use the EsounD sound support
1386 --without-fontconfig do not use fontconfig
1387 --without-gphoto do not use gphoto (Digital Camera support)
1388 --without-hal do not use HAL (dynamic device support)
1389 --without-jack do not use the Jack sound support
1390 --without-jpeg do not use JPEG
1391 --without-ldap do not use LDAP
1392 --without-nas do not use the NAS sound support
1393 --without-opengl do not use OpenGL
1394 --without-openssl do not use OpenSSL
1395 --without-oss do not use the OSS sound support
1396 --without-png do not use PNG
1397 --without-sane do not use SANE (scanner support)
1398 --without-xcomposite do not use the Xcomposite extension
1399 --without-xcursor do not use the Xcursor extension
1400 --without-xinerama do not use Xinerama (multi-monitor support)
1401 --without-xinput do not use the Xinput extension
1402 --without-xml do not use XML
1403 --without-xrandr do not use Xrandr (resolution changes)
1404 --without-xrender do not use the Xrender extension
1405 --without-xshape do not use the Xshape extension
1406 --without-xshm do not use XShm (shared memory extension)
1407 --without-xslt do not use XSLT
1408 --without-xvidmode do not use XFree video mode extension
1409 --with-wine-tools=DIR use Wine tools from directory DIR
1410 --with-x use the X Window System
1412 Some influential environment variables:
1413 CC C compiler command
1414 CFLAGS C compiler flags
1415 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1416 nonstandard directory <lib dir>
1417 LIBS libraries to pass to the linker, e.g. -l<library>
1418 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1419 you have headers in a nonstandard directory <include dir>
1420 CXX C++ compiler command
1421 CXXFLAGS C++ compiler flags
1422 XMKMF Path to xmkmf, Makefile generator for X Window System
1425 Use these variables to override the choices made by `configure' or to
help
1426 it to
find libraries and programs with nonstandard names
/locations.
1428 Report bugs to
<wine-devel@winehq.org
>.
1433 if test "$ac_init_help" = "recursive"; then
1434 # If there are subdirs, report their specific --help.
1435 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1436 test -d "$ac_dir" ||
continue
1440 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1442 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1443 # A ".." for each directory in $ac_dir_suffix.
1444 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1445 case $ac_top_builddir_sub in
1446 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1447 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1450 ac_abs_top_builddir
=$ac_pwd
1451 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1452 # for backward compatibility:
1453 ac_top_builddir
=$ac_top_build_prefix
1456 .
) # We are building in place.
1458 ac_top_srcdir
=$ac_top_builddir_sub
1459 ac_abs_top_srcdir
=$ac_pwd ;;
1460 [\\/]* | ?
:[\\/]* ) # Absolute name.
1461 ac_srcdir
=$srcdir$ac_dir_suffix;
1462 ac_top_srcdir
=$srcdir
1463 ac_abs_top_srcdir
=$srcdir ;;
1465 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1466 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1467 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1469 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1471 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1472 # Check for guested configure.
1473 if test -f "$ac_srcdir/configure.gnu"; then
1475 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1476 elif test -f "$ac_srcdir/configure"; then
1478 $SHELL "$ac_srcdir/configure" --help=recursive
1480 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1482 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1486 test -n "$ac_init_help" && exit $ac_status
1487 if $ac_init_version; then
1489 Wine configure
0.9.56
1490 generated by GNU Autoconf
2.61
1492 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1493 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1494 This configure
script is free software
; the Free Software Foundation
1495 gives unlimited permission to copy
, distribute and modify it.
1499 cat >config.log
<<_ACEOF
1500 This file contains any messages produced by compilers while
1501 running configure, to aid debugging if configure makes a mistake.
1503 It was created by Wine $as_me 0.9.56, which was
1504 generated by GNU Autoconf 2.61. Invocation command line was
1516 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1517 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1518 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1519 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1520 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1522 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1523 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1525 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1526 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1527 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1528 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1529 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1530 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1531 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1539 test -z "$as_dir" && as_dir
=.
1540 echo "PATH: $as_dir"
1556 # Keep a trace of the command line.
1557 # Strip out --no-create and --no-recursion so they do not pile up.
1558 # Strip out --silent because we don't want to record it for future runs.
1559 # Also quote any args containing shell meta-characters.
1560 # Make two passes to allow for proper duplicate-argument suppression.
1564 ac_must_keep_next
=false
1570 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1571 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1572 |
-silent |
--silent |
--silen |
--sile |
--sil)
1575 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1578 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1580 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1581 if test $ac_must_keep_next = true
; then
1582 ac_must_keep_next
=false
# Got value, back to normal.
1585 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1586 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1587 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1588 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1589 case "$ac_configure_args0 " in
1590 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1593 -* ) ac_must_keep_next
=true
;;
1596 ac_configure_args
="$ac_configure_args '$ac_arg'"
1601 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1602 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1604 # When interrupted or exit'd, cleanup temporary files, and complete
1605 # config.log. We remove comments because anyway the quotes in there
1606 # would cause problems or look ugly.
1607 # WARNING: Use '\'' to represent an apostrophe within the trap.
1608 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1609 trap 'exit_status=$?
1610 # Save into config.log some information that might help in debugging.
1615 ## ---------------- ##
1616 ## Cache variables. ##
1617 ## ---------------- ##
1620 # The following way of writing the cache mishandles newlines in values,
1622 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1623 eval ac_val=\$$ac_var
1627 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1628 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1631 _ | IFS | as_nl) ;; #(
1632 *) $as_unset $ac_var ;;
1637 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1638 *${as_nl}ac_space=\ *)
1640 "s/'\''/'\''\\\\'\'''\''/g;
1641 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1644 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1652 ## ----------------- ##
1653 ## Output variables. ##
1654 ## ----------------- ##
1657 for ac_var in $ac_subst_vars
1659 eval ac_val=\$$ac_var
1661 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1663 echo "$ac_var='\''$ac_val'\''"
1667 if test -n "$ac_subst_files"; then
1669 ## ------------------- ##
1670 ## File substitutions. ##
1671 ## ------------------- ##
1674 for ac_var
in $ac_subst_files
1676 eval ac_val
=\$
$ac_var
1678 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1680 echo "$ac_var='\''$ac_val'\''"
1685 if test -s confdefs.h; then
1695 test "$ac_signal" != 0 &&
1696 echo "$as_me: caught signal $ac_signal"
1697 echo "$as_me: exit $exit_status"
1699 rm -f core *.core core.conftest.* &&
1700 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1703 for ac_signal
in 1 2 13 15; do
1704 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1708 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1709 rm -f -r conftest
* confdefs.h
1711 # Predefined preprocessor variables.
1713 cat >>confdefs.h
<<_ACEOF
1714 #define PACKAGE_NAME "$PACKAGE_NAME"
1718 cat >>confdefs.h
<<_ACEOF
1719 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1723 cat >>confdefs.h
<<_ACEOF
1724 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1728 cat >>confdefs.h
<<_ACEOF
1729 #define PACKAGE_STRING "$PACKAGE_STRING"
1733 cat >>confdefs.h
<<_ACEOF
1734 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1738 # Let the site file select an alternate cache file if it wants to.
1739 # Prefer explicitly selected file to automatically selected ones.
1740 if test -n "$CONFIG_SITE"; then
1741 set x
"$CONFIG_SITE"
1742 elif test "x$prefix" != xNONE
; then
1743 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1745 set x
"$ac_default_prefix/share/config.site" \
1746 "$ac_default_prefix/etc/config.site"
1751 if test -r "$ac_site_file"; then
1752 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1753 echo "$as_me: loading site script $ac_site_file" >&6;}
1754 sed 's/^/| /' "$ac_site_file" >&5
1759 if test -r "$cache_file"; then
1760 # Some versions of bash will fail to source /dev/null (special
1761 # files actually), so we avoid doing that.
1762 if test -f "$cache_file"; then
1763 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1764 echo "$as_me: loading cache $cache_file" >&6;}
1766 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1767 *) .
"./$cache_file";;
1771 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1772 echo "$as_me: creating cache $cache_file" >&6;}
1776 # Check that the precious variables saved in the cache have kept the same
1778 ac_cache_corrupted
=false
1779 for ac_var
in $ac_precious_vars; do
1780 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1781 eval ac_new_set
=\
$ac_env_${ac_var}_set
1782 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1783 eval ac_new_val
=\
$ac_env_${ac_var}_value
1784 case $ac_old_set,$ac_new_set in
1786 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1787 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1788 ac_cache_corrupted
=: ;;
1790 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1791 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1792 ac_cache_corrupted
=: ;;
1795 if test "x$ac_old_val" != "x$ac_new_val"; then
1796 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1797 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1798 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1799 echo "$as_me: former value: $ac_old_val" >&2;}
1800 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1801 echo "$as_me: current value: $ac_new_val" >&2;}
1802 ac_cache_corrupted
=:
1805 # Pass precious variables to config.status.
1806 if test "$ac_new_set" = set; then
1808 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1809 *) ac_arg
=$ac_var=$ac_new_val ;;
1811 case " $ac_configure_args " in
1812 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1813 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1817 if $ac_cache_corrupted; then
1818 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1819 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1820 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1821 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1822 { (exit 1); exit 1; }; }
1850 ac_cpp
='$CPP $CPPFLAGS'
1851 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1852 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1853 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1857 ac_config_headers
="$ac_config_headers include/config.h"
1860 for ac_dir
in tools
"$srcdir"/tools
; do
1861 if test -f "$ac_dir/install-sh"; then
1863 ac_install_sh
="$ac_aux_dir/install-sh -c"
1865 elif test -f "$ac_dir/install.sh"; then
1867 ac_install_sh
="$ac_aux_dir/install.sh -c"
1869 elif test -f "$ac_dir/shtool"; then
1871 ac_install_sh
="$ac_aux_dir/shtool install -c"
1875 if test -z "$ac_aux_dir"; then
1876 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1877 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1878 { (exit 1); exit 1; }; }
1881 # These three variables are undocumented and unsupported,
1882 # and are intended to be withdrawn in a future Autoconf release.
1883 # They can cause serious problems if a builder's source tree is in a directory
1884 # whose full name contains unusual characters.
1885 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1886 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1887 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1892 # Check whether --enable-win16 was given.
1893 if test "${enable_win16+set}" = set; then
1894 enableval
=$enable_win16;
1897 # Check whether --enable-win64 was given.
1898 if test "${enable_win64+set}" = set; then
1899 enableval
=$enable_win64;
1904 # Check whether --with-alsa was given.
1905 if test "${with_alsa+set}" = set; then
1906 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
1910 # Check whether --with-audioio was given.
1911 if test "${with_audioio+set}" = set; then
1912 withval
=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h
=no
; fi
1916 # Check whether --with-capi was given.
1917 if test "${with_capi+set}" = set; then
1918 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
1922 # Check whether --with-cms was given.
1923 if test "${with_cms+set}" = set; then
1924 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
1928 # Check whether --with-coreaudio was given.
1929 if test "${with_coreaudio+set}" = set; then
1930 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
1934 # Check whether --with-cups was given.
1935 if test "${with_cups+set}" = set; then
1936 withval
=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h
=no
; fi
1940 # Check whether --with-curses was given.
1941 if test "${with_curses+set}" = set; then
1942 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
1946 # Check whether --with-esd was given.
1947 if test "${with_esd+set}" = set; then
1952 # Check whether --with-fontconfig was given.
1953 if test "${with_fontconfig+set}" = set; then
1954 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
1958 # Check whether --with-gphoto was given.
1959 if test "${with_gphoto+set}" = set; then
1960 withval
=$with_gphoto;
1964 # Check whether --with-hal was given.
1965 if test "${with_hal+set}" = set; then
1970 # Check whether --with-jack was given.
1971 if test "${with_jack+set}" = set; then
1972 withval
=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h
=no
; fi
1976 # Check whether --with-jpeg was given.
1977 if test "${with_jpeg+set}" = set; then
1978 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
1982 # Check whether --with-ldap was given.
1983 if test "${with_ldap+set}" = set; then
1984 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
1988 # Check whether --with-nas was given.
1989 if test "${with_nas+set}" = set; then
1990 withval
=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h
=no
; fi
1994 # Check whether --with-opengl was given.
1995 if test "${with_opengl+set}" = set; then
1996 withval
=$with_opengl;
2000 # Check whether --with-openssl was given.
2001 if test "${with_openssl+set}" = set; then
2002 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2006 # Check whether --with-oss was given.
2007 if test "${with_oss+set}" = set; then
2008 withval
=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h
=no
; ac_cv_header_sys_soundcard_h
=no
; ac_cv_header_machine_soundcard_h
=no
; fi
2012 # Check whether --with-png was given.
2013 if test "${with_png+set}" = set; then
2014 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2018 # Check whether --with-sane was given.
2019 if test "${with_sane+set}" = set; then
2024 # Check whether --with-xcomposite was given.
2025 if test "${with_xcomposite+set}" = set; then
2026 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2030 # Check whether --with-xcursor was given.
2031 if test "${with_xcursor+set}" = set; then
2032 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2036 # Check whether --with-xinerama was given.
2037 if test "${with_xinerama+set}" = set; then
2038 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2042 # Check whether --with-xinput was given.
2043 if test "${with_xinput+set}" = set; then
2044 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2048 # Check whether --with-xml was given.
2049 if test "${with_xml+set}" = set; then
2054 # Check whether --with-xrandr was given.
2055 if test "${with_xrandr+set}" = set; then
2056 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2060 # Check whether --with-xrender was given.
2061 if test "${with_xrender+set}" = set; then
2062 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2066 # Check whether --with-xshape was given.
2067 if test "${with_xshape+set}" = set; then
2068 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2072 # Check whether --with-xshm was given.
2073 if test "${with_xshm+set}" = set; then
2074 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2078 # Check whether --with-xslt was given.
2079 if test "${with_xslt+set}" = set; then
2084 # Check whether --with-xvidmode was given.
2085 if test "${with_xvidmode+set}" = set; then
2086 withval
=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h
=no
; fi
2091 # Check whether --with-wine-tools was given.
2092 if test "${with_wine_tools+set}" = set; then
2093 withval
=$with_wine_tools;
2096 # Check whether --enable-tests was given.
2097 if test "${enable_tests+set}" = set; then
2098 enableval
=$enable_tests;
2102 # Make sure we can run config.sub.
2103 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2104 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2105 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2106 { (exit 1); exit 1; }; }
2108 { echo "$as_me:$LINENO: checking build system type" >&5
2109 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2110 if test "${ac_cv_build+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 ac_build_alias
=$build_alias
2114 test "x$ac_build_alias" = x
&&
2115 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2116 test "x$ac_build_alias" = x
&&
2117 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2118 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2119 { (exit 1); exit 1; }; }
2120 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2121 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2122 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2123 { (exit 1); exit 1; }; }
2126 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2127 echo "${ECHO_T}$ac_cv_build" >&6; }
2128 case $ac_cv_build in
2130 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2131 echo "$as_me: error: invalid value of canonical build" >&2;}
2132 { (exit 1); exit 1; }; };;
2135 ac_save_IFS
=$IFS; IFS
='-'
2141 # Remember, the first character of IFS is used to create $*,
2142 # except with old shells:
2145 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2148 { echo "$as_me:$LINENO: checking host system type" >&5
2149 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2150 if test "${ac_cv_host+set}" = set; then
2151 echo $ECHO_N "(cached) $ECHO_C" >&6
2153 if test "x$host_alias" = x
; then
2154 ac_cv_host
=$ac_cv_build
2156 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2157 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2158 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2159 { (exit 1); exit 1; }; }
2163 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2164 echo "${ECHO_T}$ac_cv_host" >&6; }
2167 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2168 echo "$as_me: error: invalid value of canonical host" >&2;}
2169 { (exit 1); exit 1; }; };;
2172 ac_save_IFS
=$IFS; IFS
='-'
2178 # Remember, the first character of IFS is used to create $*,
2179 # except with old shells:
2182 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2187 if test "x$enable_win64" != "xyes"
2189 test -n "$CC" || CC
="gcc -m32"
2190 test -n "$CXX"|| CXX
="g++ -m32"
2191 test -n "$LD" || LD
="ld -m elf_i386"
2192 test -n "$AS" || AS
="as --32"
2200 if test "x$enable_win16" != "xno"
2207 WIN16_FILES
="\$(WIN16_FILES)"
2209 WIN16_INSTALL
="\$(WIN16_INSTALL)"
2211 if test "x$enable_win16" != "xyes"
2217 if test "x$enable_tests" == "xno"
2224 TESTSUBDIRS
="\$(TESTSUBDIRS)"
2232 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2233 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2234 You need to run 'make distclean' in the source tree first." >&5
2235 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2236 You need to run 'make distclean' in the source tree first." >&2;}
2237 { (exit 1); exit 1; }; }
2242 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2243 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2244 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2245 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2248 cat >conftest.
make <<\_ACEOF
2251 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2253 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2254 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2256 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2258 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2262 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2263 { echo "$as_me:$LINENO: result: yes" >&5
2264 echo "${ECHO_T}yes" >&6; }
2267 { echo "$as_me:$LINENO: result: no" >&5
2268 echo "${ECHO_T}no" >&6; }
2269 SET_MAKE
="MAKE=${MAKE-make}"
2273 ac_cpp
='$CPP $CPPFLAGS'
2274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2277 if test -n "$ac_tool_prefix"; then
2278 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2279 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2282 if test "${ac_cv_prog_CC+set}" = set; then
2283 echo $ECHO_N "(cached) $ECHO_C" >&6
2285 if test -n "$CC"; then
2286 ac_cv_prog_CC
="$CC" # Let the user override the test.
2288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2292 test -z "$as_dir" && as_dir
=.
2293 for ac_exec_ext
in '' $ac_executable_extensions; do
2294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2295 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2306 if test -n "$CC"; then
2307 { echo "$as_me:$LINENO: result: $CC" >&5
2308 echo "${ECHO_T}$CC" >&6; }
2310 { echo "$as_me:$LINENO: result: no" >&5
2311 echo "${ECHO_T}no" >&6; }
2316 if test -z "$ac_cv_prog_CC"; then
2318 # Extract the first word of "gcc", so it can be a program name with args.
2319 set dummy gcc
; ac_word
=$2
2320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2322 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2323 echo $ECHO_N "(cached) $ECHO_C" >&6
2325 if test -n "$ac_ct_CC"; then
2326 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2332 test -z "$as_dir" && as_dir
=.
2333 for ac_exec_ext
in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2335 ac_cv_prog_ac_ct_CC
="gcc"
2336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2345 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2346 if test -n "$ac_ct_CC"; then
2347 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2348 echo "${ECHO_T}$ac_ct_CC" >&6; }
2350 { echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6; }
2354 if test "x$ac_ct_CC" = x
; then
2357 case $cross_compiling:$ac_tool_warned in
2359 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2360 whose name does not start with the host triplet. If you think this
2361 configuration is useful to you, please write to autoconf@gnu.org." >&5
2362 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2363 whose name does not start with the host triplet. If you think this
2364 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2365 ac_tool_warned
=yes ;;
2373 if test -z "$CC"; then
2374 if test -n "$ac_tool_prefix"; then
2375 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2376 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2379 if test "${ac_cv_prog_CC+set}" = set; then
2380 echo $ECHO_N "(cached) $ECHO_C" >&6
2382 if test -n "$CC"; then
2383 ac_cv_prog_CC
="$CC" # Let the user override the test.
2385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2389 test -z "$as_dir" && as_dir
=.
2390 for ac_exec_ext
in '' $ac_executable_extensions; do
2391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2392 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2403 if test -n "$CC"; then
2404 { echo "$as_me:$LINENO: result: $CC" >&5
2405 echo "${ECHO_T}$CC" >&6; }
2407 { echo "$as_me:$LINENO: result: no" >&5
2408 echo "${ECHO_T}no" >&6; }
2414 if test -z "$CC"; then
2415 # Extract the first word of "cc", so it can be a program name with args.
2416 set dummy cc
; ac_word
=$2
2417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2419 if test "${ac_cv_prog_CC+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 if test -n "$CC"; then
2423 ac_cv_prog_CC
="$CC" # Let the user override the test.
2426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2430 test -z "$as_dir" && as_dir
=.
2431 for ac_exec_ext
in '' $ac_executable_extensions; do
2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2433 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2434 ac_prog_rejected
=yes
2438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2445 if test $ac_prog_rejected = yes; then
2446 # We found a bogon in the path, so make sure we never use it.
2447 set dummy
$ac_cv_prog_CC
2449 if test $# != 0; then
2450 # We chose a different compiler from the bogus one.
2451 # However, it has the same basename, so the bogon will be chosen
2452 # first if we set CC to just the basename; use the full file name.
2454 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2460 if test -n "$CC"; then
2461 { echo "$as_me:$LINENO: result: $CC" >&5
2462 echo "${ECHO_T}$CC" >&6; }
2464 { echo "$as_me:$LINENO: result: no" >&5
2465 echo "${ECHO_T}no" >&6; }
2470 if test -z "$CC"; then
2471 if test -n "$ac_tool_prefix"; then
2472 for ac_prog
in cl.exe
2474 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2475 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2478 if test "${ac_cv_prog_CC+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 if test -n "$CC"; then
2482 ac_cv_prog_CC
="$CC" # Let the user override the test.
2484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2488 test -z "$as_dir" && as_dir
=.
2489 for ac_exec_ext
in '' $ac_executable_extensions; do
2490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2491 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2502 if test -n "$CC"; then
2503 { echo "$as_me:$LINENO: result: $CC" >&5
2504 echo "${ECHO_T}$CC" >&6; }
2506 { echo "$as_me:$LINENO: result: no" >&5
2507 echo "${ECHO_T}no" >&6; }
2511 test -n "$CC" && break
2514 if test -z "$CC"; then
2516 for ac_prog
in cl.exe
2518 # Extract the first word of "$ac_prog", so it can be a program name with args.
2519 set dummy
$ac_prog; ac_word
=$2
2520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2522 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2523 echo $ECHO_N "(cached) $ECHO_C" >&6
2525 if test -n "$ac_ct_CC"; then
2526 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2532 test -z "$as_dir" && as_dir
=.
2533 for ac_exec_ext
in '' $ac_executable_extensions; do
2534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2535 ac_cv_prog_ac_ct_CC
="$ac_prog"
2536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2545 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2546 if test -n "$ac_ct_CC"; then
2547 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2548 echo "${ECHO_T}$ac_ct_CC" >&6; }
2550 { echo "$as_me:$LINENO: result: no" >&5
2551 echo "${ECHO_T}no" >&6; }
2555 test -n "$ac_ct_CC" && break
2558 if test "x$ac_ct_CC" = x
; then
2561 case $cross_compiling:$ac_tool_warned in
2563 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2564 whose name does not start with the host triplet. If you think this
2565 configuration is useful to you, please write to autoconf@gnu.org." >&5
2566 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2567 whose name does not start with the host triplet. If you think this
2568 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2569 ac_tool_warned
=yes ;;
2578 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2579 See \`config.log' for more details." >&5
2580 echo "$as_me: error: no acceptable C compiler found in \$PATH
2581 See \`config.log' for more details." >&2;}
2582 { (exit 1); exit 1; }; }
2584 # Provide some information about the compiler.
2585 echo "$as_me:$LINENO: checking for C compiler version" >&5
2586 ac_compiler
=`set X $ac_compile; echo $2`
2587 { (ac_try
="$ac_compiler --version >&5"
2589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2590 *) ac_try_echo=$ac_try;;
2592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2593 (eval "$ac_compiler --version >&5") 2>&5
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); }
2597 { (ac_try="$ac_compiler -v >&5"
2599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2600 *) ac_try_echo
=$ac_try;;
2602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2603 (eval "$ac_compiler -v >&5") 2>&5
2605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606 (exit $ac_status); }
2607 { (ac_try
="$ac_compiler -V >&5"
2609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2610 *) ac_try_echo=$ac_try;;
2612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2613 (eval "$ac_compiler -V >&5") 2>&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); }
2618 cat >conftest.$ac_ext <<_ACEOF
2621 cat confdefs.h >>conftest.$ac_ext
2622 cat >>conftest.$ac_ext <<_ACEOF
2623 /* end confdefs.h. */
2633 ac_clean_files_save=$ac_clean_files
2634 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2635 # Try to create an executable without -o first, disregard a.out.
2636 # It will help us diagnose broken compilers, and finding out an intuition
2638 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2639 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2640 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2642 # List of possible output files, starting from the most likely.
2643 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2644 # only as a last resort. b.out is created by i960 compilers.
2645 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2647 # The IRIX 6 linker writes into existing files which may not be
2648 # executable, retaining their permissions. Remove them first so a
2649 # subsequent execution test works.
2651 for ac_file in $ac_files
2654 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2655 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2660 if { (ac_try="$ac_link_default"
2662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2663 *) ac_try_echo=$ac_try;;
2665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2666 (eval "$ac_link_default") 2>&5
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; then
2670 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2671 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2672 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2673 # so that the user can short-circuit this test for compilers unknown to
2675 for ac_file
in $ac_files ''
2677 test -f "$ac_file" ||
continue
2679 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2682 # We found the default executable, but exeext='' is most
2686 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2688 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2690 # We set ac_cv_exeext here because the later test for it is not
2691 # safe: cross compilers may not add the suffix if given an `-o'
2692 # argument, so we may need to know it at that point already.
2693 # Even if this section looks crufty: it has the advantage of
2700 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2706 { echo "$as_me:$LINENO: result: $ac_file" >&5
2707 echo "${ECHO_T}$ac_file" >&6; }
2708 if test -z "$ac_file"; then
2709 echo "$as_me: failed program was:" >&5
2710 sed 's/^/| /' conftest.
$ac_ext >&5
2712 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2713 See \`config.log' for more details." >&5
2714 echo "$as_me: error: C compiler cannot create executables
2715 See \`config.log' for more details." >&2;}
2716 { (exit 77); exit 77; }; }
2719 ac_exeext
=$ac_cv_exeext
2721 # Check that the compiler produces executables we can run. If not, either
2722 # the compiler is broken, or we cross compile.
2723 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2724 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2725 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2726 # If not cross compiling, check that we can run a simple program.
2727 if test "$cross_compiling" != yes; then
2728 if { ac_try
='./$ac_file'
2729 { (case "(($ac_try" in
2730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2731 *) ac_try_echo=$ac_try;;
2733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2734 (eval "$ac_try") 2>&5
2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 (exit $ac_status); }; }; then
2740 if test "$cross_compiling" = maybe; then
2743 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2744 If you meant to cross compile, use \`--host'.
2745 See \`config.log' for more details.
" >&5
2746 echo "$as_me: error
: cannot run C compiled programs.
2747 If you meant to cross compile
, use \
`--host'.
2748 See \`config.log
' for more details." >&2;}
2749 { (exit 1); exit 1; }; }
2753 { echo "$as_me:$LINENO: result: yes" >&5
2754 echo "${ECHO_T}yes" >&6; }
2756 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2757 ac_clean_files=$ac_clean_files_save
2758 # Check that the compiler produces executables we can run. If not, either
2759 # the compiler is broken, or we cross compile.
2760 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2761 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2762 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2763 echo "${ECHO_T}$cross_compiling" >&6; }
2765 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2766 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2767 if { (ac_try="$ac_link"
2769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2770 *) ac_try_echo=$ac_try;;
2772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2773 (eval "$ac_link") 2>&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; then
2777 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2778 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2779 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2781 for ac_file
in conftest.exe conftest conftest.
*; do
2782 test -f "$ac_file" ||
continue
2784 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2785 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2791 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2792 See \`config.log' for more details." >&5
2793 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2794 See \`config.log' for more details." >&2;}
2795 { (exit 1); exit 1; }; }
2798 rm -f conftest
$ac_cv_exeext
2799 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2800 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2802 rm -f conftest.
$ac_ext
2803 EXEEXT
=$ac_cv_exeext
2805 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2806 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2807 if test "${ac_cv_objext+set}" = set; then
2808 echo $ECHO_N "(cached) $ECHO_C" >&6
2810 cat >conftest.
$ac_ext <<_ACEOF
2813 cat confdefs.h
>>conftest.
$ac_ext
2814 cat >>conftest.
$ac_ext <<_ACEOF
2815 /* end confdefs.h. */
2825 rm -f conftest.o conftest.obj
2826 if { (ac_try
="$ac_compile"
2828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2829 *) ac_try_echo=$ac_try;;
2831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2832 (eval "$ac_compile") 2>&5
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); }; then
2836 for ac_file in conftest.o conftest.obj conftest.*; do
2837 test -f "$ac_file" || continue;
2839 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2840 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2845 echo "$as_me: failed program was:" >&5
2846 sed 's/^/| /' conftest.$ac_ext >&5
2848 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2849 See \`config.log
' for more details." >&5
2850 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2851 See \`config.log' for more details.
" >&2;}
2852 { (exit 1); exit 1; }; }
2855 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2857 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2858 echo "${ECHO_T}$ac_cv_objext" >&6; }
2859 OBJEXT=$ac_cv_objext
2861 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2862 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2863 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2864 echo $ECHO_N "(cached
) $ECHO_C" >&6
2866 cat >conftest.$ac_ext <<_ACEOF
2869 cat confdefs.h >>conftest.$ac_ext
2870 cat >>conftest.$ac_ext <<_ACEOF
2871 /* end confdefs.h. */
2884 rm -f conftest.$ac_objext
2885 if { (ac_try="$ac_compile"
2887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2888 *) ac_try_echo=$ac_try;;
2890 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2891 (eval "$ac_compile") 2>conftest.er1
2893 grep -v '^ *+' conftest.er1 >conftest.err
2895 cat conftest.err >&5
2896 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2897 (exit $ac_status); } && {
2898 test -z "$ac_c_werror_flag" ||
2899 test ! -s conftest.err
2900 } && test -s conftest.$ac_objext; then
2903 echo "$as_me: failed program was
:" >&5
2904 sed 's/^/| /' conftest.$ac_ext >&5
2909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2910 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2913 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2914 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2915 GCC=`test $ac_compiler_gnu = yes && echo yes`
2916 ac_test_CFLAGS=${CFLAGS+set}
2917 ac_save_CFLAGS=$CFLAGS
2918 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2919 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2920 if test "${ac_cv_prog_cc_g+set}" = set; then
2921 echo $ECHO_N "(cached
) $ECHO_C" >&6
2923 ac_save_c_werror_flag=$ac_c_werror_flag
2924 ac_c_werror_flag=yes
2927 cat >conftest.$ac_ext <<_ACEOF
2930 cat confdefs.h >>conftest.$ac_ext
2931 cat >>conftest.$ac_ext <<_ACEOF
2932 /* end confdefs.h. */
2942 rm -f conftest.$ac_objext
2943 if { (ac_try="$ac_compile"
2945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946 *) ac_try_echo=$ac_try;;
2948 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2949 (eval "$ac_compile") 2>conftest.er1
2951 grep -v '^ *+' conftest.er1 >conftest.err
2953 cat conftest.err >&5
2954 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2955 (exit $ac_status); } && {
2956 test -z "$ac_c_werror_flag" ||
2957 test ! -s conftest.err
2958 } && test -s conftest.$ac_objext; then
2961 echo "$as_me: failed program was
:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2965 cat >conftest.$ac_ext <<_ACEOF
2968 cat confdefs.h >>conftest.$ac_ext
2969 cat >>conftest.$ac_ext <<_ACEOF
2970 /* end confdefs.h. */
2980 rm -f conftest.$ac_objext
2981 if { (ac_try="$ac_compile"
2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2986 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2987 (eval "$ac_compile") 2>conftest.er1
2989 grep -v '^ *+' conftest.er1 >conftest.err
2991 cat conftest.err >&5
2992 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2993 (exit $ac_status); } && {
2994 test -z "$ac_c_werror_flag" ||
2995 test ! -s conftest.err
2996 } && test -s conftest.$ac_objext; then
2999 echo "$as_me: failed program was
:" >&5
3000 sed 's/^/| /' conftest.$ac_ext >&5
3002 ac_c_werror_flag=$ac_save_c_werror_flag
3004 cat >conftest.$ac_ext <<_ACEOF
3007 cat confdefs.h >>conftest.$ac_ext
3008 cat >>conftest.$ac_ext <<_ACEOF
3009 /* end confdefs.h. */
3019 rm -f conftest.$ac_objext
3020 if { (ac_try="$ac_compile"
3022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3023 *) ac_try_echo=$ac_try;;
3025 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3026 (eval "$ac_compile") 2>conftest.er1
3028 grep -v '^ *+' conftest.er1 >conftest.err
3030 cat conftest.err >&5
3031 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3032 (exit $ac_status); } && {
3033 test -z "$ac_c_werror_flag" ||
3034 test ! -s conftest.err
3035 } && test -s conftest.$ac_objext; then
3038 echo "$as_me: failed program was
:" >&5
3039 sed 's/^/| /' conftest.$ac_ext >&5
3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3051 ac_c_werror_flag=$ac_save_c_werror_flag
3053 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3054 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3055 if test "$ac_test_CFLAGS" = set; then
3056 CFLAGS=$ac_save_CFLAGS
3057 elif test $ac_cv_prog_cc_g = yes; then
3058 if test "$GCC" = yes; then
3064 if test "$GCC" = yes; then
3070 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3071 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3072 if test "${ac_cv_prog_cc_c89+set}" = set; then
3073 echo $ECHO_N "(cached
) $ECHO_C" >&6
3075 ac_cv_prog_cc_c89=no
3077 cat >conftest.$ac_ext <<_ACEOF
3080 cat confdefs.h >>conftest.$ac_ext
3081 cat >>conftest.$ac_ext <<_ACEOF
3082 /* end confdefs.h. */
3085 #include <sys/types.h>
3086 #include <sys/stat.h>
3087 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3088 struct buf { int x; };
3089 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3090 static char *e (p, i)
3096 static char *f (char * (*g) (char **, int), char **p, ...)
3101 s = g (p, va_arg (v,int));
3106 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3107 function prototypes and stuff, but not '\xHH' hex character constants.
3108 These don't provoke an error unfortunately, instead are silently treated
3109 as 'x'. The following induces an error, until -std is added to get
3110 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3111 array size at least. It's necessary to write '\x00'==0 to get something
3112 that's true only with -std. */
3113 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3115 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3116 inside strings and character constants. */
3118 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3120 int test (int i, double x);
3121 struct s1 {int (*f) (int a);};
3122 struct s2 {int (*f) (double a);};
3123 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3129 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3134 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3135 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3137 CC="$ac_save_CC $ac_arg"
3138 rm -f conftest.$ac_objext
3139 if { (ac_try="$ac_compile"
3141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3142 *) ac_try_echo=$ac_try;;
3144 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3145 (eval "$ac_compile") 2>conftest.er1
3147 grep -v '^ *+' conftest.er1 >conftest.err
3149 cat conftest.err >&5
3150 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3151 (exit $ac_status); } && {
3152 test -z "$ac_c_werror_flag" ||
3153 test ! -s conftest.err
3154 } && test -s conftest.$ac_objext; then
3155 ac_cv_prog_cc_c89=$ac_arg
3157 echo "$as_me: failed program was
:" >&5
3158 sed 's/^/| /' conftest.$ac_ext >&5
3163 rm -f core conftest.err conftest.$ac_objext
3164 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3166 rm -f conftest.$ac_ext
3171 case "x
$ac_cv_prog_cc_c89" in
3173 { echo "$as_me:$LINENO: result
: none needed
" >&5
3174 echo "${ECHO_T}none needed
" >&6; } ;;
3176 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3177 echo "${ECHO_T}unsupported
" >&6; } ;;
3179 CC="$CC $ac_cv_prog_cc_c89"
3180 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3181 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3186 ac_cpp='$CPP $CPPFLAGS'
3187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3192 ac_cpp='$CXXCPP $CPPFLAGS'
3193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3196 if test -z "$CXX"; then
3197 if test -n "$CCC"; then
3200 if test -n "$ac_tool_prefix"; then
3201 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3203 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3204 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3205 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3206 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3207 if test "${ac_cv_prog_CXX+set}" = set; then
3208 echo $ECHO_N "(cached
) $ECHO_C" >&6
3210 if test -n "$CXX"; then
3211 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3217 test -z "$as_dir" && as_dir=.
3218 for ac_exec_ext in '' $ac_executable_extensions; do
3219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3220 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3221 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3231 if test -n "$CXX"; then
3232 { echo "$as_me:$LINENO: result
: $CXX" >&5
3233 echo "${ECHO_T}$CXX" >&6; }
3235 { echo "$as_me:$LINENO: result
: no
" >&5
3236 echo "${ECHO_T}no
" >&6; }
3240 test -n "$CXX" && break
3243 if test -z "$CXX"; then
3245 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3247 # Extract the first word of "$ac_prog", so it can be a program name with args.
3248 set dummy $ac_prog; ac_word=$2
3249 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3250 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3251 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3252 echo $ECHO_N "(cached
) $ECHO_C" >&6
3254 if test -n "$ac_ct_CXX"; then
3255 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3261 test -z "$as_dir" && as_dir=.
3262 for ac_exec_ext in '' $ac_executable_extensions; do
3263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3264 ac_cv_prog_ac_ct_CXX="$ac_prog"
3265 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3274 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3275 if test -n "$ac_ct_CXX"; then
3276 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3277 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3279 { echo "$as_me:$LINENO: result
: no
" >&5
3280 echo "${ECHO_T}no
" >&6; }
3284 test -n "$ac_ct_CXX" && break
3287 if test "x
$ac_ct_CXX" = x; then
3290 case $cross_compiling:$ac_tool_warned in
3292 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3293 whose name does not start with the
host triplet. If you think this
3294 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3295 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3296 whose name does not start with the
host triplet. If you think this
3297 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3298 ac_tool_warned=yes ;;
3306 # Provide some information about the compiler.
3307 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3308 ac_compiler=`set X $ac_compile; echo $2`
3309 { (ac_try="$ac_compiler --version >&5"
3311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3312 *) ac_try_echo=$ac_try;;
3314 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3315 (eval "$ac_compiler --version >&5") 2>&5
3317 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3318 (exit $ac_status); }
3319 { (ac_try="$ac_compiler -v >&5"
3321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3322 *) ac_try_echo=$ac_try;;
3324 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3325 (eval "$ac_compiler -v >&5") 2>&5
3327 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3328 (exit $ac_status); }
3329 { (ac_try="$ac_compiler -V >&5"
3331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3332 *) ac_try_echo=$ac_try;;
3334 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3335 (eval "$ac_compiler -V >&5") 2>&5
3337 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3338 (exit $ac_status); }
3340 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3341 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3342 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3343 echo $ECHO_N "(cached
) $ECHO_C" >&6
3345 cat >conftest.$ac_ext <<_ACEOF
3348 cat confdefs.h >>conftest.$ac_ext
3349 cat >>conftest.$ac_ext <<_ACEOF
3350 /* end confdefs.h. */
3363 rm -f conftest.$ac_objext
3364 if { (ac_try="$ac_compile"
3366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3367 *) ac_try_echo=$ac_try;;
3369 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3370 (eval "$ac_compile") 2>conftest.er1
3372 grep -v '^ *+' conftest.er1 >conftest.err
3374 cat conftest.err >&5
3375 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3376 (exit $ac_status); } && {
3377 test -z "$ac_cxx_werror_flag" ||
3378 test ! -s conftest.err
3379 } && test -s conftest.$ac_objext; then
3382 echo "$as_me: failed program was
:" >&5
3383 sed 's/^/| /' conftest.$ac_ext >&5
3388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3389 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3392 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3393 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3394 GXX=`test $ac_compiler_gnu = yes && echo yes`
3395 ac_test_CXXFLAGS=${CXXFLAGS+set}
3396 ac_save_CXXFLAGS=$CXXFLAGS
3397 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3398 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3399 if test "${ac_cv_prog_cxx_g+set}" = set; then
3400 echo $ECHO_N "(cached
) $ECHO_C" >&6
3402 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3403 ac_cxx_werror_flag=yes
3406 cat >conftest.$ac_ext <<_ACEOF
3409 cat confdefs.h >>conftest.$ac_ext
3410 cat >>conftest.$ac_ext <<_ACEOF
3411 /* end confdefs.h. */
3421 rm -f conftest.$ac_objext
3422 if { (ac_try="$ac_compile"
3424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3425 *) ac_try_echo=$ac_try;;
3427 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3428 (eval "$ac_compile") 2>conftest.er1
3430 grep -v '^ *+' conftest.er1 >conftest.err
3432 cat conftest.err >&5
3433 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3434 (exit $ac_status); } && {
3435 test -z "$ac_cxx_werror_flag" ||
3436 test ! -s conftest.err
3437 } && test -s conftest.$ac_objext; then
3438 ac_cv_prog_cxx_g=yes
3440 echo "$as_me: failed program was
:" >&5
3441 sed 's/^/| /' conftest.$ac_ext >&5
3444 cat >conftest.$ac_ext <<_ACEOF
3447 cat confdefs.h >>conftest.$ac_ext
3448 cat >>conftest.$ac_ext <<_ACEOF
3449 /* end confdefs.h. */
3459 rm -f conftest.$ac_objext
3460 if { (ac_try="$ac_compile"
3462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3463 *) ac_try_echo=$ac_try;;
3465 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3466 (eval "$ac_compile") 2>conftest.er1
3468 grep -v '^ *+' conftest.er1 >conftest.err
3470 cat conftest.err >&5
3471 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3472 (exit $ac_status); } && {
3473 test -z "$ac_cxx_werror_flag" ||
3474 test ! -s conftest.err
3475 } && test -s conftest.$ac_objext; then
3478 echo "$as_me: failed program was
:" >&5
3479 sed 's/^/| /' conftest.$ac_ext >&5
3481 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3483 cat >conftest.$ac_ext <<_ACEOF
3486 cat confdefs.h >>conftest.$ac_ext
3487 cat >>conftest.$ac_ext <<_ACEOF
3488 /* end confdefs.h. */
3498 rm -f conftest.$ac_objext
3499 if { (ac_try="$ac_compile"
3501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3502 *) ac_try_echo=$ac_try;;
3504 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3505 (eval "$ac_compile") 2>conftest.er1
3507 grep -v '^ *+' conftest.er1 >conftest.err
3509 cat conftest.err >&5
3510 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3511 (exit $ac_status); } && {
3512 test -z "$ac_cxx_werror_flag" ||
3513 test ! -s conftest.err
3514 } && test -s conftest.$ac_objext; then
3515 ac_cv_prog_cxx_g=yes
3517 echo "$as_me: failed program was
:" >&5
3518 sed 's/^/| /' conftest.$ac_ext >&5
3523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3530 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3532 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3533 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3534 if test "$ac_test_CXXFLAGS" = set; then
3535 CXXFLAGS=$ac_save_CXXFLAGS
3536 elif test $ac_cv_prog_cxx_g = yes; then
3537 if test "$GXX" = yes; then
3543 if test "$GXX" = yes; then
3550 ac_cpp='$CPP $CPPFLAGS'
3551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3555 if test -n "$ac_tool_prefix"; then
3556 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3557 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3558 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3559 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3560 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3561 echo $ECHO_N "(cached
) $ECHO_C" >&6
3563 if test -n "$CPPBIN"; then
3564 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3570 test -z "$as_dir" && as_dir=.
3571 for ac_exec_ext in '' $ac_executable_extensions; do
3572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3573 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3574 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3583 CPPBIN=$ac_cv_prog_CPPBIN
3584 if test -n "$CPPBIN"; then
3585 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3586 echo "${ECHO_T}$CPPBIN" >&6; }
3588 { echo "$as_me:$LINENO: result
: no
" >&5
3589 echo "${ECHO_T}no
" >&6; }
3594 if test -z "$ac_cv_prog_CPPBIN"; then
3595 ac_ct_CPPBIN=$CPPBIN
3596 # Extract the first word of "cpp
", so it can be a program name with args.
3597 set dummy cpp; ac_word=$2
3598 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3599 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3600 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3601 echo $ECHO_N "(cached
) $ECHO_C" >&6
3603 if test -n "$ac_ct_CPPBIN"; then
3604 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3610 test -z "$as_dir" && as_dir=.
3611 for ac_exec_ext in '' $ac_executable_extensions; do
3612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3613 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3614 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3623 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3624 if test -n "$ac_ct_CPPBIN"; then
3625 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3626 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3628 { echo "$as_me:$LINENO: result
: no
" >&5
3629 echo "${ECHO_T}no
" >&6; }
3632 if test "x
$ac_ct_CPPBIN" = x; then
3635 case $cross_compiling:$ac_tool_warned in
3637 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3638 whose name does not start with the
host triplet. If you think this
3639 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3640 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3641 whose name does not start with the
host triplet. If you think this
3642 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3643 ac_tool_warned=yes ;;
3645 CPPBIN=$ac_ct_CPPBIN
3648 CPPBIN="$ac_cv_prog_CPPBIN"
3652 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3653 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3654 if test "${wine_cv_toolsdir+set}" = set; then
3655 echo $ECHO_N "(cached
) $ECHO_C" >&6
3657 if test -z "$with_wine_tools"; then
3658 if test "$cross_compiling" = "yes"; then
3659 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3660 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3661 { (exit 1); exit 1; }; }
3663 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3665 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3666 case $with_wine_tools in
3667 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3668 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3671 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3672 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3673 { (exit 1); exit 1; }; }
3676 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3677 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3678 TOOLSDIR=$wine_cv_toolsdir
3683 ac_cpp='$CPP $CPPFLAGS'
3684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3687 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3688 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3689 # On Suns, sometimes $CPP names a directory.
3690 if test -n "$CPP" && test -d "$CPP"; then
3693 if test -z "$CPP"; then
3694 if test "${ac_cv_prog_CPP+set}" = set; then
3695 echo $ECHO_N "(cached
) $ECHO_C" >&6
3697 # Double quotes because CPP needs to be expanded
3698 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3701 for ac_c_preproc_warn_flag in '' yes
3703 # Use a header file that comes with gcc, so configuring glibc
3704 # with a fresh cross-compiler works.
3705 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3706 # <limits.h> exists even on freestanding compilers.
3707 # On the NeXT, cc -E runs the code through the compiler's parser,
3708 # not just through cpp. "Syntax error
" is here to catch this case.
3709 cat >conftest.$ac_ext <<_ACEOF
3712 cat confdefs.h >>conftest.$ac_ext
3713 cat >>conftest.$ac_ext <<_ACEOF
3714 /* end confdefs.h. */
3716 # include <limits.h>
3718 # include <assert.h>
3722 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3725 *) ac_try_echo=$ac_try;;
3727 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3728 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3730 grep -v '^ *+' conftest.er1 >conftest.err
3732 cat conftest.err >&5
3733 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3734 (exit $ac_status); } >/dev/null && {
3735 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3736 test ! -s conftest.err
3740 echo "$as_me: failed program was
:" >&5
3741 sed 's/^/| /' conftest.$ac_ext >&5
3743 # Broken: fails on valid input.
3747 rm -f conftest.err conftest.$ac_ext
3749 # OK, works on sane cases. Now check whether nonexistent headers
3750 # can be detected and how.
3751 cat >conftest.$ac_ext <<_ACEOF
3754 cat confdefs.h >>conftest.$ac_ext
3755 cat >>conftest.$ac_ext <<_ACEOF
3756 /* end confdefs.h. */
3757 #include <ac_nonexistent.h>
3759 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3762 *) ac_try_echo=$ac_try;;
3764 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3765 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3767 grep -v '^ *+' conftest.er1 >conftest.err
3769 cat conftest.err >&5
3770 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3771 (exit $ac_status); } >/dev/null && {
3772 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3773 test ! -s conftest.err
3775 # Broken: success on invalid input.
3778 echo "$as_me: failed program was
:" >&5
3779 sed 's/^/| /' conftest.$ac_ext >&5
3781 # Passes both tests.
3786 rm -f conftest.err conftest.$ac_ext
3789 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3790 rm -f conftest.err conftest.$ac_ext
3791 if $ac_preproc_ok; then
3803 { echo "$as_me:$LINENO: result
: $CPP" >&5
3804 echo "${ECHO_T}$CPP" >&6; }
3806 for ac_c_preproc_warn_flag in '' yes
3808 # Use a header file that comes with gcc, so configuring glibc
3809 # with a fresh cross-compiler works.
3810 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3811 # <limits.h> exists even on freestanding compilers.
3812 # On the NeXT, cc -E runs the code through the compiler's parser,
3813 # not just through cpp. "Syntax error
" is here to catch this case.
3814 cat >conftest.$ac_ext <<_ACEOF
3817 cat confdefs.h >>conftest.$ac_ext
3818 cat >>conftest.$ac_ext <<_ACEOF
3819 /* end confdefs.h. */
3821 # include <limits.h>
3823 # include <assert.h>
3827 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3830 *) ac_try_echo=$ac_try;;
3832 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3833 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3835 grep -v '^ *+' conftest.er1 >conftest.err
3837 cat conftest.err >&5
3838 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3839 (exit $ac_status); } >/dev/null && {
3840 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3841 test ! -s conftest.err
3845 echo "$as_me: failed program was
:" >&5
3846 sed 's/^/| /' conftest.$ac_ext >&5
3848 # Broken: fails on valid input.
3852 rm -f conftest.err conftest.$ac_ext
3854 # OK, works on sane cases. Now check whether nonexistent headers
3855 # can be detected and how.
3856 cat >conftest.$ac_ext <<_ACEOF
3859 cat confdefs.h >>conftest.$ac_ext
3860 cat >>conftest.$ac_ext <<_ACEOF
3861 /* end confdefs.h. */
3862 #include <ac_nonexistent.h>
3864 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3867 *) ac_try_echo=$ac_try;;
3869 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3870 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3872 grep -v '^ *+' conftest.er1 >conftest.err
3874 cat conftest.err >&5
3875 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3876 (exit $ac_status); } >/dev/null && {
3877 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3878 test ! -s conftest.err
3880 # Broken: success on invalid input.
3883 echo "$as_me: failed program was
:" >&5
3884 sed 's/^/| /' conftest.$ac_ext >&5
3886 # Passes both tests.
3891 rm -f conftest.err conftest.$ac_ext
3894 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3895 rm -f conftest.err conftest.$ac_ext
3896 if $ac_preproc_ok; then
3899 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3900 See \
`config.log' for more details." >&5
3901 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3902 See \`config.log
' for more details." >&2;}
3903 { (exit 1); exit 1; }; }
3907 ac_cpp='$CPP $CPPFLAGS'
3908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3909 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3913 { echo "$as_me:$LINENO: checking for X" >&5
3914 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3917 # Check whether --with-x was given.
3918 if test "${with_x+set}" = set; then
3922 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3923 if test "x$with_x" = xno; then
3924 # The user explicitly disabled X.
3927 case $x_includes,$x_libraries in #(
3928 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3929 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3930 { (exit 1); exit 1; }; };; #(
3931 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3932 echo $ECHO_N "(cached) $ECHO_C" >&6
3934 # One or both of the vars are not set, and there is no cached value.
3935 ac_x_includes=no ac_x_libraries=no
3936 rm -f -r conftest.dir
3937 if mkdir conftest.dir; then
3939 cat >Imakefile <<'_ACEOF'
3941 @echo incroot='${INCROOT}'
3943 @echo usrlibdir='${USRLIBDIR}'
3945 @echo libdir='${LIBDIR}'
3947 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3948 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3949 for ac_var in incroot usrlibdir libdir; do
3950 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3952 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3953 for ac_extension in a so sl; do
3954 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3955 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3956 ac_im_usrlibdir=$ac_im_libdir; break
3959 # Screen out bogus values from the imake configuration. They are
3960 # bogus both because they are the default anyway, and because
3961 # using them would break gcc on systems where it needs fixed includes.
3962 case $ac_im_incroot in
3963 /usr/include) ac_x_includes= ;;
3964 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3966 case $ac_im_usrlibdir in
3968 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3972 rm -f -r conftest.dir
3975 # Standard set of common directories for X headers.
3976 # Check X11 before X11Rn because it is often a symlink to the current release.
3988 /usr
/local
/X11
/include
3989 /usr
/local
/X11R
6/include
3990 /usr
/local
/X11R
5/include
3991 /usr
/local
/X11R
4/include
3993 /usr
/local
/include
/X11
3994 /usr
/local
/include
/X11R6
3995 /usr
/local
/include
/X11R5
3996 /usr
/local
/include
/X11R4
4000 /usr
/XFree86
/include
/X11
4004 /usr
/unsupported
/include
4006 /usr
/local
/x11r
5/include
4007 /usr
/lpp
/Xamples
/include
4009 /usr
/openwin
/include
4010 /usr
/openwin
/share
/include
'
4012 if test "$ac_x_includes" = no; then
4013 # Guess where to find include files, by looking for Xlib.h.
4014 # First, try using that file with no special directory specified.
4015 cat >conftest.$ac_ext <<_ACEOF
4018 cat confdefs.h >>conftest.$ac_ext
4019 cat >>conftest.$ac_ext <<_ACEOF
4020 /* end confdefs.h. */
4021 #include <X11/Xlib.h>
4023 if { (ac_try="$ac_cpp conftest.$ac_ext"
4025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4026 *) ac_try_echo=$ac_try;;
4028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4031 grep -v '^
*+' conftest.er1 >conftest.err
4033 cat conftest.err >&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } >/dev/null && {
4036 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4037 test ! -s conftest.err
4039 # We can compile using X headers with no special include directory.
4042 echo "$as_me: failed program was:" >&5
4043 sed 's
/^
/|
/' conftest.$ac_ext >&5
4045 for ac_dir in $ac_x_header_dirs; do
4046 if test -r "$ac_dir/X11/Xlib.h"; then
4047 ac_x_includes=$ac_dir
4053 rm -f conftest.err conftest.$ac_ext
4054 fi # $ac_x_includes = no
4056 if test "$ac_x_libraries" = no; then
4057 # Check for the libraries.
4058 # See if we find them without any special options.
4059 # Don't add to
$LIBS permanently.
4062 cat >conftest.
$ac_ext <<_ACEOF
4065 cat confdefs.h
>>conftest.
$ac_ext
4066 cat >>conftest.
$ac_ext <<_ACEOF
4067 /* end confdefs.h. */
4068 #include <X11/Xlib.h>
4077 rm -f conftest.
$ac_objext conftest
$ac_exeext
4078 if { (ac_try
="$ac_link"
4080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4081 *) ac_try_echo=$ac_try;;
4083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4084 (eval "$ac_link") 2>conftest.er1
4086 grep -v '^ *+' conftest.er1 >conftest.err
4088 cat conftest.err >&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } && {
4091 test -z "$ac_c_werror_flag" ||
4092 test ! -s conftest.err
4093 } && test -s conftest$ac_exeext &&
4094 $as_test_x conftest$ac_exeext; then
4096 # We can link X programs with no special library path.
4099 echo "$as_me: failed program was:" >&5
4100 sed 's/^/| /' conftest.$ac_ext >&5
4103 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4105 # Don't even attempt the hair of trying to link an X program!
4106 for ac_extension in a so sl; do
4107 if test -r "$ac_dir/libX11.$ac_extension"; then
4108 ac_x_libraries=$ac_dir
4115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4116 conftest$ac_exeext conftest.$ac_ext
4117 fi # $ac_x_libraries = no
4119 case $ac_x_includes,$ac_x_libraries in #(
4121 # Didn't find X, or a directory has "'" in its name.
4122 ac_cv_have_x="have_x=no";; #(
4124 # Record where we found X for the cache.
4125 ac_cv_have_x="have_x=yes\
4126 ac_x_includes='$ac_x_includes'\
4127 ac_x_libraries='$ac_x_libraries'"
4133 eval "$ac_cv_have_x"
4136 if test "$have_x" != yes; then
4137 { echo "$as_me:$LINENO: result: $have_x" >&5
4138 echo "${ECHO_T}$have_x" >&6; }
4141 # If each of the values was on the command line, it overrides each guess.
4142 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4143 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4144 # Update the cache value to reflect the command line values.
4145 ac_cv_have_x="have_x=yes\
4146 ac_x_includes='$x_includes'\
4147 ac_x_libraries='$x_libraries'"
4148 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4149 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4152 if test "$no_x" = yes; then
4153 # Not all programs may use this symbol, but it does not hurt to define it.
4155 cat >>confdefs.h <<\_ACEOF
4156 #define X_DISPLAY_MISSING 1
4159 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4161 if test -n "$x_includes"; then
4162 X_CFLAGS="$X_CFLAGS -I$x_includes"
4165 # It would also be nice to do this for all -L options, not just this one.
4166 if test -n "$x_libraries"; then
4167 X_LIBS="$X_LIBS -L$x_libraries"
4168 # For Solaris; some versions of Sun CC require a space after -R and
4169 # others require no space. Words are not sufficient . . . .
4170 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4171 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4172 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4173 ac_xsave_c_werror_flag=$ac_c_werror_flag
4174 ac_c_werror_flag=yes
4175 cat >conftest.$ac_ext <<_ACEOF
4178 cat confdefs.h >>conftest.$ac_ext
4179 cat >>conftest.$ac_ext <<_ACEOF
4180 /* end confdefs.h. */
4190 rm -f conftest.$ac_objext conftest$ac_exeext
4191 if { (ac_try="$ac_link"
4193 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4194 *) ac_try_echo
=$ac_try;;
4196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4197 (eval "$ac_link") 2>conftest.er1
4199 grep -v '^ *+' conftest.er1
>conftest.err
4201 cat conftest.err
>&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); } && {
4204 test -z "$ac_c_werror_flag" ||
4205 test ! -s conftest.err
4206 } && test -s conftest
$ac_exeext &&
4207 $as_test_x conftest
$ac_exeext; then
4208 { echo "$as_me:$LINENO: result: no" >&5
4209 echo "${ECHO_T}no" >&6; }
4210 X_LIBS
="$X_LIBS -R$x_libraries"
4212 echo "$as_me: failed program was:" >&5
4213 sed 's/^/| /' conftest.
$ac_ext >&5
4215 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4216 cat >conftest.
$ac_ext <<_ACEOF
4219 cat confdefs.h
>>conftest.
$ac_ext
4220 cat >>conftest.
$ac_ext <<_ACEOF
4221 /* end confdefs.h. */
4231 rm -f conftest.
$ac_objext conftest
$ac_exeext
4232 if { (ac_try
="$ac_link"
4234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4235 *) ac_try_echo=$ac_try;;
4237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4238 (eval "$ac_link") 2>conftest.er1
4240 grep -v '^ *+' conftest.er1 >conftest.err
4242 cat conftest.err >&5
4243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244 (exit $ac_status); } && {
4245 test -z "$ac_c_werror_flag" ||
4246 test ! -s conftest.err
4247 } && test -s conftest$ac_exeext &&
4248 $as_test_x conftest$ac_exeext; then
4249 { echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6; }
4251 X_LIBS="$X_LIBS -R $x_libraries"
4253 echo "$as_me: failed program was:" >&5
4254 sed 's/^/| /' conftest.$ac_ext >&5
4256 { echo "$as_me:$LINENO: result: neither works" >&5
4257 echo "${ECHO_T}neither works" >&6; }
4260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4261 conftest$ac_exeext conftest.$ac_ext
4264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4265 conftest$ac_exeext conftest.$ac_ext
4266 ac_c_werror_flag=$ac_xsave_c_werror_flag
4270 # Check for system-dependent libraries X programs must link with.
4271 # Do this before checking for the system-independent R6 libraries
4272 # (-lICE), since we may need -lsocket or whatever for X linking.
4274 if test "$ISC" = yes; then
4275 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4277 # Martyn Johnson says this is needed for Ultrix, if the X
4278 # libraries were built with DECnet support. And Karl Berry says
4279 # the Alpha needs dnet_stub (dnet does not exist).
4280 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4281 cat >conftest.$ac_ext <<_ACEOF
4284 cat confdefs.h >>conftest.$ac_ext
4285 cat >>conftest.$ac_ext <<_ACEOF
4286 /* end confdefs.h. */
4288 /* Override any GCC internal prototype to avoid an error.
4289 Use char because int might match the return type of a GCC
4290 builtin and then its argument prototype would still apply. */
4294 char XOpenDisplay ();
4298 return XOpenDisplay ();
4303 rm -f conftest.$ac_objext conftest$ac_exeext
4304 if { (ac_try="$ac_link"
4306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4307 *) ac_try_echo
=$ac_try;;
4309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4310 (eval "$ac_link") 2>conftest.er1
4312 grep -v '^ *+' conftest.er1
>conftest.err
4314 cat conftest.err
>&5
4315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316 (exit $ac_status); } && {
4317 test -z "$ac_c_werror_flag" ||
4318 test ! -s conftest.err
4319 } && test -s conftest
$ac_exeext &&
4320 $as_test_x conftest
$ac_exeext; then
4323 echo "$as_me: failed program was:" >&5
4324 sed 's/^/| /' conftest.
$ac_ext >&5
4326 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4327 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4328 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4329 echo $ECHO_N "(cached) $ECHO_C" >&6
4331 ac_check_lib_save_LIBS
=$LIBS
4333 cat >conftest.
$ac_ext <<_ACEOF
4336 cat confdefs.h
>>conftest.
$ac_ext
4337 cat >>conftest.
$ac_ext <<_ACEOF
4338 /* end confdefs.h. */
4340 /* Override any GCC internal prototype to avoid an error.
4341 Use char because int might match the return type of a GCC
4342 builtin and then its argument prototype would still apply. */
4350 return dnet_ntoa ();
4355 rm -f conftest.
$ac_objext conftest
$ac_exeext
4356 if { (ac_try
="$ac_link"
4358 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4359 *) ac_try_echo=$ac_try;;
4361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4362 (eval "$ac_link") 2>conftest.er1
4364 grep -v '^ *+' conftest.er1 >conftest.err
4366 cat conftest.err >&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); } && {
4369 test -z "$ac_c_werror_flag" ||
4370 test ! -s conftest.err
4371 } && test -s conftest$ac_exeext &&
4372 $as_test_x conftest$ac_exeext; then
4373 ac_cv_lib_dnet_dnet_ntoa=yes
4375 echo "$as_me: failed program was:" >&5
4376 sed 's/^/| /' conftest.$ac_ext >&5
4378 ac_cv_lib_dnet_dnet_ntoa=no
4381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4382 conftest$ac_exeext conftest.$ac_ext
4383 LIBS=$ac_check_lib_save_LIBS
4385 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4386 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4387 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4388 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4391 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4392 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4393 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4394 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 ac_check_lib_save_LIBS=$LIBS
4398 LIBS="-ldnet_stub $LIBS"
4399 cat >conftest.$ac_ext <<_ACEOF
4402 cat confdefs.h >>conftest.$ac_ext
4403 cat >>conftest.$ac_ext <<_ACEOF
4404 /* end confdefs.h. */
4406 /* Override any GCC internal prototype to avoid an error.
4407 Use char because int might match the return type of a GCC
4408 builtin and then its argument prototype would still apply. */
4416 return dnet_ntoa ();
4421 rm -f conftest.$ac_objext conftest$ac_exeext
4422 if { (ac_try="$ac_link"
4424 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4425 *) ac_try_echo
=$ac_try;;
4427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4428 (eval "$ac_link") 2>conftest.er1
4430 grep -v '^ *+' conftest.er1
>conftest.err
4432 cat conftest.err
>&5
4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4434 (exit $ac_status); } && {
4435 test -z "$ac_c_werror_flag" ||
4436 test ! -s conftest.err
4437 } && test -s conftest
$ac_exeext &&
4438 $as_test_x conftest
$ac_exeext; then
4439 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4441 echo "$as_me: failed program was:" >&5
4442 sed 's/^/| /' conftest.
$ac_ext >&5
4444 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4447 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4448 conftest
$ac_exeext conftest.
$ac_ext
4449 LIBS
=$ac_check_lib_save_LIBS
4451 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4452 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4453 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4454 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4460 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4461 conftest
$ac_exeext conftest.
$ac_ext
4462 LIBS
="$ac_xsave_LIBS"
4464 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4465 # to get the SysV transport functions.
4466 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4468 # The nsl library prevents programs from opening the X display
4469 # on Irix 5.2, according to T.E. Dickey.
4470 # The functions gethostbyname, getservbyname, and inet_addr are
4471 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4472 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4473 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4474 if test "${ac_cv_func_gethostbyname+set}" = set; then
4475 echo $ECHO_N "(cached) $ECHO_C" >&6
4477 cat >conftest.
$ac_ext <<_ACEOF
4480 cat confdefs.h
>>conftest.
$ac_ext
4481 cat >>conftest.
$ac_ext <<_ACEOF
4482 /* end confdefs.h. */
4483 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4485 #define gethostbyname innocuous_gethostbyname
4487 /* System header to define __stub macros and hopefully few prototypes,
4488 which can conflict with char gethostbyname (); below.
4489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4490 <limits.h> exists even on freestanding compilers. */
4493 # include <limits.h>
4495 # include <assert.h>
4498 #undef gethostbyname
4500 /* Override any GCC internal prototype to avoid an error.
4501 Use char because int might match the return type of a GCC
4502 builtin and then its argument prototype would still apply. */
4506 char gethostbyname ();
4507 /* The GNU C library defines this for functions which it implements
4508 to always fail with ENOSYS. Some functions are actually named
4509 something starting with __ and the normal name is an alias. */
4510 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4517 return gethostbyname ();
4522 rm -f conftest.
$ac_objext conftest
$ac_exeext
4523 if { (ac_try
="$ac_link"
4525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4526 *) ac_try_echo=$ac_try;;
4528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4529 (eval "$ac_link") 2>conftest.er1
4531 grep -v '^ *+' conftest.er1 >conftest.err
4533 cat conftest.err >&5
4534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4535 (exit $ac_status); } && {
4536 test -z "$ac_c_werror_flag" ||
4537 test ! -s conftest.err
4538 } && test -s conftest$ac_exeext &&
4539 $as_test_x conftest$ac_exeext; then
4540 ac_cv_func_gethostbyname=yes
4542 echo "$as_me: failed program was:" >&5
4543 sed 's/^/| /' conftest.$ac_ext >&5
4545 ac_cv_func_gethostbyname=no
4548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4549 conftest$ac_exeext conftest.$ac_ext
4551 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4552 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4554 if test $ac_cv_func_gethostbyname = no; then
4555 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4556 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4557 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4558 echo $ECHO_N "(cached) $ECHO_C" >&6
4560 ac_check_lib_save_LIBS=$LIBS
4562 cat >conftest.$ac_ext <<_ACEOF
4565 cat confdefs.h >>conftest.$ac_ext
4566 cat >>conftest.$ac_ext <<_ACEOF
4567 /* end confdefs.h. */
4569 /* Override any GCC internal prototype to avoid an error.
4570 Use char because int might match the return type of a GCC
4571 builtin and then its argument prototype would still apply. */
4575 char gethostbyname ();
4579 return gethostbyname ();
4584 rm -f conftest.$ac_objext conftest$ac_exeext
4585 if { (ac_try="$ac_link"
4587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4588 *) ac_try_echo
=$ac_try;;
4590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4591 (eval "$ac_link") 2>conftest.er1
4593 grep -v '^ *+' conftest.er1
>conftest.err
4595 cat conftest.err
>&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); } && {
4598 test -z "$ac_c_werror_flag" ||
4599 test ! -s conftest.err
4600 } && test -s conftest
$ac_exeext &&
4601 $as_test_x conftest
$ac_exeext; then
4602 ac_cv_lib_nsl_gethostbyname
=yes
4604 echo "$as_me: failed program was:" >&5
4605 sed 's/^/| /' conftest.
$ac_ext >&5
4607 ac_cv_lib_nsl_gethostbyname
=no
4610 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4611 conftest
$ac_exeext conftest.
$ac_ext
4612 LIBS
=$ac_check_lib_save_LIBS
4614 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4615 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4616 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4617 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4620 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4621 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4622 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4623 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4624 echo $ECHO_N "(cached) $ECHO_C" >&6
4626 ac_check_lib_save_LIBS
=$LIBS
4628 cat >conftest.
$ac_ext <<_ACEOF
4631 cat confdefs.h
>>conftest.
$ac_ext
4632 cat >>conftest.
$ac_ext <<_ACEOF
4633 /* end confdefs.h. */
4635 /* Override any GCC internal prototype to avoid an error.
4636 Use char because int might match the return type of a GCC
4637 builtin and then its argument prototype would still apply. */
4641 char gethostbyname ();
4645 return gethostbyname ();
4650 rm -f conftest.
$ac_objext conftest
$ac_exeext
4651 if { (ac_try
="$ac_link"
4653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4654 *) ac_try_echo=$ac_try;;
4656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4657 (eval "$ac_link") 2>conftest.er1
4659 grep -v '^ *+' conftest.er1 >conftest.err
4661 cat conftest.err >&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); } && {
4664 test -z "$ac_c_werror_flag" ||
4665 test ! -s conftest.err
4666 } && test -s conftest$ac_exeext &&
4667 $as_test_x conftest$ac_exeext; then
4668 ac_cv_lib_bsd_gethostbyname=yes
4670 echo "$as_me: failed program was:" >&5
4671 sed 's/^/| /' conftest.$ac_ext >&5
4673 ac_cv_lib_bsd_gethostbyname=no
4676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4677 conftest$ac_exeext conftest.$ac_ext
4678 LIBS=$ac_check_lib_save_LIBS
4680 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4681 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4682 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4683 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4689 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4690 # socket/setsockopt and other routines are undefined under SCO ODT
4691 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4692 # on later versions), says Simon Leinen: it contains gethostby*
4693 # variants that don't use the name server (or something). -lsocket
4694 # must be given before -lnsl if both are needed. We assume that
4695 # if connect needs -lnsl, so does gethostbyname.
4696 { echo "$as_me:$LINENO: checking for connect" >&5
4697 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4698 if test "${ac_cv_func_connect+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4701 cat >conftest.$ac_ext <<_ACEOF
4704 cat confdefs.h >>conftest.$ac_ext
4705 cat >>conftest.$ac_ext <<_ACEOF
4706 /* end confdefs.h. */
4707 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4709 #define connect innocuous_connect
4711 /* System header to define __stub macros and hopefully few prototypes,
4712 which can conflict with char connect (); below.
4713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4714 <limits.h> exists even on freestanding compilers. */
4717 # include <limits.h>
4719 # include <assert.h>
4724 /* Override any GCC internal prototype to avoid an error.
4725 Use char because int might match the return type of a GCC
4726 builtin and then its argument prototype would still apply. */
4731 /* The GNU C library defines this for functions which it implements
4732 to always fail with ENOSYS. Some functions are actually named
4733 something starting with __ and the normal name is an alias. */
4734 #if defined __stub_connect || defined __stub___connect
4746 rm -f conftest.$ac_objext conftest$ac_exeext
4747 if { (ac_try="$ac_link"
4749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4750 *) ac_try_echo
=$ac_try;;
4752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4753 (eval "$ac_link") 2>conftest.er1
4755 grep -v '^ *+' conftest.er1
>conftest.err
4757 cat conftest.err
>&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } && {
4760 test -z "$ac_c_werror_flag" ||
4761 test ! -s conftest.err
4762 } && test -s conftest
$ac_exeext &&
4763 $as_test_x conftest
$ac_exeext; then
4764 ac_cv_func_connect
=yes
4766 echo "$as_me: failed program was:" >&5
4767 sed 's/^/| /' conftest.
$ac_ext >&5
4769 ac_cv_func_connect
=no
4772 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4773 conftest
$ac_exeext conftest.
$ac_ext
4775 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4776 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4778 if test $ac_cv_func_connect = no
; then
4779 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4780 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4781 if test "${ac_cv_lib_socket_connect+set}" = set; then
4782 echo $ECHO_N "(cached) $ECHO_C" >&6
4784 ac_check_lib_save_LIBS
=$LIBS
4785 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4786 cat >conftest.
$ac_ext <<_ACEOF
4789 cat confdefs.h
>>conftest.
$ac_ext
4790 cat >>conftest.
$ac_ext <<_ACEOF
4791 /* end confdefs.h. */
4793 /* Override any GCC internal prototype to avoid an error.
4794 Use char because int might match the return type of a GCC
4795 builtin and then its argument prototype would still apply. */
4808 rm -f conftest.
$ac_objext conftest
$ac_exeext
4809 if { (ac_try
="$ac_link"
4811 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4812 *) ac_try_echo=$ac_try;;
4814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4815 (eval "$ac_link") 2>conftest.er1
4817 grep -v '^ *+' conftest.er1 >conftest.err
4819 cat conftest.err >&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); } && {
4822 test -z "$ac_c_werror_flag" ||
4823 test ! -s conftest.err
4824 } && test -s conftest$ac_exeext &&
4825 $as_test_x conftest$ac_exeext; then
4826 ac_cv_lib_socket_connect=yes
4828 echo "$as_me: failed program was:" >&5
4829 sed 's/^/| /' conftest.$ac_ext >&5
4831 ac_cv_lib_socket_connect=no
4834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4835 conftest$ac_exeext conftest.$ac_ext
4836 LIBS=$ac_check_lib_save_LIBS
4838 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4839 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4840 if test $ac_cv_lib_socket_connect = yes; then
4841 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4846 # Guillermo Gomez says -lposix is necessary on A/UX.
4847 { echo "$as_me:$LINENO: checking for remove" >&5
4848 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4849 if test "${ac_cv_func_remove+set}" = set; then
4850 echo $ECHO_N "(cached) $ECHO_C" >&6
4852 cat >conftest.$ac_ext <<_ACEOF
4855 cat confdefs.h >>conftest.$ac_ext
4856 cat >>conftest.$ac_ext <<_ACEOF
4857 /* end confdefs.h. */
4858 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4860 #define remove innocuous_remove
4862 /* System header to define __stub macros and hopefully few prototypes,
4863 which can conflict with char remove (); below.
4864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4865 <limits.h> exists even on freestanding compilers. */
4868 # include <limits.h>
4870 # include <assert.h>
4875 /* Override any GCC internal prototype to avoid an error.
4876 Use char because int might match the return type of a GCC
4877 builtin and then its argument prototype would still apply. */
4882 /* The GNU C library defines this for functions which it implements
4883 to always fail with ENOSYS. Some functions are actually named
4884 something starting with __ and the normal name is an alias. */
4885 #if defined __stub_remove || defined __stub___remove
4897 rm -f conftest.$ac_objext conftest$ac_exeext
4898 if { (ac_try="$ac_link"
4900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4901 *) ac_try_echo
=$ac_try;;
4903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4904 (eval "$ac_link") 2>conftest.er1
4906 grep -v '^ *+' conftest.er1
>conftest.err
4908 cat conftest.err
>&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); } && {
4911 test -z "$ac_c_werror_flag" ||
4912 test ! -s conftest.err
4913 } && test -s conftest
$ac_exeext &&
4914 $as_test_x conftest
$ac_exeext; then
4915 ac_cv_func_remove
=yes
4917 echo "$as_me: failed program was:" >&5
4918 sed 's/^/| /' conftest.
$ac_ext >&5
4920 ac_cv_func_remove
=no
4923 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4924 conftest
$ac_exeext conftest.
$ac_ext
4926 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4927 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4929 if test $ac_cv_func_remove = no
; then
4930 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4931 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4932 if test "${ac_cv_lib_posix_remove+set}" = set; then
4933 echo $ECHO_N "(cached) $ECHO_C" >&6
4935 ac_check_lib_save_LIBS
=$LIBS
4936 LIBS
="-lposix $LIBS"
4937 cat >conftest.
$ac_ext <<_ACEOF
4940 cat confdefs.h
>>conftest.
$ac_ext
4941 cat >>conftest.
$ac_ext <<_ACEOF
4942 /* end confdefs.h. */
4944 /* Override any GCC internal prototype to avoid an error.
4945 Use char because int might match the return type of a GCC
4946 builtin and then its argument prototype would still apply. */
4959 rm -f conftest.
$ac_objext conftest
$ac_exeext
4960 if { (ac_try
="$ac_link"
4962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4963 *) ac_try_echo=$ac_try;;
4965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4966 (eval "$ac_link") 2>conftest.er1
4968 grep -v '^ *+' conftest.er1 >conftest.err
4970 cat conftest.err >&5
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); } && {
4973 test -z "$ac_c_werror_flag" ||
4974 test ! -s conftest.err
4975 } && test -s conftest$ac_exeext &&
4976 $as_test_x conftest$ac_exeext; then
4977 ac_cv_lib_posix_remove=yes
4979 echo "$as_me: failed program was:" >&5
4980 sed 's/^/| /' conftest.$ac_ext >&5
4982 ac_cv_lib_posix_remove=no
4985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4986 conftest$ac_exeext conftest.$ac_ext
4987 LIBS=$ac_check_lib_save_LIBS
4989 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4990 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4991 if test $ac_cv_lib_posix_remove = yes; then
4992 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4997 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4998 { echo "$as_me:$LINENO: checking for shmat" >&5
4999 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5000 if test "${ac_cv_func_shmat+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 cat >conftest.$ac_ext <<_ACEOF
5006 cat confdefs.h >>conftest.$ac_ext
5007 cat >>conftest.$ac_ext <<_ACEOF
5008 /* end confdefs.h. */
5009 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5011 #define shmat innocuous_shmat
5013 /* System header to define __stub macros and hopefully few prototypes,
5014 which can conflict with char shmat (); below.
5015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5016 <limits.h> exists even on freestanding compilers. */
5019 # include <limits.h>
5021 # include <assert.h>
5026 /* Override any GCC internal prototype to avoid an error.
5027 Use char because int might match the return type of a GCC
5028 builtin and then its argument prototype would still apply. */
5033 /* The GNU C library defines this for functions which it implements
5034 to always fail with ENOSYS. Some functions are actually named
5035 something starting with __ and the normal name is an alias. */
5036 #if defined __stub_shmat || defined __stub___shmat
5048 rm -f conftest.$ac_objext conftest$ac_exeext
5049 if { (ac_try="$ac_link"
5051 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5052 *) ac_try_echo
=$ac_try;;
5054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5055 (eval "$ac_link") 2>conftest.er1
5057 grep -v '^ *+' conftest.er1
>conftest.err
5059 cat conftest.err
>&5
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061 (exit $ac_status); } && {
5062 test -z "$ac_c_werror_flag" ||
5063 test ! -s conftest.err
5064 } && test -s conftest
$ac_exeext &&
5065 $as_test_x conftest
$ac_exeext; then
5066 ac_cv_func_shmat
=yes
5068 echo "$as_me: failed program was:" >&5
5069 sed 's/^/| /' conftest.
$ac_ext >&5
5074 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5075 conftest
$ac_exeext conftest.
$ac_ext
5077 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5078 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5080 if test $ac_cv_func_shmat = no
; then
5081 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5082 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5083 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5084 echo $ECHO_N "(cached) $ECHO_C" >&6
5086 ac_check_lib_save_LIBS
=$LIBS
5088 cat >conftest.
$ac_ext <<_ACEOF
5091 cat confdefs.h
>>conftest.
$ac_ext
5092 cat >>conftest.
$ac_ext <<_ACEOF
5093 /* end confdefs.h. */
5095 /* Override any GCC internal prototype to avoid an error.
5096 Use char because int might match the return type of a GCC
5097 builtin and then its argument prototype would still apply. */
5110 rm -f conftest.
$ac_objext conftest
$ac_exeext
5111 if { (ac_try
="$ac_link"
5113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5114 *) ac_try_echo=$ac_try;;
5116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5117 (eval "$ac_link") 2>conftest.er1
5119 grep -v '^ *+' conftest.er1 >conftest.err
5121 cat conftest.err >&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); } && {
5124 test -z "$ac_c_werror_flag" ||
5125 test ! -s conftest.err
5126 } && test -s conftest$ac_exeext &&
5127 $as_test_x conftest$ac_exeext; then
5128 ac_cv_lib_ipc_shmat=yes
5130 echo "$as_me: failed program was:" >&5
5131 sed 's/^/| /' conftest.$ac_ext >&5
5133 ac_cv_lib_ipc_shmat=no
5136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5137 conftest$ac_exeext conftest.$ac_ext
5138 LIBS=$ac_check_lib_save_LIBS
5140 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5141 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5142 if test $ac_cv_lib_ipc_shmat = yes; then
5143 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5149 # Check for libraries that X11R6 Xt/Xaw programs need.
5150 ac_save_LDFLAGS=$LDFLAGS
5151 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5152 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5153 # check for ICE first), but we must link in the order -lSM -lICE or
5154 # we get undefined symbols. So assume we have SM if we have ICE.
5155 # These have to be linked with before -lX11, unlike the other
5156 # libraries we check for below, so use a different variable.
5157 # John Interrante, Karl Berry
5158 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5159 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5160 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5161 echo $ECHO_N "(cached) $ECHO_C" >&6
5163 ac_check_lib_save_LIBS=$LIBS
5164 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5165 cat >conftest.$ac_ext <<_ACEOF
5168 cat confdefs.h >>conftest.$ac_ext
5169 cat >>conftest.$ac_ext <<_ACEOF
5170 /* end confdefs.h. */
5172 /* Override any GCC internal prototype to avoid an error.
5173 Use char because int might match the return type of a GCC
5174 builtin and then its argument prototype would still apply. */
5178 char IceConnectionNumber ();
5182 return IceConnectionNumber ();
5187 rm -f conftest.$ac_objext conftest$ac_exeext
5188 if { (ac_try="$ac_link"
5190 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5191 *) ac_try_echo
=$ac_try;;
5193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5194 (eval "$ac_link") 2>conftest.er1
5196 grep -v '^ *+' conftest.er1
>conftest.err
5198 cat conftest.err
>&5
5199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200 (exit $ac_status); } && {
5201 test -z "$ac_c_werror_flag" ||
5202 test ! -s conftest.err
5203 } && test -s conftest
$ac_exeext &&
5204 $as_test_x conftest
$ac_exeext; then
5205 ac_cv_lib_ICE_IceConnectionNumber
=yes
5207 echo "$as_me: failed program was:" >&5
5208 sed 's/^/| /' conftest.
$ac_ext >&5
5210 ac_cv_lib_ICE_IceConnectionNumber
=no
5213 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5214 conftest
$ac_exeext conftest.
$ac_ext
5215 LIBS
=$ac_check_lib_save_LIBS
5217 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5218 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5219 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5220 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5223 LDFLAGS
=$ac_save_LDFLAGS
5230 # Extract the first word of "$ac_prog", so it can be a program name with args.
5231 set dummy
$ac_prog; ac_word
=$2
5232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5234 if test "${ac_cv_prog_FLEX+set}" = set; then
5235 echo $ECHO_N "(cached) $ECHO_C" >&6
5237 if test -n "$FLEX"; then
5238 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5244 test -z "$as_dir" && as_dir
=.
5245 for ac_exec_ext
in '' $ac_executable_extensions; do
5246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5247 ac_cv_prog_FLEX
="$ac_prog"
5248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 FLEX
=$ac_cv_prog_FLEX
5258 if test -n "$FLEX"; then
5259 { echo "$as_me:$LINENO: result: $FLEX" >&5
5260 echo "${ECHO_T}$FLEX" >&6; }
5262 { echo "$as_me:$LINENO: result: no" >&5
5263 echo "${ECHO_T}no" >&6; }
5267 test -n "$FLEX" && break
5269 test -n "$FLEX" || FLEX
="none"
5271 if test "$FLEX" = "none"
5273 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5274 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5275 { (exit 1); exit 1; }; }
5278 for ac_prog
in bison
5280 # Extract the first word of "$ac_prog", so it can be a program name with args.
5281 set dummy
$ac_prog; ac_word
=$2
5282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5284 if test "${ac_cv_prog_BISON+set}" = set; then
5285 echo $ECHO_N "(cached) $ECHO_C" >&6
5287 if test -n "$BISON"; then
5288 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5294 test -z "$as_dir" && as_dir
=.
5295 for ac_exec_ext
in '' $ac_executable_extensions; do
5296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5297 ac_cv_prog_BISON
="$ac_prog"
5298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5307 BISON
=$ac_cv_prog_BISON
5308 if test -n "$BISON"; then
5309 { echo "$as_me:$LINENO: result: $BISON" >&5
5310 echo "${ECHO_T}$BISON" >&6; }
5312 { echo "$as_me:$LINENO: result: no" >&5
5313 echo "${ECHO_T}no" >&6; }
5317 test -n "$BISON" && break
5319 test -n "$BISON" || BISON
="none"
5321 if test "$BISON" = "none"
5323 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5324 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5325 { (exit 1); exit 1; }; }
5328 if test -n "$ac_tool_prefix"; then
5329 for ac_prog
in gas as
5331 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5332 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5333 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5335 if test "${ac_cv_prog_AS+set}" = set; then
5336 echo $ECHO_N "(cached) $ECHO_C" >&6
5338 if test -n "$AS"; then
5339 ac_cv_prog_AS
="$AS" # Let the user override the test.
5341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5345 test -z "$as_dir" && as_dir
=.
5346 for ac_exec_ext
in '' $ac_executable_extensions; do
5347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5348 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5359 if test -n "$AS"; then
5360 { echo "$as_me:$LINENO: result: $AS" >&5
5361 echo "${ECHO_T}$AS" >&6; }
5363 { echo "$as_me:$LINENO: result: no" >&5
5364 echo "${ECHO_T}no" >&6; }
5368 test -n "$AS" && break
5371 if test -z "$AS"; then
5373 for ac_prog
in gas as
5375 # Extract the first word of "$ac_prog", so it can be a program name with args.
5376 set dummy
$ac_prog; ac_word
=$2
5377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5379 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5380 echo $ECHO_N "(cached) $ECHO_C" >&6
5382 if test -n "$ac_ct_AS"; then
5383 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5389 test -z "$as_dir" && as_dir
=.
5390 for ac_exec_ext
in '' $ac_executable_extensions; do
5391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5392 ac_cv_prog_ac_ct_AS
="$ac_prog"
5393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5402 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5403 if test -n "$ac_ct_AS"; then
5404 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5405 echo "${ECHO_T}$ac_ct_AS" >&6; }
5407 { echo "$as_me:$LINENO: result: no" >&5
5408 echo "${ECHO_T}no" >&6; }
5412 test -n "$ac_ct_AS" && break
5415 if test "x$ac_ct_AS" = x
; then
5418 case $cross_compiling:$ac_tool_warned in
5420 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5421 whose name does not start with the host triplet. If you think this
5422 configuration is useful to you, please write to autoconf@gnu.org." >&5
5423 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5424 whose name does not start with the host triplet. If you think this
5425 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5426 ac_tool_warned
=yes ;;
5432 if test -n "$ac_tool_prefix"; then
5433 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5434 set dummy
${ac_tool_prefix}ld
; 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_LD+set}" = set; then
5438 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 if test -n "$LD"; then
5441 ac_cv_prog_LD
="$LD" # 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_LD
="${ac_tool_prefix}ld"
5451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 if test -n "$LD"; then
5462 { echo "$as_me:$LINENO: result: $LD" >&5
5463 echo "${ECHO_T}$LD" >&6; }
5465 { echo "$as_me:$LINENO: result: no" >&5
5466 echo "${ECHO_T}no" >&6; }
5471 if test -z "$ac_cv_prog_LD"; then
5473 # Extract the first word of "ld", so it can be a program name with args.
5474 set dummy ld
; ac_word
=$2
5475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5477 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5478 echo $ECHO_N "(cached) $ECHO_C" >&6
5480 if test -n "$ac_ct_LD"; then
5481 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5487 test -z "$as_dir" && as_dir
=.
5488 for ac_exec_ext
in '' $ac_executable_extensions; do
5489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5490 ac_cv_prog_ac_ct_LD
="ld"
5491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5500 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5501 if test -n "$ac_ct_LD"; then
5502 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5503 echo "${ECHO_T}$ac_ct_LD" >&6; }
5505 { echo "$as_me:$LINENO: result: no" >&5
5506 echo "${ECHO_T}no" >&6; }
5509 if test "x$ac_ct_LD" = x
; then
5512 case $cross_compiling:$ac_tool_warned in
5514 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5515 whose name does not start with the host triplet. If you think this
5516 configuration is useful to you, please write to autoconf@gnu.org." >&5
5517 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5518 whose name does not start with the host triplet. If you think this
5519 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5520 ac_tool_warned
=yes ;;
5528 if test -n "$ac_tool_prefix"; then
5529 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5530 set dummy
${ac_tool_prefix}ar; 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_AR+set}" = set; then
5534 echo $ECHO_N "(cached) $ECHO_C" >&6
5536 if test -n "$AR"; then
5537 ac_cv_prog_AR
="$AR" # 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_AR
="${ac_tool_prefix}ar"
5547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5557 if test -n "$AR"; then
5558 { echo "$as_me:$LINENO: result: $AR" >&5
5559 echo "${ECHO_T}$AR" >&6; }
5561 { echo "$as_me:$LINENO: result: no" >&5
5562 echo "${ECHO_T}no" >&6; }
5567 if test -z "$ac_cv_prog_AR"; then
5569 # Extract the first word of "ar", so it can be a program name with args.
5570 set dummy
ar; ac_word
=$2
5571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5573 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5574 echo $ECHO_N "(cached) $ECHO_C" >&6
5576 if test -n "$ac_ct_AR"; then
5577 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5583 test -z "$as_dir" && as_dir
=.
5584 for ac_exec_ext
in '' $ac_executable_extensions; do
5585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5586 ac_cv_prog_ac_ct_AR
="ar"
5587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5596 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5597 if test -n "$ac_ct_AR"; then
5598 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5599 echo "${ECHO_T}$ac_ct_AR" >&6; }
5601 { echo "$as_me:$LINENO: result: no" >&5
5602 echo "${ECHO_T}no" >&6; }
5605 if test "x$ac_ct_AR" = x
; then
5608 case $cross_compiling:$ac_tool_warned in
5610 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5611 whose name does not start with the host triplet. If you think this
5612 configuration is useful to you, please write to autoconf@gnu.org." >&5
5613 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5614 whose name does not start with the host triplet. If you think this
5615 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5616 ac_tool_warned
=yes ;;
5624 if test -n "$ac_tool_prefix"; then
5625 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5626 set dummy
${ac_tool_prefix}ranlib
; 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_RANLIB+set}" = set; then
5630 echo $ECHO_N "(cached) $ECHO_C" >&6
5632 if test -n "$RANLIB"; then
5633 ac_cv_prog_RANLIB
="$RANLIB" # 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_RANLIB
="${ac_tool_prefix}ranlib"
5643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5652 RANLIB
=$ac_cv_prog_RANLIB
5653 if test -n "$RANLIB"; then
5654 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5655 echo "${ECHO_T}$RANLIB" >&6; }
5657 { echo "$as_me:$LINENO: result: no" >&5
5658 echo "${ECHO_T}no" >&6; }
5663 if test -z "$ac_cv_prog_RANLIB"; then
5664 ac_ct_RANLIB
=$RANLIB
5665 # Extract the first word of "ranlib", so it can be a program name with args.
5666 set dummy ranlib
; ac_word
=$2
5667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5669 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5670 echo $ECHO_N "(cached) $ECHO_C" >&6
5672 if test -n "$ac_ct_RANLIB"; then
5673 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5679 test -z "$as_dir" && as_dir
=.
5680 for ac_exec_ext
in '' $ac_executable_extensions; do
5681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5682 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5692 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5693 if test -n "$ac_ct_RANLIB"; then
5694 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5695 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5697 { echo "$as_me:$LINENO: result: no" >&5
5698 echo "${ECHO_T}no" >&6; }
5701 if test "x$ac_ct_RANLIB" = x
; then
5704 case $cross_compiling:$ac_tool_warned in
5706 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5707 whose name does not start with the host triplet. If you think this
5708 configuration is useful to you, please write to autoconf@gnu.org." >&5
5709 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5710 whose name does not start with the host triplet. If you think this
5711 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5712 ac_tool_warned
=yes ;;
5714 RANLIB
=$ac_ct_RANLIB
5717 RANLIB
="$ac_cv_prog_RANLIB"
5720 if test -n "$ac_tool_prefix"; then
5721 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5722 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5723 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5725 if test "${ac_cv_prog_STRIP+set}" = set; then
5726 echo $ECHO_N "(cached) $ECHO_C" >&6
5728 if test -n "$STRIP"; then
5729 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5735 test -z "$as_dir" && as_dir
=.
5736 for ac_exec_ext
in '' $ac_executable_extensions; do
5737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5738 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5748 STRIP
=$ac_cv_prog_STRIP
5749 if test -n "$STRIP"; then
5750 { echo "$as_me:$LINENO: result: $STRIP" >&5
5751 echo "${ECHO_T}$STRIP" >&6; }
5753 { echo "$as_me:$LINENO: result: no" >&5
5754 echo "${ECHO_T}no" >&6; }
5759 if test -z "$ac_cv_prog_STRIP"; then
5761 # Extract the first word of "strip", so it can be a program name with args.
5762 set dummy strip
; ac_word
=$2
5763 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5765 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5766 echo $ECHO_N "(cached) $ECHO_C" >&6
5768 if test -n "$ac_ct_STRIP"; then
5769 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5775 test -z "$as_dir" && as_dir
=.
5776 for ac_exec_ext
in '' $ac_executable_extensions; do
5777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5778 ac_cv_prog_ac_ct_STRIP
="strip"
5779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5788 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5789 if test -n "$ac_ct_STRIP"; then
5790 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5791 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5793 { echo "$as_me:$LINENO: result: no" >&5
5794 echo "${ECHO_T}no" >&6; }
5797 if test "x$ac_ct_STRIP" = x
; then
5800 case $cross_compiling:$ac_tool_warned in
5802 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5803 whose name does not start with the host triplet. If you think this
5804 configuration is useful to you, please write to autoconf@gnu.org." >&5
5805 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5806 whose name does not start with the host triplet. If you think this
5807 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5808 ac_tool_warned
=yes ;;
5813 STRIP
="$ac_cv_prog_STRIP"
5816 if test -n "$ac_tool_prefix"; then
5817 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5818 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5821 if test "${ac_cv_prog_WINDRES+set}" = set; then
5822 echo $ECHO_N "(cached) $ECHO_C" >&6
5824 if test -n "$WINDRES"; then
5825 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5831 test -z "$as_dir" && as_dir
=.
5832 for ac_exec_ext
in '' $ac_executable_extensions; do
5833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5834 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5844 WINDRES
=$ac_cv_prog_WINDRES
5845 if test -n "$WINDRES"; then
5846 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5847 echo "${ECHO_T}$WINDRES" >&6; }
5849 { echo "$as_me:$LINENO: result: no" >&5
5850 echo "${ECHO_T}no" >&6; }
5855 if test -z "$ac_cv_prog_WINDRES"; then
5856 ac_ct_WINDRES
=$WINDRES
5857 # Extract the first word of "windres", so it can be a program name with args.
5858 set dummy windres
; ac_word
=$2
5859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5861 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5862 echo $ECHO_N "(cached) $ECHO_C" >&6
5864 if test -n "$ac_ct_WINDRES"; then
5865 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5871 test -z "$as_dir" && as_dir
=.
5872 for ac_exec_ext
in '' $ac_executable_extensions; do
5873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5874 ac_cv_prog_ac_ct_WINDRES
="windres"
5875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5884 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5885 if test -n "$ac_ct_WINDRES"; then
5886 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5887 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5889 { echo "$as_me:$LINENO: result: no" >&5
5890 echo "${ECHO_T}no" >&6; }
5893 if test "x$ac_ct_WINDRES" = x
; then
5896 case $cross_compiling:$ac_tool_warned in
5898 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5899 whose name does not start with the host triplet. If you think this
5900 configuration is useful to you, please write to autoconf@gnu.org." >&5
5901 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5902 whose name does not start with the host triplet. If you think this
5903 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5904 ac_tool_warned
=yes ;;
5906 WINDRES
=$ac_ct_WINDRES
5909 WINDRES
="$ac_cv_prog_WINDRES"
5912 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5913 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5915 if test "$LN_S" = "ln -s"; then
5916 { echo "$as_me:$LINENO: result: yes" >&5
5917 echo "${ECHO_T}yes" >&6; }
5919 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5920 echo "${ECHO_T}no, using $LN_S" >&6; }
5923 { echo "$as_me:$LINENO: checking whether ln works" >&5
5924 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5925 rm -f conf$$ conf$$.
file
5927 if ln conf$$.
file conf$$
2>/dev
/null
; then
5930 { echo "$as_me:$LINENO: result: yes" >&5
5931 echo "${ECHO_T}yes" >&6; }
5935 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5936 echo "${ECHO_T}no, using $LN" >&6; }
5938 rm -f conf$$ conf$$.
file
5939 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5940 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5941 if test "${ac_cv_path_GREP+set}" = set; then
5942 echo $ECHO_N "(cached) $ECHO_C" >&6
5944 # Extract the first word of "grep ggrep" to use in msg output
5945 if test -z "$GREP"; then
5946 set dummy
grep ggrep
; ac_prog_name
=$2
5947 if test "${ac_cv_path_GREP+set}" = set; then
5948 echo $ECHO_N "(cached) $ECHO_C" >&6
5950 ac_path_GREP_found
=false
5951 # Loop through the user's path and test for each of PROGNAME-LIST
5952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5953 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5956 test -z "$as_dir" && as_dir
=.
5957 for ac_prog
in grep ggrep
; do
5958 for ac_exec_ext
in '' $ac_executable_extensions; do
5959 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5960 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5961 # Check for GNU ac_path_GREP and select it if it is found.
5962 # Check for GNU $ac_path_GREP
5963 case `"$ac_path_GREP" --version 2>&1` in
5965 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5968 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5971 cat "conftest.in" "conftest.in" >"conftest.tmp"
5972 mv "conftest.tmp" "conftest.in"
5973 cp "conftest.in" "conftest.nl"
5974 echo 'GREP' >> "conftest.nl"
5975 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5976 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5977 ac_count
=`expr $ac_count + 1`
5978 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5979 # Best one so far, save it but keep looking for a better one
5980 ac_cv_path_GREP
="$ac_path_GREP"
5981 ac_path_GREP_max
=$ac_count
5983 # 10*(2^10) chars as input seems more than enough
5984 test $ac_count -gt 10 && break
5986 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5990 $ac_path_GREP_found && break 3
6000 GREP
="$ac_cv_path_GREP"
6001 if test -z "$GREP"; then
6002 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6003 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6004 { (exit 1); exit 1; }; }
6008 ac_cv_path_GREP
=$GREP
6013 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6014 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6015 GREP
="$ac_cv_path_GREP"
6018 { echo "$as_me:$LINENO: checking for egrep" >&5
6019 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6020 if test "${ac_cv_path_EGREP+set}" = set; then
6021 echo $ECHO_N "(cached) $ECHO_C" >&6
6023 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6024 then ac_cv_path_EGREP
="$GREP -E"
6026 # Extract the first word of "egrep" to use in msg output
6027 if test -z "$EGREP"; then
6028 set dummy
egrep; ac_prog_name
=$2
6029 if test "${ac_cv_path_EGREP+set}" = set; then
6030 echo $ECHO_N "(cached) $ECHO_C" >&6
6032 ac_path_EGREP_found
=false
6033 # Loop through the user's path and test for each of PROGNAME-LIST
6034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6035 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6038 test -z "$as_dir" && as_dir
=.
6039 for ac_prog
in egrep; do
6040 for ac_exec_ext
in '' $ac_executable_extensions; do
6041 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6042 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6043 # Check for GNU ac_path_EGREP and select it if it is found.
6044 # Check for GNU $ac_path_EGREP
6045 case `"$ac_path_EGREP" --version 2>&1` in
6047 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6050 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6053 cat "conftest.in" "conftest.in" >"conftest.tmp"
6054 mv "conftest.tmp" "conftest.in"
6055 cp "conftest.in" "conftest.nl"
6056 echo 'EGREP' >> "conftest.nl"
6057 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6058 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6059 ac_count
=`expr $ac_count + 1`
6060 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6061 # Best one so far, save it but keep looking for a better one
6062 ac_cv_path_EGREP
="$ac_path_EGREP"
6063 ac_path_EGREP_max
=$ac_count
6065 # 10*(2^10) chars as input seems more than enough
6066 test $ac_count -gt 10 && break
6068 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6072 $ac_path_EGREP_found && break 3
6082 EGREP
="$ac_cv_path_EGREP"
6083 if test -z "$EGREP"; then
6084 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6085 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6086 { (exit 1); exit 1; }; }
6090 ac_cv_path_EGREP
=$EGREP
6096 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6097 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6098 EGREP
="$ac_cv_path_EGREP"
6101 # Extract the first word of "ldconfig", so it can be a program name with args.
6102 set dummy ldconfig
; ac_word
=$2
6103 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6105 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6106 echo $ECHO_N "(cached) $ECHO_C" >&6
6110 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6114 for as_dir
in /sbin
/usr
/sbin
$PATH
6117 test -z "$as_dir" && as_dir
=.
6118 for ac_exec_ext
in '' $ac_executable_extensions; do
6119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6120 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6128 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6132 LDCONFIG
=$ac_cv_path_LDCONFIG
6133 if test -n "$LDCONFIG"; then
6134 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6135 echo "${ECHO_T}$LDCONFIG" >&6; }
6137 { echo "$as_me:$LINENO: result: no" >&5
6138 echo "${ECHO_T}no" >&6; }
6142 # Find a good install program. We prefer a C program (faster),
6143 # so one script is as good as another. But avoid the broken or
6144 # incompatible versions:
6145 # SysV /etc/install, /usr/sbin/install
6146 # SunOS /usr/etc/install
6147 # IRIX /sbin/install
6149 # AmigaOS /C/install, which installs bootblocks on floppy discs
6150 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6151 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6152 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6153 # OS/2's system install, which has a completely different semantic
6154 # ./install, which can be erroneously created by make from ./install.sh.
6155 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6156 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6157 if test -z "$INSTALL"; then
6158 if test "${ac_cv_path_install+set}" = set; then
6159 echo $ECHO_N "(cached) $ECHO_C" >&6
6161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6165 test -z "$as_dir" && as_dir
=.
6166 # Account for people who put trailing slashes in PATH elements.
6168 .
/ | .
// |
/cC
/* | \
6169 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6170 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6173 # OSF1 and SCO ODT 3.0 have their own names for install.
6174 # Don't use installbsd from OSF since it installs stuff as root
6176 for ac_prog
in ginstall scoinst
install; do
6177 for ac_exec_ext
in '' $ac_executable_extensions; do
6178 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6179 if test $ac_prog = install &&
6180 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6181 # AIX install. It has an incompatible calling convention.
6183 elif test $ac_prog = install &&
6184 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6185 # program-specific install script used by HP pwplus--don't use.
6188 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6201 if test "${ac_cv_path_install+set}" = set; then
6202 INSTALL
=$ac_cv_path_install
6204 # As a last resort, use the slow shell script. Don't cache a
6205 # value for INSTALL within a source directory, because that will
6206 # break other packages using the cache if that directory is
6207 # removed, or if the value is a relative name.
6208 INSTALL
=$ac_install_sh
6211 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6212 echo "${ECHO_T}$INSTALL" >&6; }
6214 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6215 # It thinks the first close brace ends the variable substitution.
6216 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6218 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6220 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6223 [\\/$
]* | ?
:[\\/]* ) ;;
6224 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6227 for ac_prog
in lclint lint
6229 # Extract the first word of "$ac_prog", so it can be a program name with args.
6230 set dummy
$ac_prog; ac_word
=$2
6231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6233 if test "${ac_cv_prog_LINT+set}" = set; then
6234 echo $ECHO_N "(cached) $ECHO_C" >&6
6236 if test -n "$LINT"; then
6237 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6243 test -z "$as_dir" && as_dir
=.
6244 for ac_exec_ext
in '' $ac_executable_extensions; do
6245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6246 ac_cv_prog_LINT
="$ac_prog"
6247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6256 LINT
=$ac_cv_prog_LINT
6257 if test -n "$LINT"; then
6258 { echo "$as_me:$LINENO: result: $LINT" >&5
6259 echo "${ECHO_T}$LINT" >&6; }
6261 { echo "$as_me:$LINENO: result: no" >&5
6262 echo "${ECHO_T}no" >&6; }
6266 test -n "$LINT" && break
6269 if test "$LINT" = "lint"
6271 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6276 for ac_prog
in fontforge
6278 # Extract the first word of "$ac_prog", so it can be a program name with args.
6279 set dummy
$ac_prog; ac_word
=$2
6280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6282 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6283 echo $ECHO_N "(cached) $ECHO_C" >&6
6285 if test -n "$FONTFORGE"; then
6286 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6292 test -z "$as_dir" && as_dir
=.
6293 for ac_exec_ext
in '' $ac_executable_extensions; do
6294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6295 ac_cv_prog_FONTFORGE
="$ac_prog"
6296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6305 FONTFORGE
=$ac_cv_prog_FONTFORGE
6306 if test -n "$FONTFORGE"; then
6307 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6308 echo "${ECHO_T}$FONTFORGE" >&6; }
6310 { echo "$as_me:$LINENO: result: no" >&5
6311 echo "${ECHO_T}no" >&6; }
6315 test -n "$FONTFORGE" && break
6317 test -n "$FONTFORGE" || FONTFORGE
="false"
6319 for ac_prog
in pkg-config
6321 # Extract the first word of "$ac_prog", so it can be a program name with args.
6322 set dummy
$ac_prog; ac_word
=$2
6323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6325 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6326 echo $ECHO_N "(cached) $ECHO_C" >&6
6328 if test -n "$PKG_CONFIG"; then
6329 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6335 test -z "$as_dir" && as_dir
=.
6336 for ac_exec_ext
in '' $ac_executable_extensions; do
6337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6338 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6348 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6349 if test -n "$PKG_CONFIG"; then
6350 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6351 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6353 { echo "$as_me:$LINENO: result: no" >&5
6354 echo "${ECHO_T}no" >&6; }
6358 test -n "$PKG_CONFIG" && break
6360 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6365 # Extract the first word of "prelink", so it can be a program name with args.
6366 set dummy prelink
; ac_word
=$2
6367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6369 if test "${ac_cv_path_PRELINK+set}" = set; then
6370 echo $ECHO_N "(cached) $ECHO_C" >&6
6374 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6378 for as_dir
in /sbin
/usr
/sbin
$PATH
6381 test -z "$as_dir" && as_dir
=.
6382 for ac_exec_ext
in '' $ac_executable_extensions; do
6383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6384 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6392 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6396 PRELINK
=$ac_cv_path_PRELINK
6397 if test -n "$PRELINK"; then
6398 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6399 echo "${ECHO_T}$PRELINK" >&6; }
6401 { echo "$as_me:$LINENO: result: no" >&5
6402 echo "${ECHO_T}no" >&6; }
6411 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6412 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6413 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6414 echo $ECHO_N "(cached) $ECHO_C" >&6
6416 ac_check_lib_save_LIBS
=$LIBS
6418 cat >conftest.
$ac_ext <<_ACEOF
6421 cat confdefs.h
>>conftest.
$ac_ext
6422 cat >>conftest.
$ac_ext <<_ACEOF
6423 /* end confdefs.h. */
6425 /* Override any GCC internal prototype to avoid an error.
6426 Use char because int might match the return type of a GCC
6427 builtin and then its argument prototype would still apply. */
6431 char i386_set_ldt ();
6435 return i386_set_ldt ();
6440 rm -f conftest.
$ac_objext conftest
$ac_exeext
6441 if { (ac_try
="$ac_link"
6443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6444 *) ac_try_echo=$ac_try;;
6446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6447 (eval "$ac_link") 2>conftest.er1
6449 grep -v '^ *+' conftest.er1 >conftest.err
6451 cat conftest.err >&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); } && {
6454 test -z "$ac_c_werror_flag" ||
6455 test ! -s conftest.err
6456 } && test -s conftest$ac_exeext &&
6457 $as_test_x conftest$ac_exeext; then
6458 ac_cv_lib_i386_i386_set_ldt=yes
6460 echo "$as_me: failed program was:" >&5
6461 sed 's/^/| /' conftest.$ac_ext >&5
6463 ac_cv_lib_i386_i386_set_ldt=no
6466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6467 conftest$ac_exeext conftest.$ac_ext
6468 LIBS=$ac_check_lib_save_LIBS
6470 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6471 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6472 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6473 cat >>confdefs.h <<_ACEOF
6474 #define HAVE_LIBI386 1
6482 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6483 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6484 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6485 echo $ECHO_N "(cached) $ECHO_C" >&6
6487 ac_check_lib_save_LIBS=$LIBS
6488 LIBS="-lossaudio $LIBS"
6489 cat >conftest.$ac_ext <<_ACEOF
6492 cat confdefs.h >>conftest.$ac_ext
6493 cat >>conftest.$ac_ext <<_ACEOF
6494 /* end confdefs.h. */
6496 /* Override any GCC internal prototype to avoid an error.
6497 Use char because int might match the return type of a GCC
6498 builtin and then its argument prototype would still apply. */
6506 return _oss_ioctl ();
6511 rm -f conftest.$ac_objext conftest$ac_exeext
6512 if { (ac_try="$ac_link"
6514 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6515 *) ac_try_echo
=$ac_try;;
6517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6518 (eval "$ac_link") 2>conftest.er1
6520 grep -v '^ *+' conftest.er1
>conftest.err
6522 cat conftest.err
>&5
6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); } && {
6525 test -z "$ac_c_werror_flag" ||
6526 test ! -s conftest.err
6527 } && test -s conftest
$ac_exeext &&
6528 $as_test_x conftest
$ac_exeext; then
6529 ac_cv_lib_ossaudio__oss_ioctl
=yes
6531 echo "$as_me: failed program was:" >&5
6532 sed 's/^/| /' conftest.
$ac_ext >&5
6534 ac_cv_lib_ossaudio__oss_ioctl
=no
6537 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6538 conftest
$ac_exeext conftest.
$ac_ext
6539 LIBS
=$ac_check_lib_save_LIBS
6541 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6542 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6543 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6544 cat >>confdefs.h
<<_ACEOF
6545 #define HAVE_LIBOSSAUDIO 1
6548 LIBS
="-lossaudio $LIBS"
6552 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6553 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6554 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6555 echo $ECHO_N "(cached) $ECHO_C" >&6
6557 ac_check_lib_save_LIBS
=$LIBS
6558 LIBS
="-lpthread $LIBS"
6559 cat >conftest.
$ac_ext <<_ACEOF
6562 cat confdefs.h
>>conftest.
$ac_ext
6563 cat >>conftest.
$ac_ext <<_ACEOF
6564 /* end confdefs.h. */
6566 /* Override any GCC internal prototype to avoid an error.
6567 Use char because int might match the return type of a GCC
6568 builtin and then its argument prototype would still apply. */
6572 char pthread_create ();
6576 return pthread_create ();
6581 rm -f conftest.
$ac_objext conftest
$ac_exeext
6582 if { (ac_try
="$ac_link"
6584 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6585 *) ac_try_echo=$ac_try;;
6587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6588 (eval "$ac_link") 2>conftest.er1
6590 grep -v '^ *+' conftest.er1 >conftest.err
6592 cat conftest.err >&5
6593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6594 (exit $ac_status); } && {
6595 test -z "$ac_c_werror_flag" ||
6596 test ! -s conftest.err
6597 } && test -s conftest$ac_exeext &&
6598 $as_test_x conftest$ac_exeext; then
6599 ac_cv_lib_pthread_pthread_create=yes
6601 echo "$as_me: failed program was:" >&5
6602 sed 's/^/| /' conftest.$ac_ext >&5
6604 ac_cv_lib_pthread_pthread_create=no
6607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6608 conftest$ac_exeext conftest.$ac_ext
6609 LIBS=$ac_check_lib_save_LIBS
6611 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6612 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6613 if test $ac_cv_lib_pthread_pthread_create = yes; then
6614 LIBPTHREAD="-lpthread"
6633 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6634 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6635 if test "${ac_cv_header_stdc+set}" = set; then
6636 echo $ECHO_N "(cached) $ECHO_C" >&6
6638 cat >conftest.$ac_ext <<_ACEOF
6641 cat confdefs.h >>conftest.$ac_ext
6642 cat >>conftest.$ac_ext <<_ACEOF
6643 /* end confdefs.h. */
6657 rm -f conftest.$ac_objext
6658 if { (ac_try="$ac_compile"
6660 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6661 *) ac_try_echo
=$ac_try;;
6663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6664 (eval "$ac_compile") 2>conftest.er1
6666 grep -v '^ *+' conftest.er1
>conftest.err
6668 cat conftest.err
>&5
6669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670 (exit $ac_status); } && {
6671 test -z "$ac_c_werror_flag" ||
6672 test ! -s conftest.err
6673 } && test -s conftest.
$ac_objext; then
6674 ac_cv_header_stdc
=yes
6676 echo "$as_me: failed program was:" >&5
6677 sed 's/^/| /' conftest.
$ac_ext >&5
6679 ac_cv_header_stdc
=no
6682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6684 if test $ac_cv_header_stdc = yes; then
6685 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6686 cat >conftest.
$ac_ext <<_ACEOF
6689 cat confdefs.h
>>conftest.
$ac_ext
6690 cat >>conftest.
$ac_ext <<_ACEOF
6691 /* end confdefs.h. */
6695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6696 $EGREP "memchr" >/dev
/null
2>&1; then
6699 ac_cv_header_stdc
=no
6705 if test $ac_cv_header_stdc = yes; then
6706 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6707 cat >conftest.
$ac_ext <<_ACEOF
6710 cat confdefs.h
>>conftest.
$ac_ext
6711 cat >>conftest.
$ac_ext <<_ACEOF
6712 /* end confdefs.h. */
6716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6717 $EGREP "free" >/dev
/null
2>&1; then
6720 ac_cv_header_stdc
=no
6726 if test $ac_cv_header_stdc = yes; then
6727 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6728 if test "$cross_compiling" = yes; then
6731 cat >conftest.
$ac_ext <<_ACEOF
6734 cat confdefs.h
>>conftest.
$ac_ext
6735 cat >>conftest.
$ac_ext <<_ACEOF
6736 /* end confdefs.h. */
6739 #if ((' ' & 0x0FF) == 0x020)
6740 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6741 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6743 # define ISLOWER(c) \
6744 (('a' <= (c) && (c) <= 'i') \
6745 || ('j' <= (c) && (c) <= 'r') \
6746 || ('s' <= (c) && (c) <= 'z'))
6747 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6750 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6755 for (i = 0; i < 256; i++)
6756 if (XOR (islower (i), ISLOWER (i))
6757 || toupper (i) != TOUPPER (i))
6762 rm -f conftest
$ac_exeext
6763 if { (ac_try
="$ac_link"
6765 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6766 *) ac_try_echo=$ac_try;;
6768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6769 (eval "$ac_link") 2>&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6773 { (case "(($ac_try" in
6774 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6775 *) ac_try_echo
=$ac_try;;
6777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6778 (eval "$ac_try") 2>&5
6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); }; }; then
6784 echo "$as_me: program exited with status $ac_status" >&5
6785 echo "$as_me: failed program was:" >&5
6786 sed 's/^/| /' conftest.
$ac_ext >&5
6789 ac_cv_header_stdc
=no
6791 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6797 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6798 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6799 if test $ac_cv_header_stdc = yes; then
6801 cat >>confdefs.h
<<\_ACEOF
6802 #define STDC_HEADERS 1
6807 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6817 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6818 inttypes.h stdint.h unistd.h
6820 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6821 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6823 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6824 echo $ECHO_N "(cached) $ECHO_C" >&6
6826 cat >conftest.
$ac_ext <<_ACEOF
6829 cat confdefs.h
>>conftest.
$ac_ext
6830 cat >>conftest.
$ac_ext <<_ACEOF
6831 /* end confdefs.h. */
6832 $ac_includes_default
6834 #include <$ac_header>
6836 rm -f conftest.
$ac_objext
6837 if { (ac_try
="$ac_compile"
6839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6840 *) ac_try_echo=$ac_try;;
6842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6843 (eval "$ac_compile") 2>conftest.er1
6845 grep -v '^ *+' conftest.er1 >conftest.err
6847 cat conftest.err >&5
6848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6849 (exit $ac_status); } && {
6850 test -z "$ac_c_werror_flag" ||
6851 test ! -s conftest.err
6852 } && test -s conftest.$ac_objext; then
6853 eval "$as_ac_Header=yes"
6855 echo "$as_me: failed program was:" >&5
6856 sed 's/^/| /' conftest.$ac_ext >&5
6858 eval "$as_ac_Header=no"
6861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6863 ac_res=`eval echo '${'$as_ac_Header'}'`
6864 { echo "$as_me:$LINENO: result: $ac_res" >&5
6865 echo "${ECHO_T}$ac_res" >&6; }
6866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6867 cat >>confdefs.h <<_ACEOF
6868 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6987 AudioUnit/AudioUnit.h \
6989 CoreAudio/CoreAudio.h \
6990 DiskArbitration/DiskArbitration.h \
7003 fontconfig/fontconfig.h \
7029 machine/soundcard.h \
7034 netinet/in_systm.h \
7099 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7100 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7101 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7103 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7104 echo $ECHO_N "(cached) $ECHO_C" >&6
7106 ac_res=`eval echo '${'$as_ac_Header'}'`
7107 { echo "$as_me:$LINENO: result: $ac_res" >&5
7108 echo "${ECHO_T}$ac_res" >&6; }
7110 # Is the header compilable?
7111 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7112 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7113 cat >conftest.$ac_ext <<_ACEOF
7116 cat confdefs.h >>conftest.$ac_ext
7117 cat >>conftest.$ac_ext <<_ACEOF
7118 /* end confdefs.h. */
7119 $ac_includes_default
7120 #include <$ac_header>
7122 rm -f conftest.$ac_objext
7123 if { (ac_try="$ac_compile"
7125 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7126 *) ac_try_echo
=$ac_try;;
7128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7129 (eval "$ac_compile") 2>conftest.er1
7131 grep -v '^ *+' conftest.er1
>conftest.err
7133 cat conftest.err
>&5
7134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135 (exit $ac_status); } && {
7136 test -z "$ac_c_werror_flag" ||
7137 test ! -s conftest.err
7138 } && test -s conftest.
$ac_objext; then
7139 ac_header_compiler
=yes
7141 echo "$as_me: failed program was:" >&5
7142 sed 's/^/| /' conftest.
$ac_ext >&5
7144 ac_header_compiler
=no
7147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7148 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7149 echo "${ECHO_T}$ac_header_compiler" >&6; }
7151 # Is the header present?
7152 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7153 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7154 cat >conftest.
$ac_ext <<_ACEOF
7157 cat confdefs.h
>>conftest.
$ac_ext
7158 cat >>conftest.
$ac_ext <<_ACEOF
7159 /* end confdefs.h. */
7160 #include <$ac_header>
7162 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7164 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7165 *) ac_try_echo=$ac_try;;
7167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7168 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7170 grep -v '^ *+' conftest.er1 >conftest.err
7172 cat conftest.err >&5
7173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7174 (exit $ac_status); } >/dev/null && {
7175 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7176 test ! -s conftest.err
7178 ac_header_preproc=yes
7180 echo "$as_me: failed program was:" >&5
7181 sed 's/^/| /' conftest.$ac_ext >&5
7183 ac_header_preproc=no
7186 rm -f conftest.err conftest.$ac_ext
7187 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7188 echo "${ECHO_T}$ac_header_preproc" >&6; }
7190 # So? What about this header?
7191 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7193 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7194 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7196 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7197 ac_header_preproc=yes
7200 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7202 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7203 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7204 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7205 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7206 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7207 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7209 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7210 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7211 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7213 ## ------------------------------------ ##
7214 ## Report this to wine-devel@winehq.org ##
7215 ## ------------------------------------ ##
7217 ) | sed "s/^/$as_me: WARNING: /" >&2
7220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7223 echo $ECHO_N "(cached) $ECHO_C" >&6
7225 eval "$as_ac_Header=\$ac_header_preproc"
7227 ac_res=`eval echo '${'$as_ac_Header'}'`
7228 { echo "$as_me:$LINENO: result: $ac_res" >&5
7229 echo "${ECHO_T}$ac_res" >&6; }
7232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7233 cat >>confdefs.h <<_ACEOF
7234 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7241 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7242 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7243 if test "${ac_cv_header_stat_broken+set}" = set; then
7244 echo $ECHO_N "(cached) $ECHO_C" >&6
7246 cat >conftest.$ac_ext <<_ACEOF
7249 cat confdefs.h >>conftest.$ac_ext
7250 cat >>conftest.$ac_ext <<_ACEOF
7251 /* end confdefs.h. */
7252 #include <sys/types.h>
7253 #include <sys/stat.h>
7255 #if defined S_ISBLK && defined S_IFDIR
7256 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7259 #if defined S_ISBLK && defined S_IFCHR
7260 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7263 #if defined S_ISLNK && defined S_IFREG
7264 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7267 #if defined S_ISSOCK && defined S_IFREG
7268 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7272 rm -f conftest.$ac_objext
7273 if { (ac_try="$ac_compile"
7275 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7276 *) ac_try_echo
=$ac_try;;
7278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7279 (eval "$ac_compile") 2>conftest.er1
7281 grep -v '^ *+' conftest.er1
>conftest.err
7283 cat conftest.err
>&5
7284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285 (exit $ac_status); } && {
7286 test -z "$ac_c_werror_flag" ||
7287 test ! -s conftest.err
7288 } && test -s conftest.
$ac_objext; then
7289 ac_cv_header_stat_broken
=no
7291 echo "$as_me: failed program was:" >&5
7292 sed 's/^/| /' conftest.
$ac_ext >&5
7294 ac_cv_header_stat_broken
=yes
7297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7299 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7300 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7301 if test $ac_cv_header_stat_broken = yes; then
7303 cat >>confdefs.h
<<\_ACEOF
7304 #define STAT_MACROS_BROKEN 1
7315 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7317 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7318 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7320 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7321 echo $ECHO_N "(cached) $ECHO_C" >&6
7323 cat >conftest.
$ac_ext <<_ACEOF
7326 cat confdefs.h
>>conftest.
$ac_ext
7327 cat >>conftest.
$ac_ext <<_ACEOF
7328 /* end confdefs.h. */
7329 #include <sys/types.h>
7330 #if HAVE_SYS_PARAM_H
7331 # include <sys/param.h>
7334 #include <$ac_header>
7336 rm -f conftest.
$ac_objext
7337 if { (ac_try
="$ac_compile"
7339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7340 *) ac_try_echo=$ac_try;;
7342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7343 (eval "$ac_compile") 2>conftest.er1
7345 grep -v '^ *+' conftest.er1 >conftest.err
7347 cat conftest.err >&5
7348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7349 (exit $ac_status); } && {
7350 test -z "$ac_c_werror_flag" ||
7351 test ! -s conftest.err
7352 } && test -s conftest.$ac_objext; then
7353 eval "$as_ac_Header=yes"
7355 echo "$as_me: failed program was:" >&5
7356 sed 's/^/| /' conftest.$ac_ext >&5
7358 eval "$as_ac_Header=no"
7361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7363 ac_res=`eval echo '${'$as_ac_Header'}'`
7364 { echo "$as_me:$LINENO: result: $ac_res" >&5
7365 echo "${ECHO_T}$ac_res" >&6; }
7366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7367 cat >>confdefs.h <<_ACEOF
7368 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7384 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
7386 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7387 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7389 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7390 echo $ECHO_N "(cached) $ECHO_C" >&6
7392 cat >conftest.$ac_ext <<_ACEOF
7395 cat confdefs.h >>conftest.$ac_ext
7396 cat >>conftest.$ac_ext <<_ACEOF
7397 /* end confdefs.h. */
7398 #include <sys/types.h>
7399 #if HAVE_SYS_SOCKET_H
7400 # include <sys/socket.h>
7402 #if HAVE_SYS_SOCKETVAR_H
7403 # include <sys/socketvar.h>
7405 #if HAVE_NETINET_IN_H
7406 # include <netinet/in.h>
7409 #include <$ac_header>
7411 rm -f conftest.$ac_objext
7412 if { (ac_try="$ac_compile"
7414 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7415 *) ac_try_echo
=$ac_try;;
7417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7418 (eval "$ac_compile") 2>conftest.er1
7420 grep -v '^ *+' conftest.er1
>conftest.err
7422 cat conftest.err
>&5
7423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7424 (exit $ac_status); } && {
7425 test -z "$ac_c_werror_flag" ||
7426 test ! -s conftest.err
7427 } && test -s conftest.
$ac_objext; then
7428 eval "$as_ac_Header=yes"
7430 echo "$as_me: failed program was:" >&5
7431 sed 's/^/| /' conftest.
$ac_ext >&5
7433 eval "$as_ac_Header=no"
7436 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7438 ac_res
=`eval echo '${'$as_ac_Header'}'`
7439 { echo "$as_me:$LINENO: result: $ac_res" >&5
7440 echo "${ECHO_T}$ac_res" >&6; }
7441 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7442 cat >>confdefs.h
<<_ACEOF
7443 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7452 for ac_header
in netinet
/tcp_var.h
7454 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7455 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7457 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7458 echo $ECHO_N "(cached) $ECHO_C" >&6
7460 cat >conftest.
$ac_ext <<_ACEOF
7463 cat confdefs.h
>>conftest.
$ac_ext
7464 cat >>conftest.
$ac_ext <<_ACEOF
7465 /* end confdefs.h. */
7466 #include <sys/types.h>
7467 #if HAVE_SYS_SOCKET_H
7468 # include <sys/socket.h>
7470 #if HAVE_SYS_SOCKETVAR_H
7471 # include <sys/socketvar.h>
7473 #if HAVE_NETINET_IN_H
7474 # include <netinet/in.h>
7476 #ifdef HAVE_NETINET_TCP_H
7477 # include <netinet/tcp.h>
7480 #include <$ac_header>
7482 rm -f conftest.
$ac_objext
7483 if { (ac_try
="$ac_compile"
7485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7486 *) ac_try_echo=$ac_try;;
7488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7489 (eval "$ac_compile") 2>conftest.er1
7491 grep -v '^ *+' conftest.er1 >conftest.err
7493 cat conftest.err >&5
7494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495 (exit $ac_status); } && {
7496 test -z "$ac_c_werror_flag" ||
7497 test ! -s conftest.err
7498 } && test -s conftest.$ac_objext; then
7499 eval "$as_ac_Header=yes"
7501 echo "$as_me: failed program was:" >&5
7502 sed 's/^/| /' conftest.$ac_ext >&5
7504 eval "$as_ac_Header=no"
7507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7509 ac_res=`eval echo '${'$as_ac_Header'}'`
7510 { echo "$as_me:$LINENO: result: $ac_res" >&5
7511 echo "${ECHO_T}$ac_res" >&6; }
7512 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7513 cat >>confdefs.h <<_ACEOF
7514 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7523 for ac_header in linux/ipx.h
7525 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7526 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7528 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7529 echo $ECHO_N "(cached) $ECHO_C" >&6
7531 cat >conftest.$ac_ext <<_ACEOF
7534 cat confdefs.h >>conftest.$ac_ext
7535 cat >>conftest.$ac_ext <<_ACEOF
7536 /* end confdefs.h. */
7537 #include <sys/types.h>
7538 #ifdef HAVE_ASM_TYPES_H
7539 # include <asm/types.h>
7541 #if HAVE_SYS_SOCKET_H
7542 # include <sys/socket.h>
7545 #include <$ac_header>
7547 rm -f conftest.$ac_objext
7548 if { (ac_try="$ac_compile"
7550 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7551 *) ac_try_echo
=$ac_try;;
7553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7554 (eval "$ac_compile") 2>conftest.er1
7556 grep -v '^ *+' conftest.er1
>conftest.err
7558 cat conftest.err
>&5
7559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560 (exit $ac_status); } && {
7561 test -z "$ac_c_werror_flag" ||
7562 test ! -s conftest.err
7563 } && test -s conftest.
$ac_objext; then
7564 eval "$as_ac_Header=yes"
7566 echo "$as_me: failed program was:" >&5
7567 sed 's/^/| /' conftest.
$ac_ext >&5
7569 eval "$as_ac_Header=no"
7572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7574 ac_res
=`eval echo '${'$as_ac_Header'}'`
7575 { echo "$as_me:$LINENO: result: $ac_res" >&5
7576 echo "${ECHO_T}$ac_res" >&6; }
7577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7578 cat >>confdefs.h
<<_ACEOF
7579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7588 for ac_header
in resolv.h
7590 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7591 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7593 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7594 echo $ECHO_N "(cached) $ECHO_C" >&6
7596 cat >conftest.
$ac_ext <<_ACEOF
7599 cat confdefs.h
>>conftest.
$ac_ext
7600 cat >>conftest.
$ac_ext <<_ACEOF
7601 /* end confdefs.h. */
7602 #include <sys/types.h>
7603 #if HAVE_SYS_SOCKET_H
7604 # include <sys/socket.h>
7606 #if HAVE_NETINET_IN_H
7607 # include <netinet/in.h>
7609 #if HAVE_ARPA_NAMESER_H
7610 # include <arpa/nameser.h>
7613 #include <$ac_header>
7615 rm -f conftest.
$ac_objext
7616 if { (ac_try
="$ac_compile"
7618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7619 *) ac_try_echo=$ac_try;;
7621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7622 (eval "$ac_compile") 2>conftest.er1
7624 grep -v '^ *+' conftest.er1 >conftest.err
7626 cat conftest.err >&5
7627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7628 (exit $ac_status); } && {
7629 test -z "$ac_c_werror_flag" ||
7630 test ! -s conftest.err
7631 } && test -s conftest.$ac_objext; then
7632 eval "$as_ac_Header=yes"
7634 echo "$as_me: failed program was:" >&5
7635 sed 's/^/| /' conftest.$ac_ext >&5
7637 eval "$as_ac_Header=no"
7640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7642 ac_res=`eval echo '${'$as_ac_Header'}'`
7643 { echo "$as_me:$LINENO: result: $ac_res" >&5
7644 echo "${ECHO_T}$ac_res" >&6; }
7645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7646 cat >>confdefs.h <<_ACEOF
7647 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7656 for ac_header in ucontext.h
7658 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7662 echo $ECHO_N "(cached) $ECHO_C" >&6
7664 cat >conftest.$ac_ext <<_ACEOF
7667 cat confdefs.h >>conftest.$ac_ext
7668 cat >>conftest.$ac_ext <<_ACEOF
7669 /* end confdefs.h. */
7672 #include <$ac_header>
7674 rm -f conftest.$ac_objext
7675 if { (ac_try="$ac_compile"
7677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7678 *) ac_try_echo
=$ac_try;;
7680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7681 (eval "$ac_compile") 2>conftest.er1
7683 grep -v '^ *+' conftest.er1
>conftest.err
7685 cat conftest.err
>&5
7686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7687 (exit $ac_status); } && {
7688 test -z "$ac_c_werror_flag" ||
7689 test ! -s conftest.err
7690 } && test -s conftest.
$ac_objext; then
7691 eval "$as_ac_Header=yes"
7693 echo "$as_me: failed program was:" >&5
7694 sed 's/^/| /' conftest.
$ac_ext >&5
7696 eval "$as_ac_Header=no"
7699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7701 ac_res
=`eval echo '${'$as_ac_Header'}'`
7702 { echo "$as_me:$LINENO: result: $ac_res" >&5
7703 echo "${ECHO_T}$ac_res" >&6; }
7704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7705 cat >>confdefs.h
<<_ACEOF
7706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7715 for ac_header
in sys
/thr.h
7717 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7718 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7720 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7721 echo $ECHO_N "(cached) $ECHO_C" >&6
7723 cat >conftest.
$ac_ext <<_ACEOF
7726 cat confdefs.h
>>conftest.
$ac_ext
7727 cat >>conftest.
$ac_ext <<_ACEOF
7728 /* end confdefs.h. */
7729 #include <sys/types.h>
7731 #include <ucontext.h>
7734 #include <$ac_header>
7736 rm -f conftest.
$ac_objext
7737 if { (ac_try
="$ac_compile"
7739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7740 *) ac_try_echo=$ac_try;;
7742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7743 (eval "$ac_compile") 2>conftest.er1
7745 grep -v '^ *+' conftest.er1 >conftest.err
7747 cat conftest.err >&5
7748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749 (exit $ac_status); } && {
7750 test -z "$ac_c_werror_flag" ||
7751 test ! -s conftest.err
7752 } && test -s conftest.$ac_objext; then
7753 eval "$as_ac_Header=yes"
7755 echo "$as_me: failed program was:" >&5
7756 sed 's/^/| /' conftest.$ac_ext >&5
7758 eval "$as_ac_Header=no"
7761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7763 ac_res=`eval echo '${'$as_ac_Header'}'`
7764 { echo "$as_me:$LINENO: result: $ac_res" >&5
7765 echo "${ECHO_T}$ac_res" >&6; }
7766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7767 cat >>confdefs.h <<_ACEOF
7768 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7777 for ac_header in pthread_np.h
7779 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7780 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7782 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7783 echo $ECHO_N "(cached) $ECHO_C" >&6
7785 cat >conftest.$ac_ext <<_ACEOF
7788 cat confdefs.h >>conftest.$ac_ext
7789 cat >>conftest.$ac_ext <<_ACEOF
7790 /* end confdefs.h. */
7791 #ifdef HAVE_PTHREAD_H
7792 #include <pthread.h>
7795 #include <$ac_header>
7797 rm -f conftest.$ac_objext
7798 if { (ac_try="$ac_compile"
7800 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7801 *) ac_try_echo
=$ac_try;;
7803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7804 (eval "$ac_compile") 2>conftest.er1
7806 grep -v '^ *+' conftest.er1
>conftest.err
7808 cat conftest.err
>&5
7809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810 (exit $ac_status); } && {
7811 test -z "$ac_c_werror_flag" ||
7812 test ! -s conftest.err
7813 } && test -s conftest.
$ac_objext; then
7814 eval "$as_ac_Header=yes"
7816 echo "$as_me: failed program was:" >&5
7817 sed 's/^/| /' conftest.
$ac_ext >&5
7819 eval "$as_ac_Header=no"
7822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7824 ac_res
=`eval echo '${'$as_ac_Header'}'`
7825 { echo "$as_me:$LINENO: result: $ac_res" >&5
7826 echo "${ECHO_T}$ac_res" >&6; }
7827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7828 cat >>confdefs.h
<<_ACEOF
7829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7838 for ac_header
in linux
/videodev.h
7840 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7841 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7843 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7844 echo $ECHO_N "(cached) $ECHO_C" >&6
7846 cat >conftest.
$ac_ext <<_ACEOF
7849 cat confdefs.h
>>conftest.
$ac_ext
7850 cat >>conftest.
$ac_ext <<_ACEOF
7851 /* end confdefs.h. */
7852 #ifdef HAVE_SYS_TIME_H
7853 #include <sys/time.h>
7855 #include <sys/types.h>
7856 #ifdef HAVE_ASM_TYPES_H
7857 #include <asm/types.h>
7860 #include <$ac_header>
7862 rm -f conftest.
$ac_objext
7863 if { (ac_try
="$ac_compile"
7865 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7866 *) ac_try_echo=$ac_try;;
7868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7869 (eval "$ac_compile") 2>conftest.er1
7871 grep -v '^ *+' conftest.er1 >conftest.err
7873 cat conftest.err >&5
7874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7875 (exit $ac_status); } && {
7876 test -z "$ac_c_werror_flag" ||
7877 test ! -s conftest.err
7878 } && test -s conftest.$ac_objext; then
7879 eval "$as_ac_Header=yes"
7881 echo "$as_me: failed program was:" >&5
7882 sed 's/^/| /' conftest.$ac_ext >&5
7884 eval "$as_ac_Header=no"
7887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7889 ac_res=`eval echo '${'$as_ac_Header'}'`
7890 { echo "$as_me:$LINENO: result: $ac_res" >&5
7891 echo "${ECHO_T}$ac_res" >&6; }
7892 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7893 cat >>confdefs.h <<_ACEOF
7894 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7903 for ac_header in linux/capi.h
7905 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7906 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7908 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7909 echo $ECHO_N "(cached) $ECHO_C" >&6
7911 cat >conftest.$ac_ext <<_ACEOF
7914 cat confdefs.h >>conftest.$ac_ext
7915 cat >>conftest.$ac_ext <<_ACEOF
7916 /* end confdefs.h. */
7919 #include <$ac_header>
7921 rm -f conftest.$ac_objext
7922 if { (ac_try="$ac_compile"
7924 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7925 *) ac_try_echo
=$ac_try;;
7927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7928 (eval "$ac_compile") 2>conftest.er1
7930 grep -v '^ *+' conftest.er1
>conftest.err
7932 cat conftest.err
>&5
7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); } && {
7935 test -z "$ac_c_werror_flag" ||
7936 test ! -s conftest.err
7937 } && test -s conftest.
$ac_objext; then
7938 eval "$as_ac_Header=yes"
7940 echo "$as_me: failed program was:" >&5
7941 sed 's/^/| /' conftest.
$ac_ext >&5
7943 eval "$as_ac_Header=no"
7946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7948 ac_res
=`eval echo '${'$as_ac_Header'}'`
7949 { echo "$as_me:$LINENO: result: $ac_res" >&5
7950 echo "${ECHO_T}$ac_res" >&6; }
7951 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7952 cat >>confdefs.h
<<_ACEOF
7953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7964 DLLFLAGS
="-D_REENTRANT"
7978 # Extract the first word of "ldd", so it can be a program name with args.
7979 set dummy ldd
; ac_word
=$2
7980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7982 if test "${ac_cv_path_LDD+set}" = set; then
7983 echo $ECHO_N "(cached) $ECHO_C" >&6
7987 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7991 as_dummy
="/sbin:/usr/sbin:$PATH"
7992 for as_dir
in $as_dummy
7995 test -z "$as_dir" && as_dir
=.
7996 for ac_exec_ext
in '' $ac_executable_extensions; do
7997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7998 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8006 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
8011 if test -n "$LDD"; then
8012 { echo "$as_me:$LINENO: result: $LDD" >&5
8013 echo "${ECHO_T}$LDD" >&6; }
8015 { echo "$as_me:$LINENO: result: no" >&5
8016 echo "${ECHO_T}no" >&6; }
8023 if test -n "$ac_tool_prefix"; then
8024 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8025 set dummy
${ac_tool_prefix}dlltool
; 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_DLLTOOL+set}" = set; then
8029 echo $ECHO_N "(cached) $ECHO_C" >&6
8031 if test -n "$DLLTOOL"; then
8032 ac_cv_prog_DLLTOOL
="$DLLTOOL" # 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_DLLTOOL
="${ac_tool_prefix}dlltool"
8042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8051 DLLTOOL
=$ac_cv_prog_DLLTOOL
8052 if test -n "$DLLTOOL"; then
8053 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8054 echo "${ECHO_T}$DLLTOOL" >&6; }
8056 { echo "$as_me:$LINENO: result: no" >&5
8057 echo "${ECHO_T}no" >&6; }
8062 if test -z "$ac_cv_prog_DLLTOOL"; then
8063 ac_ct_DLLTOOL
=$DLLTOOL
8064 # Extract the first word of "dlltool", so it can be a program name with args.
8065 set dummy dlltool
; ac_word
=$2
8066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8068 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8069 echo $ECHO_N "(cached) $ECHO_C" >&6
8071 if test -n "$ac_ct_DLLTOOL"; then
8072 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8078 test -z "$as_dir" && as_dir
=.
8079 for ac_exec_ext
in '' $ac_executable_extensions; do
8080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8081 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8091 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8092 if test -n "$ac_ct_DLLTOOL"; then
8093 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8094 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8096 { echo "$as_me:$LINENO: result: no" >&5
8097 echo "${ECHO_T}no" >&6; }
8100 if test "x$ac_ct_DLLTOOL" = x
; then
8103 case $cross_compiling:$ac_tool_warned in
8105 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8106 whose name does not start with the host triplet. If you think this
8107 configuration is useful to you, please write to autoconf@gnu.org." >&5
8108 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8109 whose name does not start with the host triplet. If you think this
8110 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8111 ac_tool_warned
=yes ;;
8113 DLLTOOL
=$ac_ct_DLLTOOL
8116 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8119 if test -n "$ac_tool_prefix"; then
8120 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8121 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
8122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8124 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8125 echo $ECHO_N "(cached) $ECHO_C" >&6
8127 if test -n "$DLLWRAP"; then
8128 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
8130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8134 test -z "$as_dir" && as_dir
=.
8135 for ac_exec_ext
in '' $ac_executable_extensions; do
8136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8137 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
8138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8147 DLLWRAP
=$ac_cv_prog_DLLWRAP
8148 if test -n "$DLLWRAP"; then
8149 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8150 echo "${ECHO_T}$DLLWRAP" >&6; }
8152 { echo "$as_me:$LINENO: result: no" >&5
8153 echo "${ECHO_T}no" >&6; }
8158 if test -z "$ac_cv_prog_DLLWRAP"; then
8159 ac_ct_DLLWRAP
=$DLLWRAP
8160 # Extract the first word of "dllwrap", so it can be a program name with args.
8161 set dummy dllwrap
; ac_word
=$2
8162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8164 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8165 echo $ECHO_N "(cached) $ECHO_C" >&6
8167 if test -n "$ac_ct_DLLWRAP"; then
8168 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
8170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8174 test -z "$as_dir" && as_dir
=.
8175 for ac_exec_ext
in '' $ac_executable_extensions; do
8176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8177 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
8178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8187 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
8188 if test -n "$ac_ct_DLLWRAP"; then
8189 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8190 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8192 { echo "$as_me:$LINENO: result: no" >&5
8193 echo "${ECHO_T}no" >&6; }
8196 if test "x$ac_ct_DLLWRAP" = x
; then
8199 case $cross_compiling:$ac_tool_warned in
8201 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8202 whose name does not start with the host triplet. If you think this
8203 configuration is useful to you, please write to autoconf@gnu.org." >&5
8204 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8205 whose name does not start with the host triplet. If you think this
8206 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8207 ac_tool_warned
=yes ;;
8209 DLLWRAP
=$ac_ct_DLLWRAP
8212 DLLWRAP
="$ac_cv_prog_DLLWRAP"
8215 if test -n "$ac_tool_prefix"; then
8216 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8217 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8220 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8221 echo $ECHO_N "(cached) $ECHO_C" >&6
8223 if test -n "$MINGWAR"; then
8224 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8230 test -z "$as_dir" && as_dir
=.
8231 for ac_exec_ext
in '' $ac_executable_extensions; do
8232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8233 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8243 MINGWAR
=$ac_cv_prog_MINGWAR
8244 if test -n "$MINGWAR"; then
8245 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8246 echo "${ECHO_T}$MINGWAR" >&6; }
8248 { echo "$as_me:$LINENO: result: no" >&5
8249 echo "${ECHO_T}no" >&6; }
8254 if test -z "$ac_cv_prog_MINGWAR"; then
8255 ac_ct_MINGWAR
=$MINGWAR
8256 # Extract the first word of "ar", so it can be a program name with args.
8257 set dummy
ar; ac_word
=$2
8258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8260 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8261 echo $ECHO_N "(cached) $ECHO_C" >&6
8263 if test -n "$ac_ct_MINGWAR"; then
8264 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8270 test -z "$as_dir" && as_dir
=.
8271 for ac_exec_ext
in '' $ac_executable_extensions; do
8272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8273 ac_cv_prog_ac_ct_MINGWAR
="ar"
8274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8283 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8284 if test -n "$ac_ct_MINGWAR"; then
8285 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8286 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8288 { echo "$as_me:$LINENO: result: no" >&5
8289 echo "${ECHO_T}no" >&6; }
8292 if test "x$ac_ct_MINGWAR" = x
; then
8295 case $cross_compiling:$ac_tool_warned in
8297 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8298 whose name does not start with the host triplet. If you think this
8299 configuration is useful to you, please write to autoconf@gnu.org." >&5
8300 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8301 whose name does not start with the host triplet. If you think this
8302 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8303 ac_tool_warned
=yes ;;
8305 MINGWAR
=$ac_ct_MINGWAR
8308 MINGWAR
="$ac_cv_prog_MINGWAR"
8311 if test "$DLLWRAP" = "false"; then
8323 DLLFLAGS
="$DLLFLAGS -fPIC"
8324 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8325 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8326 LDSHARED
="\$(CC) -dynamiclib"
8328 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8329 SECURITYLIB
="-framework Security -framework CoreFoundation"
8331 COREFOUNDATIONLIB
="-framework CoreFoundation"
8333 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8335 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8337 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8339 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8342 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8344 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8349 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8351 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8353 CARBONLIB
="-framework Carbon"
8355 QUARTZFILES
='$(QUARTZFILES)'
8359 DLLFLAGS
="$DLLFLAGS -fPIC"
8361 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8362 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8363 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8364 echo $ECHO_N "(cached) $ECHO_C" >&6
8366 ac_wine_try_cflags_saved
=$CFLAGS
8367 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8368 cat >conftest.
$ac_ext <<_ACEOF
8371 rm -f conftest.
$ac_objext conftest
$ac_exeext
8372 if { (ac_try
="$ac_link"
8374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8375 *) ac_try_echo=$ac_try;;
8377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8378 (eval "$ac_link") 2>conftest.er1
8380 grep -v '^ *+' conftest.er1 >conftest.err
8382 cat conftest.err >&5
8383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8384 (exit $ac_status); } && {
8385 test -z "$ac_c_werror_flag" ||
8386 test ! -s conftest.err
8387 } && test -s conftest$ac_exeext &&
8388 $as_test_x conftest$ac_exeext; then
8389 ac_cv_c_dll_gnuelf="yes"
8391 echo "$as_me: failed program was:" >&5
8392 sed 's/^/| /' conftest.$ac_ext >&5
8394 ac_cv_c_dll_gnuelf="no"
8397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8398 conftest$ac_exeext conftest.$ac_ext
8399 CFLAGS=$ac_wine_try_cflags_saved
8401 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8402 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8403 if test "$ac_cv_c_dll_gnuelf" = "yes"
8405 LDSHARED="\$(CC) -shared"
8406 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8407 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8408 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8409 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8410 echo $ECHO_N "(cached) $ECHO_C" >&6
8412 ac_wine_try_cflags_saved=$CFLAGS
8413 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8414 cat >conftest.$ac_ext <<_ACEOF
8417 cat confdefs.h >>conftest.$ac_ext
8418 cat >>conftest.$ac_ext <<_ACEOF
8419 /* end confdefs.h. */
8429 rm -f conftest.$ac_objext conftest$ac_exeext
8430 if { (ac_try="$ac_link"
8432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8433 *) ac_try_echo
=$ac_try;;
8435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8436 (eval "$ac_link") 2>conftest.er1
8438 grep -v '^ *+' conftest.er1
>conftest.err
8440 cat conftest.err
>&5
8441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8442 (exit $ac_status); } && {
8443 test -z "$ac_c_werror_flag" ||
8444 test ! -s conftest.err
8445 } && test -s conftest
$ac_exeext &&
8446 $as_test_x conftest
$ac_exeext; then
8447 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8449 echo "$as_me: failed program was:" >&5
8450 sed 's/^/| /' conftest.
$ac_ext >&5
8452 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8455 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8456 conftest
$ac_exeext conftest.
$ac_ext
8457 CFLAGS
=$ac_wine_try_cflags_saved
8459 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8460 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8461 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8462 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8464 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8465 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8466 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8467 echo $ECHO_N "(cached) $ECHO_C" >&6
8469 ac_wine_try_cflags_saved
=$CFLAGS
8470 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8471 cat >conftest.
$ac_ext <<_ACEOF
8474 cat confdefs.h
>>conftest.
$ac_ext
8475 cat >>conftest.
$ac_ext <<_ACEOF
8476 /* end confdefs.h. */
8486 rm -f conftest.
$ac_objext conftest
$ac_exeext
8487 if { (ac_try
="$ac_link"
8489 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8490 *) ac_try_echo=$ac_try;;
8492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8493 (eval "$ac_link") 2>conftest.er1
8495 grep -v '^ *+' conftest.er1 >conftest.err
8497 cat conftest.err >&5
8498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8499 (exit $ac_status); } && {
8500 test -z "$ac_c_werror_flag" ||
8501 test ! -s conftest.err
8502 } && test -s conftest$ac_exeext &&
8503 $as_test_x conftest$ac_exeext; then
8504 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8506 echo "$as_me: failed program was:" >&5
8507 sed 's/^/| /' conftest.$ac_ext >&5
8509 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8513 conftest$ac_exeext conftest.$ac_ext
8514 CFLAGS=$ac_wine_try_cflags_saved
8516 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8517 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8518 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8519 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8525 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8526 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8527 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8528 echo $ECHO_N "(cached) $ECHO_C" >&6
8530 ac_wine_try_cflags_saved=$CFLAGS
8531 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8532 cat >conftest.$ac_ext <<_ACEOF
8535 cat confdefs.h >>conftest.$ac_ext
8536 cat >>conftest.$ac_ext <<_ACEOF
8537 /* end confdefs.h. */
8547 rm -f conftest.$ac_objext conftest$ac_exeext
8548 if { (ac_try="$ac_link"
8550 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8551 *) ac_try_echo
=$ac_try;;
8553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8554 (eval "$ac_link") 2>conftest.er1
8556 grep -v '^ *+' conftest.er1
>conftest.err
8558 cat conftest.err
>&5
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); } && {
8561 test -z "$ac_c_werror_flag" ||
8562 test ! -s conftest.err
8563 } && test -s conftest
$ac_exeext &&
8564 $as_test_x conftest
$ac_exeext; then
8565 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8567 echo "$as_me: failed program was:" >&5
8568 sed 's/^/| /' conftest.
$ac_ext >&5
8570 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8573 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8574 conftest
$ac_exeext conftest.
$ac_ext
8575 CFLAGS
=$ac_wine_try_cflags_saved
8577 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8578 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8579 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8580 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8584 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8585 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8586 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8587 echo $ECHO_N "(cached) $ECHO_C" >&6
8589 ac_wine_try_cflags_saved
=$CFLAGS
8590 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8591 cat >conftest.
$ac_ext <<_ACEOF
8594 cat confdefs.h
>>conftest.
$ac_ext
8595 cat >>conftest.
$ac_ext <<_ACEOF
8596 /* end confdefs.h. */
8606 rm -f conftest.
$ac_objext conftest
$ac_exeext
8607 if { (ac_try
="$ac_link"
8609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8610 *) ac_try_echo=$ac_try;;
8612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8613 (eval "$ac_link") 2>conftest.er1
8615 grep -v '^ *+' conftest.er1 >conftest.err
8617 cat conftest.err >&5
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 (exit $ac_status); } && {
8620 test -z "$ac_c_werror_flag" ||
8621 test ! -s conftest.err
8622 } && test -s conftest$ac_exeext &&
8623 $as_test_x conftest$ac_exeext; then
8624 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8626 echo "$as_me: failed program was:" >&5
8627 sed 's/^/| /' conftest.$ac_ext >&5
8629 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8633 conftest$ac_exeext conftest.$ac_ext
8634 CFLAGS=$ac_wine_try_cflags_saved
8636 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8637 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8638 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8639 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8643 echo '{ global: *; };' >conftest.map
8644 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8645 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8646 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8647 echo $ECHO_N "(cached) $ECHO_C" >&6
8649 ac_wine_try_cflags_saved=$CFLAGS
8650 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8651 cat >conftest.$ac_ext <<_ACEOF
8654 cat confdefs.h >>conftest.$ac_ext
8655 cat >>conftest.$ac_ext <<_ACEOF
8656 /* end confdefs.h. */
8666 rm -f conftest.$ac_objext conftest$ac_exeext
8667 if { (ac_try="$ac_link"
8669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8670 *) ac_try_echo
=$ac_try;;
8672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8673 (eval "$ac_link") 2>conftest.er1
8675 grep -v '^ *+' conftest.er1
>conftest.err
8677 cat conftest.err
>&5
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); } && {
8680 test -z "$ac_c_werror_flag" ||
8681 test ! -s conftest.err
8682 } && test -s conftest
$ac_exeext &&
8683 $as_test_x conftest
$ac_exeext; then
8684 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8686 echo "$as_me: failed program was:" >&5
8687 sed 's/^/| /' conftest.
$ac_ext >&5
8689 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8692 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8693 conftest
$ac_exeext conftest.
$ac_ext
8694 CFLAGS
=$ac_wine_try_cflags_saved
8696 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8697 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8698 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8699 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8704 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8705 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8706 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8707 echo $ECHO_N "(cached) $ECHO_C" >&6
8709 ac_wine_try_cflags_saved
=$CFLAGS
8710 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8711 cat >conftest.
$ac_ext <<_ACEOF
8714 cat confdefs.h
>>conftest.
$ac_ext
8715 cat >>conftest.
$ac_ext <<_ACEOF
8716 /* end confdefs.h. */
8726 rm -f conftest.
$ac_objext conftest
$ac_exeext
8727 if { (ac_try
="$ac_link"
8729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8730 *) ac_try_echo=$ac_try;;
8732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8733 (eval "$ac_link") 2>conftest.er1
8735 grep -v '^ *+' conftest.er1 >conftest.err
8737 cat conftest.err >&5
8738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 (exit $ac_status); } && {
8740 test -z "$ac_c_werror_flag" ||
8741 test ! -s conftest.err
8742 } && test -s conftest$ac_exeext &&
8743 $as_test_x conftest$ac_exeext; then
8744 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8746 echo "$as_me: failed program was:" >&5
8747 sed 's/^/| /' conftest.$ac_ext >&5
8749 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8753 conftest$ac_exeext conftest.$ac_ext
8754 CFLAGS=$ac_wine_try_cflags_saved
8756 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8757 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8758 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8759 LDEXECFLAGS="-Wl,--export-dynamic"
8764 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
8765 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8766 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8767 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8768 echo $ECHO_N "(cached) $ECHO_C" >&6
8770 ac_wine_try_cflags_saved=$CFLAGS
8771 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8772 cat >conftest.$ac_ext <<_ACEOF
8775 cat confdefs.h >>conftest.$ac_ext
8776 cat >>conftest.$ac_ext <<_ACEOF
8777 /* end confdefs.h. */
8787 rm -f conftest.$ac_objext conftest$ac_exeext
8788 if { (ac_try="$ac_link"
8790 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8791 *) ac_try_echo
=$ac_try;;
8793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8794 (eval "$ac_link") 2>conftest.er1
8796 grep -v '^ *+' conftest.er1
>conftest.err
8798 cat conftest.err
>&5
8799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8800 (exit $ac_status); } && {
8801 test -z "$ac_c_werror_flag" ||
8802 test ! -s conftest.err
8803 } && test -s conftest
$ac_exeext &&
8804 $as_test_x conftest
$ac_exeext; then
8805 eval "$as_ac_var=yes"
8807 echo "$as_me: failed program was:" >&5
8808 sed 's/^/| /' conftest.
$ac_ext >&5
8810 eval "$as_ac_var=no"
8813 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8814 conftest
$ac_exeext conftest.
$ac_ext
8815 CFLAGS
=$ac_wine_try_cflags_saved
8817 ac_res
=`eval echo '${'$as_ac_var'}'`
8818 { echo "$as_me:$LINENO: result: $ac_res" >&5
8819 echo "${ECHO_T}$ac_res" >&6; }
8820 if test `eval echo '${'$as_ac_var'}'` = yes; then
8821 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8822 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8824 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8825 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8826 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8827 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8828 echo $ECHO_N "(cached) $ECHO_C" >&6
8830 ac_wine_try_cflags_saved
=$CFLAGS
8831 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8832 cat >conftest.
$ac_ext <<_ACEOF
8835 cat confdefs.h
>>conftest.
$ac_ext
8836 cat >>conftest.
$ac_ext <<_ACEOF
8837 /* end confdefs.h. */
8847 rm -f conftest.
$ac_objext conftest
$ac_exeext
8848 if { (ac_try
="$ac_link"
8850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8851 *) ac_try_echo=$ac_try;;
8853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8854 (eval "$ac_link") 2>conftest.er1
8856 grep -v '^ *+' conftest.er1 >conftest.err
8858 cat conftest.err >&5
8859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8860 (exit $ac_status); } && {
8861 test -z "$ac_c_werror_flag" ||
8862 test ! -s conftest.err
8863 } && test -s conftest$ac_exeext &&
8864 $as_test_x conftest$ac_exeext; then
8865 eval "$as_ac_var=yes"
8867 echo "$as_me: failed program was:" >&5
8868 sed 's/^/| /' conftest.$ac_ext >&5
8870 eval "$as_ac_var=no"
8873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8874 conftest$ac_exeext conftest.$ac_ext
8875 CFLAGS=$ac_wine_try_cflags_saved
8877 ac_res=`eval echo '${'$as_ac_var'}'`
8878 { echo "$as_me:$LINENO: result: $ac_res" >&5
8879 echo "${ECHO_T}$ac_res" >&6; }
8880 if test `eval echo '${'$as_ac_var'}'` = yes; then
8881 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
8882 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8888 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8889 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8890 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8891 echo $ECHO_N "(cached) $ECHO_C" >&6
8893 ac_wine_try_cflags_saved=$CFLAGS
8894 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8895 cat >conftest.$ac_ext <<_ACEOF
8898 cat confdefs.h >>conftest.$ac_ext
8899 cat >>conftest.$ac_ext <<_ACEOF
8900 /* end confdefs.h. */
8910 rm -f conftest.$ac_objext conftest$ac_exeext
8911 if { (ac_try="$ac_link"
8913 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8914 *) ac_try_echo
=$ac_try;;
8916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8917 (eval "$ac_link") 2>conftest.er1
8919 grep -v '^ *+' conftest.er1
>conftest.err
8921 cat conftest.err
>&5
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); } && {
8924 test -z "$ac_c_werror_flag" ||
8925 test ! -s conftest.err
8926 } && test -s conftest
$ac_exeext &&
8927 $as_test_x conftest
$ac_exeext; then
8928 ac_cv_cflags__Wl___enable_new_dtags
=yes
8930 echo "$as_me: failed program was:" >&5
8931 sed 's/^/| /' conftest.
$ac_ext >&5
8933 ac_cv_cflags__Wl___enable_new_dtags
=no
8936 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8937 conftest
$ac_exeext conftest.
$ac_ext
8938 CFLAGS
=$ac_wine_try_cflags_saved
8940 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8941 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8942 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8943 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8948 *i
[3456789]86* | x86_64
)
8949 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8950 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8951 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8952 echo $ECHO_N "(cached) $ECHO_C" >&6
8954 ac_wine_try_cflags_saved
=$CFLAGS
8955 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8956 cat >conftest.
$ac_ext <<_ACEOF
8959 cat confdefs.h
>>conftest.
$ac_ext
8960 cat >>conftest.
$ac_ext <<_ACEOF
8961 /* end confdefs.h. */
8971 rm -f conftest.
$ac_objext conftest
$ac_exeext
8972 if { (ac_try
="$ac_link"
8974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8975 *) ac_try_echo=$ac_try;;
8977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8978 (eval "$ac_link") 2>conftest.er1
8980 grep -v '^ *+' conftest.er1 >conftest.err
8982 cat conftest.err >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); } && {
8985 test -z "$ac_c_werror_flag" ||
8986 test ! -s conftest.err
8987 } && test -s conftest$ac_exeext &&
8988 $as_test_x conftest$ac_exeext; then
8989 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8991 echo "$as_me: failed program was:" >&5
8992 sed 's/^/| /' conftest.$ac_ext >&5
8994 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8998 conftest$ac_exeext conftest.$ac_ext
8999 CFLAGS=$ac_wine_try_cflags_saved
9001 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9002 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9003 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9004 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9011 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9012 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9013 if test "${ac_cv_c_dll_unixware+set}" = set; then
9014 echo $ECHO_N "(cached) $ECHO_C" >&6
9016 ac_wine_try_cflags_saved=$CFLAGS
9017 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9018 cat >conftest.$ac_ext <<_ACEOF
9021 rm -f conftest.$ac_objext conftest$ac_exeext
9022 if { (ac_try="$ac_link"
9024 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9025 *) ac_try_echo
=$ac_try;;
9027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9028 (eval "$ac_link") 2>conftest.er1
9030 grep -v '^ *+' conftest.er1
>conftest.err
9032 cat conftest.err
>&5
9033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034 (exit $ac_status); } && {
9035 test -z "$ac_c_werror_flag" ||
9036 test ! -s conftest.err
9037 } && test -s conftest
$ac_exeext &&
9038 $as_test_x conftest
$ac_exeext; then
9039 ac_cv_c_dll_unixware
="yes"
9041 echo "$as_me: failed program was:" >&5
9042 sed 's/^/| /' conftest.
$ac_ext >&5
9044 ac_cv_c_dll_unixware
="no"
9047 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9048 conftest
$ac_exeext conftest.
$ac_ext
9049 CFLAGS
=$ac_wine_try_cflags_saved
9051 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9052 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9053 if test "$ac_cv_c_dll_unixware" = "yes"
9055 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9056 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
9059 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9060 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9061 if test "${ac_cv_c_dll_hpux+set}" = set; then
9062 echo $ECHO_N "(cached) $ECHO_C" >&6
9064 ac_wine_try_cflags_saved
=$CFLAGS
9065 CFLAGS
="$CFLAGS -shared"
9066 cat >conftest.
$ac_ext <<_ACEOF
9069 rm -f conftest.
$ac_objext conftest
$ac_exeext
9070 if { (ac_try
="$ac_link"
9072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9073 *) ac_try_echo=$ac_try;;
9075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9076 (eval "$ac_link") 2>conftest.er1
9078 grep -v '^ *+' conftest.er1 >conftest.err
9080 cat conftest.err >&5
9081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9082 (exit $ac_status); } && {
9083 test -z "$ac_c_werror_flag" ||
9084 test ! -s conftest.err
9085 } && test -s conftest$ac_exeext &&
9086 $as_test_x conftest$ac_exeext; then
9087 ac_cv_c_dll_hpux="yes"
9089 echo "$as_me: failed program was:" >&5
9090 sed 's/^/| /' conftest.$ac_ext >&5
9092 ac_cv_c_dll_hpux="no"
9095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9096 conftest$ac_exeext conftest.$ac_ext
9097 CFLAGS=$ac_wine_try_cflags_saved
9099 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9100 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9101 if test "$ac_cv_c_dll_hpux" = "yes"
9105 LDDLLFLAGS="-shared -fPIC"
9106 LDSHARED="\$(CC) -shared"
9113 if test "$cross_compiling" = "no"
9115 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9117 # Extract the first word of "$ac_prog", so it can be a program name with args.
9118 set dummy $ac_prog; ac_word=$2
9119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9121 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9122 echo $ECHO_N "(cached) $ECHO_C" >&6
9124 if test -n "$CROSSCC"; then
9125 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9131 test -z "$as_dir" && as_dir=.
9132 for ac_exec_ext in '' $ac_executable_extensions; do
9133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9134 ac_cv_prog_CROSSCC="$ac_prog"
9135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9144 CROSSCC=$ac_cv_prog_CROSSCC
9145 if test -n "$CROSSCC"; then
9146 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9147 echo "${ECHO_T}$CROSSCC" >&6; }
9149 { echo "$as_me:$LINENO: result: no" >&5
9150 echo "${ECHO_T}no" >&6; }
9154 test -n "$CROSSCC" && break
9156 test -n "$CROSSCC" || CROSSCC="false"
9158 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9160 # Extract the first word of "$ac_prog", so it can be a program name with args.
9161 set dummy $ac_prog; ac_word=$2
9162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9164 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9165 echo $ECHO_N "(cached) $ECHO_C" >&6
9167 if test -n "$DLLTOOL"; then
9168 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9174 test -z "$as_dir" && as_dir=.
9175 for ac_exec_ext in '' $ac_executable_extensions; do
9176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9177 ac_cv_prog_DLLTOOL="$ac_prog"
9178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9187 DLLTOOL=$ac_cv_prog_DLLTOOL
9188 if test -n "$DLLTOOL"; then
9189 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9190 echo "${ECHO_T}$DLLTOOL" >&6; }
9192 { echo "$as_me:$LINENO: result: no" >&5
9193 echo "${ECHO_T}no" >&6; }
9197 test -n "$DLLTOOL" && break
9199 test -n "$DLLTOOL" || DLLTOOL="false"
9201 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9203 # Extract the first word of "$ac_prog", so it can be a program name with args.
9204 set dummy $ac_prog; ac_word=$2
9205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9207 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9208 echo $ECHO_N "(cached) $ECHO_C" >&6
9210 if test -n "$CROSSWINDRES"; then
9211 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9217 test -z "$as_dir" && as_dir=.
9218 for ac_exec_ext in '' $ac_executable_extensions; do
9219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9220 ac_cv_prog_CROSSWINDRES="$ac_prog"
9221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9230 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9231 if test -n "$CROSSWINDRES"; then
9232 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9233 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9235 { echo "$as_me:$LINENO: result: no" >&5
9236 echo "${ECHO_T}no" >&6; }
9240 test -n "$CROSSWINDRES" && break
9242 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9244 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9246 # Extract the first word of "$ac_prog", so it can be a program name with args.
9247 set dummy $ac_prog; ac_word=$2
9248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9250 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9251 echo $ECHO_N "(cached) $ECHO_C" >&6
9253 if test -n "$MINGWAR"; then
9254 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9260 test -z "$as_dir" && as_dir=.
9261 for ac_exec_ext in '' $ac_executable_extensions; do
9262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9263 ac_cv_prog_MINGWAR="$ac_prog"
9264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9273 MINGWAR=$ac_cv_prog_MINGWAR
9274 if test -n "$MINGWAR"; then
9275 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9276 echo "${ECHO_T}$MINGWAR" >&6; }
9278 { echo "$as_me:$LINENO: result: no" >&5
9279 echo "${ECHO_T}no" >&6; }
9283 test -n "$MINGWAR" && break
9285 test -n "$MINGWAR" || MINGWAR="false"
9287 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9292 if test "$LIBEXT" = "a"; then
9293 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9294 It is currently not possible to build Wine without shared library
9295 (.so) support to allow transparent switch between .so and .dll files.
9296 If you are using Linux, you will need a newer binutils.
9298 echo "$as_me: error: could not find a way to build shared libraries.
9299 It is currently not possible to build Wine without shared library
9300 (.so) support to allow transparent switch between .so and .dll files.
9301 If you are using Linux, you will need a newer binutils.
9303 { (exit 1); exit 1; }; }
9307 if test "$have_x" = "yes"
9310 ac_save_CPPFLAGS="$CPPFLAGS"
9311 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9313 { echo "$as_me:$LINENO: checking for -lX11" >&5
9314 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9315 if test "${ac_cv_lib_soname_X11+set}" = set; then
9316 echo $ECHO_N "(cached) $ECHO_C" >&6
9318 ac_check_soname_save_LIBS=$LIBS
9319 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9320 cat >conftest.$ac_ext <<_ACEOF
9323 cat confdefs.h >>conftest.$ac_ext
9324 cat >>conftest.$ac_ext <<_ACEOF
9325 /* end confdefs.h. */
9327 /* Override any GCC internal prototype to avoid an error.
9328 Use char because int might match the return type of a GCC
9329 builtin and then its argument prototype would still apply. */
9333 char XCreateWindow ();
9337 return XCreateWindow ();
9342 rm -f conftest.$ac_objext conftest$ac_exeext
9343 if { (ac_try="$ac_link"
9345 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9346 *) ac_try_echo
=$ac_try;;
9348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9349 (eval "$ac_link") 2>conftest.er1
9351 grep -v '^ *+' conftest.er1
>conftest.err
9353 cat conftest.err
>&5
9354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9355 (exit $ac_status); } && {
9356 test -z "$ac_c_werror_flag" ||
9357 test ! -s conftest.err
9358 } && test -s conftest
$ac_exeext &&
9359 $as_test_x conftest
$ac_exeext; then
9362 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'` ;;
9363 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9366 echo "$as_me: failed program was:" >&5
9367 sed 's/^/| /' conftest.
$ac_ext >&5
9372 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9373 conftest
$ac_exeext conftest.
$ac_ext
9374 LIBS
=$ac_check_soname_save_LIBS
9376 if test "x$ac_cv_lib_soname_X11" = "x"; then
9377 { echo "$as_me:$LINENO: result: not found" >&5
9378 echo "${ECHO_T}not found" >&6; }
9381 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9382 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9384 cat >>confdefs.h
<<_ACEOF
9385 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9391 { echo "$as_me:$LINENO: checking for -lXext" >&5
9392 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9393 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9394 echo $ECHO_N "(cached) $ECHO_C" >&6
9396 ac_check_soname_save_LIBS
=$LIBS
9397 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9398 cat >conftest.
$ac_ext <<_ACEOF
9401 cat confdefs.h
>>conftest.
$ac_ext
9402 cat >>conftest.
$ac_ext <<_ACEOF
9403 /* end confdefs.h. */
9405 /* Override any GCC internal prototype to avoid an error.
9406 Use char because int might match the return type of a GCC
9407 builtin and then its argument prototype would still apply. */
9411 char XextCreateExtension ();
9415 return XextCreateExtension ();
9420 rm -f conftest.
$ac_objext conftest
$ac_exeext
9421 if { (ac_try
="$ac_link"
9423 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9424 *) ac_try_echo=$ac_try;;
9426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9427 (eval "$ac_link") 2>conftest.er1
9429 grep -v '^ *+' conftest.er1 >conftest.err
9431 cat conftest.err >&5
9432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9433 (exit $ac_status); } && {
9434 test -z "$ac_c_werror_flag" ||
9435 test ! -s conftest.err
9436 } && test -s conftest$ac_exeext &&
9437 $as_test_x conftest$ac_exeext; then
9440 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'` ;;
9441 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9444 echo "$as_me: failed program was:" >&5
9445 sed 's/^/| /' conftest.$ac_ext >&5
9450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9451 conftest$ac_exeext conftest.$ac_ext
9452 LIBS=$ac_check_soname_save_LIBS
9454 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9455 { echo "$as_me:$LINENO: result: not found" >&5
9456 echo "${ECHO_T}not found" >&6; }
9459 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9460 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9462 cat >>confdefs.h <<_ACEOF
9463 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9482 for ac_header in X11/Xlib.h \
9485 X11/Xcursor/Xcursor.h \
9486 X11/extensions/shape.h \
9487 X11/extensions/XInput.h \
9488 X11/extensions/XShm.h \
9489 X11/extensions/Xcomposite.h \
9490 X11/extensions/Xinerama.h \
9491 X11/extensions/Xrandr.h \
9492 X11/extensions/Xrender.h \
9493 X11/extensions/xf86vmode.h
9495 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9496 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9498 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9499 echo $ECHO_N "(cached) $ECHO_C" >&6
9501 cat >conftest.$ac_ext <<_ACEOF
9504 cat confdefs.h >>conftest.$ac_ext
9505 cat >>conftest.$ac_ext <<_ACEOF
9506 /* end confdefs.h. */
9507 #ifdef HAVE_X11_XLIB_H
9508 # include <X11/Xlib.h>
9510 #ifdef HAVE_X11_XUTIL_H
9511 # include <X11/Xutil.h>
9514 #include <$ac_header>
9516 rm -f conftest.$ac_objext
9517 if { (ac_try="$ac_compile"
9519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9520 *) ac_try_echo
=$ac_try;;
9522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9523 (eval "$ac_compile") 2>conftest.er1
9525 grep -v '^ *+' conftest.er1
>conftest.err
9527 cat conftest.err
>&5
9528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9529 (exit $ac_status); } && {
9530 test -z "$ac_c_werror_flag" ||
9531 test ! -s conftest.err
9532 } && test -s conftest.
$ac_objext; then
9533 eval "$as_ac_Header=yes"
9535 echo "$as_me: failed program was:" >&5
9536 sed 's/^/| /' conftest.
$ac_ext >&5
9538 eval "$as_ac_Header=no"
9541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9543 ac_res
=`eval echo '${'$as_ac_Header'}'`
9544 { echo "$as_me:$LINENO: result: $ac_res" >&5
9545 echo "${ECHO_T}$ac_res" >&6; }
9546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9547 cat >>confdefs.h
<<_ACEOF
9548 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9556 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9558 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9559 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9560 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9561 echo $ECHO_N "(cached) $ECHO_C" >&6
9563 ac_check_lib_save_LIBS
=$LIBS
9564 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9565 cat >conftest.
$ac_ext <<_ACEOF
9568 cat confdefs.h
>>conftest.
$ac_ext
9569 cat >>conftest.
$ac_ext <<_ACEOF
9570 /* end confdefs.h. */
9572 /* Override any GCC internal prototype to avoid an error.
9573 Use char because int might match the return type of a GCC
9574 builtin and then its argument prototype would still apply. */
9578 char XkbQueryExtension ();
9582 return XkbQueryExtension ();
9587 rm -f conftest.
$ac_objext conftest
$ac_exeext
9588 if { (ac_try
="$ac_link"
9590 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9591 *) ac_try_echo=$ac_try;;
9593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9594 (eval "$ac_link") 2>conftest.er1
9596 grep -v '^ *+' conftest.er1 >conftest.err
9598 cat conftest.err >&5
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 (exit $ac_status); } && {
9601 test -z "$ac_c_werror_flag" ||
9602 test ! -s conftest.err
9603 } && test -s conftest$ac_exeext &&
9604 $as_test_x conftest$ac_exeext; then
9605 ac_cv_lib_X11_XkbQueryExtension=yes
9607 echo "$as_me: failed program was:" >&5
9608 sed 's/^/| /' conftest.$ac_ext >&5
9610 ac_cv_lib_X11_XkbQueryExtension=no
9613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9614 conftest$ac_exeext conftest.$ac_ext
9615 LIBS=$ac_check_lib_save_LIBS
9617 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9618 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9619 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9621 cat >>confdefs.h <<\_ACEOF
9629 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9631 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9632 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9633 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9634 echo $ECHO_N "(cached) $ECHO_C" >&6
9636 ac_check_soname_save_LIBS=$LIBS
9637 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9638 cat >conftest.$ac_ext <<_ACEOF
9641 cat confdefs.h >>conftest.$ac_ext
9642 cat >>conftest.$ac_ext <<_ACEOF
9643 /* end confdefs.h. */
9645 /* Override any GCC internal prototype to avoid an error.
9646 Use char because int might match the return type of a GCC
9647 builtin and then its argument prototype would still apply. */
9651 char XcursorImageLoadCursor ();
9655 return XcursorImageLoadCursor ();
9660 rm -f conftest.$ac_objext conftest$ac_exeext
9661 if { (ac_try="$ac_link"
9663 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9664 *) ac_try_echo
=$ac_try;;
9666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9667 (eval "$ac_link") 2>conftest.er1
9669 grep -v '^ *+' conftest.er1
>conftest.err
9671 cat conftest.err
>&5
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); } && {
9674 test -z "$ac_c_werror_flag" ||
9675 test ! -s conftest.err
9676 } && test -s conftest
$ac_exeext &&
9677 $as_test_x conftest
$ac_exeext; then
9680 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'` ;;
9681 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9684 echo "$as_me: failed program was:" >&5
9685 sed 's/^/| /' conftest.
$ac_ext >&5
9690 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9691 conftest
$ac_exeext conftest.
$ac_ext
9692 LIBS
=$ac_check_soname_save_LIBS
9694 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9695 { echo "$as_me:$LINENO: result: not found" >&5
9696 echo "${ECHO_T}not found" >&6; }
9699 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9700 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9702 cat >>confdefs.h
<<_ACEOF
9703 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9710 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9711 case "x$with_xcursor" in
9712 x
) wine_notices
="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9714 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9715 This is an error since --with-xcursor was requested." >&5
9716 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9717 This is an error since --with-xcursor was requested." >&2;}
9718 { (exit 1); exit 1; }; } ;;
9723 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9725 { echo "$as_me:$LINENO: checking for -lXi" >&5
9726 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9727 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9728 echo $ECHO_N "(cached) $ECHO_C" >&6
9730 ac_check_soname_save_LIBS
=$LIBS
9731 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9732 cat >conftest.
$ac_ext <<_ACEOF
9735 cat confdefs.h
>>conftest.
$ac_ext
9736 cat >>conftest.
$ac_ext <<_ACEOF
9737 /* end confdefs.h. */
9739 /* Override any GCC internal prototype to avoid an error.
9740 Use char because int might match the return type of a GCC
9741 builtin and then its argument prototype would still apply. */
9745 char XOpenDevice ();
9749 return XOpenDevice ();
9754 rm -f conftest.
$ac_objext conftest
$ac_exeext
9755 if { (ac_try
="$ac_link"
9757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9758 *) ac_try_echo=$ac_try;;
9760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9761 (eval "$ac_link") 2>conftest.er1
9763 grep -v '^ *+' conftest.er1 >conftest.err
9765 cat conftest.err >&5
9766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9767 (exit $ac_status); } && {
9768 test -z "$ac_c_werror_flag" ||
9769 test ! -s conftest.err
9770 } && test -s conftest$ac_exeext &&
9771 $as_test_x conftest$ac_exeext; then
9774 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'` ;;
9775 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9778 echo "$as_me: failed program was:" >&5
9779 sed 's/^/| /' conftest.$ac_ext >&5
9784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9785 conftest$ac_exeext conftest.$ac_ext
9786 LIBS=$ac_check_soname_save_LIBS
9788 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9789 { echo "$as_me:$LINENO: result: not found" >&5
9790 echo "${ECHO_T}not found" >&6; }
9793 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9794 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9796 cat >>confdefs.h <<_ACEOF
9797 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9804 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9805 case "x$with_xinput" in
9806 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9808 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9809 This is an error since --with-xinput was requested." >&5
9810 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9811 This is an error since --with-xinput was requested." >&2;}
9812 { (exit 1); exit 1; }; } ;;
9817 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9819 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9820 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9821 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9822 echo $ECHO_N "(cached) $ECHO_C" >&6
9824 ac_check_lib_save_LIBS=$LIBS
9825 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9826 cat >conftest.$ac_ext <<_ACEOF
9829 cat confdefs.h >>conftest.$ac_ext
9830 cat >>conftest.$ac_ext <<_ACEOF
9831 /* end confdefs.h. */
9833 /* Override any GCC internal prototype to avoid an error.
9834 Use char because int might match the return type of a GCC
9835 builtin and then its argument prototype would still apply. */
9839 char XShmQueryExtension ();
9843 return XShmQueryExtension ();
9848 rm -f conftest.$ac_objext conftest$ac_exeext
9849 if { (ac_try="$ac_link"
9851 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9852 *) ac_try_echo
=$ac_try;;
9854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9855 (eval "$ac_link") 2>conftest.er1
9857 grep -v '^ *+' conftest.er1
>conftest.err
9859 cat conftest.err
>&5
9860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9861 (exit $ac_status); } && {
9862 test -z "$ac_c_werror_flag" ||
9863 test ! -s conftest.err
9864 } && test -s conftest
$ac_exeext &&
9865 $as_test_x conftest
$ac_exeext; then
9866 ac_cv_lib_Xext_XShmQueryExtension
=yes
9868 echo "$as_me: failed program was:" >&5
9869 sed 's/^/| /' conftest.
$ac_ext >&5
9871 ac_cv_lib_Xext_XShmQueryExtension
=no
9874 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9875 conftest
$ac_exeext conftest.
$ac_ext
9876 LIBS
=$ac_check_lib_save_LIBS
9878 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9879 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9880 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9882 cat >>confdefs.h
<<\_ACEOF
9883 #define HAVE_LIBXXSHM 1
9889 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9890 case "x$with_xshm" in
9891 x
) wine_notices
="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9893 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9894 This is an error since --with-xshm was requested." >&5
9895 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9896 This is an error since --with-xshm was requested." >&2;}
9897 { (exit 1); exit 1; }; } ;;
9902 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9904 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9905 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9906 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9907 echo $ECHO_N "(cached) $ECHO_C" >&6
9909 ac_check_lib_save_LIBS
=$LIBS
9910 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9911 cat >conftest.
$ac_ext <<_ACEOF
9914 cat confdefs.h
>>conftest.
$ac_ext
9915 cat >>conftest.
$ac_ext <<_ACEOF
9916 /* end confdefs.h. */
9918 /* Override any GCC internal prototype to avoid an error.
9919 Use char because int might match the return type of a GCC
9920 builtin and then its argument prototype would still apply. */
9924 char XShapeQueryExtension ();
9928 return XShapeQueryExtension ();
9933 rm -f conftest.
$ac_objext conftest
$ac_exeext
9934 if { (ac_try
="$ac_link"
9936 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9937 *) ac_try_echo=$ac_try;;
9939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9940 (eval "$ac_link") 2>conftest.er1
9942 grep -v '^ *+' conftest.er1 >conftest.err
9944 cat conftest.err >&5
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); } && {
9947 test -z "$ac_c_werror_flag" ||
9948 test ! -s conftest.err
9949 } && test -s conftest$ac_exeext &&
9950 $as_test_x conftest$ac_exeext; then
9951 ac_cv_lib_Xext_XShapeQueryExtension=yes
9953 echo "$as_me: failed program was:" >&5
9954 sed 's/^/| /' conftest.$ac_ext >&5
9956 ac_cv_lib_Xext_XShapeQueryExtension=no
9959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9960 conftest$ac_exeext conftest.$ac_ext
9961 LIBS=$ac_check_lib_save_LIBS
9963 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9964 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9965 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9967 cat >>confdefs.h <<\_ACEOF
9968 #define HAVE_LIBXSHAPE 1
9974 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9975 case "x$with_xshape" in
9976 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
9978 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
9979 This is an error since --with-xshape was requested." >&5
9980 echo "$as_me: error: XShape development files not found, XShape won't be supported.
9981 This is an error since --with-xshape was requested." >&2;}
9982 { (exit 1); exit 1; }; } ;;
9987 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9989 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9990 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9991 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9992 echo $ECHO_N "(cached) $ECHO_C" >&6
9994 ac_check_lib_save_LIBS=$LIBS
9995 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9996 cat >conftest.$ac_ext <<_ACEOF
9999 cat confdefs.h >>conftest.$ac_ext
10000 cat >>conftest.$ac_ext <<_ACEOF
10001 /* end confdefs.h. */
10003 /* Override any GCC internal prototype to avoid an error.
10004 Use char because int might match the return type of a GCC
10005 builtin and then its argument prototype would still apply. */
10009 char XF86VidModeQueryExtension ();
10013 return XF86VidModeQueryExtension ();
10018 rm -f conftest.$ac_objext conftest$ac_exeext
10019 if { (ac_try="$ac_link"
10020 case "(($ac_try" in
10021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10022 *) ac_try_echo
=$ac_try;;
10024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10025 (eval "$ac_link") 2>conftest.er1
10027 grep -v '^ *+' conftest.er1
>conftest.err
10029 cat conftest.err
>&5
10030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031 (exit $ac_status); } && {
10032 test -z "$ac_c_werror_flag" ||
10033 test ! -s conftest.err
10034 } && test -s conftest
$ac_exeext &&
10035 $as_test_x conftest
$ac_exeext; then
10036 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
10038 echo "$as_me: failed program was:" >&5
10039 sed 's/^/| /' conftest.
$ac_ext >&5
10041 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
10044 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10045 conftest
$ac_exeext conftest.
$ac_ext
10046 LIBS
=$ac_check_lib_save_LIBS
10048 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10049 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10050 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10052 cat >>confdefs.h
<<\_ACEOF
10053 #define HAVE_LIBXXF86VM 1
10056 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
10061 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10062 case "x$with_xvidmode" in
10063 x
) wine_notices
="$wine_notices|libxxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10065 *) { { echo "$as_me:$LINENO: error: libxxf86vm development files not found, XFree86 Vidmode won't be supported.
10066 This is an error since --with-xvidmode was requested." >&5
10067 echo "$as_me: error: libxxf86vm development files not found, XFree86 Vidmode won't be supported.
10068 This is an error since --with-xvidmode was requested." >&2;}
10069 { (exit 1); exit 1; }; } ;;
10074 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"
10076 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10077 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10078 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10079 echo $ECHO_N "(cached) $ECHO_C" >&6
10081 ac_check_soname_save_LIBS
=$LIBS
10082 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10083 cat >conftest.
$ac_ext <<_ACEOF
10086 cat confdefs.h
>>conftest.
$ac_ext
10087 cat >>conftest.
$ac_ext <<_ACEOF
10088 /* end confdefs.h. */
10090 /* Override any GCC internal prototype to avoid an error.
10091 Use char because int might match the return type of a GCC
10092 builtin and then its argument prototype would still apply. */
10096 char XRenderQueryExtension ();
10100 return XRenderQueryExtension ();
10105 rm -f conftest.
$ac_objext conftest
$ac_exeext
10106 if { (ac_try
="$ac_link"
10107 case "(($ac_try" in
10108 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10109 *) ac_try_echo=$ac_try;;
10111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10112 (eval "$ac_link") 2>conftest.er1
10114 grep -v '^ *+' conftest.er1 >conftest.err
10116 cat conftest.err >&5
10117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118 (exit $ac_status); } && {
10119 test -z "$ac_c_werror_flag" ||
10120 test ! -s conftest.err
10121 } && test -s conftest$ac_exeext &&
10122 $as_test_x conftest$ac_exeext; then
10125 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'` ;;
10126 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10129 echo "$as_me: failed program was:" >&5
10130 sed 's/^/| /' conftest.$ac_ext >&5
10135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10136 conftest$ac_exeext conftest.$ac_ext
10137 LIBS=$ac_check_soname_save_LIBS
10139 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10140 { echo "$as_me:$LINENO: result: not found" >&5
10141 echo "${ECHO_T}not found" >&6; }
10144 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10145 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10147 cat >>confdefs.h <<_ACEOF
10148 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10151 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10152 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10153 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10154 echo $ECHO_N "(cached) $ECHO_C" >&6
10156 ac_check_lib_save_LIBS=$LIBS
10157 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10158 cat >conftest.$ac_ext <<_ACEOF
10161 cat confdefs.h >>conftest.$ac_ext
10162 cat >>conftest.$ac_ext <<_ACEOF
10163 /* end confdefs.h. */
10165 /* Override any GCC internal prototype to avoid an error.
10166 Use char because int might match the return type of a GCC
10167 builtin and then its argument prototype would still apply. */
10171 char XRenderSetPictureTransform ();
10175 return XRenderSetPictureTransform ();
10180 rm -f conftest.$ac_objext conftest$ac_exeext
10181 if { (ac_try="$ac_link"
10182 case "(($ac_try" in
10183 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10184 *) ac_try_echo
=$ac_try;;
10186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10187 (eval "$ac_link") 2>conftest.er1
10189 grep -v '^ *+' conftest.er1
>conftest.err
10191 cat conftest.err
>&5
10192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10193 (exit $ac_status); } && {
10194 test -z "$ac_c_werror_flag" ||
10195 test ! -s conftest.err
10196 } && test -s conftest
$ac_exeext &&
10197 $as_test_x conftest
$ac_exeext; then
10198 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10200 echo "$as_me: failed program was:" >&5
10201 sed 's/^/| /' conftest.
$ac_ext >&5
10203 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10206 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10207 conftest
$ac_exeext conftest.
$ac_ext
10208 LIBS
=$ac_check_lib_save_LIBS
10210 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10211 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10212 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10214 cat >>confdefs.h
<<\_ACEOF
10215 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10224 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10225 case "x$with_xrender" in
10226 x
) wine_notices
="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10228 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10229 This is an error since --with-xrender was requested." >&5
10230 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10231 This is an error since --with-xrender was requested." >&2;}
10232 { (exit 1); exit 1; }; } ;;
10237 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10239 cat >conftest.
$ac_ext <<_ACEOF
10242 cat confdefs.h
>>conftest.
$ac_ext
10243 cat >>conftest.
$ac_ext <<_ACEOF
10244 /* end confdefs.h. */
10245 #include <X11/Xlib.h>
10246 #include <X11/extensions/Xrandr.h>
10250 static typeof(XRRSetScreenConfigAndRate) * func;
10255 rm -f conftest.
$ac_objext
10256 if { (ac_try
="$ac_compile"
10257 case "(($ac_try" in
10258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10259 *) ac_try_echo=$ac_try;;
10261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10262 (eval "$ac_compile") 2>conftest.er1
10264 grep -v '^ *+' conftest.er1 >conftest.err
10266 cat conftest.err >&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 (exit $ac_status); } && {
10269 test -z "$ac_c_werror_flag" ||
10270 test ! -s conftest.err
10271 } && test -s conftest.$ac_objext; then
10272 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10273 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10274 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10275 echo $ECHO_N "(cached) $ECHO_C" >&6
10277 ac_check_soname_save_LIBS=$LIBS
10278 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10279 cat >conftest.$ac_ext <<_ACEOF
10282 cat confdefs.h >>conftest.$ac_ext
10283 cat >>conftest.$ac_ext <<_ACEOF
10284 /* end confdefs.h. */
10286 /* Override any GCC internal prototype to avoid an error.
10287 Use char because int might match the return type of a GCC
10288 builtin and then its argument prototype would still apply. */
10292 char XRRQueryExtension ();
10296 return XRRQueryExtension ();
10301 rm -f conftest.$ac_objext conftest$ac_exeext
10302 if { (ac_try="$ac_link"
10303 case "(($ac_try" in
10304 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10305 *) ac_try_echo
=$ac_try;;
10307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10308 (eval "$ac_link") 2>conftest.er1
10310 grep -v '^ *+' conftest.er1
>conftest.err
10312 cat conftest.err
>&5
10313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 (exit $ac_status); } && {
10315 test -z "$ac_c_werror_flag" ||
10316 test ! -s conftest.err
10317 } && test -s conftest
$ac_exeext &&
10318 $as_test_x conftest
$ac_exeext; then
10321 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'` ;;
10322 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10325 echo "$as_me: failed program was:" >&5
10326 sed 's/^/| /' conftest.
$ac_ext >&5
10331 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10332 conftest
$ac_exeext conftest.
$ac_ext
10333 LIBS
=$ac_check_soname_save_LIBS
10335 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10336 { echo "$as_me:$LINENO: result: not found" >&5
10337 echo "${ECHO_T}not found" >&6; }
10340 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10341 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10343 cat >>confdefs.h
<<_ACEOF
10344 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10351 echo "$as_me: failed program was:" >&5
10352 sed 's/^/| /' conftest.
$ac_ext >&5
10357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10359 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10360 case "x$with_xrandr" in
10361 x
) wine_notices
="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10363 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10364 This is an error since --with-xrandr was requested." >&5
10365 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10366 This is an error since --with-xrandr was requested." >&2;}
10367 { (exit 1); exit 1; }; } ;;
10372 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10374 cat >conftest.
$ac_ext <<_ACEOF
10377 cat confdefs.h
>>conftest.
$ac_ext
10378 cat >>conftest.
$ac_ext <<_ACEOF
10379 /* end confdefs.h. */
10380 #include <X11/Xlib.h>
10381 #include <X11/extensions/Xinerama.h>
10385 static typeof(XineramaQueryScreens) * func;
10390 rm -f conftest.
$ac_objext
10391 if { (ac_try
="$ac_compile"
10392 case "(($ac_try" in
10393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10394 *) ac_try_echo=$ac_try;;
10396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10397 (eval "$ac_compile") 2>conftest.er1
10399 grep -v '^ *+' conftest.er1 >conftest.err
10401 cat conftest.err >&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); } && {
10404 test -z "$ac_c_werror_flag" ||
10405 test ! -s conftest.err
10406 } && test -s conftest.$ac_objext; then
10407 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10408 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10409 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10410 echo $ECHO_N "(cached) $ECHO_C" >&6
10412 ac_check_soname_save_LIBS=$LIBS
10413 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10414 cat >conftest.$ac_ext <<_ACEOF
10417 cat confdefs.h >>conftest.$ac_ext
10418 cat >>conftest.$ac_ext <<_ACEOF
10419 /* end confdefs.h. */
10421 /* Override any GCC internal prototype to avoid an error.
10422 Use char because int might match the return type of a GCC
10423 builtin and then its argument prototype would still apply. */
10427 char XineramaQueryScreens ();
10431 return XineramaQueryScreens ();
10436 rm -f conftest.$ac_objext conftest$ac_exeext
10437 if { (ac_try="$ac_link"
10438 case "(($ac_try" in
10439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10440 *) ac_try_echo
=$ac_try;;
10442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10443 (eval "$ac_link") 2>conftest.er1
10445 grep -v '^ *+' conftest.er1
>conftest.err
10447 cat conftest.err
>&5
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); } && {
10450 test -z "$ac_c_werror_flag" ||
10451 test ! -s conftest.err
10452 } && test -s conftest
$ac_exeext &&
10453 $as_test_x conftest
$ac_exeext; then
10456 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'` ;;
10457 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10460 echo "$as_me: failed program was:" >&5
10461 sed 's/^/| /' conftest.
$ac_ext >&5
10466 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10467 conftest
$ac_exeext conftest.
$ac_ext
10468 LIBS
=$ac_check_soname_save_LIBS
10470 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10471 { echo "$as_me:$LINENO: result: not found" >&5
10472 echo "${ECHO_T}not found" >&6; }
10475 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10476 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10478 cat >>confdefs.h
<<_ACEOF
10479 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10486 echo "$as_me: failed program was:" >&5
10487 sed 's/^/| /' conftest.
$ac_ext >&5
10492 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10494 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10495 case "x$with_xinerama" in
10496 x
) wine_notices
="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10498 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10499 This is an error since --with-xinerama was requested." >&5
10500 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10501 This is an error since --with-xinerama was requested." >&2;}
10502 { (exit 1); exit 1; }; } ;;
10507 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10509 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10510 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10511 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10512 echo $ECHO_N "(cached) $ECHO_C" >&6
10514 ac_check_soname_save_LIBS
=$LIBS
10515 LIBS
="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10516 cat >conftest.
$ac_ext <<_ACEOF
10519 cat confdefs.h
>>conftest.
$ac_ext
10520 cat >>conftest.
$ac_ext <<_ACEOF
10521 /* end confdefs.h. */
10523 /* Override any GCC internal prototype to avoid an error.
10524 Use char because int might match the return type of a GCC
10525 builtin and then its argument prototype would still apply. */
10529 char XCompositeRedirectWindow ();
10533 return XCompositeRedirectWindow ();
10538 rm -f conftest.
$ac_objext conftest
$ac_exeext
10539 if { (ac_try
="$ac_link"
10540 case "(($ac_try" in
10541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10542 *) ac_try_echo=$ac_try;;
10544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10545 (eval "$ac_link") 2>conftest.er1
10547 grep -v '^ *+' conftest.er1 >conftest.err
10549 cat conftest.err >&5
10550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10551 (exit $ac_status); } && {
10552 test -z "$ac_c_werror_flag" ||
10553 test ! -s conftest.err
10554 } && test -s conftest$ac_exeext &&
10555 $as_test_x conftest$ac_exeext; then
10558 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'` ;;
10559 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXcomposite\\.$LIBEXT" |
sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10562 echo "$as_me: failed program was:" >&5
10563 sed 's/^/| /' conftest.$ac_ext >&5
10568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10569 conftest$ac_exeext conftest.$ac_ext
10570 LIBS=$ac_check_soname_save_LIBS
10572 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10573 { echo "$as_me:$LINENO: result: not found" >&5
10574 echo "${ECHO_T}not found" >&6; }
10577 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10578 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10580 cat >>confdefs.h <<_ACEOF
10581 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10588 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10589 case "x$with_xcomposite" in
10590 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10592 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10593 This is an error since --with-xcomposite was requested." >&5
10594 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10595 This is an error since --with-xcomposite was requested." >&2;}
10596 { (exit 1); exit 1; }; } ;;
10603 if test "x$with_opengl" != "xno"
10609 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10611 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10612 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10614 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10615 echo $ECHO_N "(cached) $ECHO_C" >&6
10617 cat >conftest.$ac_ext <<_ACEOF
10620 cat confdefs.h >>conftest.$ac_ext
10621 cat >>conftest.$ac_ext <<_ACEOF
10622 /* end confdefs.h. */
10623 #ifdef HAVE_GL_GLX_H
10624 # include <GL/glx.h>
10627 #include <$ac_header>
10629 rm -f conftest.$ac_objext
10630 if { (ac_try="$ac_compile"
10631 case "(($ac_try" in
10632 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10633 *) ac_try_echo
=$ac_try;;
10635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10636 (eval "$ac_compile") 2>conftest.er1
10638 grep -v '^ *+' conftest.er1
>conftest.err
10640 cat conftest.err
>&5
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); } && {
10643 test -z "$ac_c_werror_flag" ||
10644 test ! -s conftest.err
10645 } && test -s conftest.
$ac_objext; then
10646 eval "$as_ac_Header=yes"
10648 echo "$as_me: failed program was:" >&5
10649 sed 's/^/| /' conftest.
$ac_ext >&5
10651 eval "$as_ac_Header=no"
10654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10656 ac_res
=`eval echo '${'$as_ac_Header'}'`
10657 { echo "$as_me:$LINENO: result: $ac_res" >&5
10658 echo "${ECHO_T}$ac_res" >&6; }
10659 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10660 cat >>confdefs.h
<<_ACEOF
10661 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10668 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10670 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10671 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10672 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10673 echo $ECHO_N "(cached) $ECHO_C" >&6
10675 cat >conftest.
$ac_ext <<_ACEOF
10678 cat confdefs.h
>>conftest.
$ac_ext
10679 cat >>conftest.
$ac_ext <<_ACEOF
10680 /* end confdefs.h. */
10685 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10690 rm -f conftest.
$ac_objext
10691 if { (ac_try
="$ac_compile"
10692 case "(($ac_try" in
10693 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10694 *) ac_try_echo=$ac_try;;
10696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10697 (eval "$ac_compile") 2>conftest.er1
10699 grep -v '^ *+' conftest.er1 >conftest.err
10701 cat conftest.err >&5
10702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703 (exit $ac_status); } && {
10704 test -z "$ac_c_werror_flag" ||
10705 test ! -s conftest.err
10706 } && test -s conftest.$ac_objext; then
10707 wine_cv_opengl_header_version_OK="yes"
10709 echo "$as_me: failed program was:" >&5
10710 sed 's/^/| /' conftest.$ac_ext >&5
10712 wine_cv_opengl_header_version_OK="no"
10715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10717 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10718 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10720 if test "$wine_cv_opengl_header_version_OK" = "yes"
10722 { echo "$as_me:$LINENO: checking for -lGL" >&5
10723 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10724 if test "${ac_cv_lib_soname_GL+set}" = set; then
10725 echo $ECHO_N "(cached) $ECHO_C" >&6
10727 ac_check_soname_save_LIBS=$LIBS
10728 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10729 cat >conftest.$ac_ext <<_ACEOF
10732 cat confdefs.h >>conftest.$ac_ext
10733 cat >>conftest.$ac_ext <<_ACEOF
10734 /* end confdefs.h. */
10736 /* Override any GCC internal prototype to avoid an error.
10737 Use char because int might match the return type of a GCC
10738 builtin and then its argument prototype would still apply. */
10742 char glXCreateContext ();
10746 return glXCreateContext ();
10751 rm -f conftest.$ac_objext conftest$ac_exeext
10752 if { (ac_try="$ac_link"
10753 case "(($ac_try" in
10754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10755 *) ac_try_echo
=$ac_try;;
10757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10758 (eval "$ac_link") 2>conftest.er1
10760 grep -v '^ *+' conftest.er1
>conftest.err
10762 cat conftest.err
>&5
10763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764 (exit $ac_status); } && {
10765 test -z "$ac_c_werror_flag" ||
10766 test ! -s conftest.err
10767 } && test -s conftest
$ac_exeext &&
10768 $as_test_x conftest
$ac_exeext; then
10771 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'` ;;
10772 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10775 echo "$as_me: failed program was:" >&5
10776 sed 's/^/| /' conftest.
$ac_ext >&5
10781 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10782 conftest
$ac_exeext conftest.
$ac_ext
10783 LIBS
=$ac_check_soname_save_LIBS
10785 if test "x$ac_cv_lib_soname_GL" = "x"; then
10786 { echo "$as_me:$LINENO: result: not found" >&5
10787 echo "${ECHO_T}not found" >&6; }
10788 { echo "$as_me:$LINENO: checking for -lGL" >&5
10789 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10790 if test "${ac_cv_lib_soname_GL+set}" = set; then
10791 echo $ECHO_N "(cached) $ECHO_C" >&6
10793 ac_check_soname_save_LIBS
=$LIBS
10794 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"
10795 cat >conftest.
$ac_ext <<_ACEOF
10798 cat confdefs.h
>>conftest.
$ac_ext
10799 cat >>conftest.
$ac_ext <<_ACEOF
10800 /* end confdefs.h. */
10802 /* Override any GCC internal prototype to avoid an error.
10803 Use char because int might match the return type of a GCC
10804 builtin and then its argument prototype would still apply. */
10808 char glXCreateContext ();
10812 return glXCreateContext ();
10817 rm -f conftest.
$ac_objext conftest
$ac_exeext
10818 if { (ac_try
="$ac_link"
10819 case "(($ac_try" in
10820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10821 *) ac_try_echo=$ac_try;;
10823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10824 (eval "$ac_link") 2>conftest.er1
10826 grep -v '^ *+' conftest.er1 >conftest.err
10828 cat conftest.err >&5
10829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10830 (exit $ac_status); } && {
10831 test -z "$ac_c_werror_flag" ||
10832 test ! -s conftest.err
10833 } && test -s conftest$ac_exeext &&
10834 $as_test_x conftest$ac_exeext; then
10837 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'` ;;
10838 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libGL\\.$LIBEXT" |
sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10841 echo "$as_me: failed program was:" >&5
10842 sed 's/^/| /' conftest.$ac_ext >&5
10847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10848 conftest$ac_exeext conftest.$ac_ext
10849 LIBS=$ac_check_soname_save_LIBS
10851 if test "x$ac_cv_lib_soname_GL" = "x"; then
10852 { echo "$as_me:$LINENO: result: not found" >&5
10853 echo "${ECHO_T}not found" >&6; }
10854 if test -f /usr/X11R6/lib/libGL.a
10856 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10857 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10859 opengl_msg="No OpenGL library found on this system."
10862 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10863 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10865 cat >>confdefs.h <<_ACEOF
10866 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10869 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"
10870 OPENGLFILES='$(OPENGLFILES)'
10872 cat >>confdefs.h <<\_ACEOF
10873 #define HAVE_OPENGL 1
10879 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10880 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10882 cat >>confdefs.h <<_ACEOF
10883 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10887 OPENGLFILES='$(OPENGLFILES)'
10889 cat >>confdefs.h <<\_ACEOF
10890 #define HAVE_OPENGL 1
10896 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10897 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10898 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10899 echo $ECHO_N "(cached) $ECHO_C" >&6
10901 ac_check_lib_save_LIBS=$LIBS
10902 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10903 cat >conftest.$ac_ext <<_ACEOF
10906 cat confdefs.h >>conftest.$ac_ext
10907 cat >>conftest.$ac_ext <<_ACEOF
10908 /* end confdefs.h. */
10910 /* Override any GCC internal prototype to avoid an error.
10911 Use char because int might match the return type of a GCC
10912 builtin and then its argument prototype would still apply. */
10920 return gluLookAt ();
10925 rm -f conftest.$ac_objext conftest$ac_exeext
10926 if { (ac_try="$ac_link"
10927 case "(($ac_try" in
10928 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10929 *) ac_try_echo
=$ac_try;;
10931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10932 (eval "$ac_link") 2>conftest.er1
10934 grep -v '^ *+' conftest.er1
>conftest.err
10936 cat conftest.err
>&5
10937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); } && {
10939 test -z "$ac_c_werror_flag" ||
10940 test ! -s conftest.err
10941 } && test -s conftest
$ac_exeext &&
10942 $as_test_x conftest
$ac_exeext; then
10943 ac_cv_lib_GLU_gluLookAt
=yes
10945 echo "$as_me: failed program was:" >&5
10946 sed 's/^/| /' conftest.
$ac_ext >&5
10948 ac_cv_lib_GLU_gluLookAt
=no
10951 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10952 conftest
$ac_exeext conftest.
$ac_ext
10953 LIBS
=$ac_check_lib_save_LIBS
10955 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10956 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10957 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10958 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
10959 GLU32FILES
='$(GLU32FILES)'
10964 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
10967 opengl_msg
="OpenGL development headers not found."
10970 if test -n "$opengl_msg"; then
10971 case "x$with_opengl" in
10972 x
) wine_warnings
="$wine_warnings|$opengl_msg
10973 OpenGL and Direct3D won't be supported." ;;
10975 *) { { echo "$as_me:$LINENO: error: $opengl_msg
10976 OpenGL and Direct3D won't be supported.
10977 This is an error since --with-opengl was requested." >&5
10978 echo "$as_me: error: $opengl_msg
10979 OpenGL and Direct3D won't be supported.
10980 This is an error since --with-opengl was requested." >&2;}
10981 { (exit 1); exit 1; }; } ;;
10989 for ac_header
in audio
/audiolib.h
10991 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10992 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10993 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10995 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10996 echo $ECHO_N "(cached) $ECHO_C" >&6
10998 ac_res
=`eval echo '${'$as_ac_Header'}'`
10999 { echo "$as_me:$LINENO: result: $ac_res" >&5
11000 echo "${ECHO_T}$ac_res" >&6; }
11002 # Is the header compilable?
11003 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11004 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11005 cat >conftest.
$ac_ext <<_ACEOF
11008 cat confdefs.h
>>conftest.
$ac_ext
11009 cat >>conftest.
$ac_ext <<_ACEOF
11010 /* end confdefs.h. */
11011 $ac_includes_default
11012 #include <$ac_header>
11014 rm -f conftest.
$ac_objext
11015 if { (ac_try
="$ac_compile"
11016 case "(($ac_try" in
11017 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11018 *) ac_try_echo=$ac_try;;
11020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11021 (eval "$ac_compile") 2>conftest.er1
11023 grep -v '^ *+' conftest.er1 >conftest.err
11025 cat conftest.err >&5
11026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11027 (exit $ac_status); } && {
11028 test -z "$ac_c_werror_flag" ||
11029 test ! -s conftest.err
11030 } && test -s conftest.$ac_objext; then
11031 ac_header_compiler=yes
11033 echo "$as_me: failed program was:" >&5
11034 sed 's/^/| /' conftest.$ac_ext >&5
11036 ac_header_compiler=no
11039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11040 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11041 echo "${ECHO_T}$ac_header_compiler" >&6; }
11043 # Is the header present?
11044 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11045 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11046 cat >conftest.$ac_ext <<_ACEOF
11049 cat confdefs.h >>conftest.$ac_ext
11050 cat >>conftest.$ac_ext <<_ACEOF
11051 /* end confdefs.h. */
11052 #include <$ac_header>
11054 if { (ac_try="$ac_cpp conftest.$ac_ext"
11055 case "(($ac_try" in
11056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11057 *) ac_try_echo
=$ac_try;;
11059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11062 grep -v '^ *+' conftest.er1
>conftest.err
11064 cat conftest.err
>&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); } >/dev
/null
&& {
11067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11068 test ! -s conftest.err
11070 ac_header_preproc
=yes
11072 echo "$as_me: failed program was:" >&5
11073 sed 's/^/| /' conftest.
$ac_ext >&5
11075 ac_header_preproc
=no
11078 rm -f conftest.err conftest.
$ac_ext
11079 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11080 echo "${ECHO_T}$ac_header_preproc" >&6; }
11082 # So? What about this header?
11083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11085 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11086 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11088 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11089 ac_header_preproc
=yes
11092 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11093 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11094 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11095 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11096 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11097 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11098 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11099 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11102 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11103 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11105 ## ------------------------------------ ##
11106 ## Report this to wine-devel@winehq.org ##
11107 ## ------------------------------------ ##
11109 ) |
sed "s/^/$as_me: WARNING: /" >&2
11112 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11114 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11115 echo $ECHO_N "(cached) $ECHO_C" >&6
11117 eval "$as_ac_Header=\$ac_header_preproc"
11119 ac_res
=`eval echo '${'$as_ac_Header'}'`
11120 { echo "$as_me:$LINENO: result: $ac_res" >&5
11121 echo "${ECHO_T}$ac_res" >&6; }
11124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11125 cat >>confdefs.h
<<_ACEOF
11126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11129 for ac_header
in audio
/soundlib.h
11131 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11132 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11134 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11135 echo $ECHO_N "(cached) $ECHO_C" >&6
11137 cat >conftest.
$ac_ext <<_ACEOF
11140 cat confdefs.h
>>conftest.
$ac_ext
11141 cat >>conftest.
$ac_ext <<_ACEOF
11142 /* end confdefs.h. */
11143 #include <audio/audiolib.h>
11145 #include <$ac_header>
11147 rm -f conftest.
$ac_objext
11148 if { (ac_try
="$ac_compile"
11149 case "(($ac_try" in
11150 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11151 *) ac_try_echo=$ac_try;;
11153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11154 (eval "$ac_compile") 2>conftest.er1
11156 grep -v '^ *+' conftest.er1 >conftest.err
11158 cat conftest.err >&5
11159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160 (exit $ac_status); } && {
11161 test -z "$ac_c_werror_flag" ||
11162 test ! -s conftest.err
11163 } && test -s conftest.$ac_objext; then
11164 eval "$as_ac_Header=yes"
11166 echo "$as_me: failed program was:" >&5
11167 sed 's/^/| /' conftest.$ac_ext >&5
11169 eval "$as_ac_Header=no"
11172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11174 ac_res=`eval echo '${'$as_ac_Header'}'`
11175 { echo "$as_me:$LINENO: result: $ac_res" >&5
11176 echo "${ECHO_T}$ac_res" >&6; }
11177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11178 cat >>confdefs.h <<_ACEOF
11179 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11186 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11187 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11188 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11191 ac_check_lib_save_LIBS=$LIBS
11192 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11193 cat >conftest.$ac_ext <<_ACEOF
11196 cat confdefs.h >>conftest.$ac_ext
11197 cat >>conftest.$ac_ext <<_ACEOF
11198 /* end confdefs.h. */
11200 /* Override any GCC internal prototype to avoid an error.
11201 Use char because int might match the return type of a GCC
11202 builtin and then its argument prototype would still apply. */
11206 char AuCreateFlow ();
11210 return AuCreateFlow ();
11215 rm -f conftest.$ac_objext conftest$ac_exeext
11216 if { (ac_try="$ac_link"
11217 case "(($ac_try" in
11218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11219 *) ac_try_echo
=$ac_try;;
11221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11222 (eval "$ac_link") 2>conftest.er1
11224 grep -v '^ *+' conftest.er1
>conftest.err
11226 cat conftest.err
>&5
11227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228 (exit $ac_status); } && {
11229 test -z "$ac_c_werror_flag" ||
11230 test ! -s conftest.err
11231 } && test -s conftest
$ac_exeext &&
11232 $as_test_x conftest
$ac_exeext; then
11233 ac_cv_lib_audio_AuCreateFlow
=yes
11235 echo "$as_me: failed program was:" >&5
11236 sed 's/^/| /' conftest.
$ac_ext >&5
11238 ac_cv_lib_audio_AuCreateFlow
=no
11241 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11242 conftest
$ac_exeext conftest.
$ac_ext
11243 LIBS
=$ac_check_lib_save_LIBS
11245 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11246 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11247 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11249 cat >>confdefs.h
<<\_ACEOF
11253 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11254 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11255 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11256 echo $ECHO_N "(cached) $ECHO_C" >&6
11258 ac_check_lib_save_LIBS
=$LIBS
11259 LIBS
="-lXau $X_LIBS $LIBS"
11260 cat >conftest.
$ac_ext <<_ACEOF
11263 cat confdefs.h
>>conftest.
$ac_ext
11264 cat >>conftest.
$ac_ext <<_ACEOF
11265 /* end confdefs.h. */
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11273 char XauGetBestAuthByAddr ();
11277 return XauGetBestAuthByAddr ();
11282 rm -f conftest.
$ac_objext conftest
$ac_exeext
11283 if { (ac_try
="$ac_link"
11284 case "(($ac_try" in
11285 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11286 *) ac_try_echo=$ac_try;;
11288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11289 (eval "$ac_link") 2>conftest.er1
11291 grep -v '^ *+' conftest.er1 >conftest.err
11293 cat conftest.err >&5
11294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295 (exit $ac_status); } && {
11296 test -z "$ac_c_werror_flag" ||
11297 test ! -s conftest.err
11298 } && test -s conftest$ac_exeext &&
11299 $as_test_x conftest$ac_exeext; then
11300 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11302 echo "$as_me: failed program was:" >&5
11303 sed 's/^/| /' conftest.$ac_ext >&5
11305 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11309 conftest$ac_exeext conftest.$ac_ext
11310 LIBS=$ac_check_lib_save_LIBS
11312 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11313 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11314 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11315 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11317 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11328 CPPFLAGS="$ac_save_CPPFLAGS"
11335 if test "x$XLIB" = "x"; then
11337 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11338 without X support, which probably isn't what you want. You will need to install
11339 development packages of Xlib/Xfree86 at the very least." ;;
11341 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11342 without X support, which probably isn't what you want. You will need to install
11343 development packages of Xlib/Xfree86 at the very least.
11344 This is an error since --with-x was requested." >&5
11345 echo "$as_me: error: X development files not found. Wine will be built
11346 without X support, which probably isn't what you want. You will need to install
11347 development packages of Xlib/Xfree86 at the very least.
11348 This is an error since --with-x was requested." >&2;}
11349 { (exit 1); exit 1; }; } ;;
11363 if test "x$with_xml" != "xno"
11365 ac_save_CPPFLAGS="$CPPFLAGS"
11366 if test "$PKG_CONFIG" != "false"
11368 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
11369 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
11371 ac_xml_libs="`xml2-config
--libs 2>/dev
/null
`"
11372 ac_xml_cflags="`xml2-config
--cflags 2>/dev
/null
`"
11374 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11376 for ac_header in libxml/parser.h
11378 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11379 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11380 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11382 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11383 echo $ECHO_N "(cached) $ECHO_C" >&6
11385 ac_res=`eval echo '${'$as_ac_Header'}'`
11386 { echo "$as_me:$LINENO: result: $ac_res" >&5
11387 echo "${ECHO_T}$ac_res" >&6; }
11389 # Is the header compilable?
11390 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11391 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11392 cat >conftest.$ac_ext <<_ACEOF
11395 cat confdefs.h >>conftest.$ac_ext
11396 cat >>conftest.$ac_ext <<_ACEOF
11397 /* end confdefs.h. */
11398 $ac_includes_default
11399 #include <$ac_header>
11401 rm -f conftest.$ac_objext
11402 if { (ac_try="$ac_compile"
11403 case "(($ac_try" in
11404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11405 *) ac_try_echo
=$ac_try;;
11407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11408 (eval "$ac_compile") 2>conftest.er1
11410 grep -v '^ *+' conftest.er1
>conftest.err
11412 cat conftest.err
>&5
11413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11414 (exit $ac_status); } && {
11415 test -z "$ac_c_werror_flag" ||
11416 test ! -s conftest.err
11417 } && test -s conftest.
$ac_objext; then
11418 ac_header_compiler
=yes
11420 echo "$as_me: failed program was:" >&5
11421 sed 's/^/| /' conftest.
$ac_ext >&5
11423 ac_header_compiler
=no
11426 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11427 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11428 echo "${ECHO_T}$ac_header_compiler" >&6; }
11430 # Is the header present?
11431 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11432 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11433 cat >conftest.
$ac_ext <<_ACEOF
11436 cat confdefs.h
>>conftest.
$ac_ext
11437 cat >>conftest.
$ac_ext <<_ACEOF
11438 /* end confdefs.h. */
11439 #include <$ac_header>
11441 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11442 case "(($ac_try" in
11443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11444 *) ac_try_echo=$ac_try;;
11446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11447 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11449 grep -v '^ *+' conftest.er1 >conftest.err
11451 cat conftest.err >&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); } >/dev/null && {
11454 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11455 test ! -s conftest.err
11457 ac_header_preproc=yes
11459 echo "$as_me: failed program was:" >&5
11460 sed 's/^/| /' conftest.$ac_ext >&5
11462 ac_header_preproc=no
11465 rm -f conftest.err conftest.$ac_ext
11466 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11467 echo "${ECHO_T}$ac_header_preproc" >&6; }
11469 # So? What about this header?
11470 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11472 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11473 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11475 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11476 ac_header_preproc=yes
11479 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11480 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11481 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11482 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11483 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11484 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11485 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11486 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11488 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11489 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11490 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11492 ## ------------------------------------ ##
11493 ## Report this to wine-devel@winehq.org ##
11494 ## ------------------------------------ ##
11496 ) | sed "s/^/$as_me: WARNING: /" >&2
11499 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11501 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11502 echo $ECHO_N "(cached) $ECHO_C" >&6
11504 eval "$as_ac_Header=\$ac_header_preproc"
11506 ac_res=`eval echo '${'$as_ac_Header'}'`
11507 { echo "$as_me:$LINENO: result: $ac_res" >&5
11508 echo "${ECHO_T}$ac_res" >&6; }
11511 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11512 cat >>confdefs.h <<_ACEOF
11513 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11515 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11516 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11517 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11520 ac_check_lib_save_LIBS=$LIBS
11521 LIBS="-lxml2 $ac_xml_libs $LIBS"
11522 cat >conftest.$ac_ext <<_ACEOF
11525 cat confdefs.h >>conftest.$ac_ext
11526 cat >>conftest.$ac_ext <<_ACEOF
11527 /* end confdefs.h. */
11529 /* Override any GCC internal prototype to avoid an error.
11530 Use char because int might match the return type of a GCC
11531 builtin and then its argument prototype would still apply. */
11535 char xmlParseMemory ();
11539 return xmlParseMemory ();
11544 rm -f conftest.$ac_objext conftest$ac_exeext
11545 if { (ac_try="$ac_link"
11546 case "(($ac_try" in
11547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11548 *) ac_try_echo
=$ac_try;;
11550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11551 (eval "$ac_link") 2>conftest.er1
11553 grep -v '^ *+' conftest.er1
>conftest.err
11555 cat conftest.err
>&5
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); } && {
11558 test -z "$ac_c_werror_flag" ||
11559 test ! -s conftest.err
11560 } && test -s conftest
$ac_exeext &&
11561 $as_test_x conftest
$ac_exeext; then
11562 ac_cv_lib_xml2_xmlParseMemory
=yes
11564 echo "$as_me: failed program was:" >&5
11565 sed 's/^/| /' conftest.
$ac_ext >&5
11567 ac_cv_lib_xml2_xmlParseMemory
=no
11570 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11571 conftest
$ac_exeext conftest.
$ac_ext
11572 LIBS
=$ac_check_lib_save_LIBS
11574 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11575 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11576 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11578 cat >>confdefs.h
<<\_ACEOF
11579 #define HAVE_LIBXML2 1
11582 XML2LIBS
="$ac_xml_libs"
11583 XML2INCL
="$ac_xml_cflags"
11586 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11587 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11588 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11589 echo $ECHO_N "(cached) $ECHO_C" >&6
11591 ac_check_lib_save_LIBS
=$LIBS
11592 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11593 cat >conftest.
$ac_ext <<_ACEOF
11596 cat confdefs.h
>>conftest.
$ac_ext
11597 cat >>conftest.
$ac_ext <<_ACEOF
11598 /* end confdefs.h. */
11600 /* Override any GCC internal prototype to avoid an error.
11601 Use char because int might match the return type of a GCC
11602 builtin and then its argument prototype would still apply. */
11606 char xmlReadMemory ();
11610 return xmlReadMemory ();
11615 rm -f conftest.
$ac_objext conftest
$ac_exeext
11616 if { (ac_try
="$ac_link"
11617 case "(($ac_try" in
11618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11619 *) ac_try_echo=$ac_try;;
11621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11622 (eval "$ac_link") 2>conftest.er1
11624 grep -v '^ *+' conftest.er1 >conftest.err
11626 cat conftest.err >&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); } && {
11629 test -z "$ac_c_werror_flag" ||
11630 test ! -s conftest.err
11631 } && test -s conftest$ac_exeext &&
11632 $as_test_x conftest$ac_exeext; then
11633 ac_cv_lib_xml2_xmlReadMemory=yes
11635 echo "$as_me: failed program was:" >&5
11636 sed 's/^/| /' conftest.$ac_ext >&5
11638 ac_cv_lib_xml2_xmlReadMemory=no
11641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11642 conftest$ac_exeext conftest.$ac_ext
11643 LIBS=$ac_check_lib_save_LIBS
11645 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11646 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11647 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11649 cat >>confdefs.h <<\_ACEOF
11650 #define HAVE_XMLREADMEMORY 1
11655 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11656 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11657 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11658 echo $ECHO_N "(cached) $ECHO_C" >&6
11660 ac_check_lib_save_LIBS=$LIBS
11661 LIBS="-lxml2 $ac_xml_libs $LIBS"
11662 cat >conftest.$ac_ext <<_ACEOF
11665 cat confdefs.h >>conftest.$ac_ext
11666 cat >>conftest.$ac_ext <<_ACEOF
11667 /* end confdefs.h. */
11669 /* Override any GCC internal prototype to avoid an error.
11670 Use char because int might match the return type of a GCC
11671 builtin and then its argument prototype would still apply. */
11675 char xmlNewDocPI ();
11679 return xmlNewDocPI ();
11684 rm -f conftest.$ac_objext conftest$ac_exeext
11685 if { (ac_try="$ac_link"
11686 case "(($ac_try" in
11687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11688 *) ac_try_echo
=$ac_try;;
11690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11691 (eval "$ac_link") 2>conftest.er1
11693 grep -v '^ *+' conftest.er1
>conftest.err
11695 cat conftest.err
>&5
11696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11697 (exit $ac_status); } && {
11698 test -z "$ac_c_werror_flag" ||
11699 test ! -s conftest.err
11700 } && test -s conftest
$ac_exeext &&
11701 $as_test_x conftest
$ac_exeext; then
11702 ac_cv_lib_xml2_xmlNewDocPI
=yes
11704 echo "$as_me: failed program was:" >&5
11705 sed 's/^/| /' conftest.
$ac_ext >&5
11707 ac_cv_lib_xml2_xmlNewDocPI
=no
11710 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11711 conftest
$ac_exeext conftest.
$ac_ext
11712 LIBS
=$ac_check_lib_save_LIBS
11714 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11715 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11716 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11718 cat >>confdefs.h
<<\_ACEOF
11719 #define HAVE_XMLNEWDOCPI 1
11729 CPPFLAGS
="$ac_save_CPPFLAGS"
11731 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11732 case "x$with_xml" in
11733 x
) wine_notices
="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11735 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11736 This is an error since --with-xml was requested." >&5
11737 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11738 This is an error since --with-xml was requested." >&2;}
11739 { (exit 1); exit 1; }; } ;;
11744 if test "x$with_xslt" != "xno"
11746 if test "$PKG_CONFIG" != "false"
11748 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11749 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11751 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
11752 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
11754 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
11757 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11759 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11760 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11762 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11763 echo $ECHO_N "(cached) $ECHO_C" >&6
11765 cat >conftest.
$ac_ext <<_ACEOF
11768 cat confdefs.h
>>conftest.
$ac_ext
11769 cat >>conftest.
$ac_ext <<_ACEOF
11770 /* end confdefs.h. */
11771 #ifdef HAVE_LIBXSLT_PATTERN_H
11772 # include <libxslt/pattern.h>
11775 #include <$ac_header>
11777 rm -f conftest.
$ac_objext
11778 if { (ac_try
="$ac_compile"
11779 case "(($ac_try" in
11780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11781 *) ac_try_echo=$ac_try;;
11783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11784 (eval "$ac_compile") 2>conftest.er1
11786 grep -v '^ *+' conftest.er1 >conftest.err
11788 cat conftest.err >&5
11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11790 (exit $ac_status); } && {
11791 test -z "$ac_c_werror_flag" ||
11792 test ! -s conftest.err
11793 } && test -s conftest.$ac_objext; then
11794 eval "$as_ac_Header=yes"
11796 echo "$as_me: failed program was:" >&5
11797 sed 's/^/| /' conftest.$ac_ext >&5
11799 eval "$as_ac_Header=no"
11802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11804 ac_res=`eval echo '${'$as_ac_Header'}'`
11805 { echo "$as_me:$LINENO: result: $ac_res" >&5
11806 echo "${ECHO_T}$ac_res" >&6; }
11807 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11808 cat >>confdefs.h <<_ACEOF
11809 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11811 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11812 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11813 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11814 echo $ECHO_N "(cached) $ECHO_C" >&6
11816 ac_check_lib_save_LIBS=$LIBS
11817 LIBS="-lxslt $ac_xslt_libs $LIBS"
11818 cat >conftest.$ac_ext <<_ACEOF
11821 cat confdefs.h >>conftest.$ac_ext
11822 cat >>conftest.$ac_ext <<_ACEOF
11823 /* end confdefs.h. */
11825 /* Override any GCC internal prototype to avoid an error.
11826 Use char because int might match the return type of a GCC
11827 builtin and then its argument prototype would still apply. */
11831 char xsltCompilePattern ();
11835 return xsltCompilePattern ();
11840 rm -f conftest.$ac_objext conftest$ac_exeext
11841 if { (ac_try="$ac_link"
11842 case "(($ac_try" in
11843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11844 *) ac_try_echo
=$ac_try;;
11846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11847 (eval "$ac_link") 2>conftest.er1
11849 grep -v '^ *+' conftest.er1
>conftest.err
11851 cat conftest.err
>&5
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); } && {
11854 test -z "$ac_c_werror_flag" ||
11855 test ! -s conftest.err
11856 } && test -s conftest
$ac_exeext &&
11857 $as_test_x conftest
$ac_exeext; then
11858 ac_cv_lib_xslt_xsltCompilePattern
=yes
11860 echo "$as_me: failed program was:" >&5
11861 sed 's/^/| /' conftest.
$ac_ext >&5
11863 ac_cv_lib_xslt_xsltCompilePattern
=no
11866 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11867 conftest
$ac_exeext conftest.
$ac_ext
11868 LIBS
=$ac_check_lib_save_LIBS
11870 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11871 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11872 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11874 cat >>confdefs.h
<<\_ACEOF
11875 #define HAVE_LIBXSLT 1
11878 XSLTLIBS
="$ac_xslt_libs"
11879 XSLTINCL
="$ac_xslt_cflags"
11887 CPPFLAGS
="$ac_save_CPPFLAGS"
11889 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11890 case "x$with_xslt" in
11891 x
) wine_notices
="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
11893 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
11894 This is an error since --with-xslt was requested." >&5
11895 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
11896 This is an error since --with-xslt was requested." >&2;}
11897 { (exit 1); exit 1; }; } ;;
11904 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
11906 ac_save_CPPFLAGS
="$CPPFLAGS"
11907 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
11908 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11909 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
11912 for ac_header
in dbus
/dbus.h hal
/libhal.h
11914 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11915 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11916 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11918 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11919 echo $ECHO_N "(cached) $ECHO_C" >&6
11921 ac_res
=`eval echo '${'$as_ac_Header'}'`
11922 { echo "$as_me:$LINENO: result: $ac_res" >&5
11923 echo "${ECHO_T}$ac_res" >&6; }
11925 # Is the header compilable?
11926 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11927 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11928 cat >conftest.
$ac_ext <<_ACEOF
11931 cat confdefs.h
>>conftest.
$ac_ext
11932 cat >>conftest.
$ac_ext <<_ACEOF
11933 /* end confdefs.h. */
11934 $ac_includes_default
11935 #include <$ac_header>
11937 rm -f conftest.
$ac_objext
11938 if { (ac_try
="$ac_compile"
11939 case "(($ac_try" in
11940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11941 *) ac_try_echo=$ac_try;;
11943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11944 (eval "$ac_compile") 2>conftest.er1
11946 grep -v '^ *+' conftest.er1 >conftest.err
11948 cat conftest.err >&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); } && {
11951 test -z "$ac_c_werror_flag" ||
11952 test ! -s conftest.err
11953 } && test -s conftest.$ac_objext; then
11954 ac_header_compiler=yes
11956 echo "$as_me: failed program was:" >&5
11957 sed 's/^/| /' conftest.$ac_ext >&5
11959 ac_header_compiler=no
11962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11963 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11964 echo "${ECHO_T}$ac_header_compiler" >&6; }
11966 # Is the header present?
11967 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11968 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11969 cat >conftest.$ac_ext <<_ACEOF
11972 cat confdefs.h >>conftest.$ac_ext
11973 cat >>conftest.$ac_ext <<_ACEOF
11974 /* end confdefs.h. */
11975 #include <$ac_header>
11977 if { (ac_try="$ac_cpp conftest.$ac_ext"
11978 case "(($ac_try" in
11979 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11980 *) ac_try_echo
=$ac_try;;
11982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11983 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11985 grep -v '^ *+' conftest.er1
>conftest.err
11987 cat conftest.err
>&5
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); } >/dev
/null
&& {
11990 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11991 test ! -s conftest.err
11993 ac_header_preproc
=yes
11995 echo "$as_me: failed program was:" >&5
11996 sed 's/^/| /' conftest.
$ac_ext >&5
11998 ac_header_preproc
=no
12001 rm -f conftest.err conftest.
$ac_ext
12002 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12003 echo "${ECHO_T}$ac_header_preproc" >&6; }
12005 # So? What about this header?
12006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12008 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12009 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12011 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12012 ac_header_preproc
=yes
12015 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12016 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12017 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12018 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12019 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12020 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12021 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12022 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12024 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12025 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12026 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12028 ## ------------------------------------ ##
12029 ## Report this to wine-devel@winehq.org ##
12030 ## ------------------------------------ ##
12032 ) |
sed "s/^/$as_me: WARNING: /" >&2
12035 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12036 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12037 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12038 echo $ECHO_N "(cached) $ECHO_C" >&6
12040 eval "$as_ac_Header=\$ac_header_preproc"
12042 ac_res
=`eval echo '${'$as_ac_Header'}'`
12043 { echo "$as_me:$LINENO: result: $ac_res" >&5
12044 echo "${ECHO_T}$ac_res" >&6; }
12047 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12048 cat >>confdefs.h
<<_ACEOF
12049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12056 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12058 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12059 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12060 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12061 echo $ECHO_N "(cached) $ECHO_C" >&6
12063 ac_check_lib_save_LIBS
=$LIBS
12064 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
12065 cat >conftest.
$ac_ext <<_ACEOF
12068 cat confdefs.h
>>conftest.
$ac_ext
12069 cat >>conftest.
$ac_ext <<_ACEOF
12070 /* end confdefs.h. */
12072 /* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12078 char dbus_connection_close ();
12082 return dbus_connection_close ();
12087 rm -f conftest.
$ac_objext conftest
$ac_exeext
12088 if { (ac_try
="$ac_link"
12089 case "(($ac_try" in
12090 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12091 *) ac_try_echo=$ac_try;;
12093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12094 (eval "$ac_link") 2>conftest.er1
12096 grep -v '^ *+' conftest.er1 >conftest.err
12098 cat conftest.err >&5
12099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12100 (exit $ac_status); } && {
12101 test -z "$ac_c_werror_flag" ||
12102 test ! -s conftest.err
12103 } && test -s conftest$ac_exeext &&
12104 $as_test_x conftest$ac_exeext; then
12105 ac_cv_lib_dbus_1_dbus_connection_close=yes
12107 echo "$as_me: failed program was:" >&5
12108 sed 's/^/| /' conftest.$ac_ext >&5
12110 ac_cv_lib_dbus_1_dbus_connection_close=no
12113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12114 conftest$ac_exeext conftest.$ac_ext
12115 LIBS=$ac_check_lib_save_LIBS
12117 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12118 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12119 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12120 { echo "$as_me:$LINENO: checking for -lhal" >&5
12121 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12122 if test "${ac_cv_lib_soname_hal+set}" = set; then
12123 echo $ECHO_N "(cached) $ECHO_C" >&6
12125 ac_check_soname_save_LIBS=$LIBS
12126 LIBS="-lhal $ac_hal_libs $LIBS"
12127 cat >conftest.$ac_ext <<_ACEOF
12130 cat confdefs.h >>conftest.$ac_ext
12131 cat >>conftest.$ac_ext <<_ACEOF
12132 /* end confdefs.h. */
12134 /* Override any GCC internal prototype to avoid an error.
12135 Use char because int might match the return type of a GCC
12136 builtin and then its argument prototype would still apply. */
12140 char libhal_ctx_new ();
12144 return libhal_ctx_new ();
12149 rm -f conftest.$ac_objext conftest$ac_exeext
12150 if { (ac_try="$ac_link"
12151 case "(($ac_try" in
12152 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12153 *) ac_try_echo
=$ac_try;;
12155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12156 (eval "$ac_link") 2>conftest.er1
12158 grep -v '^ *+' conftest.er1
>conftest.err
12160 cat conftest.err
>&5
12161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12162 (exit $ac_status); } && {
12163 test -z "$ac_c_werror_flag" ||
12164 test ! -s conftest.err
12165 } && test -s conftest
$ac_exeext &&
12166 $as_test_x conftest
$ac_exeext; then
12169 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'` ;;
12170 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12173 echo "$as_me: failed program was:" >&5
12174 sed 's/^/| /' conftest.
$ac_ext >&5
12179 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12180 conftest
$ac_exeext conftest.
$ac_ext
12181 LIBS
=$ac_check_soname_save_LIBS
12183 if test "x$ac_cv_lib_soname_hal" = "x"; then
12184 { echo "$as_me:$LINENO: result: not found" >&5
12185 echo "${ECHO_T}not found" >&6; }
12188 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12189 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12191 cat >>confdefs.h
<<_ACEOF
12192 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12195 HALINCL
="$ac_hal_cflags"
12201 CPPFLAGS
="$ac_save_CPPFLAGS"
12203 if test "x$ac_cv_lib_soname_hal" = "x"; then
12204 case "x$with_hal" in
12205 x
) wine_notices
="$wine_notices|libhal development files not found, no dynamic device support." ;;
12207 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12208 This is an error since --with-hal was requested." >&5
12209 echo "$as_me: error: libhal development files not found, no dynamic device support.
12210 This is an error since --with-hal was requested." >&2;}
12211 { (exit 1); exit 1; }; } ;;
12217 if test "$ac_cv_header_ncurses_h" = "yes"
12219 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12220 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12221 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12222 echo $ECHO_N "(cached) $ECHO_C" >&6
12224 ac_check_soname_save_LIBS
=$LIBS
12225 LIBS
="-lncurses $LIBS"
12226 cat >conftest.
$ac_ext <<_ACEOF
12229 cat confdefs.h
>>conftest.
$ac_ext
12230 cat >>conftest.
$ac_ext <<_ACEOF
12231 /* end confdefs.h. */
12233 /* Override any GCC internal prototype to avoid an error.
12234 Use char because int might match the return type of a GCC
12235 builtin and then its argument prototype would still apply. */
12248 rm -f conftest.
$ac_objext conftest
$ac_exeext
12249 if { (ac_try
="$ac_link"
12250 case "(($ac_try" in
12251 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12252 *) ac_try_echo=$ac_try;;
12254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12255 (eval "$ac_link") 2>conftest.er1
12257 grep -v '^ *+' conftest.er1 >conftest.err
12259 cat conftest.err >&5
12260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261 (exit $ac_status); } && {
12262 test -z "$ac_c_werror_flag" ||
12263 test ! -s conftest.err
12264 } && test -s conftest$ac_exeext &&
12265 $as_test_x conftest$ac_exeext; then
12268 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'` ;;
12269 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libncurses\\.$LIBEXT" |
sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.$ac_ext >&5
12278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12279 conftest$ac_exeext conftest.$ac_ext
12280 LIBS=$ac_check_soname_save_LIBS
12282 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12283 { echo "$as_me:$LINENO: result: not found" >&5
12284 echo "${ECHO_T}not found" >&6; }
12287 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12288 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12290 cat >>confdefs.h <<_ACEOF
12291 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12294 CURSESLIBS="-lncurses"
12297 elif test "$ac_cv_header_curses_h" = "yes"
12299 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12300 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12301 if test "${ac_cv_lib_soname_curses+set}" = set; then
12302 echo $ECHO_N "(cached) $ECHO_C" >&6
12304 ac_check_soname_save_LIBS=$LIBS
12305 LIBS="-lcurses $LIBS"
12306 cat >conftest.$ac_ext <<_ACEOF
12309 cat confdefs.h >>conftest.$ac_ext
12310 cat >>conftest.$ac_ext <<_ACEOF
12311 /* end confdefs.h. */
12313 /* Override any GCC internal prototype to avoid an error.
12314 Use char because int might match the return type of a GCC
12315 builtin and then its argument prototype would still apply. */
12328 rm -f conftest.$ac_objext conftest$ac_exeext
12329 if { (ac_try="$ac_link"
12330 case "(($ac_try" in
12331 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12332 *) ac_try_echo
=$ac_try;;
12334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12335 (eval "$ac_link") 2>conftest.er1
12337 grep -v '^ *+' conftest.er1
>conftest.err
12339 cat conftest.err
>&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); } && {
12342 test -z "$ac_c_werror_flag" ||
12343 test ! -s conftest.err
12344 } && test -s conftest
$ac_exeext &&
12345 $as_test_x conftest
$ac_exeext; then
12348 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'` ;;
12349 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12352 echo "$as_me: failed program was:" >&5
12353 sed 's/^/| /' conftest.
$ac_ext >&5
12358 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12359 conftest
$ac_exeext conftest.
$ac_ext
12360 LIBS
=$ac_check_soname_save_LIBS
12362 if test "x$ac_cv_lib_soname_curses" = "x"; then
12363 { echo "$as_me:$LINENO: result: not found" >&5
12364 echo "${ECHO_T}not found" >&6; }
12367 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12368 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12370 cat >>confdefs.h
<<_ACEOF
12371 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12374 CURSESLIBS
="-lcurses"
12378 ac_save_LIBS
="$LIBS"
12379 LIBS
="$LIBS $CURSESLIBS"
12381 for ac_func
in mousemask
12383 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12384 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12386 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12387 echo $ECHO_N "(cached) $ECHO_C" >&6
12389 cat >conftest.
$ac_ext <<_ACEOF
12392 cat confdefs.h
>>conftest.
$ac_ext
12393 cat >>conftest.
$ac_ext <<_ACEOF
12394 /* end confdefs.h. */
12395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12397 #define $ac_func innocuous_$ac_func
12399 /* System header to define __stub macros and hopefully few prototypes,
12400 which can conflict with char $ac_func (); below.
12401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12402 <limits.h> exists even on freestanding compilers. */
12405 # include <limits.h>
12407 # include <assert.h>
12412 /* Override any GCC internal prototype to avoid an error.
12413 Use char because int might match the return type of a GCC
12414 builtin and then its argument prototype would still apply. */
12419 /* The GNU C library defines this for functions which it implements
12420 to always fail with ENOSYS. Some functions are actually named
12421 something starting with __ and the normal name is an alias. */
12422 #if defined __stub_$ac_func || defined __stub___$ac_func
12429 return $ac_func ();
12434 rm -f conftest.
$ac_objext conftest
$ac_exeext
12435 if { (ac_try
="$ac_link"
12436 case "(($ac_try" in
12437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12438 *) ac_try_echo=$ac_try;;
12440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12441 (eval "$ac_link") 2>conftest.er1
12443 grep -v '^ *+' conftest.er1 >conftest.err
12445 cat conftest.err >&5
12446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12447 (exit $ac_status); } && {
12448 test -z "$ac_c_werror_flag" ||
12449 test ! -s conftest.err
12450 } && test -s conftest$ac_exeext &&
12451 $as_test_x conftest$ac_exeext; then
12452 eval "$as_ac_var=yes"
12454 echo "$as_me: failed program was:" >&5
12455 sed 's/^/| /' conftest.$ac_ext >&5
12457 eval "$as_ac_var=no"
12460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12461 conftest$ac_exeext conftest.$ac_ext
12463 ac_res=`eval echo '${'$as_ac_var'}'`
12464 { echo "$as_me:$LINENO: result: $ac_res" >&5
12465 echo "${ECHO_T}$ac_res" >&6; }
12466 if test `eval echo '${'$as_ac_var'}'` = yes; then
12467 cat >>confdefs.h <<_ACEOF
12468 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12474 LIBS="$ac_save_LIBS"
12475 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12476 case "x$with_curses" in
12477 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12479 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12480 This is an error since --with-curses was requested." >&5
12481 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12482 This is an error since --with-curses was requested." >&2;}
12483 { (exit 1); exit 1; }; } ;;
12488 # Extract the first word of "sane-config", so it can be a program name with args.
12489 set dummy sane-config; ac_word=$2
12490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12492 if test "${ac_cv_prog_sane_devel+set}" = set; then
12493 echo $ECHO_N "(cached) $ECHO_C" >&6
12495 if test -n "$sane_devel"; then
12496 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12499 for as_dir in $PATH
12502 test -z "$as_dir" && as_dir=.
12503 for ac_exec_ext in '' $ac_executable_extensions; do
12504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12505 ac_cv_prog_sane_devel="sane-config"
12506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12513 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12516 sane_devel=$ac_cv_prog_sane_devel
12517 if test -n "$sane_devel"; then
12518 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12519 echo "${ECHO_T}$sane_devel" >&6; }
12521 { echo "$as_me:$LINENO: result: no" >&5
12522 echo "${ECHO_T}no" >&6; }
12526 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12528 ac_sane_incl="`$sane_devel --cflags`"
12529 ac_save_CPPFLAGS="$CPPFLAGS"
12530 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12531 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12532 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12533 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12534 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12535 echo $ECHO_N "(cached) $ECHO_C" >&6
12537 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12538 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12540 # Is the header compilable?
12541 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12542 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12543 cat >conftest.$ac_ext <<_ACEOF
12546 cat confdefs.h >>conftest.$ac_ext
12547 cat >>conftest.$ac_ext <<_ACEOF
12548 /* end confdefs.h. */
12549 $ac_includes_default
12550 #include <sane/sane.h>
12552 rm -f conftest.$ac_objext
12553 if { (ac_try="$ac_compile"
12554 case "(($ac_try" in
12555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12556 *) ac_try_echo
=$ac_try;;
12558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12559 (eval "$ac_compile") 2>conftest.er1
12561 grep -v '^ *+' conftest.er1
>conftest.err
12563 cat conftest.err
>&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); } && {
12566 test -z "$ac_c_werror_flag" ||
12567 test ! -s conftest.err
12568 } && test -s conftest.
$ac_objext; then
12569 ac_header_compiler
=yes
12571 echo "$as_me: failed program was:" >&5
12572 sed 's/^/| /' conftest.
$ac_ext >&5
12574 ac_header_compiler
=no
12577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12578 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12579 echo "${ECHO_T}$ac_header_compiler" >&6; }
12581 # Is the header present?
12582 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12583 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12584 cat >conftest.
$ac_ext <<_ACEOF
12587 cat confdefs.h
>>conftest.
$ac_ext
12588 cat >>conftest.
$ac_ext <<_ACEOF
12589 /* end confdefs.h. */
12590 #include <sane/sane.h>
12592 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12593 case "(($ac_try" in
12594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12595 *) ac_try_echo=$ac_try;;
12597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12598 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12600 grep -v '^ *+' conftest.er1 >conftest.err
12602 cat conftest.err >&5
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); } >/dev/null && {
12605 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12606 test ! -s conftest.err
12608 ac_header_preproc=yes
12610 echo "$as_me: failed program was:" >&5
12611 sed 's/^/| /' conftest.$ac_ext >&5
12613 ac_header_preproc=no
12616 rm -f conftest.err conftest.$ac_ext
12617 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12618 echo "${ECHO_T}$ac_header_preproc" >&6; }
12620 # So? What about this header?
12621 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12623 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12624 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12625 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12626 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12627 ac_header_preproc=yes
12630 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12631 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12632 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12633 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12634 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12635 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12636 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12637 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12638 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12639 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12640 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12641 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12643 ## ------------------------------------ ##
12644 ## Report this to wine-devel@winehq.org ##
12645 ## ------------------------------------ ##
12647 ) | sed "s/^/$as_me: WARNING: /" >&2
12650 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12651 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12652 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12653 echo $ECHO_N "(cached) $ECHO_C" >&6
12655 ac_cv_header_sane_sane_h=$ac_header_preproc
12657 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12658 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12661 if test $ac_cv_header_sane_sane_h = yes; then
12662 { echo "$as_me:$LINENO: checking for -lsane" >&5
12663 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12664 if test "${ac_cv_lib_soname_sane+set}" = set; then
12665 echo $ECHO_N "(cached) $ECHO_C" >&6
12667 ac_check_soname_save_LIBS=$LIBS
12668 LIBS="-lsane $LIBS"
12669 cat >conftest.$ac_ext <<_ACEOF
12672 cat confdefs.h >>conftest.$ac_ext
12673 cat >>conftest.$ac_ext <<_ACEOF
12674 /* end confdefs.h. */
12676 /* Override any GCC internal prototype to avoid an error.
12677 Use char because int might match the return type of a GCC
12678 builtin and then its argument prototype would still apply. */
12686 return sane_init ();
12691 rm -f conftest.$ac_objext conftest$ac_exeext
12692 if { (ac_try="$ac_link"
12693 case "(($ac_try" in
12694 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12695 *) ac_try_echo
=$ac_try;;
12697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12698 (eval "$ac_link") 2>conftest.er1
12700 grep -v '^ *+' conftest.er1
>conftest.err
12702 cat conftest.err
>&5
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); } && {
12705 test -z "$ac_c_werror_flag" ||
12706 test ! -s conftest.err
12707 } && test -s conftest
$ac_exeext &&
12708 $as_test_x conftest
$ac_exeext; then
12711 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'` ;;
12712 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12715 echo "$as_me: failed program was:" >&5
12716 sed 's/^/| /' conftest.
$ac_ext >&5
12721 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12722 conftest
$ac_exeext conftest.
$ac_ext
12723 LIBS
=$ac_check_soname_save_LIBS
12725 if test "x$ac_cv_lib_soname_sane" = "x"; then
12726 { echo "$as_me:$LINENO: result: not found" >&5
12727 echo "${ECHO_T}not found" >&6; }
12730 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12731 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12733 cat >>confdefs.h
<<_ACEOF
12734 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12737 SANEINCL
="$ac_sane_incl"
12744 CPPFLAGS
="$ac_save_CPPFLAGS"
12746 if test "x$ac_cv_lib_soname_sane" = "x"; then
12747 case "x$with_sane" in
12748 x
) wine_notices
="$wine_notices|libsane development files not found, scanners won't be supported." ;;
12750 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
12751 This is an error since --with-sane was requested." >&5
12752 echo "$as_me: error: libsane development files not found, scanners won't be supported.
12753 This is an error since --with-sane was requested." >&2;}
12754 { (exit 1); exit 1; }; } ;;
12759 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12760 set dummy gphoto2-config
; ac_word
=$2
12761 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12763 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12764 echo $ECHO_N "(cached) $ECHO_C" >&6
12766 if test -n "$gphoto2_devel"; then
12767 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
12769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12770 for as_dir
in $PATH
12773 test -z "$as_dir" && as_dir
=.
12774 for ac_exec_ext
in '' $ac_executable_extensions; do
12775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12776 ac_cv_prog_gphoto2_devel
="gphoto2-config"
12777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12784 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
12787 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
12788 if test -n "$gphoto2_devel"; then
12789 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12790 echo "${ECHO_T}$gphoto2_devel" >&6; }
12792 { echo "$as_me:$LINENO: result: no" >&5
12793 echo "${ECHO_T}no" >&6; }
12797 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12798 set dummy gphoto2-port-config
; ac_word
=$2
12799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12801 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12802 echo $ECHO_N "(cached) $ECHO_C" >&6
12804 if test -n "$gphoto2port_devel"; then
12805 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
12807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12808 for as_dir
in $PATH
12811 test -z "$as_dir" && as_dir
=.
12812 for ac_exec_ext
in '' $ac_executable_extensions; do
12813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12814 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
12815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12822 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
12825 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
12826 if test -n "$gphoto2port_devel"; then
12827 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12828 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12830 { echo "$as_me:$LINENO: result: no" >&5
12831 echo "${ECHO_T}no" >&6; }
12835 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
12837 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12839 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12842 -L/usr
/lib|
-L/usr
/lib64
) ;;
12843 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
12846 ac_save_CPPFLAGS
="$CPPFLAGS"
12847 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
12848 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12849 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12850 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12851 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12852 echo $ECHO_N "(cached) $ECHO_C" >&6
12854 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12855 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12857 # Is the header compilable?
12858 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12859 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12860 cat >conftest.
$ac_ext <<_ACEOF
12863 cat confdefs.h
>>conftest.
$ac_ext
12864 cat >>conftest.
$ac_ext <<_ACEOF
12865 /* end confdefs.h. */
12866 $ac_includes_default
12867 #include <gphoto2-camera.h>
12869 rm -f conftest.
$ac_objext
12870 if { (ac_try
="$ac_compile"
12871 case "(($ac_try" in
12872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12873 *) ac_try_echo=$ac_try;;
12875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12876 (eval "$ac_compile") 2>conftest.er1
12878 grep -v '^ *+' conftest.er1 >conftest.err
12880 cat conftest.err >&5
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); } && {
12883 test -z "$ac_c_werror_flag" ||
12884 test ! -s conftest.err
12885 } && test -s conftest.$ac_objext; then
12886 ac_header_compiler=yes
12888 echo "$as_me: failed program was:" >&5
12889 sed 's/^/| /' conftest.$ac_ext >&5
12891 ac_header_compiler=no
12894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12895 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12896 echo "${ECHO_T}$ac_header_compiler" >&6; }
12898 # Is the header present?
12899 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12900 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12901 cat >conftest.$ac_ext <<_ACEOF
12904 cat confdefs.h >>conftest.$ac_ext
12905 cat >>conftest.$ac_ext <<_ACEOF
12906 /* end confdefs.h. */
12907 #include <gphoto2-camera.h>
12909 if { (ac_try="$ac_cpp conftest.$ac_ext"
12910 case "(($ac_try" in
12911 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12912 *) ac_try_echo
=$ac_try;;
12914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12915 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12917 grep -v '^ *+' conftest.er1
>conftest.err
12919 cat conftest.err
>&5
12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); } >/dev
/null
&& {
12922 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12923 test ! -s conftest.err
12925 ac_header_preproc
=yes
12927 echo "$as_me: failed program was:" >&5
12928 sed 's/^/| /' conftest.
$ac_ext >&5
12930 ac_header_preproc
=no
12933 rm -f conftest.err conftest.
$ac_ext
12934 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12935 echo "${ECHO_T}$ac_header_preproc" >&6; }
12937 # So? What about this header?
12938 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12940 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12941 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12942 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12943 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12944 ac_header_preproc
=yes
12947 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12948 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12949 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12950 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12951 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12952 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12953 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12954 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12955 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12956 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12957 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12958 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12960 ## ------------------------------------ ##
12961 ## Report this to wine-devel@winehq.org ##
12962 ## ------------------------------------ ##
12964 ) |
sed "s/^/$as_me: WARNING: /" >&2
12967 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12968 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12969 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12970 echo $ECHO_N "(cached) $ECHO_C" >&6
12972 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
12974 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12975 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12978 if test $ac_cv_header_gphoto2_camera_h = yes; then
12979 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12980 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12981 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12982 echo $ECHO_N "(cached) $ECHO_C" >&6
12984 ac_check_lib_save_LIBS
=$LIBS
12985 LIBS
="-lgphoto2 $GPHOTO2LIBS $LIBS"
12986 cat >conftest.
$ac_ext <<_ACEOF
12989 cat confdefs.h
>>conftest.
$ac_ext
12990 cat >>conftest.
$ac_ext <<_ACEOF
12991 /* end confdefs.h. */
12993 /* Override any GCC internal prototype to avoid an error.
12994 Use char because int might match the return type of a GCC
12995 builtin and then its argument prototype would still apply. */
12999 char gp_camera_new ();
13003 return gp_camera_new ();
13008 rm -f conftest.
$ac_objext conftest
$ac_exeext
13009 if { (ac_try
="$ac_link"
13010 case "(($ac_try" in
13011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13012 *) ac_try_echo=$ac_try;;
13014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13015 (eval "$ac_link") 2>conftest.er1
13017 grep -v '^ *+' conftest.er1 >conftest.err
13019 cat conftest.err >&5
13020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021 (exit $ac_status); } && {
13022 test -z "$ac_c_werror_flag" ||
13023 test ! -s conftest.err
13024 } && test -s conftest$ac_exeext &&
13025 $as_test_x conftest$ac_exeext; then
13026 ac_cv_lib_gphoto2_gp_camera_new=yes
13028 echo "$as_me: failed program was:" >&5
13029 sed 's/^/| /' conftest.$ac_ext >&5
13031 ac_cv_lib_gphoto2_gp_camera_new=no
13034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13035 conftest$ac_exeext conftest.$ac_ext
13036 LIBS=$ac_check_lib_save_LIBS
13038 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13039 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13040 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13042 cat >>confdefs.h <<\_ACEOF
13043 #define HAVE_GPHOTO2 1
13046 GPHOTO2LIBS="$ac_gphoto2_libs"
13048 GPHOTO2INCL="$ac_gphoto2_incl"
13055 CPPFLAGS="$ac_save_CPPFLAGS"
13057 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13058 case "x$with_gphoto" in
13059 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13061 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13062 This is an error since --with-gphoto was requested." >&5
13063 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13064 This is an error since --with-gphoto was requested." >&2;}
13065 { (exit 1); exit 1; }; } ;;
13073 if test "$ac_cv_header_resolv_h" = "yes"
13075 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13076 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13077 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13078 echo $ECHO_N "(cached) $ECHO_C" >&6
13080 ac_check_lib_save_LIBS=$LIBS
13081 LIBS="-lresolv $LIBS"
13082 cat >conftest.$ac_ext <<_ACEOF
13085 cat confdefs.h >>conftest.$ac_ext
13086 cat >>conftest.$ac_ext <<_ACEOF
13087 /* end confdefs.h. */
13089 /* Override any GCC internal prototype to avoid an error.
13090 Use char because int might match the return type of a GCC
13091 builtin and then its argument prototype would still apply. */
13099 return res_query ();
13104 rm -f conftest.$ac_objext conftest$ac_exeext
13105 if { (ac_try="$ac_link"
13106 case "(($ac_try" in
13107 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13108 *) ac_try_echo
=$ac_try;;
13110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13111 (eval "$ac_link") 2>conftest.er1
13113 grep -v '^ *+' conftest.er1
>conftest.err
13115 cat conftest.err
>&5
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); } && {
13118 test -z "$ac_c_werror_flag" ||
13119 test ! -s conftest.err
13120 } && test -s conftest
$ac_exeext &&
13121 $as_test_x conftest
$ac_exeext; then
13122 ac_cv_lib_resolv_res_query
=yes
13124 echo "$as_me: failed program was:" >&5
13125 sed 's/^/| /' conftest.
$ac_ext >&5
13127 ac_cv_lib_resolv_res_query
=no
13130 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13131 conftest
$ac_exeext conftest.
$ac_ext
13132 LIBS
=$ac_check_lib_save_LIBS
13134 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13135 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13136 if test $ac_cv_lib_resolv_res_query = yes; then
13138 cat >>confdefs.h
<<\_ACEOF
13139 #define HAVE_RESOLV 1
13142 RESOLVLIBS
="-lresolv"
13149 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13151 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13152 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13153 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13154 echo $ECHO_N "(cached) $ECHO_C" >&6
13156 ac_check_lib_save_LIBS
=$LIBS
13157 LIBS
="-llcms $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 cmsOpenProfileFromFile ();
13175 return cmsOpenProfileFromFile ();
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
13198 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13200 echo "$as_me: failed program was:" >&5
13201 sed 's/^/| /' conftest.$ac_ext >&5
13203 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13207 conftest$ac_exeext conftest.$ac_ext
13208 LIBS=$ac_check_lib_save_LIBS
13210 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13211 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13212 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13214 cat >>confdefs.h <<\_ACEOF
13215 #define HAVE_LCMS 1
13222 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13223 case "x$with_cms" in
13224 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13226 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13227 This is an error since --with-cms was requested." >&5
13228 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13229 This is an error since --with-cms was requested." >&2;}
13230 { (exit 1); exit 1; }; } ;;
13237 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13239 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13240 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13241 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13242 echo $ECHO_N "(cached) $ECHO_C" >&6
13244 ac_check_lib_save_LIBS=$LIBS
13245 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13246 cat >conftest.$ac_ext <<_ACEOF
13249 cat confdefs.h >>conftest.$ac_ext
13250 cat >>conftest.$ac_ext <<_ACEOF
13251 /* end confdefs.h. */
13253 /* Override any GCC internal prototype to avoid an error.
13254 Use char because int might match the return type of a GCC
13255 builtin and then its argument prototype would still apply. */
13259 char ldap_initialize ();
13263 return ldap_initialize ();
13268 rm -f conftest.$ac_objext conftest$ac_exeext
13269 if { (ac_try="$ac_link"
13270 case "(($ac_try" in
13271 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13272 *) ac_try_echo
=$ac_try;;
13274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13275 (eval "$ac_link") 2>conftest.er1
13277 grep -v '^ *+' conftest.er1
>conftest.err
13279 cat conftest.err
>&5
13280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13281 (exit $ac_status); } && {
13282 test -z "$ac_c_werror_flag" ||
13283 test ! -s conftest.err
13284 } && test -s conftest
$ac_exeext &&
13285 $as_test_x conftest
$ac_exeext; then
13286 ac_cv_lib_ldap_r_ldap_initialize
=yes
13288 echo "$as_me: failed program was:" >&5
13289 sed 's/^/| /' conftest.
$ac_ext >&5
13291 ac_cv_lib_ldap_r_ldap_initialize
=no
13294 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13295 conftest
$ac_exeext conftest.
$ac_ext
13296 LIBS
=$ac_check_lib_save_LIBS
13298 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13299 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13300 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13301 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13302 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13303 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13304 echo $ECHO_N "(cached) $ECHO_C" >&6
13306 ac_check_lib_save_LIBS
=$LIBS
13307 LIBS
="-llber $LIBPTHREAD $LIBS"
13308 cat >conftest.
$ac_ext <<_ACEOF
13311 cat confdefs.h
>>conftest.
$ac_ext
13312 cat >>conftest.
$ac_ext <<_ACEOF
13313 /* end confdefs.h. */
13315 /* Override any GCC internal prototype to avoid an error.
13316 Use char because int might match the return type of a GCC
13317 builtin and then its argument prototype would still apply. */
13325 return ber_init ();
13330 rm -f conftest.
$ac_objext conftest
$ac_exeext
13331 if { (ac_try
="$ac_link"
13332 case "(($ac_try" in
13333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13334 *) ac_try_echo=$ac_try;;
13336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13337 (eval "$ac_link") 2>conftest.er1
13339 grep -v '^ *+' conftest.er1 >conftest.err
13341 cat conftest.err >&5
13342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13343 (exit $ac_status); } && {
13344 test -z "$ac_c_werror_flag" ||
13345 test ! -s conftest.err
13346 } && test -s conftest$ac_exeext &&
13347 $as_test_x conftest$ac_exeext; then
13348 ac_cv_lib_lber_ber_init=yes
13350 echo "$as_me: failed program was:" >&5
13351 sed 's/^/| /' conftest.$ac_ext >&5
13353 ac_cv_lib_lber_ber_init=no
13356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13357 conftest$ac_exeext conftest.$ac_ext
13358 LIBS=$ac_check_lib_save_LIBS
13360 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13361 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13362 if test $ac_cv_lib_lber_ber_init = yes; then
13364 cat >>confdefs.h <<\_ACEOF
13365 #define HAVE_LDAP 1
13368 LDAPLIBS="-lldap_r -llber"
13373 ac_wine_check_funcs_save_LIBS="$LIBS"
13374 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13384 ldap_count_references \
13385 ldap_first_reference \
13386 ldap_next_reference \
13387 ldap_parse_reference \
13388 ldap_parse_sort_control \
13389 ldap_parse_sortresponse_control \
13390 ldap_parse_vlv_control \
13391 ldap_parse_vlvresponse_control
13393 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13394 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13396 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13397 echo $ECHO_N "(cached) $ECHO_C" >&6
13399 cat >conftest.$ac_ext <<_ACEOF
13402 cat confdefs.h >>conftest.$ac_ext
13403 cat >>conftest.$ac_ext <<_ACEOF
13404 /* end confdefs.h. */
13405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13407 #define $ac_func innocuous_$ac_func
13409 /* System header to define __stub macros and hopefully few prototypes,
13410 which can conflict with char $ac_func (); below.
13411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13412 <limits.h> exists even on freestanding compilers. */
13415 # include <limits.h>
13417 # include <assert.h>
13422 /* Override any GCC internal prototype to avoid an error.
13423 Use char because int might match the return type of a GCC
13424 builtin and then its argument prototype would still apply. */
13429 /* The GNU C library defines this for functions which it implements
13430 to always fail with ENOSYS. Some functions are actually named
13431 something starting with __ and the normal name is an alias. */
13432 #if defined __stub_$ac_func || defined __stub___$ac_func
13439 return $ac_func ();
13444 rm -f conftest.$ac_objext conftest$ac_exeext
13445 if { (ac_try="$ac_link"
13446 case "(($ac_try" in
13447 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13448 *) ac_try_echo
=$ac_try;;
13450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13451 (eval "$ac_link") 2>conftest.er1
13453 grep -v '^ *+' conftest.er1
>conftest.err
13455 cat conftest.err
>&5
13456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13457 (exit $ac_status); } && {
13458 test -z "$ac_c_werror_flag" ||
13459 test ! -s conftest.err
13460 } && test -s conftest
$ac_exeext &&
13461 $as_test_x conftest
$ac_exeext; then
13462 eval "$as_ac_var=yes"
13464 echo "$as_me: failed program was:" >&5
13465 sed 's/^/| /' conftest.
$ac_ext >&5
13467 eval "$as_ac_var=no"
13470 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13471 conftest
$ac_exeext conftest.
$ac_ext
13473 ac_res
=`eval echo '${'$as_ac_var'}'`
13474 { echo "$as_me:$LINENO: result: $ac_res" >&5
13475 echo "${ECHO_T}$ac_res" >&6; }
13476 if test `eval echo '${'$as_ac_var'}'` = yes; then
13477 cat >>confdefs.h
<<_ACEOF
13478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13484 LIBS
="$ac_wine_check_funcs_save_LIBS"
13486 if test "x$LDAPLIBS" = "x"; then
13487 case "x$with_ldap" in
13488 x
) wine_notices
="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13490 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13491 This is an error since --with-ldap was requested." >&5
13492 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13493 This is an error since --with-ldap was requested." >&2;}
13494 { (exit 1); exit 1; }; } ;;
13499 for ac_prog
in freetype-config freetype2-config
13501 # Extract the first word of "$ac_prog", so it can be a program name with args.
13502 set dummy
$ac_prog; ac_word
=$2
13503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13505 if test "${ac_cv_prog_ft_devel+set}" = set; then
13506 echo $ECHO_N "(cached) $ECHO_C" >&6
13508 if test -n "$ft_devel"; then
13509 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
13511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13512 for as_dir
in $PATH
13515 test -z "$as_dir" && as_dir
=.
13516 for ac_exec_ext
in '' $ac_executable_extensions; do
13517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13518 ac_cv_prog_ft_devel
="$ac_prog"
13519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13528 ft_devel
=$ac_cv_prog_ft_devel
13529 if test -n "$ft_devel"; then
13530 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13531 echo "${ECHO_T}$ft_devel" >&6; }
13533 { echo "$as_me:$LINENO: result: no" >&5
13534 echo "${ECHO_T}no" >&6; }
13538 test -n "$ft_devel" && break
13540 test -n "$ft_devel" || ft_devel
="false"
13542 if test "$ft_devel" != "false"
13544 ac_freetype_libs
=`$ft_devel --libs`
13545 ac_freetype_incl
=`$ft_devel --cflags`
13546 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13547 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13548 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13549 echo $ECHO_N "(cached) $ECHO_C" >&6
13551 ac_check_soname_save_LIBS
=$LIBS
13552 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
13553 cat >conftest.
$ac_ext <<_ACEOF
13556 cat confdefs.h
>>conftest.
$ac_ext
13557 cat >>conftest.
$ac_ext <<_ACEOF
13558 /* end confdefs.h. */
13560 /* Override any GCC internal prototype to avoid an error.
13561 Use char because int might match the return type of a GCC
13562 builtin and then its argument prototype would still apply. */
13566 char FT_Init_FreeType ();
13570 return FT_Init_FreeType ();
13575 rm -f conftest.
$ac_objext conftest
$ac_exeext
13576 if { (ac_try
="$ac_link"
13577 case "(($ac_try" in
13578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13579 *) ac_try_echo=$ac_try;;
13581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13582 (eval "$ac_link") 2>conftest.er1
13584 grep -v '^ *+' conftest.er1 >conftest.err
13586 cat conftest.err >&5
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); } && {
13589 test -z "$ac_c_werror_flag" ||
13590 test ! -s conftest.err
13591 } && test -s conftest$ac_exeext &&
13592 $as_test_x conftest$ac_exeext; then
13595 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'` ;;
13596 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfreetype\\.$LIBEXT" |
sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13599 echo "$as_me: failed program was:" >&5
13600 sed 's/^/| /' conftest.$ac_ext >&5
13605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13606 conftest$ac_exeext conftest.$ac_ext
13607 LIBS=$ac_check_soname_save_LIBS
13609 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13610 { echo "$as_me:$LINENO: result: not found" >&5
13611 echo "${ECHO_T}not found" >&6; }
13614 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13615 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13617 cat >>confdefs.h <<_ACEOF
13618 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13624 if test "$ft_lib" = "yes"
13626 ac_save_CPPFLAGS="$CPPFLAGS"
13627 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13640 for ac_header in ft2build.h \
13641 freetype/freetype.h \
13642 freetype/ftglyph.h \
13643 freetype/fttypes.h \
13644 freetype/tttables.h \
13645 freetype/ftnames.h \
13646 freetype/ftsnames.h \
13647 freetype/ttnameid.h \
13648 freetype/ftoutln.h \
13649 freetype/ftwinfnt.h \
13650 freetype/ftmodapi.h \
13651 freetype/internal/sfnt.h
13653 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13654 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13656 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13657 echo $ECHO_N "(cached) $ECHO_C" >&6
13659 cat >conftest.$ac_ext <<_ACEOF
13662 cat confdefs.h >>conftest.$ac_ext
13663 cat >>conftest.$ac_ext <<_ACEOF
13664 /* end confdefs.h. */
13665 #if HAVE_FT2BUILD_H
13666 #include <ft2build.h>
13669 #include <$ac_header>
13671 rm -f conftest.$ac_objext
13672 if { (ac_try="$ac_compile"
13673 case "(($ac_try" in
13674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13675 *) ac_try_echo
=$ac_try;;
13677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13678 (eval "$ac_compile") 2>conftest.er1
13680 grep -v '^ *+' conftest.er1
>conftest.err
13682 cat conftest.err
>&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); } && {
13685 test -z "$ac_c_werror_flag" ||
13686 test ! -s conftest.err
13687 } && test -s conftest.
$ac_objext; then
13688 eval "$as_ac_Header=yes"
13690 echo "$as_me: failed program was:" >&5
13691 sed 's/^/| /' conftest.
$ac_ext >&5
13693 eval "$as_ac_Header=no"
13696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13698 ac_res
=`eval echo '${'$as_ac_Header'}'`
13699 { echo "$as_me:$LINENO: result: $ac_res" >&5
13700 echo "${ECHO_T}$ac_res" >&6; }
13701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13702 cat >>confdefs.h
<<_ACEOF
13703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13710 cat >conftest.
$ac_ext <<_ACEOF
13713 cat confdefs.h
>>conftest.
$ac_ext
13714 cat >>conftest.
$ac_ext <<_ACEOF
13715 /* end confdefs.h. */
13716 #include <ft2build.h>
13717 #include <freetype/fttrigon.h>
13719 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13720 case "(($ac_try" in
13721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13722 *) ac_try_echo=$ac_try;;
13724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13725 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13727 grep -v '^ *+' conftest.er1 >conftest.err
13729 cat conftest.err >&5
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731 (exit $ac_status); } >/dev/null && {
13732 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13733 test ! -s conftest.err
13736 cat >>confdefs.h <<\_ACEOF
13737 #define HAVE_FREETYPE_FTTRIGON_H 1
13740 wine_cv_fttrigon=yes
13742 echo "$as_me: failed program was:" >&5
13743 sed 's/^/| /' conftest.$ac_ext >&5
13745 wine_cv_fttrigon=no
13748 rm -f conftest.err conftest.$ac_ext
13749 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13750 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13751 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13752 echo $ECHO_N "(cached) $ECHO_C" >&6
13754 cat >conftest.$ac_ext <<_ACEOF
13757 cat confdefs.h >>conftest.$ac_ext
13758 cat >>conftest.$ac_ext <<_ACEOF
13759 /* end confdefs.h. */
13760 #include <freetype/ftmodapi.h>
13762 typedef FT_TrueTypeEngineType ac__type_new_;
13766 if ((ac__type_new_ *) 0)
13768 if (sizeof (ac__type_new_))
13774 rm -f conftest.$ac_objext
13775 if { (ac_try="$ac_compile"
13776 case "(($ac_try" in
13777 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13778 *) ac_try_echo
=$ac_try;;
13780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13781 (eval "$ac_compile") 2>conftest.er1
13783 grep -v '^ *+' conftest.er1
>conftest.err
13785 cat conftest.err
>&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); } && {
13788 test -z "$ac_c_werror_flag" ||
13789 test ! -s conftest.err
13790 } && test -s conftest.
$ac_objext; then
13791 ac_cv_type_FT_TrueTypeEngineType
=yes
13793 echo "$as_me: failed program was:" >&5
13794 sed 's/^/| /' conftest.
$ac_ext >&5
13796 ac_cv_type_FT_TrueTypeEngineType
=no
13799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13801 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13802 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13803 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13805 cat >>confdefs.h
<<_ACEOF
13806 #define HAVE_FT_TRUETYPEENGINETYPE 1
13812 ac_save_CFLAGS
="$CFLAGS"
13813 CFLAGS
="$CFLAGS $ac_freetype_libs"
13815 for ac_func
in FT_Load_Sfnt_Table
13817 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13818 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13820 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13821 echo $ECHO_N "(cached) $ECHO_C" >&6
13823 cat >conftest.
$ac_ext <<_ACEOF
13826 cat confdefs.h
>>conftest.
$ac_ext
13827 cat >>conftest.
$ac_ext <<_ACEOF
13828 /* end confdefs.h. */
13829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13831 #define $ac_func innocuous_$ac_func
13833 /* System header to define __stub macros and hopefully few prototypes,
13834 which can conflict with char $ac_func (); below.
13835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13836 <limits.h> exists even on freestanding compilers. */
13839 # include <limits.h>
13841 # include <assert.h>
13846 /* Override any GCC internal prototype to avoid an error.
13847 Use char because int might match the return type of a GCC
13848 builtin and then its argument prototype would still apply. */
13853 /* The GNU C library defines this for functions which it implements
13854 to always fail with ENOSYS. Some functions are actually named
13855 something starting with __ and the normal name is an alias. */
13856 #if defined __stub_$ac_func || defined __stub___$ac_func
13863 return $ac_func ();
13868 rm -f conftest.
$ac_objext conftest
$ac_exeext
13869 if { (ac_try
="$ac_link"
13870 case "(($ac_try" in
13871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13872 *) ac_try_echo=$ac_try;;
13874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13875 (eval "$ac_link") 2>conftest.er1
13877 grep -v '^ *+' conftest.er1 >conftest.err
13879 cat conftest.err >&5
13880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881 (exit $ac_status); } && {
13882 test -z "$ac_c_werror_flag" ||
13883 test ! -s conftest.err
13884 } && test -s conftest$ac_exeext &&
13885 $as_test_x conftest$ac_exeext; then
13886 eval "$as_ac_var=yes"
13888 echo "$as_me: failed program was:" >&5
13889 sed 's/^/| /' conftest.$ac_ext >&5
13891 eval "$as_ac_var=no"
13894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13895 conftest$ac_exeext conftest.$ac_ext
13897 ac_res=`eval echo '${'$as_ac_var'}'`
13898 { echo "$as_me:$LINENO: result: $ac_res" >&5
13899 echo "${ECHO_T}$ac_res" >&6; }
13900 if test `eval echo '${'$as_ac_var'}'` = yes; then
13901 cat >>confdefs.h <<_ACEOF
13902 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13908 CFLAGS="$ac_save_CFLAGS"
13909 CPPFLAGS="$ac_save_CPPFLAGS"
13910 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13913 cat >>confdefs.h <<\_ACEOF
13914 #define HAVE_FREETYPE 1
13917 FREETYPELIBS="$ac_freetype_libs"
13919 FREETYPEINCL="$ac_freetype_incl"
13925 if test "$FONTFORGE" = "false"
13927 wine_warnings="$wine_warnings|FontForge is missing.
13928 Fonts will not be built. Dialog text may be invisible or unaligned."
13929 elif test "x$FREETYPELIBS" = "x"
13931 wine_warnings="$wine_warnings|FreeType development files not found.
13932 Fonts will not be built. Dialog text may be invisible or unaligned."
13934 FONTSSUBDIRS="fonts"
13938 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13939 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13940 if test "${ac_cv_c_ppdev+set}" = set; then
13941 echo $ECHO_N "(cached) $ECHO_C" >&6
13943 cat >conftest.$ac_ext <<_ACEOF
13946 cat confdefs.h >>conftest.$ac_ext
13947 cat >>conftest.$ac_ext <<_ACEOF
13948 /* end confdefs.h. */
13949 #include <linux/ppdev.h>
13953 ioctl (1,PPCLAIM,0)
13958 rm -f conftest.$ac_objext
13959 if { (ac_try="$ac_compile"
13960 case "(($ac_try" in
13961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13962 *) ac_try_echo
=$ac_try;;
13964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13965 (eval "$ac_compile") 2>conftest.er1
13967 grep -v '^ *+' conftest.er1
>conftest.err
13969 cat conftest.err
>&5
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); } && {
13972 test -z "$ac_c_werror_flag" ||
13973 test ! -s conftest.err
13974 } && test -s conftest.
$ac_objext; then
13975 ac_cv_c_ppdev
="yes"
13977 echo "$as_me: failed program was:" >&5
13978 sed 's/^/| /' conftest.
$ac_ext >&5
13983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13985 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13986 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13987 if test "$ac_cv_c_ppdev" = "yes"
13990 cat >>confdefs.h
<<\_ACEOF
13991 #define HAVE_PPDEV 1
13996 { echo "$as_me:$LINENO: checking for va_copy" >&5
13997 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13998 if test "${ac_cv_c_va_copy+set}" = set; then
13999 echo $ECHO_N "(cached) $ECHO_C" >&6
14001 cat >conftest.
$ac_ext <<_ACEOF
14004 cat confdefs.h
>>conftest.
$ac_ext
14005 cat >>conftest.
$ac_ext <<_ACEOF
14006 /* end confdefs.h. */
14007 #include <stdarg.h>
14011 va_list ap1, ap2; va_copy(ap1,ap2);
14016 rm -f conftest.
$ac_objext conftest
$ac_exeext
14017 if { (ac_try
="$ac_link"
14018 case "(($ac_try" in
14019 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14020 *) ac_try_echo=$ac_try;;
14022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14023 (eval "$ac_link") 2>conftest.er1
14025 grep -v '^ *+' conftest.er1 >conftest.err
14027 cat conftest.err >&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); } && {
14030 test -z "$ac_c_werror_flag" ||
14031 test ! -s conftest.err
14032 } && test -s conftest$ac_exeext &&
14033 $as_test_x conftest$ac_exeext; then
14034 ac_cv_c_va_copy="yes"
14036 echo "$as_me: failed program was:" >&5
14037 sed 's/^/| /' conftest.$ac_ext >&5
14039 ac_cv_c_va_copy="no"
14042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14043 conftest$ac_exeext conftest.$ac_ext
14046 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14047 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14048 if test "$ac_cv_c_va_copy" = "yes"
14051 cat >>confdefs.h <<\_ACEOF
14052 #define HAVE_VA_COPY 1
14056 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14057 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14058 if test "${ac_cv_c___va_copy+set}" = set; then
14059 echo $ECHO_N "(cached) $ECHO_C" >&6
14061 cat >conftest.$ac_ext <<_ACEOF
14064 cat confdefs.h >>conftest.$ac_ext
14065 cat >>conftest.$ac_ext <<_ACEOF
14066 /* end confdefs.h. */
14067 #include <stdarg.h>
14071 va_list ap1, ap2; __va_copy(ap1,ap2);
14076 rm -f conftest.$ac_objext conftest$ac_exeext
14077 if { (ac_try="$ac_link"
14078 case "(($ac_try" in
14079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14080 *) ac_try_echo
=$ac_try;;
14082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14083 (eval "$ac_link") 2>conftest.er1
14085 grep -v '^ *+' conftest.er1
>conftest.err
14087 cat conftest.err
>&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); } && {
14090 test -z "$ac_c_werror_flag" ||
14091 test ! -s conftest.err
14092 } && test -s conftest
$ac_exeext &&
14093 $as_test_x conftest
$ac_exeext; then
14094 ac_cv_c___va_copy
="yes"
14096 echo "$as_me: failed program was:" >&5
14097 sed 's/^/| /' conftest.
$ac_ext >&5
14099 ac_cv_c___va_copy
="no"
14102 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14103 conftest
$ac_exeext conftest.
$ac_ext
14106 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14107 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14108 if test "$ac_cv_c___va_copy" = "yes"
14111 cat >>confdefs.h
<<\_ACEOF
14112 #define HAVE___VA_COPY 1
14117 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14118 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14119 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14120 echo $ECHO_N "(cached) $ECHO_C" >&6
14122 cat >conftest.
$ac_ext <<_ACEOF
14125 cat confdefs.h
>>conftest.
$ac_ext
14126 cat >>conftest.
$ac_ext <<_ACEOF
14127 /* end confdefs.h. */
14128 #include <setjmp.h>
14133 sigsetjmp( buf, 1 );
14134 siglongjmp( buf, 1 );
14139 rm -f conftest.
$ac_objext conftest
$ac_exeext
14140 if { (ac_try
="$ac_link"
14141 case "(($ac_try" in
14142 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14143 *) ac_try_echo=$ac_try;;
14145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14146 (eval "$ac_link") 2>conftest.er1
14148 grep -v '^ *+' conftest.er1 >conftest.err
14150 cat conftest.err >&5
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); } && {
14153 test -z "$ac_c_werror_flag" ||
14154 test ! -s conftest.err
14155 } && test -s conftest$ac_exeext &&
14156 $as_test_x conftest$ac_exeext; then
14157 ac_cv_c_sigsetjmp="yes"
14159 echo "$as_me: failed program was:" >&5
14160 sed 's/^/| /' conftest.$ac_ext >&5
14162 ac_cv_c_sigsetjmp="no"
14165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14166 conftest$ac_exeext conftest.$ac_ext
14169 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14170 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14171 if test "$ac_cv_c_sigsetjmp" = "yes"
14174 cat >>confdefs.h <<\_ACEOF
14175 #define HAVE_SIGSETJMP 1
14180 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14181 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14182 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14183 echo $ECHO_N "(cached) $ECHO_C" >&6
14185 cat >conftest.$ac_ext <<_ACEOF
14188 cat confdefs.h >>conftest.$ac_ext
14189 cat >>conftest.$ac_ext <<_ACEOF
14190 /* end confdefs.h. */
14191 #define _GNU_SOURCE
14192 #include <pthread.h>
14194 typedef pthread_rwlock_t ac__type_new_;
14198 if ((ac__type_new_ *) 0)
14200 if (sizeof (ac__type_new_))
14206 rm -f conftest.$ac_objext
14207 if { (ac_try="$ac_compile"
14208 case "(($ac_try" in
14209 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14210 *) ac_try_echo
=$ac_try;;
14212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14213 (eval "$ac_compile") 2>conftest.er1
14215 grep -v '^ *+' conftest.er1
>conftest.err
14217 cat conftest.err
>&5
14218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219 (exit $ac_status); } && {
14220 test -z "$ac_c_werror_flag" ||
14221 test ! -s conftest.err
14222 } && test -s conftest.
$ac_objext; then
14223 ac_cv_type_pthread_rwlock_t
=yes
14225 echo "$as_me: failed program was:" >&5
14226 sed 's/^/| /' conftest.
$ac_ext >&5
14228 ac_cv_type_pthread_rwlock_t
=no
14231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14233 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14234 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14235 if test $ac_cv_type_pthread_rwlock_t = yes; then
14237 cat >>confdefs.h
<<_ACEOF
14238 #define HAVE_PTHREAD_RWLOCK_T 1
14243 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14244 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14245 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14246 echo $ECHO_N "(cached) $ECHO_C" >&6
14248 cat >conftest.
$ac_ext <<_ACEOF
14251 cat confdefs.h
>>conftest.
$ac_ext
14252 cat >>conftest.
$ac_ext <<_ACEOF
14253 /* end confdefs.h. */
14254 #define _GNU_SOURCE
14255 #include <pthread.h>
14257 typedef pthread_rwlockattr_t ac__type_new_;
14261 if ((ac__type_new_ *) 0)
14263 if (sizeof (ac__type_new_))
14269 rm -f conftest.
$ac_objext
14270 if { (ac_try
="$ac_compile"
14271 case "(($ac_try" in
14272 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14273 *) ac_try_echo=$ac_try;;
14275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14276 (eval "$ac_compile") 2>conftest.er1
14278 grep -v '^ *+' conftest.er1 >conftest.err
14280 cat conftest.err >&5
14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282 (exit $ac_status); } && {
14283 test -z "$ac_c_werror_flag" ||
14284 test ! -s conftest.err
14285 } && test -s conftest.$ac_objext; then
14286 ac_cv_type_pthread_rwlockattr_t=yes
14288 echo "$as_me: failed program was:" >&5
14289 sed 's/^/| /' conftest.$ac_ext >&5
14291 ac_cv_type_pthread_rwlockattr_t=no
14294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14296 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14297 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14298 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14300 cat >>confdefs.h <<_ACEOF
14301 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14308 ac_wine_check_funcs_save_LIBS="$LIBS"
14309 LIBS="$LIBS $LIBPTHREAD"
14315 pthread_attr_get_np \
14316 pthread_getattr_np \
14317 pthread_get_stackaddr_np \
14318 pthread_get_stacksize_np
14320 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
14321 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14323 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14324 echo $ECHO_N "(cached) $ECHO_C" >&6
14326 cat >conftest.$ac_ext <<_ACEOF
14329 cat confdefs.h >>conftest.$ac_ext
14330 cat >>conftest.$ac_ext <<_ACEOF
14331 /* end confdefs.h. */
14332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14334 #define $ac_func innocuous_$ac_func
14336 /* System header to define __stub macros and hopefully few prototypes,
14337 which can conflict with char $ac_func (); below.
14338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14339 <limits.h> exists even on freestanding compilers. */
14342 # include <limits.h>
14344 # include <assert.h>
14349 /* Override any GCC internal prototype to avoid an error.
14350 Use char because int might match the return type of a GCC
14351 builtin and then its argument prototype would still apply. */
14356 /* The GNU C library defines this for functions which it implements
14357 to always fail with ENOSYS. Some functions are actually named
14358 something starting with __ and the normal name is an alias. */
14359 #if defined __stub_$ac_func || defined __stub___$ac_func
14366 return $ac_func ();
14371 rm -f conftest.$ac_objext conftest$ac_exeext
14372 if { (ac_try="$ac_link"
14373 case "(($ac_try" in
14374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14375 *) ac_try_echo
=$ac_try;;
14377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14378 (eval "$ac_link") 2>conftest.er1
14380 grep -v '^ *+' conftest.er1
>conftest.err
14382 cat conftest.err
>&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); } && {
14385 test -z "$ac_c_werror_flag" ||
14386 test ! -s conftest.err
14387 } && test -s conftest
$ac_exeext &&
14388 $as_test_x conftest
$ac_exeext; then
14389 eval "$as_ac_var=yes"
14391 echo "$as_me: failed program was:" >&5
14392 sed 's/^/| /' conftest.
$ac_ext >&5
14394 eval "$as_ac_var=no"
14397 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14398 conftest
$ac_exeext conftest.
$ac_ext
14400 ac_res
=`eval echo '${'$as_ac_var'}'`
14401 { echo "$as_me:$LINENO: result: $ac_res" >&5
14402 echo "${ECHO_T}$ac_res" >&6; }
14403 if test `eval echo '${'$as_ac_var'}'` = yes; then
14404 cat >>confdefs.h
<<_ACEOF
14405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14411 LIBS
="$ac_wine_check_funcs_save_LIBS"
14413 # Extract the first word of "esd-config", so it can be a program name with args.
14414 set dummy esd-config
; ac_word
=$2
14415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14417 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14418 echo $ECHO_N "(cached) $ECHO_C" >&6
14422 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
14425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14426 for as_dir
in $PATH
14429 test -z "$as_dir" && as_dir
=.
14430 for ac_exec_ext
in '' $ac_executable_extensions; do
14431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14432 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
14433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14443 ESDCONFIG
=$ac_cv_path_ESDCONFIG
14444 if test -n "$ESDCONFIG"; then
14445 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14446 echo "${ECHO_T}$ESDCONFIG" >&6; }
14448 { echo "$as_me:$LINENO: result: no" >&5
14449 echo "${ECHO_T}no" >&6; }
14453 if test "x$with_esd" != xno
-a "x$ESDCONFIG" != x
-a "x$ESDCONFIG" != x
'"$ESDCONFIG"';
14456 for i
in `$ESDCONFIG --cflags`
14459 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
14462 ESD_LIBS
=`$ESDCONFIG --libs`
14463 save_CFLAGS
="$CFLAGS"
14464 CFLAGS
="$CFLAGS $ESD_CFLAGS"
14465 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14466 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14467 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14468 echo $ECHO_N "(cached) $ECHO_C" >&6
14470 ac_check_lib_save_LIBS
=$LIBS
14472 cat >conftest.
$ac_ext <<_ACEOF
14475 cat confdefs.h
>>conftest.
$ac_ext
14476 cat >>conftest.
$ac_ext <<_ACEOF
14477 /* end confdefs.h. */
14479 /* Override any GCC internal prototype to avoid an error.
14480 Use char because int might match the return type of a GCC
14481 builtin and then its argument prototype would still apply. */
14485 char esd_open_sound ();
14489 return esd_open_sound ();
14494 rm -f conftest.
$ac_objext conftest
$ac_exeext
14495 if { (ac_try
="$ac_link"
14496 case "(($ac_try" in
14497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14498 *) ac_try_echo=$ac_try;;
14500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14501 (eval "$ac_link") 2>conftest.er1
14503 grep -v '^ *+' conftest.er1 >conftest.err
14505 cat conftest.err >&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); } && {
14508 test -z "$ac_c_werror_flag" ||
14509 test ! -s conftest.err
14510 } && test -s conftest$ac_exeext &&
14511 $as_test_x conftest$ac_exeext; then
14512 ac_cv_lib_esd_esd_open_sound=yes
14514 echo "$as_me: failed program was:" >&5
14515 sed 's/^/| /' conftest.$ac_ext >&5
14517 ac_cv_lib_esd_esd_open_sound=no
14520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14521 conftest$ac_exeext conftest.$ac_ext
14522 LIBS=$ac_check_lib_save_LIBS
14524 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14525 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14526 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14529 ESDINCL=$ESD_CFLAGS
14532 cat >>confdefs.h <<\_ACEOF
14538 CFLAGS="$save_CFLAGS"
14543 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14545 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14546 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14547 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14548 echo $ECHO_N "(cached) $ECHO_C" >&6
14550 ac_check_lib_save_LIBS=$LIBS
14551 LIBS="-lasound $LIBS"
14552 cat >conftest.$ac_ext <<_ACEOF
14555 cat confdefs.h >>conftest.$ac_ext
14556 cat >>conftest.$ac_ext <<_ACEOF
14557 /* end confdefs.h. */
14559 /* Override any GCC internal prototype to avoid an error.
14560 Use char because int might match the return type of a GCC
14561 builtin and then its argument prototype would still apply. */
14565 char snd_pcm_hw_params_get_access ();
14569 return snd_pcm_hw_params_get_access ();
14574 rm -f conftest.$ac_objext conftest$ac_exeext
14575 if { (ac_try="$ac_link"
14576 case "(($ac_try" in
14577 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14578 *) ac_try_echo
=$ac_try;;
14580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14581 (eval "$ac_link") 2>conftest.er1
14583 grep -v '^ *+' conftest.er1
>conftest.err
14585 cat conftest.err
>&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); } && {
14588 test -z "$ac_c_werror_flag" ||
14589 test ! -s conftest.err
14590 } && test -s conftest
$ac_exeext &&
14591 $as_test_x conftest
$ac_exeext; then
14592 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
14594 echo "$as_me: failed program was:" >&5
14595 sed 's/^/| /' conftest.
$ac_ext >&5
14597 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
14600 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14601 conftest
$ac_exeext conftest.
$ac_ext
14602 LIBS
=$ac_check_lib_save_LIBS
14604 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14605 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14606 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14607 cat >conftest.
$ac_ext <<_ACEOF
14610 cat confdefs.h
>>conftest.
$ac_ext
14611 cat >>conftest.
$ac_ext <<_ACEOF
14612 /* end confdefs.h. */
14613 #ifdef HAVE_ALSA_ASOUNDLIB_H
14614 #include <alsa/asoundlib.h>
14615 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14616 #include <sys/asoundlib.h>
14621 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14626 rm -f conftest.
$ac_objext
14627 if { (ac_try
="$ac_compile"
14628 case "(($ac_try" in
14629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14630 *) ac_try_echo=$ac_try;;
14632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14633 (eval "$ac_compile") 2>conftest.er1
14635 grep -v '^ *+' conftest.er1 >conftest.err
14637 cat conftest.err >&5
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); } && {
14640 test -z "$ac_c_werror_flag" ||
14641 test ! -s conftest.err
14642 } && test -s conftest.$ac_objext; then
14644 cat >>confdefs.h <<\_ACEOF
14645 #define HAVE_ALSA 1
14648 ALSALIBS="-lasound"
14650 echo "$as_me: failed program was:" >&5
14651 sed 's/^/| /' conftest.$ac_ext >&5
14656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14663 if test "$ac_cv_header_libaudioio_h" = "yes"
14665 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14666 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14667 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14668 echo $ECHO_N "(cached) $ECHO_C" >&6
14670 ac_check_lib_save_LIBS=$LIBS
14671 LIBS="-laudioio $LIBS"
14672 cat >conftest.$ac_ext <<_ACEOF
14675 cat confdefs.h >>conftest.$ac_ext
14676 cat >>conftest.$ac_ext <<_ACEOF
14677 /* end confdefs.h. */
14679 /* Override any GCC internal prototype to avoid an error.
14680 Use char because int might match the return type of a GCC
14681 builtin and then its argument prototype would still apply. */
14685 char AudioIOGetVersion ();
14689 return AudioIOGetVersion ();
14694 rm -f conftest.$ac_objext conftest$ac_exeext
14695 if { (ac_try="$ac_link"
14696 case "(($ac_try" in
14697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14698 *) ac_try_echo
=$ac_try;;
14700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14701 (eval "$ac_link") 2>conftest.er1
14703 grep -v '^ *+' conftest.er1
>conftest.err
14705 cat conftest.err
>&5
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); } && {
14708 test -z "$ac_c_werror_flag" ||
14709 test ! -s conftest.err
14710 } && test -s conftest
$ac_exeext &&
14711 $as_test_x conftest
$ac_exeext; then
14712 ac_cv_lib_audioio_AudioIOGetVersion
=yes
14714 echo "$as_me: failed program was:" >&5
14715 sed 's/^/| /' conftest.
$ac_ext >&5
14717 ac_cv_lib_audioio_AudioIOGetVersion
=no
14720 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14721 conftest
$ac_exeext conftest.
$ac_ext
14722 LIBS
=$ac_check_lib_save_LIBS
14724 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14725 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14726 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14727 AUDIOIOLIBS
="-laudioio"
14729 cat >>confdefs.h
<<\_ACEOF
14730 #define HAVE_LIBAUDIOIO 1
14738 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14740 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14741 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14742 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14743 echo $ECHO_N "(cached) $ECHO_C" >&6
14745 ac_check_soname_save_LIBS
=$LIBS
14746 LIBS
="-lcapi20 $LIBS"
14747 cat >conftest.
$ac_ext <<_ACEOF
14750 cat confdefs.h
>>conftest.
$ac_ext
14751 cat >>conftest.
$ac_ext <<_ACEOF
14752 /* end confdefs.h. */
14754 /* Override any GCC internal prototype to avoid an error.
14755 Use char because int might match the return type of a GCC
14756 builtin and then its argument prototype would still apply. */
14760 char capi20_register ();
14764 return capi20_register ();
14769 rm -f conftest.
$ac_objext conftest
$ac_exeext
14770 if { (ac_try
="$ac_link"
14771 case "(($ac_try" in
14772 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14773 *) ac_try_echo=$ac_try;;
14775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14776 (eval "$ac_link") 2>conftest.er1
14778 grep -v '^ *+' conftest.er1 >conftest.err
14780 cat conftest.err >&5
14781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); } && {
14783 test -z "$ac_c_werror_flag" ||
14784 test ! -s conftest.err
14785 } && test -s conftest$ac_exeext &&
14786 $as_test_x conftest$ac_exeext; then
14789 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'` ;;
14790 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcapi20\\.$LIBEXT" |
sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14793 echo "$as_me: failed program was:" >&5
14794 sed 's/^/| /' conftest.$ac_ext >&5
14799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14800 conftest$ac_exeext conftest.$ac_ext
14801 LIBS=$ac_check_soname_save_LIBS
14803 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14804 { echo "$as_me:$LINENO: result: not found" >&5
14805 echo "${ECHO_T}not found" >&6; }
14808 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14809 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14811 cat >>confdefs.h <<_ACEOF
14812 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14819 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14820 case "x$with_capi" in
14821 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
14823 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
14824 This is an error since --with-capi was requested." >&5
14825 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
14826 This is an error since --with-capi was requested." >&2;}
14827 { (exit 1); exit 1; }; } ;;
14832 if test "$ac_cv_header_cups_cups_h" = "yes"
14834 { echo "$as_me:$LINENO: checking for -lcups" >&5
14835 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14836 if test "${ac_cv_lib_soname_cups+set}" = set; then
14837 echo $ECHO_N "(cached) $ECHO_C" >&6
14839 ac_check_soname_save_LIBS=$LIBS
14840 LIBS="-lcups $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. */
14854 char cupsGetDefault ();
14858 return cupsGetDefault ();
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_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'` ;;
14884 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$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_cups" = "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_cups" >&5
14903 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14905 cat >>confdefs.h
<<_ACEOF
14906 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14913 if test "x$ac_cv_lib_soname_cups" = "x"; then
14914 case "x$with_cups" in
14915 x
) wine_notices
="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
14917 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
14918 This is an error since --with-cups was requested." >&5
14919 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
14920 This is an error since --with-cups was requested." >&2;}
14921 { (exit 1); exit 1; }; } ;;
14926 if test "$ac_cv_header_jack_jack_h" = "yes"
14928 { echo "$as_me:$LINENO: checking for -ljack" >&5
14929 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14930 if test "${ac_cv_lib_soname_jack+set}" = set; then
14931 echo $ECHO_N "(cached) $ECHO_C" >&6
14933 ac_check_soname_save_LIBS
=$LIBS
14934 LIBS
="-ljack $LIBS"
14935 cat >conftest.
$ac_ext <<_ACEOF
14938 cat confdefs.h
>>conftest.
$ac_ext
14939 cat >>conftest.
$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14942 /* Override any GCC internal prototype to avoid an error.
14943 Use char because int might match the return type of a GCC
14944 builtin and then its argument prototype would still apply. */
14948 char jack_client_new ();
14952 return jack_client_new ();
14957 rm -f conftest.
$ac_objext conftest
$ac_exeext
14958 if { (ac_try
="$ac_link"
14959 case "(($ac_try" in
14960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14961 *) ac_try_echo=$ac_try;;
14963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14964 (eval "$ac_link") 2>conftest.er1
14966 grep -v '^ *+' conftest.er1 >conftest.err
14968 cat conftest.err >&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); } && {
14971 test -z "$ac_c_werror_flag" ||
14972 test ! -s conftest.err
14973 } && test -s conftest$ac_exeext &&
14974 $as_test_x conftest$ac_exeext; then
14977 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'` ;;
14978 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjack\\.$LIBEXT" |
sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14981 echo "$as_me: failed program was:" >&5
14982 sed 's/^/| /' conftest.$ac_ext >&5
14987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14988 conftest$ac_exeext conftest.$ac_ext
14989 LIBS=$ac_check_soname_save_LIBS
14991 if test "x$ac_cv_lib_soname_jack" = "x"; then
14992 { echo "$as_me:$LINENO: result: not found" >&5
14993 echo "${ECHO_T}not found" >&6; }
14996 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14997 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14999 cat >>confdefs.h <<_ACEOF
15000 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15008 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15010 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15011 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15012 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15013 echo $ECHO_N "(cached) $ECHO_C" >&6
15015 ac_check_soname_save_LIBS=$LIBS
15016 LIBS="-lfontconfig $LIBS"
15017 cat >conftest.$ac_ext <<_ACEOF
15020 cat confdefs.h >>conftest.$ac_ext
15021 cat >>conftest.$ac_ext <<_ACEOF
15022 /* end confdefs.h. */
15024 /* Override any GCC internal prototype to avoid an error.
15025 Use char because int might match the return type of a GCC
15026 builtin and then its argument prototype would still apply. */
15039 rm -f conftest.$ac_objext conftest$ac_exeext
15040 if { (ac_try="$ac_link"
15041 case "(($ac_try" in
15042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15043 *) ac_try_echo
=$ac_try;;
15045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15046 (eval "$ac_link") 2>conftest.er1
15048 grep -v '^ *+' conftest.er1
>conftest.err
15050 cat conftest.err
>&5
15051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15052 (exit $ac_status); } && {
15053 test -z "$ac_c_werror_flag" ||
15054 test ! -s conftest.err
15055 } && test -s conftest
$ac_exeext &&
15056 $as_test_x conftest
$ac_exeext; then
15059 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'` ;;
15060 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15063 echo "$as_me: failed program was:" >&5
15064 sed 's/^/| /' conftest.
$ac_ext >&5
15069 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15070 conftest
$ac_exeext conftest.
$ac_ext
15071 LIBS
=$ac_check_soname_save_LIBS
15073 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15074 { echo "$as_me:$LINENO: result: not found" >&5
15075 echo "${ECHO_T}not found" >&6; }
15078 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15079 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15081 cat >>confdefs.h
<<_ACEOF
15082 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15088 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15090 ac_save_CPPFLAGS
="$CPPFLAGS"
15091 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
15092 $as_unset ac_cv_header_fontconfig_fontconfig_h
15094 for ac_header
in fontconfig
/fontconfig.h
15096 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15097 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15098 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15100 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15101 echo $ECHO_N "(cached) $ECHO_C" >&6
15103 ac_res
=`eval echo '${'$as_ac_Header'}'`
15104 { echo "$as_me:$LINENO: result: $ac_res" >&5
15105 echo "${ECHO_T}$ac_res" >&6; }
15107 # Is the header compilable?
15108 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15109 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15110 cat >conftest.
$ac_ext <<_ACEOF
15113 cat confdefs.h
>>conftest.
$ac_ext
15114 cat >>conftest.
$ac_ext <<_ACEOF
15115 /* end confdefs.h. */
15116 $ac_includes_default
15117 #include <$ac_header>
15119 rm -f conftest.
$ac_objext
15120 if { (ac_try
="$ac_compile"
15121 case "(($ac_try" in
15122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15123 *) ac_try_echo=$ac_try;;
15125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15126 (eval "$ac_compile") 2>conftest.er1
15128 grep -v '^ *+' conftest.er1 >conftest.err
15130 cat conftest.err >&5
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); } && {
15133 test -z "$ac_c_werror_flag" ||
15134 test ! -s conftest.err
15135 } && test -s conftest.$ac_objext; then
15136 ac_header_compiler=yes
15138 echo "$as_me: failed program was:" >&5
15139 sed 's/^/| /' conftest.$ac_ext >&5
15141 ac_header_compiler=no
15144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15145 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15146 echo "${ECHO_T}$ac_header_compiler" >&6; }
15148 # Is the header present?
15149 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15150 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15151 cat >conftest.$ac_ext <<_ACEOF
15154 cat confdefs.h >>conftest.$ac_ext
15155 cat >>conftest.$ac_ext <<_ACEOF
15156 /* end confdefs.h. */
15157 #include <$ac_header>
15159 if { (ac_try="$ac_cpp conftest.$ac_ext"
15160 case "(($ac_try" in
15161 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15162 *) ac_try_echo
=$ac_try;;
15164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15165 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15167 grep -v '^ *+' conftest.er1
>conftest.err
15169 cat conftest.err
>&5
15170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15171 (exit $ac_status); } >/dev
/null
&& {
15172 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15173 test ! -s conftest.err
15175 ac_header_preproc
=yes
15177 echo "$as_me: failed program was:" >&5
15178 sed 's/^/| /' conftest.
$ac_ext >&5
15180 ac_header_preproc
=no
15183 rm -f conftest.err conftest.
$ac_ext
15184 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15185 echo "${ECHO_T}$ac_header_preproc" >&6; }
15187 # So? What about this header?
15188 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15190 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15191 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15193 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15194 ac_header_preproc
=yes
15197 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15198 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15199 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15200 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15201 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15202 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15203 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15204 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15206 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15207 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15208 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15210 ## ------------------------------------ ##
15211 ## Report this to wine-devel@winehq.org ##
15212 ## ------------------------------------ ##
15214 ) |
sed "s/^/$as_me: WARNING: /" >&2
15217 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15219 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15220 echo $ECHO_N "(cached) $ECHO_C" >&6
15222 eval "$as_ac_Header=\$ac_header_preproc"
15224 ac_res
=`eval echo '${'$as_ac_Header'}'`
15225 { echo "$as_me:$LINENO: result: $ac_res" >&5
15226 echo "${ECHO_T}$ac_res" >&6; }
15229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15230 cat >>confdefs.h
<<_ACEOF
15231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15238 CPPFLAGS
="$ac_save_CPPFLAGS"
15239 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15241 FONTCONFIGINCL
="$X_CFLAGS"
15243 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15244 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15245 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15248 ac_check_soname_save_LIBS
=$LIBS
15249 LIBS
="-lfontconfig $X_LIBS $LIBS"
15250 cat >conftest.
$ac_ext <<_ACEOF
15253 cat confdefs.h
>>conftest.
$ac_ext
15254 cat >>conftest.
$ac_ext <<_ACEOF
15255 /* end confdefs.h. */
15257 /* Override any GCC internal prototype to avoid an error.
15258 Use char because int might match the return type of a GCC
15259 builtin and then its argument prototype would still apply. */
15272 rm -f conftest.
$ac_objext conftest
$ac_exeext
15273 if { (ac_try
="$ac_link"
15274 case "(($ac_try" in
15275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15276 *) ac_try_echo=$ac_try;;
15278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15279 (eval "$ac_link") 2>conftest.er1
15281 grep -v '^ *+' conftest.er1 >conftest.err
15283 cat conftest.err >&5
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); } && {
15286 test -z "$ac_c_werror_flag" ||
15287 test ! -s conftest.err
15288 } && test -s conftest$ac_exeext &&
15289 $as_test_x conftest$ac_exeext; then
15292 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'` ;;
15293 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15296 echo "$as_me: failed program was:" >&5
15297 sed 's/^/| /' conftest.$ac_ext >&5
15302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15303 conftest$ac_exeext conftest.$ac_ext
15304 LIBS=$ac_check_soname_save_LIBS
15306 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15307 { echo "$as_me:$LINENO: result: not found" >&5
15308 echo "${ECHO_T}not found" >&6; }
15311 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15312 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15314 cat >>confdefs.h <<_ACEOF
15315 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15323 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15324 case "x$with_fontconfig" in
15325 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15327 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15328 This is an error since --with-fontconfig was requested." >&5
15329 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15330 This is an error since --with-fontconfig was requested." >&2;}
15331 { (exit 1); exit 1; }; } ;;
15336 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15338 { echo "$as_me:$LINENO: checking for -lssl" >&5
15339 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15340 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15341 echo $ECHO_N "(cached) $ECHO_C" >&6
15343 ac_check_soname_save_LIBS=$LIBS
15345 cat >conftest.$ac_ext <<_ACEOF
15348 cat confdefs.h >>conftest.$ac_ext
15349 cat >>conftest.$ac_ext <<_ACEOF
15350 /* end confdefs.h. */
15352 /* Override any GCC internal prototype to avoid an error.
15353 Use char because int might match the return type of a GCC
15354 builtin and then its argument prototype would still apply. */
15358 char SSL_library_init ();
15362 return SSL_library_init ();
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
15387 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'` ;;
15388 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15391 echo "$as_me: failed program was:" >&5
15392 sed 's/^/| /' conftest.
$ac_ext >&5
15397 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15398 conftest
$ac_exeext conftest.
$ac_ext
15399 LIBS
=$ac_check_soname_save_LIBS
15401 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15402 { echo "$as_me:$LINENO: result: not found" >&5
15403 echo "${ECHO_T}not found" >&6; }
15406 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15407 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15409 cat >>confdefs.h
<<_ACEOF
15410 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15416 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15417 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15418 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15419 echo $ECHO_N "(cached) $ECHO_C" >&6
15421 ac_check_soname_save_LIBS
=$LIBS
15422 LIBS
="-lcrypto $LIBS"
15423 cat >conftest.
$ac_ext <<_ACEOF
15426 cat confdefs.h
>>conftest.
$ac_ext
15427 cat >>conftest.
$ac_ext <<_ACEOF
15428 /* end confdefs.h. */
15430 /* Override any GCC internal prototype to avoid an error.
15431 Use char because int might match the return type of a GCC
15432 builtin and then its argument prototype would still apply. */
15436 char BIO_new_socket ();
15440 return BIO_new_socket ();
15445 rm -f conftest.
$ac_objext conftest
$ac_exeext
15446 if { (ac_try
="$ac_link"
15447 case "(($ac_try" in
15448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15449 *) ac_try_echo=$ac_try;;
15451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15452 (eval "$ac_link") 2>conftest.er1
15454 grep -v '^ *+' conftest.er1 >conftest.err
15456 cat conftest.err >&5
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); } && {
15459 test -z "$ac_c_werror_flag" ||
15460 test ! -s conftest.err
15461 } && test -s conftest$ac_exeext &&
15462 $as_test_x conftest$ac_exeext; then
15465 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'` ;;
15466 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcrypto\\.$LIBEXT" |
sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15469 echo "$as_me: failed program was:" >&5
15470 sed 's/^/| /' conftest.$ac_ext >&5
15475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15476 conftest$ac_exeext conftest.$ac_ext
15477 LIBS=$ac_check_soname_save_LIBS
15479 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15480 { echo "$as_me:$LINENO: result: not found" >&5
15481 echo "${ECHO_T}not found" >&6; }
15484 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15485 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15487 cat >>confdefs.h <<_ACEOF
15488 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15495 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15496 case "x$with_openssl" in
15497 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15499 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15500 This is an error since --with-openssl was requested." >&5
15501 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15502 This is an error since --with-openssl was requested." >&2;}
15503 { (exit 1); exit 1; }; } ;;
15508 if test "$ac_cv_header_jpeglib_h" = "yes"
15510 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15511 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15512 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15513 echo $ECHO_N "(cached) $ECHO_C" >&6
15515 ac_check_soname_save_LIBS=$LIBS
15516 LIBS="-ljpeg $LIBS"
15517 cat >conftest.$ac_ext <<_ACEOF
15520 cat confdefs.h >>conftest.$ac_ext
15521 cat >>conftest.$ac_ext <<_ACEOF
15522 /* end confdefs.h. */
15524 /* Override any GCC internal prototype to avoid an error.
15525 Use char because int might match the return type of a GCC
15526 builtin and then its argument prototype would still apply. */
15530 char jpeg_start_decompress ();
15534 return jpeg_start_decompress ();
15539 rm -f conftest.$ac_objext conftest$ac_exeext
15540 if { (ac_try="$ac_link"
15541 case "(($ac_try" in
15542 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15543 *) ac_try_echo
=$ac_try;;
15545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15546 (eval "$ac_link") 2>conftest.er1
15548 grep -v '^ *+' conftest.er1
>conftest.err
15550 cat conftest.err
>&5
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); } && {
15553 test -z "$ac_c_werror_flag" ||
15554 test ! -s conftest.err
15555 } && test -s conftest
$ac_exeext &&
15556 $as_test_x conftest
$ac_exeext; then
15559 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'` ;;
15560 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15563 echo "$as_me: failed program was:" >&5
15564 sed 's/^/| /' conftest.
$ac_ext >&5
15569 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15570 conftest
$ac_exeext conftest.
$ac_ext
15571 LIBS
=$ac_check_soname_save_LIBS
15573 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15574 { echo "$as_me:$LINENO: result: not found" >&5
15575 echo "${ECHO_T}not found" >&6; }
15578 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15579 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15581 cat >>confdefs.h
<<_ACEOF
15582 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15589 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15590 case "x$with_jpeg" in
15591 x
) wine_notices
="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15593 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15594 This is an error since --with-jpeg was requested." >&5
15595 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15596 This is an error since --with-jpeg was requested." >&2;}
15597 { (exit 1); exit 1; }; } ;;
15602 if test "$ac_cv_header_png_h" = "yes"
15604 { echo "$as_me:$LINENO: checking for -lpng" >&5
15605 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15606 if test "${ac_cv_lib_soname_png+set}" = set; then
15607 echo $ECHO_N "(cached) $ECHO_C" >&6
15609 ac_check_soname_save_LIBS
=$LIBS
15611 cat >conftest.
$ac_ext <<_ACEOF
15614 cat confdefs.h
>>conftest.
$ac_ext
15615 cat >>conftest.
$ac_ext <<_ACEOF
15616 /* end confdefs.h. */
15618 /* Override any GCC internal prototype to avoid an error.
15619 Use char because int might match the return type of a GCC
15620 builtin and then its argument prototype would still apply. */
15624 char png_create_read_struct ();
15628 return png_create_read_struct ();
15633 rm -f conftest.
$ac_objext conftest
$ac_exeext
15634 if { (ac_try
="$ac_link"
15635 case "(($ac_try" in
15636 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15637 *) ac_try_echo=$ac_try;;
15639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15640 (eval "$ac_link") 2>conftest.er1
15642 grep -v '^ *+' conftest.er1 >conftest.err
15644 cat conftest.err >&5
15645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15646 (exit $ac_status); } && {
15647 test -z "$ac_c_werror_flag" ||
15648 test ! -s conftest.err
15649 } && test -s conftest$ac_exeext &&
15650 $as_test_x conftest$ac_exeext; then
15653 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'` ;;
15654 *) 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'` ;;
15657 echo "$as_me: failed program was:" >&5
15658 sed 's/^/| /' conftest.$ac_ext >&5
15663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15664 conftest$ac_exeext conftest.$ac_ext
15665 LIBS=$ac_check_soname_save_LIBS
15667 if test "x$ac_cv_lib_soname_png" = "x"; then
15668 { echo "$as_me:$LINENO: result: not found" >&5
15669 echo "${ECHO_T}not found" >&6; }
15672 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15673 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15675 cat >>confdefs.h <<_ACEOF
15676 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15683 if test "x$ac_cv_lib_soname_png" = "x"; then
15684 case "x$with_png" in
15685 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
15687 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15688 This is an error since --with-png was requested." >&5
15689 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15690 This is an error since --with-png was requested." >&2;}
15691 { (exit 1); exit 1; }; } ;;
15696 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15697 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15698 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15699 echo $ECHO_N "(cached) $ECHO_C" >&6
15701 ac_check_soname_save_LIBS=$LIBS
15702 LIBS="-lodbc $LIBS"
15703 cat >conftest.$ac_ext <<_ACEOF
15706 cat confdefs.h >>conftest.$ac_ext
15707 cat >>conftest.$ac_ext <<_ACEOF
15708 /* end confdefs.h. */
15710 /* Override any GCC internal prototype to avoid an error.
15711 Use char because int might match the return type of a GCC
15712 builtin and then its argument prototype would still apply. */
15716 char SQLConnect ();
15720 return SQLConnect ();
15725 rm -f conftest.$ac_objext conftest$ac_exeext
15726 if { (ac_try="$ac_link"
15727 case "(($ac_try" in
15728 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15729 *) ac_try_echo
=$ac_try;;
15731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15732 (eval "$ac_link") 2>conftest.er1
15734 grep -v '^ *+' conftest.er1
>conftest.err
15736 cat conftest.err
>&5
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); } && {
15739 test -z "$ac_c_werror_flag" ||
15740 test ! -s conftest.err
15741 } && test -s conftest
$ac_exeext &&
15742 $as_test_x conftest
$ac_exeext; then
15745 dylib
) ac_cv_lib_soname_odbc
=`otool -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15746 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15749 echo "$as_me: failed program was:" >&5
15750 sed 's/^/| /' conftest.
$ac_ext >&5
15755 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15756 conftest
$ac_exeext conftest.
$ac_ext
15757 LIBS
=$ac_check_soname_save_LIBS
15759 if test "x$ac_cv_lib_soname_odbc" = "x"; then
15760 { echo "$as_me:$LINENO: result: not found" >&5
15761 echo "${ECHO_T}not found" >&6; }
15762 cat >>confdefs.h
<<_ACEOF
15763 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15767 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
15768 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
15770 cat >>confdefs.h
<<_ACEOF
15771 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15778 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15779 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15780 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15781 "$ac_cv_header_soundcard_h" != "yes" -a \
15782 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
15784 wine_warnings
="$wine_warnings|No sound system was found. Windows applications will be silent."
15790 if test "x${GCC}" = "xyes"
15792 EXTRACFLAGS
="-Wall -pipe"
15794 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15795 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15796 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15797 echo $ECHO_N "(cached) $ECHO_C" >&6
15799 if test "$cross_compiling" = yes; then
15800 ac_cv_c_gcc_strength_bug
="yes"
15802 cat >conftest.
$ac_ext <<_ACEOF
15805 cat confdefs.h
>>conftest.
$ac_ext
15806 cat >>conftest.
$ac_ext <<_ACEOF
15807 /* end confdefs.h. */
15808 int L[4] = {0,1,2,3};
15812 static int Array[3];
15813 unsigned int B = 3;
15815 for(i=0; i<B; i++) Array[i] = i - 3;
15816 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15818 exit( Array[1] != -2 || L[2] != 3)
15823 rm -f conftest
$ac_exeext
15824 if { (ac_try
="$ac_link"
15825 case "(($ac_try" in
15826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15827 *) ac_try_echo=$ac_try;;
15829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15830 (eval "$ac_link") 2>&5
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15834 { (case "(($ac_try" in
15835 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15836 *) ac_try_echo
=$ac_try;;
15838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15839 (eval "$ac_try") 2>&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); }; }; then
15843 ac_cv_c_gcc_strength_bug
="no"
15845 echo "$as_me: program exited with status $ac_status" >&5
15846 echo "$as_me: failed program was:" >&5
15847 sed 's/^/| /' conftest.
$ac_ext >&5
15849 ( exit $ac_status )
15850 ac_cv_c_gcc_strength_bug
="yes"
15852 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15857 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15858 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15859 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15861 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
15865 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15866 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15867 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15868 echo $ECHO_N "(cached) $ECHO_C" >&6
15870 ac_wine_try_cflags_saved
=$CFLAGS
15871 CFLAGS
="$CFLAGS -fshort-wchar"
15872 cat >conftest.
$ac_ext <<_ACEOF
15875 cat confdefs.h
>>conftest.
$ac_ext
15876 cat >>conftest.
$ac_ext <<_ACEOF
15877 /* end confdefs.h. */
15887 rm -f conftest.
$ac_objext conftest
$ac_exeext
15888 if { (ac_try
="$ac_link"
15889 case "(($ac_try" in
15890 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15891 *) ac_try_echo=$ac_try;;
15893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15894 (eval "$ac_link") 2>conftest.er1
15896 grep -v '^ *+' conftest.er1 >conftest.err
15898 cat conftest.err >&5
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); } && {
15901 test -z "$ac_c_werror_flag" ||
15902 test ! -s conftest.err
15903 } && test -s conftest$ac_exeext &&
15904 $as_test_x conftest$ac_exeext; then
15905 ac_cv_cflags__fshort_wchar=yes
15907 echo "$as_me: failed program was:" >&5
15908 sed 's/^/| /' conftest.$ac_ext >&5
15910 ac_cv_cflags__fshort_wchar=no
15913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15914 conftest$ac_exeext conftest.$ac_ext
15915 CFLAGS=$ac_wine_try_cflags_saved
15917 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15918 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15919 if test $ac_cv_cflags__fshort_wchar = yes; then
15921 cat >>confdefs.h <<\_ACEOF
15922 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15927 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15928 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15929 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15930 echo $ECHO_N "(cached) $ECHO_C" >&6
15932 ac_wine_try_cflags_saved=$CFLAGS
15933 CFLAGS="$CFLAGS -fno-strict-aliasing"
15934 cat >conftest.$ac_ext <<_ACEOF
15937 cat confdefs.h >>conftest.$ac_ext
15938 cat >>conftest.$ac_ext <<_ACEOF
15939 /* end confdefs.h. */
15949 rm -f conftest.$ac_objext conftest$ac_exeext
15950 if { (ac_try="$ac_link"
15951 case "(($ac_try" in
15952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15953 *) ac_try_echo
=$ac_try;;
15955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15956 (eval "$ac_link") 2>conftest.er1
15958 grep -v '^ *+' conftest.er1
>conftest.err
15960 cat conftest.err
>&5
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); } && {
15963 test -z "$ac_c_werror_flag" ||
15964 test ! -s conftest.err
15965 } && test -s conftest
$ac_exeext &&
15966 $as_test_x conftest
$ac_exeext; then
15967 ac_cv_cflags__fno_strict_aliasing
=yes
15969 echo "$as_me: failed program was:" >&5
15970 sed 's/^/| /' conftest.
$ac_ext >&5
15972 ac_cv_cflags__fno_strict_aliasing
=no
15975 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15976 conftest
$ac_exeext conftest.
$ac_ext
15977 CFLAGS
=$ac_wine_try_cflags_saved
15979 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15980 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15981 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15982 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
15985 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15986 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15987 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15988 echo $ECHO_N "(cached) $ECHO_C" >&6
15990 ac_wine_try_cflags_saved
=$CFLAGS
15991 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
15992 cat >conftest.
$ac_ext <<_ACEOF
15995 cat confdefs.h
>>conftest.
$ac_ext
15996 cat >>conftest.
$ac_ext <<_ACEOF
15997 /* end confdefs.h. */
16007 rm -f conftest.
$ac_objext conftest
$ac_exeext
16008 if { (ac_try
="$ac_link"
16009 case "(($ac_try" in
16010 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16011 *) ac_try_echo=$ac_try;;
16013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16014 (eval "$ac_link") 2>conftest.er1
16016 grep -v '^ *+' conftest.er1 >conftest.err
16018 cat conftest.err >&5
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); } && {
16021 test -z "$ac_c_werror_flag" ||
16022 test ! -s conftest.err
16023 } && test -s conftest$ac_exeext &&
16024 $as_test_x conftest$ac_exeext; then
16025 ac_cv_cflags__Wdeclaration_after_statement=yes
16027 echo "$as_me: failed program was:" >&5
16028 sed 's/^/| /' conftest.$ac_ext >&5
16030 ac_cv_cflags__Wdeclaration_after_statement=no
16033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16034 conftest$ac_exeext conftest.$ac_ext
16035 CFLAGS=$ac_wine_try_cflags_saved
16037 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16038 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16039 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16040 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16043 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16044 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16045 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16046 echo $ECHO_N "(cached) $ECHO_C" >&6
16048 ac_wine_try_cflags_saved=$CFLAGS
16049 CFLAGS="$CFLAGS -Wwrite-strings"
16050 cat >conftest.$ac_ext <<_ACEOF
16053 cat confdefs.h >>conftest.$ac_ext
16054 cat >>conftest.$ac_ext <<_ACEOF
16055 /* end confdefs.h. */
16065 rm -f conftest.$ac_objext conftest$ac_exeext
16066 if { (ac_try="$ac_link"
16067 case "(($ac_try" in
16068 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16069 *) ac_try_echo
=$ac_try;;
16071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16072 (eval "$ac_link") 2>conftest.er1
16074 grep -v '^ *+' conftest.er1
>conftest.err
16076 cat conftest.err
>&5
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); } && {
16079 test -z "$ac_c_werror_flag" ||
16080 test ! -s conftest.err
16081 } && test -s conftest
$ac_exeext &&
16082 $as_test_x conftest
$ac_exeext; then
16083 ac_cv_cflags__Wwrite_strings
=yes
16085 echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.
$ac_ext >&5
16088 ac_cv_cflags__Wwrite_strings
=no
16091 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16092 conftest
$ac_exeext conftest.
$ac_ext
16093 CFLAGS
=$ac_wine_try_cflags_saved
16095 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16096 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16097 if test $ac_cv_cflags__Wwrite_strings = yes; then
16098 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
16101 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16102 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16103 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16104 echo $ECHO_N "(cached) $ECHO_C" >&6
16106 ac_wine_try_cflags_saved
=$CFLAGS
16107 CFLAGS
="$CFLAGS -Wtype-limits"
16108 cat >conftest.
$ac_ext <<_ACEOF
16111 cat confdefs.h
>>conftest.
$ac_ext
16112 cat >>conftest.
$ac_ext <<_ACEOF
16113 /* end confdefs.h. */
16123 rm -f conftest.
$ac_objext conftest
$ac_exeext
16124 if { (ac_try
="$ac_link"
16125 case "(($ac_try" in
16126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16127 *) ac_try_echo=$ac_try;;
16129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16130 (eval "$ac_link") 2>conftest.er1
16132 grep -v '^ *+' conftest.er1 >conftest.err
16134 cat conftest.err >&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); } && {
16137 test -z "$ac_c_werror_flag" ||
16138 test ! -s conftest.err
16139 } && test -s conftest$ac_exeext &&
16140 $as_test_x conftest$ac_exeext; then
16141 ac_cv_cflags__Wtype_limits=yes
16143 echo "$as_me: failed program was:" >&5
16144 sed 's/^/| /' conftest.$ac_ext >&5
16146 ac_cv_cflags__Wtype_limits=no
16149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16150 conftest$ac_exeext conftest.$ac_ext
16151 CFLAGS=$ac_wine_try_cflags_saved
16153 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16154 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16155 if test $ac_cv_cflags__Wtype_limits = yes; then
16156 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16160 saved_CFLAGS="$CFLAGS"
16161 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16162 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16163 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16164 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16165 echo $ECHO_N "(cached) $ECHO_C" >&6
16167 cat >conftest.$ac_ext <<_ACEOF
16170 cat confdefs.h >>conftest.$ac_ext
16171 cat >>conftest.$ac_ext <<_ACEOF
16172 /* end confdefs.h. */
16173 #include <string.h>
16182 rm -f conftest.$ac_objext
16183 if { (ac_try="$ac_compile"
16184 case "(($ac_try" in
16185 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16186 *) ac_try_echo
=$ac_try;;
16188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16189 (eval "$ac_compile") 2>conftest.er1
16191 grep -v '^ *+' conftest.er1
>conftest.err
16193 cat conftest.err
>&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); } && {
16196 test -z "$ac_c_werror_flag" ||
16197 test ! -s conftest.err
16198 } && test -s conftest.
$ac_objext; then
16199 ac_cv_c_string_h_warnings
=no
16201 echo "$as_me: failed program was:" >&5
16202 sed 's/^/| /' conftest.
$ac_ext >&5
16204 ac_cv_c_string_h_warnings
=yes
16207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16209 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16210 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16211 CFLAGS
="$saved_CFLAGS"
16212 if test "$ac_cv_c_string_h_warnings" = "no"
16214 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
16219 saved_CFLAGS
="$CFLAGS"
16220 CFLAGS
="$CFLAGS -Werror"
16221 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16222 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16223 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16224 echo $ECHO_N "(cached) $ECHO_C" >&6
16226 cat >conftest.
$ac_ext <<_ACEOF
16229 cat confdefs.h
>>conftest.
$ac_ext
16230 cat >>conftest.
$ac_ext <<_ACEOF
16231 /* end confdefs.h. */
16236 int iswlower(unsigned short);
16241 rm -f conftest.
$ac_objext
16242 if { (ac_try
="$ac_compile"
16243 case "(($ac_try" in
16244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16245 *) ac_try_echo=$ac_try;;
16247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16248 (eval "$ac_compile") 2>conftest.er1
16250 grep -v '^ *+' conftest.er1 >conftest.err
16252 cat conftest.err >&5
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); } && {
16255 test -z "$ac_c_werror_flag" ||
16256 test ! -s conftest.err
16257 } && test -s conftest.$ac_objext; then
16258 ac_cv_c_builtin_wchar_ctype=no
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.$ac_ext >&5
16263 ac_cv_c_builtin_wchar_ctype=yes
16266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16268 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16269 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16270 CFLAGS="$saved_CFLAGS"
16271 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16273 BUILTINFLAG="-fno-builtin"
16278 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16279 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16280 if test "${ac_cv_asm_func_def+set}" = set; then
16281 echo $ECHO_N "(cached) $ECHO_C" >&6
16283 cat >conftest.$ac_ext <<_ACEOF
16286 cat confdefs.h >>conftest.$ac_ext
16287 cat >>conftest.$ac_ext <<_ACEOF
16288 /* end confdefs.h. */
16293 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16298 rm -f conftest.$ac_objext conftest$ac_exeext
16299 if { (ac_try="$ac_link"
16300 case "(($ac_try" in
16301 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16302 *) ac_try_echo
=$ac_try;;
16304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16305 (eval "$ac_link") 2>conftest.er1
16307 grep -v '^ *+' conftest.er1
>conftest.err
16309 cat conftest.err
>&5
16310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311 (exit $ac_status); } && {
16312 test -z "$ac_c_werror_flag" ||
16313 test ! -s conftest.err
16314 } && test -s conftest
$ac_exeext &&
16315 $as_test_x conftest
$ac_exeext; then
16316 ac_cv_asm_func_def
=".def"
16318 echo "$as_me: failed program was:" >&5
16319 sed 's/^/| /' conftest.
$ac_ext >&5
16321 cat >conftest.
$ac_ext <<_ACEOF
16324 cat confdefs.h
>>conftest.
$ac_ext
16325 cat >>conftest.
$ac_ext <<_ACEOF
16326 /* end confdefs.h. */
16331 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16336 rm -f conftest.
$ac_objext conftest
$ac_exeext
16337 if { (ac_try
="$ac_link"
16338 case "(($ac_try" in
16339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16340 *) ac_try_echo=$ac_try;;
16342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16343 (eval "$ac_link") 2>conftest.er1
16345 grep -v '^ *+' conftest.er1 >conftest.err
16347 cat conftest.err >&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); } && {
16350 test -z "$ac_c_werror_flag" ||
16351 test ! -s conftest.err
16352 } && test -s conftest$ac_exeext &&
16353 $as_test_x conftest$ac_exeext; then
16354 ac_cv_asm_func_def=".type @function"
16356 echo "$as_me: failed program was:" >&5
16357 sed 's/^/| /' conftest.$ac_ext >&5
16359 cat >conftest.$ac_ext <<_ACEOF
16362 cat confdefs.h >>conftest.$ac_ext
16363 cat >>conftest.$ac_ext <<_ACEOF
16364 /* end confdefs.h. */
16369 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16374 rm -f conftest.$ac_objext conftest$ac_exeext
16375 if { (ac_try="$ac_link"
16376 case "(($ac_try" in
16377 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16378 *) ac_try_echo
=$ac_try;;
16380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16381 (eval "$ac_link") 2>conftest.er1
16383 grep -v '^ *+' conftest.er1
>conftest.err
16385 cat conftest.err
>&5
16386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16387 (exit $ac_status); } && {
16388 test -z "$ac_c_werror_flag" ||
16389 test ! -s conftest.err
16390 } && test -s conftest
$ac_exeext &&
16391 $as_test_x conftest
$ac_exeext; then
16392 ac_cv_asm_func_def
=".type 2"
16394 echo "$as_me: failed program was:" >&5
16395 sed 's/^/| /' conftest.
$ac_ext >&5
16397 ac_cv_asm_func_def
="unknown"
16400 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16401 conftest
$ac_exeext conftest.
$ac_ext
16404 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16405 conftest
$ac_exeext conftest.
$ac_ext
16408 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16409 conftest
$ac_exeext conftest.
$ac_ext
16411 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16412 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16416 case "$ac_cv_asm_func_def" in
16418 cat >>confdefs.h
<<\_ACEOF
16419 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16423 cat >>confdefs.h
<<\_ACEOF
16424 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16428 cat >>confdefs.h
<<\_ACEOF
16429 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16433 cat >>confdefs.h
<<\_ACEOF
16434 #define __ASM_FUNC(name) ""
16440 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16441 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16442 if test "${ac_cv_c_extern_prefix+set}" = set; then
16443 echo $ECHO_N "(cached) $ECHO_C" >&6
16445 cat >conftest.
$ac_ext <<_ACEOF
16448 cat confdefs.h
>>conftest.
$ac_ext
16449 cat >>conftest.
$ac_ext <<_ACEOF
16450 /* end confdefs.h. */
16451 extern int ac_test;
16455 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16460 rm -f conftest.
$ac_objext conftest
$ac_exeext
16461 if { (ac_try
="$ac_link"
16462 case "(($ac_try" in
16463 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16464 *) ac_try_echo=$ac_try;;
16466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16467 (eval "$ac_link") 2>conftest.er1
16469 grep -v '^ *+' conftest.er1 >conftest.err
16471 cat conftest.err >&5
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); } && {
16474 test -z "$ac_c_werror_flag" ||
16475 test ! -s conftest.err
16476 } && test -s conftest$ac_exeext &&
16477 $as_test_x conftest$ac_exeext; then
16478 ac_cv_c_extern_prefix="yes"
16480 echo "$as_me: failed program was:" >&5
16481 sed 's/^/| /' conftest.$ac_ext >&5
16483 ac_cv_c_extern_prefix="no"
16486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16487 conftest$ac_exeext conftest.$ac_ext
16489 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16490 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16494 if test "$ac_cv_c_extern_prefix" = "yes"
16496 cat >>confdefs.h <<\_ACEOF
16497 #define __ASM_NAME(name) "_" name
16501 cat >>confdefs.h <<\_ACEOF
16502 #define __ASM_NAME(name) name
16512 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16516 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16518 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16522 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16530 SOCKETLIBS="-lws2_32"
16535 MAIN_BINARY="wine-pthread"
16539 linux* | k*bsd*-gnu)
16540 MAIN_BINARY="wine-glibc"
16542 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16545 MAIN_BINARY="wine-freebsd"
16547 EXTRA_BINARIES="wine-pthread"
16687 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16688 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16690 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16691 echo $ECHO_N "(cached) $ECHO_C" >&6
16693 cat >conftest.$ac_ext <<_ACEOF
16696 cat confdefs.h >>conftest.$ac_ext
16697 cat >>conftest.$ac_ext <<_ACEOF
16698 /* end confdefs.h. */
16699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16701 #define $ac_func innocuous_$ac_func
16703 /* System header to define __stub macros and hopefully few prototypes,
16704 which can conflict with char $ac_func (); below.
16705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16706 <limits.h> exists even on freestanding compilers. */
16709 # include <limits.h>
16711 # include <assert.h>
16716 /* Override any GCC internal prototype to avoid an error.
16717 Use char because int might match the return type of a GCC
16718 builtin and then its argument prototype would still apply. */
16723 /* The GNU C library defines this for functions which it implements
16724 to always fail with ENOSYS. Some functions are actually named
16725 something starting with __ and the normal name is an alias. */
16726 #if defined __stub_$ac_func || defined __stub___$ac_func
16733 return $ac_func ();
16738 rm -f conftest.$ac_objext conftest$ac_exeext
16739 if { (ac_try="$ac_link"
16740 case "(($ac_try" in
16741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16742 *) ac_try_echo
=$ac_try;;
16744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16745 (eval "$ac_link") 2>conftest.er1
16747 grep -v '^ *+' conftest.er1
>conftest.err
16749 cat conftest.err
>&5
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); } && {
16752 test -z "$ac_c_werror_flag" ||
16753 test ! -s conftest.err
16754 } && test -s conftest
$ac_exeext &&
16755 $as_test_x conftest
$ac_exeext; then
16756 eval "$as_ac_var=yes"
16758 echo "$as_me: failed program was:" >&5
16759 sed 's/^/| /' conftest.
$ac_ext >&5
16761 eval "$as_ac_var=no"
16764 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16765 conftest
$ac_exeext conftest.
$ac_ext
16767 ac_res
=`eval echo '${'$as_ac_var'}'`
16768 { echo "$as_me:$LINENO: result: $ac_res" >&5
16769 echo "${ECHO_T}$ac_res" >&6; }
16770 if test `eval echo '${'$as_ac_var'}'` = yes; then
16771 cat >>confdefs.h
<<_ACEOF
16772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16779 if test "$ac_cv_func_dlopen" = no
16781 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16782 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16783 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16784 echo $ECHO_N "(cached) $ECHO_C" >&6
16786 ac_check_lib_save_LIBS
=$LIBS
16788 cat >conftest.
$ac_ext <<_ACEOF
16791 cat confdefs.h
>>conftest.
$ac_ext
16792 cat >>conftest.
$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16795 /* Override any GCC internal prototype to avoid an error.
16796 Use char because int might match the return type of a GCC
16797 builtin and then its argument prototype would still apply. */
16810 rm -f conftest.
$ac_objext conftest
$ac_exeext
16811 if { (ac_try
="$ac_link"
16812 case "(($ac_try" in
16813 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16814 *) ac_try_echo=$ac_try;;
16816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16817 (eval "$ac_link") 2>conftest.er1
16819 grep -v '^ *+' conftest.er1 >conftest.err
16821 cat conftest.err >&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); } && {
16824 test -z "$ac_c_werror_flag" ||
16825 test ! -s conftest.err
16826 } && test -s conftest$ac_exeext &&
16827 $as_test_x conftest$ac_exeext; then
16828 ac_cv_lib_dl_dlopen=yes
16830 echo "$as_me: failed program was:" >&5
16831 sed 's/^/| /' conftest.$ac_ext >&5
16833 ac_cv_lib_dl_dlopen=no
16836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16837 conftest$ac_exeext conftest.$ac_ext
16838 LIBS=$ac_check_lib_save_LIBS
16840 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16841 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16842 if test $ac_cv_lib_dl_dlopen = yes; then
16843 cat >>confdefs.h <<\_ACEOF
16844 #define HAVE_DLOPEN 1
16851 ac_wine_check_funcs_save_LIBS="$LIBS"
16852 LIBS="$LIBS $LIBDL"
16854 for ac_func in dladdr
16856 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16857 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16859 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16860 echo $ECHO_N "(cached) $ECHO_C" >&6
16862 cat >conftest.$ac_ext <<_ACEOF
16865 cat confdefs.h >>conftest.$ac_ext
16866 cat >>conftest.$ac_ext <<_ACEOF
16867 /* end confdefs.h. */
16868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16870 #define $ac_func innocuous_$ac_func
16872 /* System header to define __stub macros and hopefully few prototypes,
16873 which can conflict with char $ac_func (); below.
16874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16875 <limits.h> exists even on freestanding compilers. */
16878 # include <limits.h>
16880 # include <assert.h>
16885 /* Override any GCC internal prototype to avoid an error.
16886 Use char because int might match the return type of a GCC
16887 builtin and then its argument prototype would still apply. */
16892 /* The GNU C library defines this for functions which it implements
16893 to always fail with ENOSYS. Some functions are actually named
16894 something starting with __ and the normal name is an alias. */
16895 #if defined __stub_$ac_func || defined __stub___$ac_func
16902 return $ac_func ();
16907 rm -f conftest.$ac_objext conftest$ac_exeext
16908 if { (ac_try="$ac_link"
16909 case "(($ac_try" in
16910 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16911 *) ac_try_echo
=$ac_try;;
16913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16914 (eval "$ac_link") 2>conftest.er1
16916 grep -v '^ *+' conftest.er1
>conftest.err
16918 cat conftest.err
>&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); } && {
16921 test -z "$ac_c_werror_flag" ||
16922 test ! -s conftest.err
16923 } && test -s conftest
$ac_exeext &&
16924 $as_test_x conftest
$ac_exeext; then
16925 eval "$as_ac_var=yes"
16927 echo "$as_me: failed program was:" >&5
16928 sed 's/^/| /' conftest.
$ac_ext >&5
16930 eval "$as_ac_var=no"
16933 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16934 conftest
$ac_exeext conftest.
$ac_ext
16936 ac_res
=`eval echo '${'$as_ac_var'}'`
16937 { echo "$as_me:$LINENO: result: $ac_res" >&5
16938 echo "${ECHO_T}$ac_res" >&6; }
16939 if test `eval echo '${'$as_ac_var'}'` = yes; then
16940 cat >>confdefs.h
<<_ACEOF
16941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16947 LIBS
="$ac_wine_check_funcs_save_LIBS"
16949 if test "$ac_cv_func_poll" = no
16951 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16952 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16953 if test "${ac_cv_lib_poll_poll+set}" = set; then
16954 echo $ECHO_N "(cached) $ECHO_C" >&6
16956 ac_check_lib_save_LIBS
=$LIBS
16957 LIBS
="-lpoll $LIBS"
16958 cat >conftest.
$ac_ext <<_ACEOF
16961 cat confdefs.h
>>conftest.
$ac_ext
16962 cat >>conftest.
$ac_ext <<_ACEOF
16963 /* end confdefs.h. */
16965 /* Override any GCC internal prototype to avoid an error.
16966 Use char because int might match the return type of a GCC
16967 builtin and then its argument prototype would still apply. */
16980 rm -f conftest.
$ac_objext conftest
$ac_exeext
16981 if { (ac_try
="$ac_link"
16982 case "(($ac_try" in
16983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16984 *) ac_try_echo=$ac_try;;
16986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16987 (eval "$ac_link") 2>conftest.er1
16989 grep -v '^ *+' conftest.er1 >conftest.err
16991 cat conftest.err >&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); } && {
16994 test -z "$ac_c_werror_flag" ||
16995 test ! -s conftest.err
16996 } && test -s conftest$ac_exeext &&
16997 $as_test_x conftest$ac_exeext; then
16998 ac_cv_lib_poll_poll=yes
17000 echo "$as_me: failed program was:" >&5
17001 sed 's/^/| /' conftest.$ac_ext >&5
17003 ac_cv_lib_poll_poll=no
17006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17007 conftest$ac_exeext conftest.$ac_ext
17008 LIBS=$ac_check_lib_save_LIBS
17010 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17011 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17012 if test $ac_cv_lib_poll_poll = yes; then
17013 cat >>confdefs.h <<\_ACEOF
17014 #define HAVE_POLL 1
17022 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17023 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17024 if test "${ac_cv_search_gethostbyname+set}" = set; then
17025 echo $ECHO_N "(cached) $ECHO_C" >&6
17027 ac_func_search_save_LIBS=$LIBS
17028 cat >conftest.$ac_ext <<_ACEOF
17031 cat confdefs.h >>conftest.$ac_ext
17032 cat >>conftest.$ac_ext <<_ACEOF
17033 /* end confdefs.h. */
17035 /* Override any GCC internal prototype to avoid an error.
17036 Use char because int might match the return type of a GCC
17037 builtin and then its argument prototype would still apply. */
17041 char gethostbyname ();
17045 return gethostbyname ();
17050 for ac_lib in '' nsl; do
17051 if test -z "$ac_lib"; then
17052 ac_res="none required"
17055 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17057 rm -f conftest.$ac_objext conftest$ac_exeext
17058 if { (ac_try="$ac_link"
17059 case "(($ac_try" in
17060 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17061 *) ac_try_echo
=$ac_try;;
17063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17064 (eval "$ac_link") 2>conftest.er1
17066 grep -v '^ *+' conftest.er1
>conftest.err
17068 cat conftest.err
>&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); } && {
17071 test -z "$ac_c_werror_flag" ||
17072 test ! -s conftest.err
17073 } && test -s conftest
$ac_exeext &&
17074 $as_test_x conftest
$ac_exeext; then
17075 ac_cv_search_gethostbyname
=$ac_res
17077 echo "$as_me: failed program was:" >&5
17078 sed 's/^/| /' conftest.
$ac_ext >&5
17083 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17085 if test "${ac_cv_search_gethostbyname+set}" = set; then
17089 if test "${ac_cv_search_gethostbyname+set}" = set; then
17092 ac_cv_search_gethostbyname
=no
17094 rm conftest.
$ac_ext
17095 LIBS
=$ac_func_search_save_LIBS
17097 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17098 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17099 ac_res
=$ac_cv_search_gethostbyname
17100 if test "$ac_res" != no
; then
17101 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17106 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17107 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17108 if test "${ac_cv_search_connect+set}" = set; then
17109 echo $ECHO_N "(cached) $ECHO_C" >&6
17111 ac_func_search_save_LIBS
=$LIBS
17112 cat >conftest.
$ac_ext <<_ACEOF
17115 cat confdefs.h
>>conftest.
$ac_ext
17116 cat >>conftest.
$ac_ext <<_ACEOF
17117 /* end confdefs.h. */
17119 /* Override any GCC internal prototype to avoid an error.
17120 Use char because int might match the return type of a GCC
17121 builtin and then its argument prototype would still apply. */
17134 for ac_lib
in '' socket
; do
17135 if test -z "$ac_lib"; then
17136 ac_res
="none required"
17139 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17141 rm -f conftest.
$ac_objext conftest
$ac_exeext
17142 if { (ac_try
="$ac_link"
17143 case "(($ac_try" in
17144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17145 *) ac_try_echo=$ac_try;;
17147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17148 (eval "$ac_link") 2>conftest.er1
17150 grep -v '^ *+' conftest.er1 >conftest.err
17152 cat conftest.err >&5
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); } && {
17155 test -z "$ac_c_werror_flag" ||
17156 test ! -s conftest.err
17157 } && test -s conftest$ac_exeext &&
17158 $as_test_x conftest$ac_exeext; then
17159 ac_cv_search_connect=$ac_res
17161 echo "$as_me: failed program was:" >&5
17162 sed 's/^/| /' conftest.$ac_ext >&5
17167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17169 if test "${ac_cv_search_connect+set}" = set; then
17173 if test "${ac_cv_search_connect+set}" = set; then
17176 ac_cv_search_connect=no
17178 rm conftest.$ac_ext
17179 LIBS=$ac_func_search_save_LIBS
17181 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17182 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17183 ac_res=$ac_cv_search_connect
17184 if test "$ac_res" != no; then
17185 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17190 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17191 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17192 if test "${ac_cv_search_inet_aton+set}" = set; then
17193 echo $ECHO_N "(cached) $ECHO_C" >&6
17195 ac_func_search_save_LIBS=$LIBS
17196 cat >conftest.$ac_ext <<_ACEOF
17199 cat confdefs.h >>conftest.$ac_ext
17200 cat >>conftest.$ac_ext <<_ACEOF
17201 /* end confdefs.h. */
17203 /* Override any GCC internal prototype to avoid an error.
17204 Use char because int might match the return type of a GCC
17205 builtin and then its argument prototype would still apply. */
17213 return inet_aton ();
17218 for ac_lib in '' resolv; do
17219 if test -z "$ac_lib"; then
17220 ac_res="none required"
17223 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17225 rm -f conftest.$ac_objext conftest$ac_exeext
17226 if { (ac_try="$ac_link"
17227 case "(($ac_try" in
17228 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17229 *) ac_try_echo
=$ac_try;;
17231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17232 (eval "$ac_link") 2>conftest.er1
17234 grep -v '^ *+' conftest.er1
>conftest.err
17236 cat conftest.err
>&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); } && {
17239 test -z "$ac_c_werror_flag" ||
17240 test ! -s conftest.err
17241 } && test -s conftest
$ac_exeext &&
17242 $as_test_x conftest
$ac_exeext; then
17243 ac_cv_search_inet_aton
=$ac_res
17245 echo "$as_me: failed program was:" >&5
17246 sed 's/^/| /' conftest.
$ac_ext >&5
17251 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17253 if test "${ac_cv_search_inet_aton+set}" = set; then
17257 if test "${ac_cv_search_inet_aton+set}" = set; then
17260 ac_cv_search_inet_aton
=no
17262 rm conftest.
$ac_ext
17263 LIBS
=$ac_func_search_save_LIBS
17265 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17266 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17267 ac_res
=$ac_cv_search_inet_aton
17268 if test "$ac_res" != no
; then
17269 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17293 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17294 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17296 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17297 echo $ECHO_N "(cached) $ECHO_C" >&6
17299 cat >conftest.
$ac_ext <<_ACEOF
17302 cat confdefs.h
>>conftest.
$ac_ext
17303 cat >>conftest.
$ac_ext <<_ACEOF
17304 /* end confdefs.h. */
17305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17307 #define $ac_func innocuous_$ac_func
17309 /* System header to define __stub macros and hopefully few prototypes,
17310 which can conflict with char $ac_func (); below.
17311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17312 <limits.h> exists even on freestanding compilers. */
17315 # include <limits.h>
17317 # include <assert.h>
17322 /* Override any GCC internal prototype to avoid an error.
17323 Use char because int might match the return type of a GCC
17324 builtin and then its argument prototype would still apply. */
17329 /* The GNU C library defines this for functions which it implements
17330 to always fail with ENOSYS. Some functions are actually named
17331 something starting with __ and the normal name is an alias. */
17332 #if defined __stub_$ac_func || defined __stub___$ac_func
17339 return $ac_func ();
17344 rm -f conftest.
$ac_objext conftest
$ac_exeext
17345 if { (ac_try
="$ac_link"
17346 case "(($ac_try" in
17347 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17348 *) ac_try_echo=$ac_try;;
17350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17351 (eval "$ac_link") 2>conftest.er1
17353 grep -v '^ *+' conftest.er1 >conftest.err
17355 cat conftest.err >&5
17356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17357 (exit $ac_status); } && {
17358 test -z "$ac_c_werror_flag" ||
17359 test ! -s conftest.err
17360 } && test -s conftest$ac_exeext &&
17361 $as_test_x conftest$ac_exeext; then
17362 eval "$as_ac_var=yes"
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.$ac_ext >&5
17367 eval "$as_ac_var=no"
17370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17371 conftest$ac_exeext conftest.$ac_ext
17373 ac_res=`eval echo '${'$as_ac_var'}'`
17374 { echo "$as_me:$LINENO: result: $ac_res" >&5
17375 echo "${ECHO_T}$ac_res" >&6; }
17376 if test `eval echo '${'$as_ac_var'}'` = yes; then
17377 cat >>confdefs.h <<_ACEOF
17378 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
17386 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17387 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17388 if test "${ac_cv_c_const+set}" = set; then
17389 echo $ECHO_N "(cached) $ECHO_C" >&6
17391 cat >conftest.$ac_ext <<_ACEOF
17394 cat confdefs.h >>conftest.$ac_ext
17395 cat >>conftest.$ac_ext <<_ACEOF
17396 /* end confdefs.h. */
17401 /* FIXME: Include the comments suggested by Paul. */
17402 #ifndef __cplusplus
17403 /* Ultrix mips cc rejects this. */
17404 typedef int charset[2];
17406 /* SunOS 4.1.1 cc rejects this. */
17407 char const *const *pcpcc;
17409 /* NEC SVR4.0.2 mips cc rejects this. */
17410 struct point {int x, y;};
17411 static struct point const zero = {0,0};
17412 /* AIX XL C 1.02.0.0 rejects this.
17413 It does not let you subtract one const X* pointer from another in
17414 an arm of an if-expression whose if-part is not a constant
17416 const char *g = "string";
17417 pcpcc = &g + (g ? g-g : 0);
17418 /* HPUX 7.0 cc rejects these. */
17420 ppc = (char**) pcpcc;
17421 pcpcc = (char const *const *) ppc;
17422 { /* SCO 3.2v4 cc rejects this. */
17424 char const *s = 0 ? (char *) 0 : (char const *) 0;
17429 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17430 int x[] = {25, 17};
17431 const int *foo = &x[0];
17434 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17435 typedef const int *iptr;
17439 { /* AIX XL C 1.02.0.0 rejects this saying
17440 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17441 struct s { int j; const int *ap[3]; };
17442 struct s *b; b->j = 5;
17444 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17445 const int foo = 10;
17446 if (!foo) return 0;
17448 return !cs[0] && !zero.x;
17455 rm -f conftest.$ac_objext
17456 if { (ac_try="$ac_compile"
17457 case "(($ac_try" in
17458 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17459 *) ac_try_echo
=$ac_try;;
17461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17462 (eval "$ac_compile") 2>conftest.er1
17464 grep -v '^ *+' conftest.er1
>conftest.err
17466 cat conftest.err
>&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); } && {
17469 test -z "$ac_c_werror_flag" ||
17470 test ! -s conftest.err
17471 } && test -s conftest.
$ac_objext; then
17474 echo "$as_me: failed program was:" >&5
17475 sed 's/^/| /' conftest.
$ac_ext >&5
17480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17482 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17483 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17484 if test $ac_cv_c_const = no
; then
17486 cat >>confdefs.h
<<\_ACEOF
17492 { echo "$as_me:$LINENO: checking for inline" >&5
17493 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17494 if test "${ac_cv_c_inline+set}" = set; then
17495 echo $ECHO_N "(cached) $ECHO_C" >&6
17498 for ac_kw
in inline __inline__ __inline
; do
17499 cat >conftest.
$ac_ext <<_ACEOF
17502 cat confdefs.h
>>conftest.
$ac_ext
17503 cat >>conftest.
$ac_ext <<_ACEOF
17504 /* end confdefs.h. */
17505 #ifndef __cplusplus
17507 static $ac_kw foo_t static_foo () {return 0; }
17508 $ac_kw foo_t foo () {return 0; }
17512 rm -f conftest.
$ac_objext
17513 if { (ac_try
="$ac_compile"
17514 case "(($ac_try" in
17515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17516 *) ac_try_echo=$ac_try;;
17518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17519 (eval "$ac_compile") 2>conftest.er1
17521 grep -v '^ *+' conftest.er1 >conftest.err
17523 cat conftest.err >&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } && {
17526 test -z "$ac_c_werror_flag" ||
17527 test ! -s conftest.err
17528 } && test -s conftest.$ac_objext; then
17529 ac_cv_c_inline=$ac_kw
17531 echo "$as_me: failed program was:" >&5
17532 sed 's/^/| /' conftest.$ac_ext >&5
17537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17538 test "$ac_cv_c_inline" != no && break
17542 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17543 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17546 case $ac_cv_c_inline in
17549 case $ac_cv_c_inline in
17551 *) ac_val=$ac_cv_c_inline;;
17553 cat >>confdefs.h <<_ACEOF
17554 #ifndef __cplusplus
17555 #define inline $ac_val
17561 { echo "$as_me:$LINENO: checking for mode_t" >&5
17562 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17563 if test "${ac_cv_type_mode_t+set}" = set; then
17564 echo $ECHO_N "(cached) $ECHO_C" >&6
17566 cat >conftest.$ac_ext <<_ACEOF
17569 cat confdefs.h >>conftest.$ac_ext
17570 cat >>conftest.$ac_ext <<_ACEOF
17571 /* end confdefs.h. */
17572 $ac_includes_default
17573 typedef mode_t ac__type_new_;
17577 if ((ac__type_new_ *) 0)
17579 if (sizeof (ac__type_new_))
17585 rm -f conftest.$ac_objext
17586 if { (ac_try="$ac_compile"
17587 case "(($ac_try" in
17588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17589 *) ac_try_echo
=$ac_try;;
17591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17592 (eval "$ac_compile") 2>conftest.er1
17594 grep -v '^ *+' conftest.er1
>conftest.err
17596 cat conftest.err
>&5
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); } && {
17599 test -z "$ac_c_werror_flag" ||
17600 test ! -s conftest.err
17601 } && test -s conftest.
$ac_objext; then
17602 ac_cv_type_mode_t
=yes
17604 echo "$as_me: failed program was:" >&5
17605 sed 's/^/| /' conftest.
$ac_ext >&5
17607 ac_cv_type_mode_t
=no
17610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17612 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17613 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17614 if test $ac_cv_type_mode_t = yes; then
17616 cat >>confdefs.h
<<_ACEOF
17617 #define HAVE_MODE_T 1
17622 { echo "$as_me:$LINENO: checking for off_t" >&5
17623 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17624 if test "${ac_cv_type_off_t+set}" = set; then
17625 echo $ECHO_N "(cached) $ECHO_C" >&6
17627 cat >conftest.
$ac_ext <<_ACEOF
17630 cat confdefs.h
>>conftest.
$ac_ext
17631 cat >>conftest.
$ac_ext <<_ACEOF
17632 /* end confdefs.h. */
17633 $ac_includes_default
17634 typedef off_t ac__type_new_;
17638 if ((ac__type_new_ *) 0)
17640 if (sizeof (ac__type_new_))
17646 rm -f conftest.
$ac_objext
17647 if { (ac_try
="$ac_compile"
17648 case "(($ac_try" in
17649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17650 *) ac_try_echo=$ac_try;;
17652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17653 (eval "$ac_compile") 2>conftest.er1
17655 grep -v '^ *+' conftest.er1 >conftest.err
17657 cat conftest.err >&5
17658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659 (exit $ac_status); } && {
17660 test -z "$ac_c_werror_flag" ||
17661 test ! -s conftest.err
17662 } && test -s conftest.$ac_objext; then
17663 ac_cv_type_off_t=yes
17665 echo "$as_me: failed program was:" >&5
17666 sed 's/^/| /' conftest.$ac_ext >&5
17668 ac_cv_type_off_t=no
17671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17673 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17674 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17675 if test $ac_cv_type_off_t = yes; then
17677 cat >>confdefs.h <<_ACEOF
17678 #define HAVE_OFF_T 1
17683 { echo "$as_me:$LINENO: checking for pid_t" >&5
17684 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17685 if test "${ac_cv_type_pid_t+set}" = set; then
17686 echo $ECHO_N "(cached) $ECHO_C" >&6
17688 cat >conftest.$ac_ext <<_ACEOF
17691 cat confdefs.h >>conftest.$ac_ext
17692 cat >>conftest.$ac_ext <<_ACEOF
17693 /* end confdefs.h. */
17694 $ac_includes_default
17695 typedef pid_t ac__type_new_;
17699 if ((ac__type_new_ *) 0)
17701 if (sizeof (ac__type_new_))
17707 rm -f conftest.$ac_objext
17708 if { (ac_try="$ac_compile"
17709 case "(($ac_try" in
17710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17711 *) ac_try_echo
=$ac_try;;
17713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17714 (eval "$ac_compile") 2>conftest.er1
17716 grep -v '^ *+' conftest.er1
>conftest.err
17718 cat conftest.err
>&5
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); } && {
17721 test -z "$ac_c_werror_flag" ||
17722 test ! -s conftest.err
17723 } && test -s conftest.
$ac_objext; then
17724 ac_cv_type_pid_t
=yes
17726 echo "$as_me: failed program was:" >&5
17727 sed 's/^/| /' conftest.
$ac_ext >&5
17729 ac_cv_type_pid_t
=no
17732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17734 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17735 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17736 if test $ac_cv_type_pid_t = yes; then
17738 cat >>confdefs.h
<<_ACEOF
17739 #define HAVE_PID_T 1
17744 { echo "$as_me:$LINENO: checking for size_t" >&5
17745 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17746 if test "${ac_cv_type_size_t+set}" = set; then
17747 echo $ECHO_N "(cached) $ECHO_C" >&6
17749 cat >conftest.
$ac_ext <<_ACEOF
17752 cat confdefs.h
>>conftest.
$ac_ext
17753 cat >>conftest.
$ac_ext <<_ACEOF
17754 /* end confdefs.h. */
17755 $ac_includes_default
17756 typedef size_t ac__type_new_;
17760 if ((ac__type_new_ *) 0)
17762 if (sizeof (ac__type_new_))
17768 rm -f conftest.
$ac_objext
17769 if { (ac_try
="$ac_compile"
17770 case "(($ac_try" in
17771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17772 *) ac_try_echo=$ac_try;;
17774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17775 (eval "$ac_compile") 2>conftest.er1
17777 grep -v '^ *+' conftest.er1 >conftest.err
17779 cat conftest.err >&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); } && {
17782 test -z "$ac_c_werror_flag" ||
17783 test ! -s conftest.err
17784 } && test -s conftest.$ac_objext; then
17785 ac_cv_type_size_t=yes
17787 echo "$as_me: failed program was:" >&5
17788 sed 's/^/| /' conftest.$ac_ext >&5
17790 ac_cv_type_size_t=no
17793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17795 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17796 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17797 if test $ac_cv_type_size_t = yes; then
17799 cat >>confdefs.h <<_ACEOF
17800 #define HAVE_SIZE_T 1
17805 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17806 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17807 if test "${ac_cv_type_ssize_t+set}" = set; then
17808 echo $ECHO_N "(cached) $ECHO_C" >&6
17810 cat >conftest.$ac_ext <<_ACEOF
17813 cat confdefs.h >>conftest.$ac_ext
17814 cat >>conftest.$ac_ext <<_ACEOF
17815 /* end confdefs.h. */
17816 $ac_includes_default
17817 typedef ssize_t ac__type_new_;
17821 if ((ac__type_new_ *) 0)
17823 if (sizeof (ac__type_new_))
17829 rm -f conftest.$ac_objext
17830 if { (ac_try="$ac_compile"
17831 case "(($ac_try" in
17832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17833 *) ac_try_echo
=$ac_try;;
17835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17836 (eval "$ac_compile") 2>conftest.er1
17838 grep -v '^ *+' conftest.er1
>conftest.err
17840 cat conftest.err
>&5
17841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17842 (exit $ac_status); } && {
17843 test -z "$ac_c_werror_flag" ||
17844 test ! -s conftest.err
17845 } && test -s conftest.
$ac_objext; then
17846 ac_cv_type_ssize_t
=yes
17848 echo "$as_me: failed program was:" >&5
17849 sed 's/^/| /' conftest.
$ac_ext >&5
17851 ac_cv_type_ssize_t
=no
17854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17856 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17857 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17858 if test $ac_cv_type_ssize_t = yes; then
17860 cat >>confdefs.h
<<_ACEOF
17861 #define HAVE_SSIZE_T 1
17866 { echo "$as_me:$LINENO: checking for long long" >&5
17867 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17868 if test "${ac_cv_type_long_long+set}" = set; then
17869 echo $ECHO_N "(cached) $ECHO_C" >&6
17871 cat >conftest.
$ac_ext <<_ACEOF
17874 cat confdefs.h
>>conftest.
$ac_ext
17875 cat >>conftest.
$ac_ext <<_ACEOF
17876 /* end confdefs.h. */
17877 $ac_includes_default
17878 typedef long long ac__type_new_;
17882 if ((ac__type_new_ *) 0)
17884 if (sizeof (ac__type_new_))
17890 rm -f conftest.
$ac_objext
17891 if { (ac_try
="$ac_compile"
17892 case "(($ac_try" in
17893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17894 *) ac_try_echo=$ac_try;;
17896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17897 (eval "$ac_compile") 2>conftest.er1
17899 grep -v '^ *+' conftest.er1 >conftest.err
17901 cat conftest.err >&5
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); } && {
17904 test -z "$ac_c_werror_flag" ||
17905 test ! -s conftest.err
17906 } && test -s conftest.$ac_objext; then
17907 ac_cv_type_long_long=yes
17909 echo "$as_me: failed program was:" >&5
17910 sed 's/^/| /' conftest.$ac_ext >&5
17912 ac_cv_type_long_long=no
17915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17917 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17918 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17919 if test $ac_cv_type_long_long = yes; then
17921 cat >>confdefs.h <<_ACEOF
17922 #define HAVE_LONG_LONG 1
17927 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17928 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17929 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17930 echo $ECHO_N "(cached) $ECHO_C" >&6
17932 cat >conftest.$ac_ext <<_ACEOF
17935 cat confdefs.h >>conftest.$ac_ext
17936 cat >>conftest.$ac_ext <<_ACEOF
17937 /* end confdefs.h. */
17938 $ac_includes_default
17939 typedef fsblkcnt_t ac__type_new_;
17943 if ((ac__type_new_ *) 0)
17945 if (sizeof (ac__type_new_))
17951 rm -f conftest.$ac_objext
17952 if { (ac_try="$ac_compile"
17953 case "(($ac_try" in
17954 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17955 *) ac_try_echo
=$ac_try;;
17957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17958 (eval "$ac_compile") 2>conftest.er1
17960 grep -v '^ *+' conftest.er1
>conftest.err
17962 cat conftest.err
>&5
17963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17964 (exit $ac_status); } && {
17965 test -z "$ac_c_werror_flag" ||
17966 test ! -s conftest.err
17967 } && test -s conftest.
$ac_objext; then
17968 ac_cv_type_fsblkcnt_t
=yes
17970 echo "$as_me: failed program was:" >&5
17971 sed 's/^/| /' conftest.
$ac_ext >&5
17973 ac_cv_type_fsblkcnt_t
=no
17976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17978 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17979 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17980 if test $ac_cv_type_fsblkcnt_t = yes; then
17982 cat >>confdefs.h
<<_ACEOF
17983 #define HAVE_FSBLKCNT_T 1
17988 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17989 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17990 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17991 echo $ECHO_N "(cached) $ECHO_C" >&6
17993 cat >conftest.
$ac_ext <<_ACEOF
17996 cat confdefs.h
>>conftest.
$ac_ext
17997 cat >>conftest.
$ac_ext <<_ACEOF
17998 /* end confdefs.h. */
17999 $ac_includes_default
18000 typedef fsfilcnt_t ac__type_new_;
18004 if ((ac__type_new_ *) 0)
18006 if (sizeof (ac__type_new_))
18012 rm -f conftest.
$ac_objext
18013 if { (ac_try
="$ac_compile"
18014 case "(($ac_try" in
18015 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18016 *) ac_try_echo=$ac_try;;
18018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18019 (eval "$ac_compile") 2>conftest.er1
18021 grep -v '^ *+' conftest.er1 >conftest.err
18023 cat conftest.err >&5
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); } && {
18026 test -z "$ac_c_werror_flag" ||
18027 test ! -s conftest.err
18028 } && test -s conftest.$ac_objext; then
18029 ac_cv_type_fsfilcnt_t=yes
18031 echo "$as_me: failed program was:" >&5
18032 sed 's/^/| /' conftest.$ac_ext >&5
18034 ac_cv_type_fsfilcnt_t=no
18037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18039 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18040 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18041 if test $ac_cv_type_fsfilcnt_t = yes; then
18043 cat >>confdefs.h <<_ACEOF
18044 #define HAVE_FSFILCNT_T 1
18050 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18051 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18052 if test "${ac_cv_type_sigset_t+set}" = set; then
18053 echo $ECHO_N "(cached) $ECHO_C" >&6
18055 cat >conftest.$ac_ext <<_ACEOF
18058 cat confdefs.h >>conftest.$ac_ext
18059 cat >>conftest.$ac_ext <<_ACEOF
18060 /* end confdefs.h. */
18061 #include <signal.h>
18063 typedef sigset_t ac__type_new_;
18067 if ((ac__type_new_ *) 0)
18069 if (sizeof (ac__type_new_))
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_type_sigset_t
=yes
18094 echo "$as_me: failed program was:" >&5
18095 sed 's/^/| /' conftest.
$ac_ext >&5
18097 ac_cv_type_sigset_t
=no
18100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18102 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18103 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18104 if test $ac_cv_type_sigset_t = yes; then
18106 cat >>confdefs.h
<<_ACEOF
18107 #define HAVE_SIGSET_T 1
18113 { echo "$as_me:$LINENO: checking for request_sense" >&5
18114 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18115 if test "${ac_cv_type_request_sense+set}" = set; then
18116 echo $ECHO_N "(cached) $ECHO_C" >&6
18118 cat >conftest.
$ac_ext <<_ACEOF
18121 cat confdefs.h
>>conftest.
$ac_ext
18122 cat >>conftest.
$ac_ext <<_ACEOF
18123 /* end confdefs.h. */
18124 #include <linux/cdrom.h>
18126 typedef request_sense ac__type_new_;
18130 if ((ac__type_new_ *) 0)
18132 if (sizeof (ac__type_new_))
18138 rm -f conftest.
$ac_objext
18139 if { (ac_try
="$ac_compile"
18140 case "(($ac_try" in
18141 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18142 *) ac_try_echo=$ac_try;;
18144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18145 (eval "$ac_compile") 2>conftest.er1
18147 grep -v '^ *+' conftest.er1 >conftest.err
18149 cat conftest.err >&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); } && {
18152 test -z "$ac_c_werror_flag" ||
18153 test ! -s conftest.err
18154 } && test -s conftest.$ac_objext; then
18155 ac_cv_type_request_sense=yes
18157 echo "$as_me: failed program was:" >&5
18158 sed 's/^/| /' conftest.$ac_ext >&5
18160 ac_cv_type_request_sense=no
18163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18165 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18166 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18167 if test $ac_cv_type_request_sense = yes; then
18169 cat >>confdefs.h <<_ACEOF
18170 #define HAVE_REQUEST_SENSE 1
18177 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18178 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18179 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18180 echo $ECHO_N "(cached) $ECHO_C" >&6
18182 cat >conftest.$ac_ext <<_ACEOF
18185 cat confdefs.h >>conftest.$ac_ext
18186 cat >>conftest.$ac_ext <<_ACEOF
18187 /* end confdefs.h. */
18188 #ifdef HAVE_LINUX_INPUT_H
18189 #include <linux/input.h>
18195 static struct ff_effect ac_aggr;
18196 if (ac_aggr.direction)
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_ff_effect_direction
=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 #ifdef HAVE_LINUX_INPUT_H
18231 #include <linux/input.h>
18237 static struct ff_effect ac_aggr;
18238 if (sizeof ac_aggr.direction)
18244 rm -f conftest.
$ac_objext
18245 if { (ac_try
="$ac_compile"
18246 case "(($ac_try" in
18247 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18248 *) ac_try_echo=$ac_try;;
18250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18251 (eval "$ac_compile") 2>conftest.er1
18253 grep -v '^ *+' conftest.er1 >conftest.err
18255 cat conftest.err >&5
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); } && {
18258 test -z "$ac_c_werror_flag" ||
18259 test ! -s conftest.err
18260 } && test -s conftest.$ac_objext; then
18261 ac_cv_member_struct_ff_effect_direction=yes
18263 echo "$as_me: failed program was:" >&5
18264 sed 's/^/| /' conftest.$ac_ext >&5
18266 ac_cv_member_struct_ff_effect_direction=no
18269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18274 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18275 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18276 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18278 cat >>confdefs.h <<_ACEOF
18279 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18286 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18287 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18288 if test "${wine_cv_have_sigaddset+set}" = set; then
18289 echo $ECHO_N "(cached) $ECHO_C" >&6
18291 cat >conftest.$ac_ext <<_ACEOF
18294 cat confdefs.h >>conftest.$ac_ext
18295 cat >>conftest.$ac_ext <<_ACEOF
18296 /* end confdefs.h. */
18297 #include <signal.h>
18301 sigset_t set; sigaddset(&set,SIGTERM);
18306 rm -f conftest.$ac_objext conftest$ac_exeext
18307 if { (ac_try="$ac_link"
18308 case "(($ac_try" in
18309 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18310 *) ac_try_echo
=$ac_try;;
18312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18313 (eval "$ac_link") 2>conftest.er1
18315 grep -v '^ *+' conftest.er1
>conftest.err
18317 cat conftest.err
>&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); } && {
18320 test -z "$ac_c_werror_flag" ||
18321 test ! -s conftest.err
18322 } && test -s conftest
$ac_exeext &&
18323 $as_test_x conftest
$ac_exeext; then
18324 wine_cv_have_sigaddset
=yes
18326 echo "$as_me: failed program was:" >&5
18327 sed 's/^/| /' conftest.
$ac_ext >&5
18329 wine_cv_have_sigaddset
=no
18332 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18333 conftest
$ac_exeext conftest.
$ac_ext
18335 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18336 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18337 if test "$wine_cv_have_sigaddset" = "yes"
18340 cat >>confdefs.h
<<\_ACEOF
18341 #define HAVE_SIGADDSET 1
18347 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18348 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18349 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18350 echo $ECHO_N "(cached) $ECHO_C" >&6
18352 cat >conftest.
$ac_ext <<_ACEOF
18355 cat confdefs.h
>>conftest.
$ac_ext
18356 cat >>conftest.
$ac_ext <<_ACEOF
18357 /* end confdefs.h. */
18365 struct hostent *result;
18372 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18373 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18379 rm -f conftest.
$ac_objext conftest
$ac_exeext
18380 if { (ac_try
="$ac_link"
18381 case "(($ac_try" in
18382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18383 *) ac_try_echo=$ac_try;;
18385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18386 (eval "$ac_link") 2>conftest.er1
18388 grep -v '^ *+' conftest.er1 >conftest.err
18390 cat conftest.err >&5
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); } && {
18393 test -z "$ac_c_werror_flag" ||
18394 test ! -s conftest.err
18395 } && test -s conftest$ac_exeext &&
18396 $as_test_x conftest$ac_exeext; then
18397 wine_cv_linux_gethostbyname_r_6=yes
18399 echo "$as_me: failed program was:" >&5
18400 sed 's/^/| /' conftest.$ac_ext >&5
18402 wine_cv_linux_gethostbyname_r_6=no
18406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18407 conftest$ac_exeext conftest.$ac_ext
18410 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18411 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18412 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18415 cat >>confdefs.h <<\_ACEOF
18416 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18421 if test "$ac_cv_header_linux_joystick_h" = "yes"
18423 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18424 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18425 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18426 echo $ECHO_N "(cached) $ECHO_C" >&6
18428 cat >conftest.$ac_ext <<_ACEOF
18431 cat confdefs.h >>conftest.$ac_ext
18432 cat >>conftest.$ac_ext <<_ACEOF
18433 /* end confdefs.h. */
18435 #include <sys/ioctl.h>
18436 #include <sys/types.h>
18437 #include <linux/joystick.h>
18439 struct js_event blub;
18440 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18441 #error "no 2.2 header"
18452 rm -f conftest.$ac_objext
18453 if { (ac_try="$ac_compile"
18454 case "(($ac_try" in
18455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18456 *) ac_try_echo
=$ac_try;;
18458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18459 (eval "$ac_compile") 2>conftest.er1
18461 grep -v '^ *+' conftest.er1
>conftest.err
18463 cat conftest.err
>&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); } && {
18466 test -z "$ac_c_werror_flag" ||
18467 test ! -s conftest.err
18468 } && test -s conftest.
$ac_objext; then
18469 wine_cv_linux_joystick_22_api
=yes
18471 echo "$as_me: failed program was:" >&5
18472 sed 's/^/| /' conftest.
$ac_ext >&5
18474 wine_cv_linux_joystick_22_api
=no
18477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18480 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18481 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18482 if test "$wine_cv_linux_joystick_22_api" = "yes"
18485 cat >>confdefs.h
<<\_ACEOF
18486 #define HAVE_LINUX_22_JOYSTICK_API 1
18493 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18494 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18495 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18496 echo $ECHO_N "(cached) $ECHO_C" >&6
18498 cat >conftest.
$ac_ext <<_ACEOF
18501 cat confdefs.h
>>conftest.
$ac_ext
18502 cat >>conftest.
$ac_ext <<_ACEOF
18503 /* end confdefs.h. */
18504 #include <sys/types.h>
18505 #ifdef HAVE_SYS_PARAM_H
18506 # include <sys/param.h>
18508 #ifdef HAVE_SYS_MOUNT_H
18509 # include <sys/mount.h>
18511 #ifdef HAVE_SYS_VFS_H
18512 # include <sys/vfs.h>
18514 #ifdef HAVE_SYS_STATFS_H
18515 # include <sys/statfs.h>
18521 static struct statfs ac_aggr;
18522 if (ac_aggr.f_bfree)
18528 rm -f conftest.
$ac_objext
18529 if { (ac_try
="$ac_compile"
18530 case "(($ac_try" in
18531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18532 *) ac_try_echo=$ac_try;;
18534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18535 (eval "$ac_compile") 2>conftest.er1
18537 grep -v '^ *+' conftest.er1 >conftest.err
18539 cat conftest.err >&5
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); } && {
18542 test -z "$ac_c_werror_flag" ||
18543 test ! -s conftest.err
18544 } && test -s conftest.$ac_objext; then
18545 ac_cv_member_struct_statfs_f_bfree=yes
18547 echo "$as_me: failed program was:" >&5
18548 sed 's/^/| /' conftest.$ac_ext >&5
18550 cat >conftest.$ac_ext <<_ACEOF
18553 cat confdefs.h >>conftest.$ac_ext
18554 cat >>conftest.$ac_ext <<_ACEOF
18555 /* end confdefs.h. */
18556 #include <sys/types.h>
18557 #ifdef HAVE_SYS_PARAM_H
18558 # include <sys/param.h>
18560 #ifdef HAVE_SYS_MOUNT_H
18561 # include <sys/mount.h>
18563 #ifdef HAVE_SYS_VFS_H
18564 # include <sys/vfs.h>
18566 #ifdef HAVE_SYS_STATFS_H
18567 # include <sys/statfs.h>
18573 static struct statfs ac_aggr;
18574 if (sizeof ac_aggr.f_bfree)
18580 rm -f conftest.$ac_objext
18581 if { (ac_try="$ac_compile"
18582 case "(($ac_try" in
18583 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18584 *) ac_try_echo
=$ac_try;;
18586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18587 (eval "$ac_compile") 2>conftest.er1
18589 grep -v '^ *+' conftest.er1
>conftest.err
18591 cat conftest.err
>&5
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); } && {
18594 test -z "$ac_c_werror_flag" ||
18595 test ! -s conftest.err
18596 } && test -s conftest.
$ac_objext; then
18597 ac_cv_member_struct_statfs_f_bfree
=yes
18599 echo "$as_me: failed program was:" >&5
18600 sed 's/^/| /' conftest.
$ac_ext >&5
18602 ac_cv_member_struct_statfs_f_bfree
=no
18605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18610 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18611 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18612 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18614 cat >>confdefs.h
<<_ACEOF
18615 #define HAVE_STRUCT_STATFS_F_BFREE 1
18620 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18621 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18622 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18623 echo $ECHO_N "(cached) $ECHO_C" >&6
18625 cat >conftest.
$ac_ext <<_ACEOF
18628 cat confdefs.h
>>conftest.
$ac_ext
18629 cat >>conftest.
$ac_ext <<_ACEOF
18630 /* end confdefs.h. */
18631 #include <sys/types.h>
18632 #ifdef HAVE_SYS_PARAM_H
18633 # include <sys/param.h>
18635 #ifdef HAVE_SYS_MOUNT_H
18636 # include <sys/mount.h>
18638 #ifdef HAVE_SYS_VFS_H
18639 # include <sys/vfs.h>
18641 #ifdef HAVE_SYS_STATFS_H
18642 # include <sys/statfs.h>
18648 static struct statfs ac_aggr;
18649 if (ac_aggr.f_bavail)
18655 rm -f conftest.
$ac_objext
18656 if { (ac_try
="$ac_compile"
18657 case "(($ac_try" in
18658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18659 *) ac_try_echo=$ac_try;;
18661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18662 (eval "$ac_compile") 2>conftest.er1
18664 grep -v '^ *+' conftest.er1 >conftest.err
18666 cat conftest.err >&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); } && {
18669 test -z "$ac_c_werror_flag" ||
18670 test ! -s conftest.err
18671 } && test -s conftest.$ac_objext; then
18672 ac_cv_member_struct_statfs_f_bavail=yes
18674 echo "$as_me: failed program was:" >&5
18675 sed 's/^/| /' conftest.$ac_ext >&5
18677 cat >conftest.$ac_ext <<_ACEOF
18680 cat confdefs.h >>conftest.$ac_ext
18681 cat >>conftest.$ac_ext <<_ACEOF
18682 /* end confdefs.h. */
18683 #include <sys/types.h>
18684 #ifdef HAVE_SYS_PARAM_H
18685 # include <sys/param.h>
18687 #ifdef HAVE_SYS_MOUNT_H
18688 # include <sys/mount.h>
18690 #ifdef HAVE_SYS_VFS_H
18691 # include <sys/vfs.h>
18693 #ifdef HAVE_SYS_STATFS_H
18694 # include <sys/statfs.h>
18700 static struct statfs ac_aggr;
18701 if (sizeof ac_aggr.f_bavail)
18707 rm -f conftest.$ac_objext
18708 if { (ac_try="$ac_compile"
18709 case "(($ac_try" in
18710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18711 *) ac_try_echo
=$ac_try;;
18713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18714 (eval "$ac_compile") 2>conftest.er1
18716 grep -v '^ *+' conftest.er1
>conftest.err
18718 cat conftest.err
>&5
18719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720 (exit $ac_status); } && {
18721 test -z "$ac_c_werror_flag" ||
18722 test ! -s conftest.err
18723 } && test -s conftest.
$ac_objext; then
18724 ac_cv_member_struct_statfs_f_bavail
=yes
18726 echo "$as_me: failed program was:" >&5
18727 sed 's/^/| /' conftest.
$ac_ext >&5
18729 ac_cv_member_struct_statfs_f_bavail
=no
18732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18737 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18738 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18739 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18741 cat >>confdefs.h
<<_ACEOF
18742 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18747 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18748 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18749 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18750 echo $ECHO_N "(cached) $ECHO_C" >&6
18752 cat >conftest.
$ac_ext <<_ACEOF
18755 cat confdefs.h
>>conftest.
$ac_ext
18756 cat >>conftest.
$ac_ext <<_ACEOF
18757 /* end confdefs.h. */
18758 #include <sys/types.h>
18759 #ifdef HAVE_SYS_PARAM_H
18760 # include <sys/param.h>
18762 #ifdef HAVE_SYS_MOUNT_H
18763 # include <sys/mount.h>
18765 #ifdef HAVE_SYS_VFS_H
18766 # include <sys/vfs.h>
18768 #ifdef HAVE_SYS_STATFS_H
18769 # include <sys/statfs.h>
18775 static struct statfs ac_aggr;
18776 if (ac_aggr.f_frsize)
18782 rm -f conftest.
$ac_objext
18783 if { (ac_try
="$ac_compile"
18784 case "(($ac_try" in
18785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18786 *) ac_try_echo=$ac_try;;
18788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18789 (eval "$ac_compile") 2>conftest.er1
18791 grep -v '^ *+' conftest.er1 >conftest.err
18793 cat conftest.err >&5
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); } && {
18796 test -z "$ac_c_werror_flag" ||
18797 test ! -s conftest.err
18798 } && test -s conftest.$ac_objext; then
18799 ac_cv_member_struct_statfs_f_frsize=yes
18801 echo "$as_me: failed program was:" >&5
18802 sed 's/^/| /' conftest.$ac_ext >&5
18804 cat >conftest.$ac_ext <<_ACEOF
18807 cat confdefs.h >>conftest.$ac_ext
18808 cat >>conftest.$ac_ext <<_ACEOF
18809 /* end confdefs.h. */
18810 #include <sys/types.h>
18811 #ifdef HAVE_SYS_PARAM_H
18812 # include <sys/param.h>
18814 #ifdef HAVE_SYS_MOUNT_H
18815 # include <sys/mount.h>
18817 #ifdef HAVE_SYS_VFS_H
18818 # include <sys/vfs.h>
18820 #ifdef HAVE_SYS_STATFS_H
18821 # include <sys/statfs.h>
18827 static struct statfs ac_aggr;
18828 if (sizeof ac_aggr.f_frsize)
18834 rm -f conftest.$ac_objext
18835 if { (ac_try="$ac_compile"
18836 case "(($ac_try" in
18837 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18838 *) ac_try_echo
=$ac_try;;
18840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18841 (eval "$ac_compile") 2>conftest.er1
18843 grep -v '^ *+' conftest.er1
>conftest.err
18845 cat conftest.err
>&5
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); } && {
18848 test -z "$ac_c_werror_flag" ||
18849 test ! -s conftest.err
18850 } && test -s conftest.
$ac_objext; then
18851 ac_cv_member_struct_statfs_f_frsize
=yes
18853 echo "$as_me: failed program was:" >&5
18854 sed 's/^/| /' conftest.
$ac_ext >&5
18856 ac_cv_member_struct_statfs_f_frsize
=no
18859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18864 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18865 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18866 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18868 cat >>confdefs.h
<<_ACEOF
18869 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18874 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18875 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18876 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18877 echo $ECHO_N "(cached) $ECHO_C" >&6
18879 cat >conftest.
$ac_ext <<_ACEOF
18882 cat confdefs.h
>>conftest.
$ac_ext
18883 cat >>conftest.
$ac_ext <<_ACEOF
18884 /* end confdefs.h. */
18885 #include <sys/types.h>
18886 #ifdef HAVE_SYS_PARAM_H
18887 # include <sys/param.h>
18889 #ifdef HAVE_SYS_MOUNT_H
18890 # include <sys/mount.h>
18892 #ifdef HAVE_SYS_VFS_H
18893 # include <sys/vfs.h>
18895 #ifdef HAVE_SYS_STATFS_H
18896 # include <sys/statfs.h>
18902 static struct statfs ac_aggr;
18903 if (ac_aggr.f_ffree)
18909 rm -f conftest.
$ac_objext
18910 if { (ac_try
="$ac_compile"
18911 case "(($ac_try" in
18912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18913 *) ac_try_echo=$ac_try;;
18915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18916 (eval "$ac_compile") 2>conftest.er1
18918 grep -v '^ *+' conftest.er1 >conftest.err
18920 cat conftest.err >&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); } && {
18923 test -z "$ac_c_werror_flag" ||
18924 test ! -s conftest.err
18925 } && test -s conftest.$ac_objext; then
18926 ac_cv_member_struct_statfs_f_ffree=yes
18928 echo "$as_me: failed program was:" >&5
18929 sed 's/^/| /' conftest.$ac_ext >&5
18931 cat >conftest.$ac_ext <<_ACEOF
18934 cat confdefs.h >>conftest.$ac_ext
18935 cat >>conftest.$ac_ext <<_ACEOF
18936 /* end confdefs.h. */
18937 #include <sys/types.h>
18938 #ifdef HAVE_SYS_PARAM_H
18939 # include <sys/param.h>
18941 #ifdef HAVE_SYS_MOUNT_H
18942 # include <sys/mount.h>
18944 #ifdef HAVE_SYS_VFS_H
18945 # include <sys/vfs.h>
18947 #ifdef HAVE_SYS_STATFS_H
18948 # include <sys/statfs.h>
18954 static struct statfs ac_aggr;
18955 if (sizeof ac_aggr.f_ffree)
18961 rm -f conftest.$ac_objext
18962 if { (ac_try="$ac_compile"
18963 case "(($ac_try" in
18964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18965 *) ac_try_echo
=$ac_try;;
18967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18968 (eval "$ac_compile") 2>conftest.er1
18970 grep -v '^ *+' conftest.er1
>conftest.err
18972 cat conftest.err
>&5
18973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18974 (exit $ac_status); } && {
18975 test -z "$ac_c_werror_flag" ||
18976 test ! -s conftest.err
18977 } && test -s conftest.
$ac_objext; then
18978 ac_cv_member_struct_statfs_f_ffree
=yes
18980 echo "$as_me: failed program was:" >&5
18981 sed 's/^/| /' conftest.
$ac_ext >&5
18983 ac_cv_member_struct_statfs_f_ffree
=no
18986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18991 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18992 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18993 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18995 cat >>confdefs.h
<<_ACEOF
18996 #define HAVE_STRUCT_STATFS_F_FFREE 1
19001 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19002 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19003 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19004 echo $ECHO_N "(cached) $ECHO_C" >&6
19006 cat >conftest.
$ac_ext <<_ACEOF
19009 cat confdefs.h
>>conftest.
$ac_ext
19010 cat >>conftest.
$ac_ext <<_ACEOF
19011 /* end confdefs.h. */
19012 #include <sys/types.h>
19013 #ifdef HAVE_SYS_PARAM_H
19014 # include <sys/param.h>
19016 #ifdef HAVE_SYS_MOUNT_H
19017 # include <sys/mount.h>
19019 #ifdef HAVE_SYS_VFS_H
19020 # include <sys/vfs.h>
19022 #ifdef HAVE_SYS_STATFS_H
19023 # include <sys/statfs.h>
19029 static struct statfs ac_aggr;
19030 if (ac_aggr.f_favail)
19036 rm -f conftest.
$ac_objext
19037 if { (ac_try
="$ac_compile"
19038 case "(($ac_try" in
19039 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19040 *) ac_try_echo=$ac_try;;
19042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19043 (eval "$ac_compile") 2>conftest.er1
19045 grep -v '^ *+' conftest.er1 >conftest.err
19047 cat conftest.err >&5
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); } && {
19050 test -z "$ac_c_werror_flag" ||
19051 test ! -s conftest.err
19052 } && test -s conftest.$ac_objext; then
19053 ac_cv_member_struct_statfs_f_favail=yes
19055 echo "$as_me: failed program was:" >&5
19056 sed 's/^/| /' conftest.$ac_ext >&5
19058 cat >conftest.$ac_ext <<_ACEOF
19061 cat confdefs.h >>conftest.$ac_ext
19062 cat >>conftest.$ac_ext <<_ACEOF
19063 /* end confdefs.h. */
19064 #include <sys/types.h>
19065 #ifdef HAVE_SYS_PARAM_H
19066 # include <sys/param.h>
19068 #ifdef HAVE_SYS_MOUNT_H
19069 # include <sys/mount.h>
19071 #ifdef HAVE_SYS_VFS_H
19072 # include <sys/vfs.h>
19074 #ifdef HAVE_SYS_STATFS_H
19075 # include <sys/statfs.h>
19081 static struct statfs ac_aggr;
19082 if (sizeof ac_aggr.f_favail)
19088 rm -f conftest.$ac_objext
19089 if { (ac_try="$ac_compile"
19090 case "(($ac_try" in
19091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19092 *) ac_try_echo
=$ac_try;;
19094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19095 (eval "$ac_compile") 2>conftest.er1
19097 grep -v '^ *+' conftest.er1
>conftest.err
19099 cat conftest.err
>&5
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); } && {
19102 test -z "$ac_c_werror_flag" ||
19103 test ! -s conftest.err
19104 } && test -s conftest.
$ac_objext; then
19105 ac_cv_member_struct_statfs_f_favail
=yes
19107 echo "$as_me: failed program was:" >&5
19108 sed 's/^/| /' conftest.
$ac_ext >&5
19110 ac_cv_member_struct_statfs_f_favail
=no
19113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19118 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19119 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19120 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19122 cat >>confdefs.h
<<_ACEOF
19123 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19128 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19129 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19130 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19131 echo $ECHO_N "(cached) $ECHO_C" >&6
19133 cat >conftest.
$ac_ext <<_ACEOF
19136 cat confdefs.h
>>conftest.
$ac_ext
19137 cat >>conftest.
$ac_ext <<_ACEOF
19138 /* end confdefs.h. */
19139 #include <sys/types.h>
19140 #ifdef HAVE_SYS_PARAM_H
19141 # include <sys/param.h>
19143 #ifdef HAVE_SYS_MOUNT_H
19144 # include <sys/mount.h>
19146 #ifdef HAVE_SYS_VFS_H
19147 # include <sys/vfs.h>
19149 #ifdef HAVE_SYS_STATFS_H
19150 # include <sys/statfs.h>
19156 static struct statfs ac_aggr;
19157 if (ac_aggr.f_namelen)
19163 rm -f conftest.
$ac_objext
19164 if { (ac_try
="$ac_compile"
19165 case "(($ac_try" in
19166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19167 *) ac_try_echo=$ac_try;;
19169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19170 (eval "$ac_compile") 2>conftest.er1
19172 grep -v '^ *+' conftest.er1 >conftest.err
19174 cat conftest.err >&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); } && {
19177 test -z "$ac_c_werror_flag" ||
19178 test ! -s conftest.err
19179 } && test -s conftest.$ac_objext; then
19180 ac_cv_member_struct_statfs_f_namelen=yes
19182 echo "$as_me: failed program was:" >&5
19183 sed 's/^/| /' conftest.$ac_ext >&5
19185 cat >conftest.$ac_ext <<_ACEOF
19188 cat confdefs.h >>conftest.$ac_ext
19189 cat >>conftest.$ac_ext <<_ACEOF
19190 /* end confdefs.h. */
19191 #include <sys/types.h>
19192 #ifdef HAVE_SYS_PARAM_H
19193 # include <sys/param.h>
19195 #ifdef HAVE_SYS_MOUNT_H
19196 # include <sys/mount.h>
19198 #ifdef HAVE_SYS_VFS_H
19199 # include <sys/vfs.h>
19201 #ifdef HAVE_SYS_STATFS_H
19202 # include <sys/statfs.h>
19208 static struct statfs ac_aggr;
19209 if (sizeof ac_aggr.f_namelen)
19215 rm -f conftest.$ac_objext
19216 if { (ac_try="$ac_compile"
19217 case "(($ac_try" in
19218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19219 *) ac_try_echo
=$ac_try;;
19221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19222 (eval "$ac_compile") 2>conftest.er1
19224 grep -v '^ *+' conftest.er1
>conftest.err
19226 cat conftest.err
>&5
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); } && {
19229 test -z "$ac_c_werror_flag" ||
19230 test ! -s conftest.err
19231 } && test -s conftest.
$ac_objext; then
19232 ac_cv_member_struct_statfs_f_namelen
=yes
19234 echo "$as_me: failed program was:" >&5
19235 sed 's/^/| /' conftest.
$ac_ext >&5
19237 ac_cv_member_struct_statfs_f_namelen
=no
19240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19245 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19246 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19247 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19249 cat >>confdefs.h
<<_ACEOF
19250 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19257 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19258 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19259 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19260 echo $ECHO_N "(cached) $ECHO_C" >&6
19262 cat >conftest.
$ac_ext <<_ACEOF
19265 cat confdefs.h
>>conftest.
$ac_ext
19266 cat >>conftest.
$ac_ext <<_ACEOF
19267 /* end confdefs.h. */
19268 #ifdef HAVE_SYS_STATVFS_H
19269 #include <sys/statvfs.h>
19275 static struct statvfs ac_aggr;
19276 if (ac_aggr.f_blocks)
19282 rm -f conftest.
$ac_objext
19283 if { (ac_try
="$ac_compile"
19284 case "(($ac_try" in
19285 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19286 *) ac_try_echo=$ac_try;;
19288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19289 (eval "$ac_compile") 2>conftest.er1
19291 grep -v '^ *+' conftest.er1 >conftest.err
19293 cat conftest.err >&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); } && {
19296 test -z "$ac_c_werror_flag" ||
19297 test ! -s conftest.err
19298 } && test -s conftest.$ac_objext; then
19299 ac_cv_member_struct_statvfs_f_blocks=yes
19301 echo "$as_me: failed program was:" >&5
19302 sed 's/^/| /' conftest.$ac_ext >&5
19304 cat >conftest.$ac_ext <<_ACEOF
19307 cat confdefs.h >>conftest.$ac_ext
19308 cat >>conftest.$ac_ext <<_ACEOF
19309 /* end confdefs.h. */
19310 #ifdef HAVE_SYS_STATVFS_H
19311 #include <sys/statvfs.h>
19317 static struct statvfs ac_aggr;
19318 if (sizeof ac_aggr.f_blocks)
19324 rm -f conftest.$ac_objext
19325 if { (ac_try="$ac_compile"
19326 case "(($ac_try" in
19327 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19328 *) ac_try_echo
=$ac_try;;
19330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19331 (eval "$ac_compile") 2>conftest.er1
19333 grep -v '^ *+' conftest.er1
>conftest.err
19335 cat conftest.err
>&5
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); } && {
19338 test -z "$ac_c_werror_flag" ||
19339 test ! -s conftest.err
19340 } && test -s conftest.
$ac_objext; then
19341 ac_cv_member_struct_statvfs_f_blocks
=yes
19343 echo "$as_me: failed program was:" >&5
19344 sed 's/^/| /' conftest.
$ac_ext >&5
19346 ac_cv_member_struct_statvfs_f_blocks
=no
19349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19354 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19355 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19356 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19358 cat >>confdefs.h
<<_ACEOF
19359 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19366 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19367 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19368 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19369 echo $ECHO_N "(cached) $ECHO_C" >&6
19371 cat >conftest.
$ac_ext <<_ACEOF
19374 cat confdefs.h
>>conftest.
$ac_ext
19375 cat >>conftest.
$ac_ext <<_ACEOF
19376 /* end confdefs.h. */
19377 #include <sys/types.h>
19378 #ifdef HAVE_SYS_SOCKET_H
19379 # include <sys/socket.h>
19381 #ifdef HAVE_SYS_UN_H
19382 # include <sys/un.h>
19388 static struct msghdr ac_aggr;
19389 if (ac_aggr.msg_accrights)
19395 rm -f conftest.
$ac_objext
19396 if { (ac_try
="$ac_compile"
19397 case "(($ac_try" in
19398 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19399 *) ac_try_echo=$ac_try;;
19401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19402 (eval "$ac_compile") 2>conftest.er1
19404 grep -v '^ *+' conftest.er1 >conftest.err
19406 cat conftest.err >&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); } && {
19409 test -z "$ac_c_werror_flag" ||
19410 test ! -s conftest.err
19411 } && test -s conftest.$ac_objext; then
19412 ac_cv_member_struct_msghdr_msg_accrights=yes
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.$ac_ext >&5
19417 cat >conftest.$ac_ext <<_ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 #include <sys/types.h>
19424 #ifdef HAVE_SYS_SOCKET_H
19425 # include <sys/socket.h>
19427 #ifdef HAVE_SYS_UN_H
19428 # include <sys/un.h>
19434 static struct msghdr ac_aggr;
19435 if (sizeof ac_aggr.msg_accrights)
19441 rm -f conftest.$ac_objext
19442 if { (ac_try="$ac_compile"
19443 case "(($ac_try" in
19444 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19445 *) ac_try_echo
=$ac_try;;
19447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19448 (eval "$ac_compile") 2>conftest.er1
19450 grep -v '^ *+' conftest.er1
>conftest.err
19452 cat conftest.err
>&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); } && {
19455 test -z "$ac_c_werror_flag" ||
19456 test ! -s conftest.err
19457 } && test -s conftest.
$ac_objext; then
19458 ac_cv_member_struct_msghdr_msg_accrights
=yes
19460 echo "$as_me: failed program was:" >&5
19461 sed 's/^/| /' conftest.
$ac_ext >&5
19463 ac_cv_member_struct_msghdr_msg_accrights
=no
19466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19471 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19472 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19473 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19475 cat >>confdefs.h
<<_ACEOF
19476 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19481 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19482 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19483 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19484 echo $ECHO_N "(cached) $ECHO_C" >&6
19486 cat >conftest.
$ac_ext <<_ACEOF
19489 cat confdefs.h
>>conftest.
$ac_ext
19490 cat >>conftest.
$ac_ext <<_ACEOF
19491 /* end confdefs.h. */
19492 #include <sys/types.h>
19493 #ifdef HAVE_SYS_SOCKET_H
19494 # include <sys/socket.h>
19496 #ifdef HAVE_SYS_UN_H
19497 # include <sys/un.h>
19503 static struct sockaddr ac_aggr;
19504 if (ac_aggr.sa_len)
19510 rm -f conftest.
$ac_objext
19511 if { (ac_try
="$ac_compile"
19512 case "(($ac_try" in
19513 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19514 *) ac_try_echo=$ac_try;;
19516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19517 (eval "$ac_compile") 2>conftest.er1
19519 grep -v '^ *+' conftest.er1 >conftest.err
19521 cat conftest.err >&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } && {
19524 test -z "$ac_c_werror_flag" ||
19525 test ! -s conftest.err
19526 } && test -s conftest.$ac_objext; then
19527 ac_cv_member_struct_sockaddr_sa_len=yes
19529 echo "$as_me: failed program was:" >&5
19530 sed 's/^/| /' conftest.$ac_ext >&5
19532 cat >conftest.$ac_ext <<_ACEOF
19535 cat confdefs.h >>conftest.$ac_ext
19536 cat >>conftest.$ac_ext <<_ACEOF
19537 /* end confdefs.h. */
19538 #include <sys/types.h>
19539 #ifdef HAVE_SYS_SOCKET_H
19540 # include <sys/socket.h>
19542 #ifdef HAVE_SYS_UN_H
19543 # include <sys/un.h>
19549 static struct sockaddr ac_aggr;
19550 if (sizeof ac_aggr.sa_len)
19556 rm -f conftest.$ac_objext
19557 if { (ac_try="$ac_compile"
19558 case "(($ac_try" in
19559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19560 *) ac_try_echo
=$ac_try;;
19562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19563 (eval "$ac_compile") 2>conftest.er1
19565 grep -v '^ *+' conftest.er1
>conftest.err
19567 cat conftest.err
>&5
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); } && {
19570 test -z "$ac_c_werror_flag" ||
19571 test ! -s conftest.err
19572 } && test -s conftest.
$ac_objext; then
19573 ac_cv_member_struct_sockaddr_sa_len
=yes
19575 echo "$as_me: failed program was:" >&5
19576 sed 's/^/| /' conftest.
$ac_ext >&5
19578 ac_cv_member_struct_sockaddr_sa_len
=no
19581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19586 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19587 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19588 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19590 cat >>confdefs.h
<<_ACEOF
19591 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19596 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19597 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19598 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19599 echo $ECHO_N "(cached) $ECHO_C" >&6
19601 cat >conftest.
$ac_ext <<_ACEOF
19604 cat confdefs.h
>>conftest.
$ac_ext
19605 cat >>conftest.
$ac_ext <<_ACEOF
19606 /* end confdefs.h. */
19607 #include <sys/types.h>
19608 #ifdef HAVE_SYS_SOCKET_H
19609 # include <sys/socket.h>
19611 #ifdef HAVE_SYS_UN_H
19612 # include <sys/un.h>
19618 static struct sockaddr_un ac_aggr;
19619 if (ac_aggr.sun_len)
19625 rm -f conftest.
$ac_objext
19626 if { (ac_try
="$ac_compile"
19627 case "(($ac_try" in
19628 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19629 *) ac_try_echo=$ac_try;;
19631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19632 (eval "$ac_compile") 2>conftest.er1
19634 grep -v '^ *+' conftest.er1 >conftest.err
19636 cat conftest.err >&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); } && {
19639 test -z "$ac_c_werror_flag" ||
19640 test ! -s conftest.err
19641 } && test -s conftest.$ac_objext; then
19642 ac_cv_member_struct_sockaddr_un_sun_len=yes
19644 echo "$as_me: failed program was:" >&5
19645 sed 's/^/| /' conftest.$ac_ext >&5
19647 cat >conftest.$ac_ext <<_ACEOF
19650 cat confdefs.h >>conftest.$ac_ext
19651 cat >>conftest.$ac_ext <<_ACEOF
19652 /* end confdefs.h. */
19653 #include <sys/types.h>
19654 #ifdef HAVE_SYS_SOCKET_H
19655 # include <sys/socket.h>
19657 #ifdef HAVE_SYS_UN_H
19658 # include <sys/un.h>
19664 static struct sockaddr_un ac_aggr;
19665 if (sizeof ac_aggr.sun_len)
19671 rm -f conftest.$ac_objext
19672 if { (ac_try="$ac_compile"
19673 case "(($ac_try" in
19674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19675 *) ac_try_echo
=$ac_try;;
19677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19678 (eval "$ac_compile") 2>conftest.er1
19680 grep -v '^ *+' conftest.er1
>conftest.err
19682 cat conftest.err
>&5
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); } && {
19685 test -z "$ac_c_werror_flag" ||
19686 test ! -s conftest.err
19687 } && test -s conftest.
$ac_objext; then
19688 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19690 echo "$as_me: failed program was:" >&5
19691 sed 's/^/| /' conftest.
$ac_ext >&5
19693 ac_cv_member_struct_sockaddr_un_sun_len
=no
19696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19701 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19702 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19703 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19705 cat >>confdefs.h
<<_ACEOF
19706 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19713 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19714 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19715 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19716 echo $ECHO_N "(cached) $ECHO_C" >&6
19718 cat >conftest.
$ac_ext <<_ACEOF
19721 cat confdefs.h
>>conftest.
$ac_ext
19722 cat >>conftest.
$ac_ext <<_ACEOF
19723 /* end confdefs.h. */
19724 #include <sys/types.h>
19725 #ifdef HAVE_SCSI_SG_H
19726 #include <scsi/sg.h>
19732 static scsireq_t ac_aggr;
19739 rm -f conftest.
$ac_objext
19740 if { (ac_try
="$ac_compile"
19741 case "(($ac_try" in
19742 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19743 *) ac_try_echo=$ac_try;;
19745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19746 (eval "$ac_compile") 2>conftest.er1
19748 grep -v '^ *+' conftest.er1 >conftest.err
19750 cat conftest.err >&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); } && {
19753 test -z "$ac_c_werror_flag" ||
19754 test ! -s conftest.err
19755 } && test -s conftest.$ac_objext; then
19756 ac_cv_member_scsireq_t_cmd=yes
19758 echo "$as_me: failed program was:" >&5
19759 sed 's/^/| /' conftest.$ac_ext >&5
19761 cat >conftest.$ac_ext <<_ACEOF
19764 cat confdefs.h >>conftest.$ac_ext
19765 cat >>conftest.$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19767 #include <sys/types.h>
19768 #ifdef HAVE_SCSI_SG_H
19769 #include <scsi/sg.h>
19775 static scsireq_t ac_aggr;
19776 if (sizeof ac_aggr.cmd)
19782 rm -f conftest.$ac_objext
19783 if { (ac_try="$ac_compile"
19784 case "(($ac_try" in
19785 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19786 *) ac_try_echo
=$ac_try;;
19788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19789 (eval "$ac_compile") 2>conftest.er1
19791 grep -v '^ *+' conftest.er1
>conftest.err
19793 cat conftest.err
>&5
19794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19795 (exit $ac_status); } && {
19796 test -z "$ac_c_werror_flag" ||
19797 test ! -s conftest.err
19798 } && test -s conftest.
$ac_objext; then
19799 ac_cv_member_scsireq_t_cmd
=yes
19801 echo "$as_me: failed program was:" >&5
19802 sed 's/^/| /' conftest.
$ac_ext >&5
19804 ac_cv_member_scsireq_t_cmd
=no
19807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19812 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19813 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19814 if test $ac_cv_member_scsireq_t_cmd = yes; then
19816 cat >>confdefs.h
<<_ACEOF
19817 #define HAVE_SCSIREQ_T_CMD 1
19822 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19823 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19824 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19825 echo $ECHO_N "(cached) $ECHO_C" >&6
19827 cat >conftest.
$ac_ext <<_ACEOF
19830 cat confdefs.h
>>conftest.
$ac_ext
19831 cat >>conftest.
$ac_ext <<_ACEOF
19832 /* end confdefs.h. */
19833 #include <sys/types.h>
19834 #ifdef HAVE_SCSI_SG_H
19835 #include <scsi/sg.h>
19841 static sg_io_hdr_t ac_aggr;
19842 if (ac_aggr.interface_id)
19848 rm -f conftest.
$ac_objext
19849 if { (ac_try
="$ac_compile"
19850 case "(($ac_try" in
19851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19852 *) ac_try_echo=$ac_try;;
19854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19855 (eval "$ac_compile") 2>conftest.er1
19857 grep -v '^ *+' conftest.er1 >conftest.err
19859 cat conftest.err >&5
19860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19861 (exit $ac_status); } && {
19862 test -z "$ac_c_werror_flag" ||
19863 test ! -s conftest.err
19864 } && test -s conftest.$ac_objext; then
19865 ac_cv_member_sg_io_hdr_t_interface_id=yes
19867 echo "$as_me: failed program was:" >&5
19868 sed 's/^/| /' conftest.$ac_ext >&5
19870 cat >conftest.$ac_ext <<_ACEOF
19873 cat confdefs.h >>conftest.$ac_ext
19874 cat >>conftest.$ac_ext <<_ACEOF
19875 /* end confdefs.h. */
19876 #include <sys/types.h>
19877 #ifdef HAVE_SCSI_SG_H
19878 #include <scsi/sg.h>
19884 static sg_io_hdr_t ac_aggr;
19885 if (sizeof ac_aggr.interface_id)
19891 rm -f conftest.$ac_objext
19892 if { (ac_try="$ac_compile"
19893 case "(($ac_try" in
19894 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19895 *) ac_try_echo
=$ac_try;;
19897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19898 (eval "$ac_compile") 2>conftest.er1
19900 grep -v '^ *+' conftest.er1
>conftest.err
19902 cat conftest.err
>&5
19903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904 (exit $ac_status); } && {
19905 test -z "$ac_c_werror_flag" ||
19906 test ! -s conftest.err
19907 } && test -s conftest.
$ac_objext; then
19908 ac_cv_member_sg_io_hdr_t_interface_id
=yes
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.
$ac_ext >&5
19913 ac_cv_member_sg_io_hdr_t_interface_id
=no
19916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19921 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19922 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19923 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19925 cat >>confdefs.h
<<_ACEOF
19926 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19933 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19934 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19935 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19936 echo $ECHO_N "(cached) $ECHO_C" >&6
19938 cat >conftest.
$ac_ext <<_ACEOF
19941 cat confdefs.h
>>conftest.
$ac_ext
19942 cat >>conftest.
$ac_ext <<_ACEOF
19943 /* end confdefs.h. */
19944 #include <signal.h>
19949 static siginfo_t ac_aggr;
19956 rm -f conftest.
$ac_objext
19957 if { (ac_try
="$ac_compile"
19958 case "(($ac_try" in
19959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19960 *) ac_try_echo=$ac_try;;
19962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19963 (eval "$ac_compile") 2>conftest.er1
19965 grep -v '^ *+' conftest.er1 >conftest.err
19967 cat conftest.err >&5
19968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19969 (exit $ac_status); } && {
19970 test -z "$ac_c_werror_flag" ||
19971 test ! -s conftest.err
19972 } && test -s conftest.$ac_objext; then
19973 ac_cv_member_siginfo_t_si_fd=yes
19975 echo "$as_me: failed program was:" >&5
19976 sed 's/^/| /' conftest.$ac_ext >&5
19978 cat >conftest.$ac_ext <<_ACEOF
19981 cat confdefs.h >>conftest.$ac_ext
19982 cat >>conftest.$ac_ext <<_ACEOF
19983 /* end confdefs.h. */
19984 #include <signal.h>
19989 static siginfo_t ac_aggr;
19990 if (sizeof ac_aggr.si_fd)
19996 rm -f conftest.$ac_objext
19997 if { (ac_try="$ac_compile"
19998 case "(($ac_try" in
19999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20000 *) ac_try_echo
=$ac_try;;
20002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20003 (eval "$ac_compile") 2>conftest.er1
20005 grep -v '^ *+' conftest.er1
>conftest.err
20007 cat conftest.err
>&5
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); } && {
20010 test -z "$ac_c_werror_flag" ||
20011 test ! -s conftest.err
20012 } && test -s conftest.
$ac_objext; then
20013 ac_cv_member_siginfo_t_si_fd
=yes
20015 echo "$as_me: failed program was:" >&5
20016 sed 's/^/| /' conftest.
$ac_ext >&5
20018 ac_cv_member_siginfo_t_si_fd
=no
20021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20026 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20027 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20028 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20030 cat >>confdefs.h
<<_ACEOF
20031 #define HAVE_SIGINFO_T_SI_FD 1
20038 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20039 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20040 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20041 echo $ECHO_N "(cached) $ECHO_C" >&6
20043 cat >conftest.
$ac_ext <<_ACEOF
20046 cat confdefs.h
>>conftest.
$ac_ext
20047 cat >>conftest.
$ac_ext <<_ACEOF
20048 /* end confdefs.h. */
20049 #include <sys/types.h>
20050 #ifdef HAVE_SYS_MTIO_H
20051 #include <sys/mtio.h>
20057 static struct mtget ac_aggr;
20058 if (ac_aggr.mt_blksiz)
20064 rm -f conftest.
$ac_objext
20065 if { (ac_try
="$ac_compile"
20066 case "(($ac_try" in
20067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20068 *) ac_try_echo=$ac_try;;
20070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20071 (eval "$ac_compile") 2>conftest.er1
20073 grep -v '^ *+' conftest.er1 >conftest.err
20075 cat conftest.err >&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); } && {
20078 test -z "$ac_c_werror_flag" ||
20079 test ! -s conftest.err
20080 } && test -s conftest.$ac_objext; then
20081 ac_cv_member_struct_mtget_mt_blksiz=yes
20083 echo "$as_me: failed program was:" >&5
20084 sed 's/^/| /' conftest.$ac_ext >&5
20086 cat >conftest.$ac_ext <<_ACEOF
20089 cat confdefs.h >>conftest.$ac_ext
20090 cat >>conftest.$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20092 #include <sys/types.h>
20093 #ifdef HAVE_SYS_MTIO_H
20094 #include <sys/mtio.h>
20100 static struct mtget ac_aggr;
20101 if (sizeof ac_aggr.mt_blksiz)
20107 rm -f conftest.$ac_objext
20108 if { (ac_try="$ac_compile"
20109 case "(($ac_try" in
20110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20111 *) ac_try_echo
=$ac_try;;
20113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20114 (eval "$ac_compile") 2>conftest.er1
20116 grep -v '^ *+' conftest.er1
>conftest.err
20118 cat conftest.err
>&5
20119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20120 (exit $ac_status); } && {
20121 test -z "$ac_c_werror_flag" ||
20122 test ! -s conftest.err
20123 } && test -s conftest.
$ac_objext; then
20124 ac_cv_member_struct_mtget_mt_blksiz
=yes
20126 echo "$as_me: failed program was:" >&5
20127 sed 's/^/| /' conftest.
$ac_ext >&5
20129 ac_cv_member_struct_mtget_mt_blksiz
=no
20132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20137 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20138 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20139 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20141 cat >>confdefs.h
<<_ACEOF
20142 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20147 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20148 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20149 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20150 echo $ECHO_N "(cached) $ECHO_C" >&6
20152 cat >conftest.
$ac_ext <<_ACEOF
20155 cat confdefs.h
>>conftest.
$ac_ext
20156 cat >>conftest.
$ac_ext <<_ACEOF
20157 /* end confdefs.h. */
20158 #include <sys/types.h>
20159 #ifdef HAVE_SYS_MTIO_H
20160 #include <sys/mtio.h>
20166 static struct mtget ac_aggr;
20167 if (ac_aggr.mt_gstat)
20173 rm -f conftest.
$ac_objext
20174 if { (ac_try
="$ac_compile"
20175 case "(($ac_try" in
20176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20177 *) ac_try_echo=$ac_try;;
20179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20180 (eval "$ac_compile") 2>conftest.er1
20182 grep -v '^ *+' conftest.er1 >conftest.err
20184 cat conftest.err >&5
20185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186 (exit $ac_status); } && {
20187 test -z "$ac_c_werror_flag" ||
20188 test ! -s conftest.err
20189 } && test -s conftest.$ac_objext; then
20190 ac_cv_member_struct_mtget_mt_gstat=yes
20192 echo "$as_me: failed program was:" >&5
20193 sed 's/^/| /' conftest.$ac_ext >&5
20195 cat >conftest.$ac_ext <<_ACEOF
20198 cat confdefs.h >>conftest.$ac_ext
20199 cat >>conftest.$ac_ext <<_ACEOF
20200 /* end confdefs.h. */
20201 #include <sys/types.h>
20202 #ifdef HAVE_SYS_MTIO_H
20203 #include <sys/mtio.h>
20209 static struct mtget ac_aggr;
20210 if (sizeof ac_aggr.mt_gstat)
20216 rm -f conftest.$ac_objext
20217 if { (ac_try="$ac_compile"
20218 case "(($ac_try" in
20219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20220 *) ac_try_echo
=$ac_try;;
20222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20223 (eval "$ac_compile") 2>conftest.er1
20225 grep -v '^ *+' conftest.er1
>conftest.err
20227 cat conftest.err
>&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } && {
20230 test -z "$ac_c_werror_flag" ||
20231 test ! -s conftest.err
20232 } && test -s conftest.
$ac_objext; then
20233 ac_cv_member_struct_mtget_mt_gstat
=yes
20235 echo "$as_me: failed program was:" >&5
20236 sed 's/^/| /' conftest.
$ac_ext >&5
20238 ac_cv_member_struct_mtget_mt_gstat
=no
20241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20246 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20247 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20248 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20250 cat >>confdefs.h
<<_ACEOF
20251 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20256 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20257 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20258 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20259 echo $ECHO_N "(cached) $ECHO_C" >&6
20261 cat >conftest.
$ac_ext <<_ACEOF
20264 cat confdefs.h
>>conftest.
$ac_ext
20265 cat >>conftest.
$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 #include <sys/types.h>
20268 #ifdef HAVE_SYS_MTIO_H
20269 #include <sys/mtio.h>
20275 static struct mtget ac_aggr;
20276 if (ac_aggr.mt_blkno)
20282 rm -f conftest.
$ac_objext
20283 if { (ac_try
="$ac_compile"
20284 case "(($ac_try" in
20285 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20286 *) ac_try_echo=$ac_try;;
20288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20289 (eval "$ac_compile") 2>conftest.er1
20291 grep -v '^ *+' conftest.er1 >conftest.err
20293 cat conftest.err >&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); } && {
20296 test -z "$ac_c_werror_flag" ||
20297 test ! -s conftest.err
20298 } && test -s conftest.$ac_objext; then
20299 ac_cv_member_struct_mtget_mt_blkno=yes
20301 echo "$as_me: failed program was:" >&5
20302 sed 's/^/| /' conftest.$ac_ext >&5
20304 cat >conftest.$ac_ext <<_ACEOF
20307 cat confdefs.h >>conftest.$ac_ext
20308 cat >>conftest.$ac_ext <<_ACEOF
20309 /* end confdefs.h. */
20310 #include <sys/types.h>
20311 #ifdef HAVE_SYS_MTIO_H
20312 #include <sys/mtio.h>
20318 static struct mtget ac_aggr;
20319 if (sizeof ac_aggr.mt_blkno)
20325 rm -f conftest.$ac_objext
20326 if { (ac_try="$ac_compile"
20327 case "(($ac_try" in
20328 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20329 *) ac_try_echo
=$ac_try;;
20331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20332 (eval "$ac_compile") 2>conftest.er1
20334 grep -v '^ *+' conftest.er1
>conftest.err
20336 cat conftest.err
>&5
20337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20338 (exit $ac_status); } && {
20339 test -z "$ac_c_werror_flag" ||
20340 test ! -s conftest.err
20341 } && test -s conftest.
$ac_objext; then
20342 ac_cv_member_struct_mtget_mt_blkno
=yes
20344 echo "$as_me: failed program was:" >&5
20345 sed 's/^/| /' conftest.
$ac_ext >&5
20347 ac_cv_member_struct_mtget_mt_blkno
=no
20350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20355 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20356 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20357 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20359 cat >>confdefs.h
<<_ACEOF
20360 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20367 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20368 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20369 if test "${ac_cv_member_struct_option_name+set}" = set; then
20370 echo $ECHO_N "(cached) $ECHO_C" >&6
20372 cat >conftest.
$ac_ext <<_ACEOF
20375 cat confdefs.h
>>conftest.
$ac_ext
20376 cat >>conftest.
$ac_ext <<_ACEOF
20377 /* end confdefs.h. */
20378 #ifdef HAVE_GETOPT_H
20379 #include <getopt.h>
20385 static struct option ac_aggr;
20392 rm -f conftest.
$ac_objext
20393 if { (ac_try
="$ac_compile"
20394 case "(($ac_try" in
20395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20396 *) ac_try_echo=$ac_try;;
20398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20399 (eval "$ac_compile") 2>conftest.er1
20401 grep -v '^ *+' conftest.er1 >conftest.err
20403 cat conftest.err >&5
20404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20405 (exit $ac_status); } && {
20406 test -z "$ac_c_werror_flag" ||
20407 test ! -s conftest.err
20408 } && test -s conftest.$ac_objext; then
20409 ac_cv_member_struct_option_name=yes
20411 echo "$as_me: failed program was:" >&5
20412 sed 's/^/| /' conftest.$ac_ext >&5
20414 cat >conftest.$ac_ext <<_ACEOF
20417 cat confdefs.h >>conftest.$ac_ext
20418 cat >>conftest.$ac_ext <<_ACEOF
20419 /* end confdefs.h. */
20420 #ifdef HAVE_GETOPT_H
20421 #include <getopt.h>
20427 static struct option ac_aggr;
20428 if (sizeof ac_aggr.name)
20434 rm -f conftest.$ac_objext
20435 if { (ac_try="$ac_compile"
20436 case "(($ac_try" in
20437 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20438 *) ac_try_echo
=$ac_try;;
20440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20441 (eval "$ac_compile") 2>conftest.er1
20443 grep -v '^ *+' conftest.er1
>conftest.err
20445 cat conftest.err
>&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); } && {
20448 test -z "$ac_c_werror_flag" ||
20449 test ! -s conftest.err
20450 } && test -s conftest.
$ac_objext; then
20451 ac_cv_member_struct_option_name
=yes
20453 echo "$as_me: failed program was:" >&5
20454 sed 's/^/| /' conftest.
$ac_ext >&5
20456 ac_cv_member_struct_option_name
=no
20459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20464 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20465 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20466 if test $ac_cv_member_struct_option_name = yes; then
20468 cat >>confdefs.h
<<_ACEOF
20469 #define HAVE_STRUCT_OPTION_NAME 1
20476 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20477 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20478 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20479 echo $ECHO_N "(cached) $ECHO_C" >&6
20481 cat >conftest.
$ac_ext <<_ACEOF
20484 cat confdefs.h
>>conftest.
$ac_ext
20485 cat >>conftest.
$ac_ext <<_ACEOF
20486 /* end confdefs.h. */
20487 $ac_includes_default
20491 static struct stat ac_aggr;
20492 if (ac_aggr.st_blocks)
20498 rm -f conftest.
$ac_objext
20499 if { (ac_try
="$ac_compile"
20500 case "(($ac_try" in
20501 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20502 *) ac_try_echo=$ac_try;;
20504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20505 (eval "$ac_compile") 2>conftest.er1
20507 grep -v '^ *+' conftest.er1 >conftest.err
20509 cat conftest.err >&5
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); } && {
20512 test -z "$ac_c_werror_flag" ||
20513 test ! -s conftest.err
20514 } && test -s conftest.$ac_objext; then
20515 ac_cv_member_struct_stat_st_blocks=yes
20517 echo "$as_me: failed program was:" >&5
20518 sed 's/^/| /' conftest.$ac_ext >&5
20520 cat >conftest.$ac_ext <<_ACEOF
20523 cat confdefs.h >>conftest.$ac_ext
20524 cat >>conftest.$ac_ext <<_ACEOF
20525 /* end confdefs.h. */
20526 $ac_includes_default
20530 static struct stat ac_aggr;
20531 if (sizeof ac_aggr.st_blocks)
20537 rm -f conftest.$ac_objext
20538 if { (ac_try="$ac_compile"
20539 case "(($ac_try" in
20540 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20541 *) ac_try_echo
=$ac_try;;
20543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20544 (eval "$ac_compile") 2>conftest.er1
20546 grep -v '^ *+' conftest.er1
>conftest.err
20548 cat conftest.err
>&5
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); } && {
20551 test -z "$ac_c_werror_flag" ||
20552 test ! -s conftest.err
20553 } && test -s conftest.
$ac_objext; then
20554 ac_cv_member_struct_stat_st_blocks
=yes
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.
$ac_ext >&5
20559 ac_cv_member_struct_stat_st_blocks
=no
20562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20567 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20568 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20569 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20571 cat >>confdefs.h
<<_ACEOF
20572 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20579 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20580 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20581 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20582 echo $ECHO_N "(cached) $ECHO_C" >&6
20584 cat >conftest.
$ac_ext <<_ACEOF
20587 cat confdefs.h
>>conftest.
$ac_ext
20588 cat >>conftest.
$ac_ext <<_ACEOF
20589 /* end confdefs.h. */
20590 #ifdef HAVE_SYS_TYPES_H
20591 #include <sys/types.h>
20593 #ifdef HAVE_NETINET_IN_H
20594 #include <netinet/in.h>
20600 static struct sockaddr_in6 ac_aggr;
20601 if (ac_aggr.sin6_scope_id)
20607 rm -f conftest.
$ac_objext
20608 if { (ac_try
="$ac_compile"
20609 case "(($ac_try" in
20610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20611 *) ac_try_echo=$ac_try;;
20613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20614 (eval "$ac_compile") 2>conftest.er1
20616 grep -v '^ *+' conftest.er1 >conftest.err
20618 cat conftest.err >&5
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); } && {
20621 test -z "$ac_c_werror_flag" ||
20622 test ! -s conftest.err
20623 } && test -s conftest.$ac_objext; then
20624 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20626 echo "$as_me: failed program was:" >&5
20627 sed 's/^/| /' conftest.$ac_ext >&5
20629 cat >conftest.$ac_ext <<_ACEOF
20632 cat confdefs.h >>conftest.$ac_ext
20633 cat >>conftest.$ac_ext <<_ACEOF
20634 /* end confdefs.h. */
20635 #ifdef HAVE_SYS_TYPES_H
20636 #include <sys/types.h>
20638 #ifdef HAVE_NETINET_IN_H
20639 #include <netinet/in.h>
20645 static struct sockaddr_in6 ac_aggr;
20646 if (sizeof ac_aggr.sin6_scope_id)
20652 rm -f conftest.$ac_objext
20653 if { (ac_try="$ac_compile"
20654 case "(($ac_try" in
20655 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20656 *) ac_try_echo
=$ac_try;;
20658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20659 (eval "$ac_compile") 2>conftest.er1
20661 grep -v '^ *+' conftest.er1
>conftest.err
20663 cat conftest.err
>&5
20664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20665 (exit $ac_status); } && {
20666 test -z "$ac_c_werror_flag" ||
20667 test ! -s conftest.err
20668 } && test -s conftest.
$ac_objext; then
20669 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
20671 echo "$as_me: failed program was:" >&5
20672 sed 's/^/| /' conftest.
$ac_ext >&5
20674 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
20677 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20682 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20683 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20684 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20686 cat >>confdefs.h
<<_ACEOF
20687 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20694 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20695 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20696 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20697 echo $ECHO_N "(cached) $ECHO_C" >&6
20699 cat >conftest.
$ac_ext <<_ACEOF
20702 cat confdefs.h
>>conftest.
$ac_ext
20703 cat >>conftest.
$ac_ext <<_ACEOF
20704 /* end confdefs.h. */
20705 #ifdef HAVE_SYS_TYPES_H
20706 #include <sys/types.h>
20708 #ifdef HAVE_NETINET_IN_H
20709 # include <netinet/in.h>
20711 #ifdef HAVE_ARPA_NAMESER_H
20712 # include <arpa/nameser.h>
20718 static ns_msg ac_aggr;
20719 if (ac_aggr._msg_ptr)
20725 rm -f conftest.
$ac_objext
20726 if { (ac_try
="$ac_compile"
20727 case "(($ac_try" in
20728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20729 *) ac_try_echo=$ac_try;;
20731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20732 (eval "$ac_compile") 2>conftest.er1
20734 grep -v '^ *+' conftest.er1 >conftest.err
20736 cat conftest.err >&5
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); } && {
20739 test -z "$ac_c_werror_flag" ||
20740 test ! -s conftest.err
20741 } && test -s conftest.$ac_objext; then
20742 ac_cv_member_ns_msg__msg_ptr=yes
20744 echo "$as_me: failed program was:" >&5
20745 sed 's/^/| /' conftest.$ac_ext >&5
20747 cat >conftest.$ac_ext <<_ACEOF
20750 cat confdefs.h >>conftest.$ac_ext
20751 cat >>conftest.$ac_ext <<_ACEOF
20752 /* end confdefs.h. */
20753 #ifdef HAVE_SYS_TYPES_H
20754 #include <sys/types.h>
20756 #ifdef HAVE_NETINET_IN_H
20757 # include <netinet/in.h>
20759 #ifdef HAVE_ARPA_NAMESER_H
20760 # include <arpa/nameser.h>
20766 static ns_msg ac_aggr;
20767 if (sizeof ac_aggr._msg_ptr)
20773 rm -f conftest.$ac_objext
20774 if { (ac_try="$ac_compile"
20775 case "(($ac_try" in
20776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20777 *) ac_try_echo
=$ac_try;;
20779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20780 (eval "$ac_compile") 2>conftest.er1
20782 grep -v '^ *+' conftest.er1
>conftest.err
20784 cat conftest.err
>&5
20785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786 (exit $ac_status); } && {
20787 test -z "$ac_c_werror_flag" ||
20788 test ! -s conftest.err
20789 } && test -s conftest.
$ac_objext; then
20790 ac_cv_member_ns_msg__msg_ptr
=yes
20792 echo "$as_me: failed program was:" >&5
20793 sed 's/^/| /' conftest.
$ac_ext >&5
20795 ac_cv_member_ns_msg__msg_ptr
=no
20798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20803 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20804 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20805 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20807 cat >>confdefs.h
<<_ACEOF
20808 #define HAVE_NS_MSG__MSG_PTR 1
20815 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20816 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20817 if test "${ac_cv_have_timezone+set}" = set; then
20818 echo $ECHO_N "(cached) $ECHO_C" >&6
20820 cat >conftest.
$ac_ext <<_ACEOF
20823 cat confdefs.h
>>conftest.
$ac_ext
20824 cat >>conftest.
$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20835 rm -f conftest.
$ac_objext conftest
$ac_exeext
20836 if { (ac_try
="$ac_link"
20837 case "(($ac_try" in
20838 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20839 *) ac_try_echo=$ac_try;;
20841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20842 (eval "$ac_link") 2>conftest.er1
20844 grep -v '^ *+' conftest.er1 >conftest.err
20846 cat conftest.err >&5
20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848 (exit $ac_status); } && {
20849 test -z "$ac_c_werror_flag" ||
20850 test ! -s conftest.err
20851 } && test -s conftest$ac_exeext &&
20852 $as_test_x conftest$ac_exeext; then
20853 ac_cv_have_timezone="yes"
20855 echo "$as_me: failed program was:" >&5
20856 sed 's/^/| /' conftest.$ac_ext >&5
20858 ac_cv_have_timezone="no"
20861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20862 conftest$ac_exeext conftest.$ac_ext
20864 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20865 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20866 if test "$ac_cv_have_timezone" = "yes"
20869 cat >>confdefs.h <<\_ACEOF
20870 #define HAVE_TIMEZONE 1
20874 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20875 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20876 if test "${ac_cv_have_daylight+set}" = set; then
20877 echo $ECHO_N "(cached) $ECHO_C" >&6
20879 cat >conftest.$ac_ext <<_ACEOF
20882 cat confdefs.h >>conftest.$ac_ext
20883 cat >>conftest.$ac_ext <<_ACEOF
20884 /* end confdefs.h. */
20894 rm -f conftest.$ac_objext conftest$ac_exeext
20895 if { (ac_try="$ac_link"
20896 case "(($ac_try" in
20897 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20898 *) ac_try_echo
=$ac_try;;
20900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20901 (eval "$ac_link") 2>conftest.er1
20903 grep -v '^ *+' conftest.er1
>conftest.err
20905 cat conftest.err
>&5
20906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); } && {
20908 test -z "$ac_c_werror_flag" ||
20909 test ! -s conftest.err
20910 } && test -s conftest
$ac_exeext &&
20911 $as_test_x conftest
$ac_exeext; then
20912 ac_cv_have_daylight
="yes"
20914 echo "$as_me: failed program was:" >&5
20915 sed 's/^/| /' conftest.
$ac_ext >&5
20917 ac_cv_have_daylight
="no"
20920 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20921 conftest
$ac_exeext conftest.
$ac_ext
20923 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20924 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20925 if test "$ac_cv_have_daylight" = "yes"
20928 cat >>confdefs.h
<<\_ACEOF
20929 #define HAVE_DAYLIGHT 1
20936 *i
[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20937 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20938 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20939 echo $ECHO_N "(cached) $ECHO_C" >&6
20941 cat >conftest.
$ac_ext <<_ACEOF
20944 cat confdefs.h
>>conftest.
$ac_ext
20945 cat >>conftest.
$ac_ext <<_ACEOF
20946 /* end confdefs.h. */
20951 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20952 $EGREP "yes" >/dev
/null
2>&1; then
20953 ac_cv_cpp_def___i386__
=yes
20955 ac_cv_cpp_def___i386__
=no
20960 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20961 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20962 if test $ac_cv_cpp_def___i386__ = yes; then
20963 CFLAGS
="$CFLAGS -D__i386__"
20964 LINTFLAGS
="$LINTFLAGS -D__i386__"
20967 *x86_64
*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20968 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20969 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20970 echo $ECHO_N "(cached) $ECHO_C" >&6
20972 cat >conftest.
$ac_ext <<_ACEOF
20975 cat confdefs.h
>>conftest.
$ac_ext
20976 cat >>conftest.
$ac_ext <<_ACEOF
20977 /* end confdefs.h. */
20982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20983 $EGREP "yes" >/dev
/null
2>&1; then
20984 ac_cv_cpp_def___x86_64__
=yes
20986 ac_cv_cpp_def___x86_64__
=no
20991 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20992 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20993 if test $ac_cv_cpp_def___x86_64__ = yes; then
20994 CFLAGS
="$CFLAGS -D__x86_64__"
20995 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20998 *alpha
*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20999 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21000 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21001 echo $ECHO_N "(cached) $ECHO_C" >&6
21003 cat >conftest.
$ac_ext <<_ACEOF
21006 cat confdefs.h
>>conftest.
$ac_ext
21007 cat >>conftest.
$ac_ext <<_ACEOF
21008 /* end confdefs.h. */
21013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21014 $EGREP "yes" >/dev
/null
2>&1; then
21015 ac_cv_cpp_def___ALPHA__
=yes
21017 ac_cv_cpp_def___ALPHA__
=no
21022 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21023 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21024 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21025 CFLAGS
="$CFLAGS -D__ALPHA__"
21026 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
21029 *sparc
*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21030 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21031 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21032 echo $ECHO_N "(cached) $ECHO_C" >&6
21034 cat >conftest.
$ac_ext <<_ACEOF
21037 cat confdefs.h
>>conftest.
$ac_ext
21038 cat >>conftest.
$ac_ext <<_ACEOF
21039 /* end confdefs.h. */
21044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21045 $EGREP "yes" >/dev
/null
2>&1; then
21046 ac_cv_cpp_def___sparc__
=yes
21048 ac_cv_cpp_def___sparc__
=no
21053 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21054 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21055 if test $ac_cv_cpp_def___sparc__ = yes; then
21056 CFLAGS
="$CFLAGS -D__sparc__"
21057 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21060 *powerpc
*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21061 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21062 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21063 echo $ECHO_N "(cached) $ECHO_C" >&6
21065 cat >conftest.
$ac_ext <<_ACEOF
21068 cat confdefs.h
>>conftest.
$ac_ext
21069 cat >>conftest.
$ac_ext <<_ACEOF
21070 /* end confdefs.h. */
21071 #ifndef __powerpc__
21075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21076 $EGREP "yes" >/dev
/null
2>&1; then
21077 ac_cv_cpp_def___powerpc__
=yes
21079 ac_cv_cpp_def___powerpc__
=no
21084 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21085 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21086 if test $ac_cv_cpp_def___powerpc__ = yes; then
21087 CFLAGS
="$CFLAGS -D__powerpc__"
21088 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21093 case $host_vendor in
21094 *sun
*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21095 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21096 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21097 echo $ECHO_N "(cached) $ECHO_C" >&6
21099 cat >conftest.
$ac_ext <<_ACEOF
21102 cat confdefs.h
>>conftest.
$ac_ext
21103 cat >>conftest.
$ac_ext <<_ACEOF
21104 /* end confdefs.h. */
21109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21110 $EGREP "yes" >/dev
/null
2>&1; then
21111 ac_cv_cpp_def___sun__
=yes
21113 ac_cv_cpp_def___sun__
=no
21118 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21119 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21120 if test $ac_cv_cpp_def___sun__ = yes; then
21121 CFLAGS
="$CFLAGS -D__sun__"
21122 LINTFLAGS
="$LINTFLAGS -D__sun__"
21128 DEPENDENCIES
="### Dependencies:
21133 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21135 \$(OBJS): \$(IDL_GEN_HEADERS)
21136 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21137 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21138 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21144 ac_config_commands
="$ac_config_commands include/stamp-h"
21147 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
21149 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
21151 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
21153 ac_config_commands
="$ac_config_commands dlls/user32/resources"
21155 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
21157 ac_config_commands
="$ac_config_commands include/wine"
21160 MAKE_RULES
=Make.rules
21163 MAKE_DLL_RULES
=dlls
/Makedll.rules
21166 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
21169 MAKE_TEST_RULES
=dlls
/Maketest.rules
21172 MAKE_PROG_RULES
=programs
/Makeprog.rules
21175 ac_config_files
="$ac_config_files Make.rules"
21177 ac_config_files
="$ac_config_files dlls/Makedll.rules"
21179 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
21181 ac_config_files
="$ac_config_files dlls/Maketest.rules"
21183 ac_config_files
="$ac_config_files programs/Makeprog.rules"
21185 ac_config_files
="$ac_config_files Makefile"
21187 ac_config_files
="$ac_config_files dlls/Makefile"
21189 ac_config_files
="$ac_config_files dlls/acledit/Makefile"
21191 ac_config_files
="$ac_config_files dlls/activeds/Makefile"
21193 ac_config_files
="$ac_config_files dlls/actxprxy/Makefile"
21195 ac_config_files
="$ac_config_files dlls/advapi32/Makefile"
21197 ac_config_files
="$ac_config_files dlls/advapi32/tests/Makefile"
21199 ac_config_files
="$ac_config_files dlls/advpack/Makefile"
21201 ac_config_files
="$ac_config_files dlls/advpack/tests/Makefile"
21203 ac_config_files
="$ac_config_files dlls/amstream/Makefile"
21205 ac_config_files
="$ac_config_files dlls/atl/Makefile"
21207 ac_config_files
="$ac_config_files dlls/avicap32/Makefile"
21209 ac_config_files
="$ac_config_files dlls/avifil32/Makefile"
21211 ac_config_files
="$ac_config_files dlls/browseui/Makefile"
21213 ac_config_files
="$ac_config_files dlls/browseui/tests/Makefile"
21215 ac_config_files
="$ac_config_files dlls/cabinet/Makefile"
21217 ac_config_files
="$ac_config_files dlls/cabinet/tests/Makefile"
21219 ac_config_files
="$ac_config_files dlls/capi2032/Makefile"
21221 ac_config_files
="$ac_config_files dlls/cards/Makefile"
21223 ac_config_files
="$ac_config_files dlls/cfgmgr32/Makefile"
21225 ac_config_files
="$ac_config_files dlls/clusapi/Makefile"
21227 ac_config_files
="$ac_config_files dlls/comcat/Makefile"
21229 ac_config_files
="$ac_config_files dlls/comcat/tests/Makefile"
21231 ac_config_files
="$ac_config_files dlls/comctl32/Makefile"
21233 ac_config_files
="$ac_config_files dlls/comctl32/tests/Makefile"
21235 ac_config_files
="$ac_config_files dlls/comdlg32/Makefile"
21237 ac_config_files
="$ac_config_files dlls/comdlg32/tests/Makefile"
21239 ac_config_files
="$ac_config_files dlls/compstui/Makefile"
21241 ac_config_files
="$ac_config_files dlls/credui/Makefile"
21243 ac_config_files
="$ac_config_files dlls/credui/tests/Makefile"
21245 ac_config_files
="$ac_config_files dlls/crtdll/Makefile"
21247 ac_config_files
="$ac_config_files dlls/crypt32/Makefile"
21249 ac_config_files
="$ac_config_files dlls/crypt32/tests/Makefile"
21251 ac_config_files
="$ac_config_files dlls/cryptdlg/Makefile"
21253 ac_config_files
="$ac_config_files dlls/cryptdll/Makefile"
21255 ac_config_files
="$ac_config_files dlls/cryptnet/Makefile"
21257 ac_config_files
="$ac_config_files dlls/cryptnet/tests/Makefile"
21259 ac_config_files
="$ac_config_files dlls/ctapi32/Makefile"
21261 ac_config_files
="$ac_config_files dlls/ctl3d32/Makefile"
21263 ac_config_files
="$ac_config_files dlls/d3d10/Makefile"
21265 ac_config_files
="$ac_config_files dlls/d3d8/Makefile"
21267 ac_config_files
="$ac_config_files dlls/d3d8/tests/Makefile"
21269 ac_config_files
="$ac_config_files dlls/d3d9/Makefile"
21271 ac_config_files
="$ac_config_files dlls/d3d9/tests/Makefile"
21273 ac_config_files
="$ac_config_files dlls/d3dim/Makefile"
21275 ac_config_files
="$ac_config_files dlls/d3drm/Makefile"
21277 ac_config_files
="$ac_config_files dlls/d3drm/tests/Makefile"
21279 ac_config_files
="$ac_config_files dlls/d3dx8/Makefile"
21281 ac_config_files
="$ac_config_files dlls/d3dx8/tests/Makefile"
21283 ac_config_files
="$ac_config_files dlls/d3dx9_24/Makefile"
21285 ac_config_files
="$ac_config_files dlls/d3dx9_25/Makefile"
21287 ac_config_files
="$ac_config_files dlls/d3dx9_26/Makefile"
21289 ac_config_files
="$ac_config_files dlls/d3dx9_27/Makefile"
21291 ac_config_files
="$ac_config_files dlls/d3dx9_28/Makefile"
21293 ac_config_files
="$ac_config_files dlls/d3dx9_29/Makefile"
21295 ac_config_files
="$ac_config_files dlls/d3dx9_30/Makefile"
21297 ac_config_files
="$ac_config_files dlls/d3dx9_31/Makefile"
21299 ac_config_files
="$ac_config_files dlls/d3dx9_32/Makefile"
21301 ac_config_files
="$ac_config_files dlls/d3dx9_33/Makefile"
21303 ac_config_files
="$ac_config_files dlls/d3dx9_34/Makefile"
21305 ac_config_files
="$ac_config_files dlls/d3dx9_35/Makefile"
21307 ac_config_files
="$ac_config_files dlls/d3dx9_36/Makefile"
21309 ac_config_files
="$ac_config_files dlls/d3dxof/Makefile"
21311 ac_config_files
="$ac_config_files dlls/dbghelp/Makefile"
21313 ac_config_files
="$ac_config_files dlls/dciman32/Makefile"
21315 ac_config_files
="$ac_config_files dlls/ddraw/Makefile"
21317 ac_config_files
="$ac_config_files dlls/ddraw/tests/Makefile"
21319 ac_config_files
="$ac_config_files dlls/ddrawex/Makefile"
21321 ac_config_files
="$ac_config_files dlls/devenum/Makefile"
21323 ac_config_files
="$ac_config_files dlls/dinput/Makefile"
21325 ac_config_files
="$ac_config_files dlls/dinput/tests/Makefile"
21327 ac_config_files
="$ac_config_files dlls/dinput8/Makefile"
21329 ac_config_files
="$ac_config_files dlls/dmband/Makefile"
21331 ac_config_files
="$ac_config_files dlls/dmcompos/Makefile"
21333 ac_config_files
="$ac_config_files dlls/dmime/Makefile"
21335 ac_config_files
="$ac_config_files dlls/dmloader/Makefile"
21337 ac_config_files
="$ac_config_files dlls/dmscript/Makefile"
21339 ac_config_files
="$ac_config_files dlls/dmstyle/Makefile"
21341 ac_config_files
="$ac_config_files dlls/dmsynth/Makefile"
21343 ac_config_files
="$ac_config_files dlls/dmusic/Makefile"
21345 ac_config_files
="$ac_config_files dlls/dmusic32/Makefile"
21347 ac_config_files
="$ac_config_files dlls/dnsapi/Makefile"
21349 ac_config_files
="$ac_config_files dlls/dnsapi/tests/Makefile"
21351 ac_config_files
="$ac_config_files dlls/dplay/Makefile"
21353 ac_config_files
="$ac_config_files dlls/dplayx/Makefile"
21355 ac_config_files
="$ac_config_files dlls/dplayx/tests/Makefile"
21357 ac_config_files
="$ac_config_files dlls/dpnaddr/Makefile"
21359 ac_config_files
="$ac_config_files dlls/dpnet/Makefile"
21361 ac_config_files
="$ac_config_files dlls/dpnhpast/Makefile"
21363 ac_config_files
="$ac_config_files dlls/dpnlobby/Makefile"
21365 ac_config_files
="$ac_config_files dlls/dsound/Makefile"
21367 ac_config_files
="$ac_config_files dlls/dsound/tests/Makefile"
21369 ac_config_files
="$ac_config_files dlls/dssenh/Makefile"
21371 ac_config_files
="$ac_config_files dlls/dswave/Makefile"
21373 ac_config_files
="$ac_config_files dlls/dwmapi/Makefile"
21375 ac_config_files
="$ac_config_files dlls/dxdiagn/Makefile"
21377 ac_config_files
="$ac_config_files dlls/dxerr8/Makefile"
21379 ac_config_files
="$ac_config_files dlls/dxerr9/Makefile"
21381 ac_config_files
="$ac_config_files dlls/dxguid/Makefile"
21383 ac_config_files
="$ac_config_files dlls/faultrep/Makefile"
21385 ac_config_files
="$ac_config_files dlls/gdi32/Makefile"
21387 ac_config_files
="$ac_config_files dlls/gdi32/tests/Makefile"
21389 ac_config_files
="$ac_config_files dlls/gdiplus/Makefile"
21391 ac_config_files
="$ac_config_files dlls/gdiplus/tests/Makefile"
21393 ac_config_files
="$ac_config_files dlls/glu32/Makefile"
21395 ac_config_files
="$ac_config_files dlls/gphoto2.ds/Makefile"
21397 ac_config_files
="$ac_config_files dlls/gpkcsp/Makefile"
21399 ac_config_files
="$ac_config_files dlls/hal/Makefile"
21401 ac_config_files
="$ac_config_files dlls/hhctrl.ocx/Makefile"
21403 ac_config_files
="$ac_config_files dlls/hid/Makefile"
21405 ac_config_files
="$ac_config_files dlls/hlink/Makefile"
21407 ac_config_files
="$ac_config_files dlls/hlink/tests/Makefile"
21409 ac_config_files
="$ac_config_files dlls/hnetcfg/Makefile"
21411 ac_config_files
="$ac_config_files dlls/iccvid/Makefile"
21413 ac_config_files
="$ac_config_files dlls/icmp/Makefile"
21415 ac_config_files
="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21417 ac_config_files
="$ac_config_files dlls/imaadp32.acm/Makefile"
21419 ac_config_files
="$ac_config_files dlls/imagehlp/Makefile"
21421 ac_config_files
="$ac_config_files dlls/imm32/Makefile"
21423 ac_config_files
="$ac_config_files dlls/imm32/tests/Makefile"
21425 ac_config_files
="$ac_config_files dlls/inetcomm/Makefile"
21427 ac_config_files
="$ac_config_files dlls/inetcomm/tests/Makefile"
21429 ac_config_files
="$ac_config_files dlls/infosoft/Makefile"
21431 ac_config_files
="$ac_config_files dlls/infosoft/tests/Makefile"
21433 ac_config_files
="$ac_config_files dlls/initpki/Makefile"
21435 ac_config_files
="$ac_config_files dlls/inkobj/Makefile"
21437 ac_config_files
="$ac_config_files dlls/inseng/Makefile"
21439 ac_config_files
="$ac_config_files dlls/iphlpapi/Makefile"
21441 ac_config_files
="$ac_config_files dlls/iphlpapi/tests/Makefile"
21443 ac_config_files
="$ac_config_files dlls/itircl/Makefile"
21445 ac_config_files
="$ac_config_files dlls/itss/Makefile"
21447 ac_config_files
="$ac_config_files dlls/itss/tests/Makefile"
21449 ac_config_files
="$ac_config_files dlls/kernel32/Makefile"
21451 ac_config_files
="$ac_config_files dlls/kernel32/tests/Makefile"
21453 ac_config_files
="$ac_config_files dlls/localspl/Makefile"
21455 ac_config_files
="$ac_config_files dlls/localspl/tests/Makefile"
21457 ac_config_files
="$ac_config_files dlls/localui/Makefile"
21459 ac_config_files
="$ac_config_files dlls/localui/tests/Makefile"
21461 ac_config_files
="$ac_config_files dlls/lz32/Makefile"
21463 ac_config_files
="$ac_config_files dlls/lz32/tests/Makefile"
21465 ac_config_files
="$ac_config_files dlls/mapi32/Makefile"
21467 ac_config_files
="$ac_config_files dlls/mapi32/tests/Makefile"
21469 ac_config_files
="$ac_config_files dlls/mciavi32/Makefile"
21471 ac_config_files
="$ac_config_files dlls/mcicda/Makefile"
21473 ac_config_files
="$ac_config_files dlls/mciseq/Makefile"
21475 ac_config_files
="$ac_config_files dlls/mciwave/Makefile"
21477 ac_config_files
="$ac_config_files dlls/midimap/Makefile"
21479 ac_config_files
="$ac_config_files dlls/mlang/Makefile"
21481 ac_config_files
="$ac_config_files dlls/mlang/tests/Makefile"
21483 ac_config_files
="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21485 ac_config_files
="$ac_config_files dlls/monodebg.vxd/Makefile"
21487 ac_config_files
="$ac_config_files dlls/mountmgr.sys/Makefile"
21489 ac_config_files
="$ac_config_files dlls/mpr/Makefile"
21491 ac_config_files
="$ac_config_files dlls/mprapi/Makefile"
21493 ac_config_files
="$ac_config_files dlls/msacm32.drv/Makefile"
21495 ac_config_files
="$ac_config_files dlls/msacm32/Makefile"
21497 ac_config_files
="$ac_config_files dlls/msacm32/tests/Makefile"
21499 ac_config_files
="$ac_config_files dlls/msadp32.acm/Makefile"
21501 ac_config_files
="$ac_config_files dlls/mscat32/Makefile"
21503 ac_config_files
="$ac_config_files dlls/mscms/Makefile"
21505 ac_config_files
="$ac_config_files dlls/mscms/tests/Makefile"
21507 ac_config_files
="$ac_config_files dlls/mscoree/Makefile"
21509 ac_config_files
="$ac_config_files dlls/msdmo/Makefile"
21511 ac_config_files
="$ac_config_files dlls/msftedit/Makefile"
21513 ac_config_files
="$ac_config_files dlls/msg711.acm/Makefile"
21515 ac_config_files
="$ac_config_files dlls/mshtml.tlb/Makefile"
21517 ac_config_files
="$ac_config_files dlls/mshtml/Makefile"
21519 ac_config_files
="$ac_config_files dlls/mshtml/tests/Makefile"
21521 ac_config_files
="$ac_config_files dlls/msi/Makefile"
21523 ac_config_files
="$ac_config_files dlls/msi/tests/Makefile"
21525 ac_config_files
="$ac_config_files dlls/msimg32/Makefile"
21527 ac_config_files
="$ac_config_files dlls/msimtf/Makefile"
21529 ac_config_files
="$ac_config_files dlls/msisys.ocx/Makefile"
21531 ac_config_files
="$ac_config_files dlls/msnet32/Makefile"
21533 ac_config_files
="$ac_config_files dlls/msrle32/Makefile"
21535 ac_config_files
="$ac_config_files dlls/mssip32/Makefile"
21537 ac_config_files
="$ac_config_files dlls/msvcirt/Makefile"
21539 ac_config_files
="$ac_config_files dlls/msvcr71/Makefile"
21541 ac_config_files
="$ac_config_files dlls/msvcrt/Makefile"
21543 ac_config_files
="$ac_config_files dlls/msvcrt/tests/Makefile"
21545 ac_config_files
="$ac_config_files dlls/msvcrt20/Makefile"
21547 ac_config_files
="$ac_config_files dlls/msvcrt40/Makefile"
21549 ac_config_files
="$ac_config_files dlls/msvcrtd/Makefile"
21551 ac_config_files
="$ac_config_files dlls/msvcrtd/tests/Makefile"
21553 ac_config_files
="$ac_config_files dlls/msvfw32/Makefile"
21555 ac_config_files
="$ac_config_files dlls/msvidc32/Makefile"
21557 ac_config_files
="$ac_config_files dlls/mswsock/Makefile"
21559 ac_config_files
="$ac_config_files dlls/msxml3/Makefile"
21561 ac_config_files
="$ac_config_files dlls/msxml3/tests/Makefile"
21563 ac_config_files
="$ac_config_files dlls/nddeapi/Makefile"
21565 ac_config_files
="$ac_config_files dlls/netapi32/Makefile"
21567 ac_config_files
="$ac_config_files dlls/netapi32/tests/Makefile"
21569 ac_config_files
="$ac_config_files dlls/newdev/Makefile"
21571 ac_config_files
="$ac_config_files dlls/ntdll/Makefile"
21573 ac_config_files
="$ac_config_files dlls/ntdll/tests/Makefile"
21575 ac_config_files
="$ac_config_files dlls/ntdsapi/Makefile"
21577 ac_config_files
="$ac_config_files dlls/ntdsapi/tests/Makefile"
21579 ac_config_files
="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21581 ac_config_files
="$ac_config_files dlls/ntprint/Makefile"
21583 ac_config_files
="$ac_config_files dlls/ntprint/tests/Makefile"
21585 ac_config_files
="$ac_config_files dlls/objsel/Makefile"
21587 ac_config_files
="$ac_config_files dlls/odbc32/Makefile"
21589 ac_config_files
="$ac_config_files dlls/odbccp32/Makefile"
21591 ac_config_files
="$ac_config_files dlls/odbccp32/tests/Makefile"
21593 ac_config_files
="$ac_config_files dlls/ole32/Makefile"
21595 ac_config_files
="$ac_config_files dlls/ole32/tests/Makefile"
21597 ac_config_files
="$ac_config_files dlls/oleacc/Makefile"
21599 ac_config_files
="$ac_config_files dlls/oleaut32/Makefile"
21601 ac_config_files
="$ac_config_files dlls/oleaut32/tests/Makefile"
21603 ac_config_files
="$ac_config_files dlls/olecli32/Makefile"
21605 ac_config_files
="$ac_config_files dlls/oledlg/Makefile"
21607 ac_config_files
="$ac_config_files dlls/olepro32/Makefile"
21609 ac_config_files
="$ac_config_files dlls/olesvr32/Makefile"
21611 ac_config_files
="$ac_config_files dlls/olethk32/Makefile"
21613 ac_config_files
="$ac_config_files dlls/opengl32/Makefile"
21615 ac_config_files
="$ac_config_files dlls/opengl32/tests/Makefile"
21617 ac_config_files
="$ac_config_files dlls/pdh/Makefile"
21619 ac_config_files
="$ac_config_files dlls/pdh/tests/Makefile"
21621 ac_config_files
="$ac_config_files dlls/powrprof/Makefile"
21623 ac_config_files
="$ac_config_files dlls/printui/Makefile"
21625 ac_config_files
="$ac_config_files dlls/propsys/Makefile"
21627 ac_config_files
="$ac_config_files dlls/psapi/Makefile"
21629 ac_config_files
="$ac_config_files dlls/psapi/tests/Makefile"
21631 ac_config_files
="$ac_config_files dlls/pstorec/Makefile"
21633 ac_config_files
="$ac_config_files dlls/qcap/Makefile"
21635 ac_config_files
="$ac_config_files dlls/qedit/Makefile"
21637 ac_config_files
="$ac_config_files dlls/qedit/tests/Makefile"
21639 ac_config_files
="$ac_config_files dlls/qmgr/Makefile"
21641 ac_config_files
="$ac_config_files dlls/qmgr/tests/Makefile"
21643 ac_config_files
="$ac_config_files dlls/qmgrprxy/Makefile"
21645 ac_config_files
="$ac_config_files dlls/quartz/Makefile"
21647 ac_config_files
="$ac_config_files dlls/quartz/tests/Makefile"
21649 ac_config_files
="$ac_config_files dlls/query/Makefile"
21651 ac_config_files
="$ac_config_files dlls/rasapi32/Makefile"
21653 ac_config_files
="$ac_config_files dlls/resutils/Makefile"
21655 ac_config_files
="$ac_config_files dlls/riched20/Makefile"
21657 ac_config_files
="$ac_config_files dlls/riched20/tests/Makefile"
21659 ac_config_files
="$ac_config_files dlls/riched32/Makefile"
21661 ac_config_files
="$ac_config_files dlls/riched32/tests/Makefile"
21663 ac_config_files
="$ac_config_files dlls/rpcrt4/Makefile"
21665 ac_config_files
="$ac_config_files dlls/rpcrt4/tests/Makefile"
21667 ac_config_files
="$ac_config_files dlls/rsabase/Makefile"
21669 ac_config_files
="$ac_config_files dlls/rsabase/tests/Makefile"
21671 ac_config_files
="$ac_config_files dlls/rsaenh/Makefile"
21673 ac_config_files
="$ac_config_files dlls/rsaenh/tests/Makefile"
21675 ac_config_files
="$ac_config_files dlls/sane.ds/Makefile"
21677 ac_config_files
="$ac_config_files dlls/sccbase/Makefile"
21679 ac_config_files
="$ac_config_files dlls/schannel/Makefile"
21681 ac_config_files
="$ac_config_files dlls/schannel/tests/Makefile"
21683 ac_config_files
="$ac_config_files dlls/secur32/Makefile"
21685 ac_config_files
="$ac_config_files dlls/secur32/tests/Makefile"
21687 ac_config_files
="$ac_config_files dlls/security/Makefile"
21689 ac_config_files
="$ac_config_files dlls/sensapi/Makefile"
21691 ac_config_files
="$ac_config_files dlls/serialui/Makefile"
21693 ac_config_files
="$ac_config_files dlls/serialui/tests/Makefile"
21695 ac_config_files
="$ac_config_files dlls/setupapi/Makefile"
21697 ac_config_files
="$ac_config_files dlls/setupapi/tests/Makefile"
21699 ac_config_files
="$ac_config_files dlls/sfc/Makefile"
21701 ac_config_files
="$ac_config_files dlls/sfc_os/Makefile"
21703 ac_config_files
="$ac_config_files dlls/shdoclc/Makefile"
21705 ac_config_files
="$ac_config_files dlls/shdocvw/Makefile"
21707 ac_config_files
="$ac_config_files dlls/shdocvw/tests/Makefile"
21709 ac_config_files
="$ac_config_files dlls/shell32/Makefile"
21711 ac_config_files
="$ac_config_files dlls/shell32/tests/Makefile"
21713 ac_config_files
="$ac_config_files dlls/shfolder/Makefile"
21715 ac_config_files
="$ac_config_files dlls/shlwapi/Makefile"
21717 ac_config_files
="$ac_config_files dlls/shlwapi/tests/Makefile"
21719 ac_config_files
="$ac_config_files dlls/slbcsp/Makefile"
21721 ac_config_files
="$ac_config_files dlls/slc/Makefile"
21723 ac_config_files
="$ac_config_files dlls/snmpapi/Makefile"
21725 ac_config_files
="$ac_config_files dlls/snmpapi/tests/Makefile"
21727 ac_config_files
="$ac_config_files dlls/softpub/Makefile"
21729 ac_config_files
="$ac_config_files dlls/spoolss/Makefile"
21731 ac_config_files
="$ac_config_files dlls/spoolss/tests/Makefile"
21733 ac_config_files
="$ac_config_files dlls/stdole2.tlb/Makefile"
21735 ac_config_files
="$ac_config_files dlls/stdole32.tlb/Makefile"
21737 ac_config_files
="$ac_config_files dlls/sti/Makefile"
21739 ac_config_files
="$ac_config_files dlls/strmiids/Makefile"
21741 ac_config_files
="$ac_config_files dlls/svrapi/Makefile"
21743 ac_config_files
="$ac_config_files dlls/sxs/Makefile"
21745 ac_config_files
="$ac_config_files dlls/tapi32/Makefile"
21747 ac_config_files
="$ac_config_files dlls/twain_32/Makefile"
21749 ac_config_files
="$ac_config_files dlls/unicows/Makefile"
21751 ac_config_files
="$ac_config_files dlls/url/Makefile"
21753 ac_config_files
="$ac_config_files dlls/urlmon/Makefile"
21755 ac_config_files
="$ac_config_files dlls/urlmon/tests/Makefile"
21757 ac_config_files
="$ac_config_files dlls/user32/Makefile"
21759 ac_config_files
="$ac_config_files dlls/user32/tests/Makefile"
21761 ac_config_files
="$ac_config_files dlls/userenv/Makefile"
21763 ac_config_files
="$ac_config_files dlls/usp10/Makefile"
21765 ac_config_files
="$ac_config_files dlls/usp10/tests/Makefile"
21767 ac_config_files
="$ac_config_files dlls/uuid/Makefile"
21769 ac_config_files
="$ac_config_files dlls/uxtheme/Makefile"
21771 ac_config_files
="$ac_config_files dlls/uxtheme/tests/Makefile"
21773 ac_config_files
="$ac_config_files dlls/vdhcp.vxd/Makefile"
21775 ac_config_files
="$ac_config_files dlls/vdmdbg/Makefile"
21777 ac_config_files
="$ac_config_files dlls/version/Makefile"
21779 ac_config_files
="$ac_config_files dlls/version/tests/Makefile"
21781 ac_config_files
="$ac_config_files dlls/vmm.vxd/Makefile"
21783 ac_config_files
="$ac_config_files dlls/vnbt.vxd/Makefile"
21785 ac_config_files
="$ac_config_files dlls/vnetbios.vxd/Makefile"
21787 ac_config_files
="$ac_config_files dlls/vtdapi.vxd/Makefile"
21789 ac_config_files
="$ac_config_files dlls/vwin32.vxd/Makefile"
21791 ac_config_files
="$ac_config_files dlls/w32skrnl/Makefile"
21793 ac_config_files
="$ac_config_files dlls/winealsa.drv/Makefile"
21795 ac_config_files
="$ac_config_files dlls/wineaudioio.drv/Makefile"
21797 ac_config_files
="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21799 ac_config_files
="$ac_config_files dlls/winecrt0/Makefile"
21801 ac_config_files
="$ac_config_files dlls/wined3d/Makefile"
21803 ac_config_files
="$ac_config_files dlls/winedos/Makefile"
21805 ac_config_files
="$ac_config_files dlls/wineesd.drv/Makefile"
21807 ac_config_files
="$ac_config_files dlls/winejack.drv/Makefile"
21809 ac_config_files
="$ac_config_files dlls/winejoystick.drv/Makefile"
21811 ac_config_files
="$ac_config_files dlls/winemp3.acm/Makefile"
21813 ac_config_files
="$ac_config_files dlls/winenas.drv/Makefile"
21815 ac_config_files
="$ac_config_files dlls/wineoss.drv/Makefile"
21817 ac_config_files
="$ac_config_files dlls/wineps.drv/Makefile"
21819 ac_config_files
="$ac_config_files dlls/winequartz.drv/Makefile"
21821 ac_config_files
="$ac_config_files dlls/winex11.drv/Makefile"
21823 ac_config_files
="$ac_config_files dlls/wing32/Makefile"
21825 ac_config_files
="$ac_config_files dlls/winhttp/Makefile"
21827 ac_config_files
="$ac_config_files dlls/wininet/Makefile"
21829 ac_config_files
="$ac_config_files dlls/wininet/tests/Makefile"
21831 ac_config_files
="$ac_config_files dlls/winmm/Makefile"
21833 ac_config_files
="$ac_config_files dlls/winmm/tests/Makefile"
21835 ac_config_files
="$ac_config_files dlls/winnls32/Makefile"
21837 ac_config_files
="$ac_config_files dlls/winscard/Makefile"
21839 ac_config_files
="$ac_config_files dlls/winspool.drv/Makefile"
21841 ac_config_files
="$ac_config_files dlls/winspool.drv/tests/Makefile"
21843 ac_config_files
="$ac_config_files dlls/wintab32/Makefile"
21845 ac_config_files
="$ac_config_files dlls/wintrust/Makefile"
21847 ac_config_files
="$ac_config_files dlls/wintrust/tests/Makefile"
21849 ac_config_files
="$ac_config_files dlls/wldap32/Makefile"
21851 ac_config_files
="$ac_config_files dlls/wmi/Makefile"
21853 ac_config_files
="$ac_config_files dlls/wnaspi32/Makefile"
21855 ac_config_files
="$ac_config_files dlls/wow32/Makefile"
21857 ac_config_files
="$ac_config_files dlls/ws2_32/Makefile"
21859 ac_config_files
="$ac_config_files dlls/ws2_32/tests/Makefile"
21861 ac_config_files
="$ac_config_files dlls/wsock32/Makefile"
21863 ac_config_files
="$ac_config_files dlls/wtsapi32/Makefile"
21865 ac_config_files
="$ac_config_files documentation/Makefile"
21867 ac_config_files
="$ac_config_files fonts/Makefile"
21869 ac_config_files
="$ac_config_files include/Makefile"
21871 ac_config_files
="$ac_config_files libs/Makefile"
21873 ac_config_files
="$ac_config_files libs/port/Makefile"
21875 ac_config_files
="$ac_config_files libs/wine/Makefile"
21877 ac_config_files
="$ac_config_files libs/wpp/Makefile"
21879 ac_config_files
="$ac_config_files loader/Makefile"
21881 ac_config_files
="$ac_config_files programs/Makefile"
21883 ac_config_files
="$ac_config_files programs/clock/Makefile"
21885 ac_config_files
="$ac_config_files programs/cmd/Makefile"
21887 ac_config_files
="$ac_config_files programs/cmdlgtst/Makefile"
21889 ac_config_files
="$ac_config_files programs/control/Makefile"
21891 ac_config_files
="$ac_config_files programs/eject/Makefile"
21893 ac_config_files
="$ac_config_files programs/expand/Makefile"
21895 ac_config_files
="$ac_config_files programs/explorer/Makefile"
21897 ac_config_files
="$ac_config_files programs/hh/Makefile"
21899 ac_config_files
="$ac_config_files programs/icinfo/Makefile"
21901 ac_config_files
="$ac_config_files programs/iexplore/Makefile"
21903 ac_config_files
="$ac_config_files programs/msiexec/Makefile"
21905 ac_config_files
="$ac_config_files programs/net/Makefile"
21907 ac_config_files
="$ac_config_files programs/notepad/Makefile"
21909 ac_config_files
="$ac_config_files programs/oleview/Makefile"
21911 ac_config_files
="$ac_config_files programs/progman/Makefile"
21913 ac_config_files
="$ac_config_files programs/regedit/Makefile"
21915 ac_config_files
="$ac_config_files programs/regsvr32/Makefile"
21917 ac_config_files
="$ac_config_files programs/rpcss/Makefile"
21919 ac_config_files
="$ac_config_files programs/rundll32/Makefile"
21921 ac_config_files
="$ac_config_files programs/secedit/Makefile"
21923 ac_config_files
="$ac_config_files programs/spoolsv/Makefile"
21925 ac_config_files
="$ac_config_files programs/start/Makefile"
21927 ac_config_files
="$ac_config_files programs/svchost/Makefile"
21929 ac_config_files
="$ac_config_files programs/taskmgr/Makefile"
21931 ac_config_files
="$ac_config_files programs/uninstaller/Makefile"
21933 ac_config_files
="$ac_config_files programs/view/Makefile"
21935 ac_config_files
="$ac_config_files programs/wineboot/Makefile"
21937 ac_config_files
="$ac_config_files programs/winebrowser/Makefile"
21939 ac_config_files
="$ac_config_files programs/winecfg/Makefile"
21941 ac_config_files
="$ac_config_files programs/wineconsole/Makefile"
21943 ac_config_files
="$ac_config_files programs/winedbg/Makefile"
21945 ac_config_files
="$ac_config_files programs/winedevice/Makefile"
21947 ac_config_files
="$ac_config_files programs/winefile/Makefile"
21949 ac_config_files
="$ac_config_files programs/winemenubuilder/Makefile"
21951 ac_config_files
="$ac_config_files programs/winemine/Makefile"
21953 ac_config_files
="$ac_config_files programs/winepath/Makefile"
21955 ac_config_files
="$ac_config_files programs/winetest/Makefile"
21957 ac_config_files
="$ac_config_files programs/winevdm/Makefile"
21959 ac_config_files
="$ac_config_files programs/winhelp/Makefile"
21961 ac_config_files
="$ac_config_files programs/winver/Makefile"
21963 ac_config_files
="$ac_config_files programs/wordpad/Makefile"
21965 ac_config_files
="$ac_config_files programs/write/Makefile"
21967 ac_config_files
="$ac_config_files programs/xcopy/Makefile"
21969 ac_config_files
="$ac_config_files server/Makefile"
21971 ac_config_files
="$ac_config_files tools/Makefile"
21973 ac_config_files
="$ac_config_files tools/widl/Makefile"
21975 ac_config_files
="$ac_config_files tools/winebuild/Makefile"
21977 ac_config_files
="$ac_config_files tools/winedump/Makefile"
21979 ac_config_files
="$ac_config_files tools/winegcc/Makefile"
21981 ac_config_files
="$ac_config_files tools/wmc/Makefile"
21983 ac_config_files
="$ac_config_files tools/wrc/Makefile"
21986 cat >confcache
<<\_ACEOF
21987 # This file is a shell script that caches the results of configure
21988 # tests run on this system so they can be shared between configure
21989 # scripts and configure runs, see configure's option --config-cache.
21990 # It is not useful on other systems. If it contains results you don't
21991 # want to keep, you may remove or edit it.
21993 # config.status only pays attention to the cache file if you give it
21994 # the --recheck option to rerun configure.
21996 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21997 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21998 # following values.
22002 # The following way of writing the cache mishandles newlines in values,
22003 # but we know of no workaround that is simple, portable, and efficient.
22004 # So, we kill variables containing newlines.
22005 # Ultrix sh set writes to stderr and can't be redirected directly,
22006 # and sets the high bit in the cache file unless we assign to the vars.
22008 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22009 eval ac_val
=\$
$ac_var
22013 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22014 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22017 _ | IFS | as_nl
) ;; #(
22018 *) $as_unset $ac_var ;;
22024 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22025 *${as_nl}ac_space
=\
*)
22026 # `set' does not quote correctly, so add quotes (double-quote
22027 # substitution turns \\\\ into \\, and sed turns \\ into \).
22030 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22033 # `set' quotes correctly as required by POSIX, so do not add quotes.
22034 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22043 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22045 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22047 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22048 if test -w "$cache_file"; then
22049 test "x$cache_file" != "x/dev/null" &&
22050 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22051 echo "$as_me: updating cache $cache_file" >&6;}
22052 cat confcache
>$cache_file
22054 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22055 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22060 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22061 # Let make expand exec_prefix.
22062 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22064 DEFS
=-DHAVE_CONFIG_H
22068 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22069 # 1. Remove the extension, and $U if already installed.
22070 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22071 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22072 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22073 # will be set to the directory where LIBOBJS objects are built.
22074 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22075 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22077 LIBOBJS
=$ac_libobjs
22079 LTLIBOBJS
=$ac_ltlibobjs
22083 : ${CONFIG_STATUS=./config.status}
22084 ac_clean_files_save
=$ac_clean_files
22085 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22086 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22087 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22088 cat >$CONFIG_STATUS <<_ACEOF
22090 # Generated by $as_me.
22091 # Run this file to recreate the current configuration.
22092 # Compiler output produced by configure, useful for debugging
22093 # configure, is in config.log if it exists.
22096 ac_cs_recheck=false
22098 SHELL=\${CONFIG_SHELL-$SHELL}
22101 cat >>$CONFIG_STATUS <<\_ACEOF
22102 ## --------------------- ##
22103 ## M4sh Initialization. ##
22104 ## --------------------- ##
22106 # Be more Bourne compatible
22107 DUALCASE
=1; export DUALCASE
# for MKS sh
22108 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22111 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22112 # is contrary to our usage. Disable this feature.
22113 alias -g '${1+"$@"}'='"$@"'
22114 setopt NO_GLOB_SUBST
22116 case `(set -o) 2>/dev/null` in
22117 *posix
*) set -o posix
;;
22126 # Avoid depending upon Character Ranges.
22127 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22128 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22129 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22130 as_cr_digits
='0123456789'
22131 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22133 # The user is always right.
22134 if test "${PATH_SEPARATOR+set}" != set; then
22135 echo "#! /bin/sh" >conf$$.sh
22136 echo "exit 0" >>conf$$.sh
22138 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22146 # Support unset when possible.
22147 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22155 # We need space, tab and new line, in precisely that order. Quoting is
22156 # there to prevent editors from complaining about space-tab.
22157 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22158 # splitting by setting IFS to empty value.)
22163 # Find who we are. Look in the path if we contain no directory separator.
22165 *[\\/]* ) as_myself
=$0 ;;
22166 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22167 for as_dir
in $PATH
22170 test -z "$as_dir" && as_dir
=.
22171 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22177 # We did not find ourselves, most probably we were run as `sh COMMAND'
22178 # in which case we are not to be found in the path.
22179 if test "x$as_myself" = x
; then
22182 if test ! -f "$as_myself"; then
22183 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22184 { (exit 1); exit 1; }
22187 # Work around bugs in pre-3.0 UWIN ksh.
22188 for as_var
in ENV MAIL MAILPATH
22189 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22197 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22198 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22199 LC_TELEPHONE LC_TIME
22201 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22202 eval $as_var=C
; export $as_var
22204 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22208 # Required to use basename.
22209 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22210 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22216 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22217 as_basename
=basename
22223 # Name of the executable.
22224 as_me
=`$as_basename -- "$0" ||
22225 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22226 X"$0" : 'X\(//\)$' \| \
22227 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22229 sed '/^.*\/\([^/][^/]*\)\/*$/{
22248 as_lineno_1
=$LINENO
22249 as_lineno_2
=$LINENO
22250 test "x$as_lineno_1" != "x$as_lineno_2" &&
22251 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22253 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22254 # uniformly replaced by the line number. The first 'sed' inserts a
22255 # line-number line after each line using $LINENO; the second 'sed'
22256 # does the real work. The second script uses 'N' to pair each
22257 # line-number line with the line containing $LINENO, and appends
22258 # trailing '-' during substitution so that $LINENO is not a special
22259 # case at line end.
22260 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22261 # scripts with optimization help from Paolo Bonzini. Blame Lee
22262 # E. McMahon (1931-1989) for sed's syntax. :-)
22274 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22277 ' >$as_me.lineno
&&
22278 chmod +x
"$as_me.lineno" ||
22279 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22280 { (exit 1); exit 1; }; }
22282 # Don't try to exec as it changes $[0], causing all sort of problems
22283 # (the dirname of $[0] is not the place where we might find the
22284 # original and so on. Autoconf is especially sensitive to this).
22285 .
"./$as_me.lineno"
22286 # Exit status is that of the last command.
22291 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22297 ECHO_C
= ECHO_N
= ECHO_T
=
22298 case `echo -n x` in
22300 case `echo 'x\c'` in
22301 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22308 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22309 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22315 rm -f conf$$ conf$$.exe conf$$.
file
22316 if test -d conf$$.dir
; then
22317 rm -f conf$$.dir
/conf$$.
file
22323 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22325 # ... but there are two gotchas:
22326 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22327 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22328 # In both cases, we have to default to `cp -p'.
22329 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22331 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22336 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22337 rmdir conf$$.dir
2>/dev
/null
22339 if mkdir
-p .
2>/dev
/null
; then
22342 test -d .
/-p && rmdir .
/-p
22346 if test -x / >/dev
/null
2>&1; then
22347 as_test_x
='test -x'
22349 if ls -dL / >/dev
/null
2>&1; then
22356 if test -d "$1"; then
22362 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22363 ???[sx]*):;;*)false;;esac;fi
22367 as_executable_p
=$as_test_x
22369 # Sed expression to map a string onto a valid CPP name.
22370 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22372 # Sed expression to map a string onto a valid variable name.
22373 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22378 # Save the log message, to keep $[0] and so on meaningful, and to
22379 # report actual input values of CONFIG_FILES etc. instead of their
22380 # values after options handling.
22382 This file was extended by Wine $as_me 0.9.56, which was
22383 generated by GNU Autoconf 2.61. Invocation command line was
22385 CONFIG_FILES = $CONFIG_FILES
22386 CONFIG_HEADERS = $CONFIG_HEADERS
22387 CONFIG_LINKS = $CONFIG_LINKS
22388 CONFIG_COMMANDS = $CONFIG_COMMANDS
22391 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22396 cat >>$CONFIG_STATUS <<_ACEOF
22397 # Files that config.status was made for.
22398 config_files="$ac_config_files"
22399 config_headers="$ac_config_headers"
22400 config_commands="$ac_config_commands"
22404 cat >>$CONFIG_STATUS <<\_ACEOF
22406 \`$as_me' instantiates files from templates according to the
22407 current configuration.
22409 Usage: $0 [OPTIONS] [FILE]...
22411 -h, --help print this help, then exit
22412 -V, --version print version number and configuration settings, then exit
22413 -q, --quiet do not print progress messages
22414 -d, --debug don't remove temporary files
22415 --recheck update $as_me by reconfiguring in the same conditions
22416 --file=FILE[:TEMPLATE]
22417 instantiate the configuration file FILE
22418 --header=FILE[:TEMPLATE]
22419 instantiate the configuration header FILE
22421 Configuration files:
22424 Configuration headers:
22427 Configuration commands:
22430 Report bugs to <bug-autoconf@gnu.org>."
22433 cat >>$CONFIG_STATUS <<_ACEOF
22435 Wine config.status 0.9.56
22436 configured by $0, generated by GNU Autoconf 2.61,
22437 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22439 Copyright (C) 2006 Free Software Foundation, Inc.
22440 This config.status script is free software; the Free Software Foundation
22441 gives unlimited permission to copy, distribute and modify it."
22448 cat >>$CONFIG_STATUS <<\_ACEOF
22449 # If no file are specified by the user, then we need to provide default
22450 # value. By we need to know if files were specified by the user.
22456 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22457 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22468 # Handling of the options.
22469 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22471 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22472 echo "$ac_cs_version"; exit ;;
22473 --debug |
--debu |
--deb |
--de |
--d |
-d )
22475 --file |
--fil |
--fi |
--f )
22477 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22478 ac_need_defaults
=false
;;
22479 --header |
--heade |
--head |
--hea )
22481 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22482 ac_need_defaults
=false
;;
22484 # Conflict between --help and --header
22485 { echo "$as_me: error: ambiguous option: $1
22486 Try \`$0 --help' for more information." >&2
22487 { (exit 1); exit 1; }; };;
22488 --help |
--hel |
-h )
22489 echo "$ac_cs_usage"; exit ;;
22490 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22491 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22494 # This is an error.
22495 -*) { echo "$as_me: error: unrecognized option: $1
22496 Try \`$0 --help' for more information." >&2
22497 { (exit 1); exit 1; }; } ;;
22499 *) ac_config_targets
="$ac_config_targets $1"
22500 ac_need_defaults
=false
;;
22506 ac_configure_extra_args
=
22508 if $ac_cs_silent; then
22510 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22514 cat >>$CONFIG_STATUS <<_ACEOF
22515 if \$ac_cs_recheck; then
22516 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22517 CONFIG_SHELL=$SHELL
22518 export CONFIG_SHELL
22519 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22523 cat >>$CONFIG_STATUS <<\_ACEOF
22527 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22528 ## Running $as_me. ##
22534 cat >>$CONFIG_STATUS <<_ACEOF
22537 cat >>$CONFIG_STATUS <<\_ACEOF
22539 # Handling of arguments.
22540 for ac_config_target
in $ac_config_targets
22542 case $ac_config_target in
22543 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
22544 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
22545 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22546 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22547 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22548 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
22549 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22550 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
22551 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
22552 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
22553 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22554 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
22555 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
22556 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22557 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
22558 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
22559 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
22560 "dlls/actxprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22561 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22562 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22563 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
22564 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22565 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
22566 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
22567 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22568 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22569 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
22570 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22571 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22572 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22573 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22574 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
22575 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22576 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22577 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
22578 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22579 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22580 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22581 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22582 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22583 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
22584 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
22585 "dlls/credui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22586 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22587 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22588 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22589 "dlls/cryptdlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22590 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22591 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22592 "dlls/cryptnet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22593 "dlls/ctapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22594 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22595 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22596 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22597 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22598 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22599 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22600 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22601 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22602 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22603 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22604 "dlls/d3dx8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22605 "dlls/d3dx9_24/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22606 "dlls/d3dx9_25/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22607 "dlls/d3dx9_26/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22608 "dlls/d3dx9_27/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22609 "dlls/d3dx9_28/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22610 "dlls/d3dx9_29/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22611 "dlls/d3dx9_30/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22612 "dlls/d3dx9_31/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22613 "dlls/d3dx9_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22614 "dlls/d3dx9_33/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22615 "dlls/d3dx9_34/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22616 "dlls/d3dx9_35/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22617 "dlls/d3dx9_36/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22618 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22619 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22620 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22621 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22622 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22623 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22624 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
22625 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
22626 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22627 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22628 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
22629 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22630 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
22631 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22632 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22633 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22634 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22635 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22636 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22637 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22638 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22639 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
22640 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22641 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22642 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22643 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22644 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22645 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22646 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
22647 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22648 "dlls/dssenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22649 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
22650 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22651 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22652 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22653 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22654 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22655 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22656 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22657 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22658 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22659 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22660 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
22661 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22662 "dlls/gpkcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
22663 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
22664 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22665 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
22666 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
22667 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22668 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22669 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22670 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
22671 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22672 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22673 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22674 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
22675 "dlls/imm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22676 "dlls/inetcomm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22677 "dlls/inetcomm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22678 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22679 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22680 "dlls/initpki/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/initpki/Makefile" ;;
22681 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22682 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
22683 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22684 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22685 "dlls/itircl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itircl/Makefile" ;;
22686 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
22687 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22688 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22689 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22690 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
22691 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22692 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
22693 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22694 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
22695 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22696 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22697 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22698 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22699 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22700 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22701 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22702 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
22703 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
22704 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22705 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22706 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22707 "dlls/mountmgr.sys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
22708 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
22709 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22710 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22711 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22712 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22713 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22714 "dlls/mscat32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22715 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
22716 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22717 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22718 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22719 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22720 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22721 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22722 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22723 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22724 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
22725 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22726 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22727 "dlls/msimtf/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22728 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22729 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22730 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22731 "dlls/mssip32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mssip32/Makefile" ;;
22732 "dlls/msvcirt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22733 "dlls/msvcr71/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
22734 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22735 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22736 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22737 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22738 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22739 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22740 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22741 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22742 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22743 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22744 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22745 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22746 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22747 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22748 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
22749 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22750 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22751 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22752 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
22753 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22754 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22755 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22756 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
22757 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22758 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22759 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22760 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
22761 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22762 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22763 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22764 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22765 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22766 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22767 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22768 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22769 "dlls/olethk32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22770 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22771 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22772 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
22773 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22774 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22775 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
22776 "dlls/propsys/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/propsys/Makefile" ;;
22777 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
22778 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22779 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22780 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
22781 "dlls/qedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/Makefile" ;;
22782 "dlls/qedit/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
22783 "dlls/qmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22784 "dlls/qmgr/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
22785 "dlls/qmgrprxy/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22786 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
22787 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22788 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
22789 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22790 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
22791 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
22792 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22793 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
22794 "dlls/riched32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22795 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22796 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22797 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22798 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22799 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22800 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22801 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22802 "dlls/sccbase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sccbase/Makefile" ;;
22803 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
22804 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22805 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
22806 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22807 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
22808 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22809 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
22810 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22811 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22812 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22813 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
22814 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22815 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22816 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22817 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22818 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
22819 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22820 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22821 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22822 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22823 "dlls/slbcsp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
22824 "dlls/slc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/slc/Makefile" ;;
22825 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22826 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22827 "dlls/softpub/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/softpub/Makefile" ;;
22828 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22829 "dlls/spoolss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22830 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22831 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22832 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
22833 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22834 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22835 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
22836 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22837 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22838 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
22839 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
22840 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22841 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22842 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
22843 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22844 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
22845 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
22846 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22847 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
22848 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22849 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22850 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22851 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22852 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
22853 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22854 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22855 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22856 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22857 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22858 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22859 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22860 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22861 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22862 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22863 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22864 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22865 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
22866 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22867 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22868 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22869 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22870 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22871 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22872 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22873 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22874 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22875 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
22876 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22877 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
22878 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22879 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
22880 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22881 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22882 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
22883 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22884 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22885 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22886 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22887 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22888 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22889 "dlls/wmi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wmi/Makefile" ;;
22890 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22891 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
22892 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22893 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22894 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22895 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22896 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
22897 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
22898 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
22899 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
22900 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
22901 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
22902 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
22903 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
22904 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
22905 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
22906 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
22907 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22908 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
22909 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
22910 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
22911 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
22912 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
22913 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
22914 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
22915 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
22916 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
22917 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
22918 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
22919 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
22920 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
22921 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22922 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
22923 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
22924 "programs/secedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/secedit/Makefile" ;;
22925 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22926 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
22927 "programs/svchost/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/svchost/Makefile" ;;
22928 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22929 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22930 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
22931 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
22932 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22933 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
22934 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22935 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
22936 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
22937 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
22938 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22939 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
22940 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
22941 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
22942 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
22943 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
22944 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
22945 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
22946 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
22947 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
22948 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
22949 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
22950 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
22951 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
22952 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
22953 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
22954 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
22955 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
22957 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22958 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22959 { (exit 1); exit 1; }; };;
22964 # If the user did not use the arguments to specify the items to instantiate,
22965 # then the envvar interface is used. Set only those that are not.
22966 # We use the long form for the default assignment because of an extremely
22967 # bizarre bug on SunOS 4.1.3.
22968 if $ac_need_defaults; then
22969 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22970 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22971 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22974 # Have a temporary directory for convenience. Make it in the build tree
22975 # simply because there is no reason against having it here, and in addition,
22976 # creating and moving files from /tmp can sometimes cause problems.
22977 # Hook for its removal unless debugging.
22978 # Note that there is a small window in which the directory will not be cleaned:
22979 # after its creation but before its name has been assigned to `$tmp'.
22983 trap 'exit_status=$?
22984 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22986 trap '{ (exit 1); exit 1; }' 1 2 13 15
22988 # Create a (secure) tmp directory for tmp files.
22991 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22992 test -n "$tmp" && test -d "$tmp"
22995 tmp
=.
/conf$$
-$RANDOM
22996 (umask 077 && mkdir
"$tmp")
22999 echo "$me: cannot create a temporary directory in ." >&2
23000 { (exit 1); exit 1; }
23004 # Set up the sed scripts for CONFIG_FILES section.
23007 # No need to generate the scripts if there are no CONFIG_FILES.
23008 # This happens for instance when ./config.status config.h
23009 if test -n "$CONFIG_FILES"; then
23013 # Create sed commands to just substitute file output variables.
23015 # Remaining file output variables are in a fragment that also has non-file
23021 for ac_last_try
in false false false false false
:; do
23022 cat >conf$
$subs.
sed <<_ACEOF
23023 SHELL!$SHELL$ac_delim
23024 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23025 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23026 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23027 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23028 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23029 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23030 exec_prefix!$exec_prefix$ac_delim
23031 prefix!$prefix$ac_delim
23032 program_transform_name!$program_transform_name$ac_delim
23033 bindir!$bindir$ac_delim
23034 sbindir!$sbindir$ac_delim
23035 libexecdir!$libexecdir$ac_delim
23036 datarootdir!$datarootdir$ac_delim
23037 datadir!$datadir$ac_delim
23038 sysconfdir!$sysconfdir$ac_delim
23039 sharedstatedir!$sharedstatedir$ac_delim
23040 localstatedir!$localstatedir$ac_delim
23041 includedir!$includedir$ac_delim
23042 oldincludedir!$oldincludedir$ac_delim
23043 docdir!$docdir$ac_delim
23044 infodir!$infodir$ac_delim
23045 htmldir!$htmldir$ac_delim
23046 dvidir!$dvidir$ac_delim
23047 pdfdir!$pdfdir$ac_delim
23048 psdir!$psdir$ac_delim
23049 libdir!$libdir$ac_delim
23050 localedir!$localedir$ac_delim
23051 mandir!$mandir$ac_delim
23052 DEFS!$DEFS$ac_delim
23053 ECHO_C!$ECHO_C$ac_delim
23054 ECHO_N!$ECHO_N$ac_delim
23055 ECHO_T!$ECHO_T$ac_delim
23056 LIBS!$LIBS$ac_delim
23057 build_alias!$build_alias$ac_delim
23058 host_alias!$host_alias$ac_delim
23059 target_alias!$target_alias$ac_delim
23060 build!$build$ac_delim
23061 build_cpu!$build_cpu$ac_delim
23062 build_vendor!$build_vendor$ac_delim
23063 build_os!$build_os$ac_delim
23064 host!$host$ac_delim
23065 host_cpu!$host_cpu$ac_delim
23066 host_vendor!$host_vendor$ac_delim
23067 host_os!$host_os$ac_delim
23068 WIN16_FILES!$WIN16_FILES$ac_delim
23069 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23070 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
23071 WINETEST!$WINETEST$ac_delim
23072 SET_MAKE!$SET_MAKE$ac_delim
23074 CFLAGS!$CFLAGS$ac_delim
23075 LDFLAGS!$LDFLAGS$ac_delim
23076 CPPFLAGS!$CPPFLAGS$ac_delim
23077 ac_ct_CC!$ac_ct_CC$ac_delim
23078 EXEEXT!$EXEEXT$ac_delim
23079 OBJEXT!$OBJEXT$ac_delim
23081 CXXFLAGS!$CXXFLAGS$ac_delim
23082 ac_ct_CXX!$ac_ct_CXX$ac_delim
23083 CPPBIN!$CPPBIN$ac_delim
23084 TOOLSDIR!$TOOLSDIR$ac_delim
23085 XMKMF!$XMKMF$ac_delim
23087 X_CFLAGS!$X_CFLAGS$ac_delim
23088 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23089 X_LIBS!$X_LIBS$ac_delim
23090 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23091 FLEX!$FLEX$ac_delim
23092 BISON!$BISON$ac_delim
23094 ac_ct_AS!$ac_ct_AS$ac_delim
23097 RANLIB!$RANLIB$ac_delim
23098 STRIP!$STRIP$ac_delim
23099 WINDRES!$WINDRES$ac_delim
23100 LN_S!$LN_S$ac_delim
23102 GREP!$GREP$ac_delim
23103 EGREP!$EGREP$ac_delim
23104 LDCONFIG!$LDCONFIG$ac_delim
23107 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23109 elif $ac_last_try; then
23110 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23111 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23112 { (exit 1); exit 1; }; }
23114 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23118 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23119 if test -n "$ac_eof"; then
23120 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23121 ac_eof
=`expr $ac_eof + 1`
23124 cat >>$CONFIG_STATUS <<_ACEOF
23125 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23126 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23127 /^[ ]*@MAKE_RULES@[ ]*$/{
23131 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23135 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23136 r $MAKE_IMPLIB_RULES
23139 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23143 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23149 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23150 s/^/s,@/; s/!/@,|#_!!_#|/
23153 s/'"$ac_delim"'$/,g/; t
23155 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23156 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23157 rm -f conf$
$subs.
sed
23158 cat >>$CONFIG_STATUS <<_ACEOF
23164 for ac_last_try
in false false false false false
:; do
23165 cat >conf$
$subs.
sed <<_ACEOF
23166 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23167 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23168 INSTALL_DATA!$INSTALL_DATA$ac_delim
23169 LINT!$LINT$ac_delim
23170 LINTFLAGS!$LINTFLAGS$ac_delim
23171 FONTFORGE!$FONTFORGE$ac_delim
23172 PKG_CONFIG!$PKG_CONFIG$ac_delim
23173 PRELINK!$PRELINK$ac_delim
23174 LIBPTHREAD!$LIBPTHREAD$ac_delim
23175 XLIB!$XLIB$ac_delim
23176 XFILES!$XFILES$ac_delim
23177 OPENGLFILES!$OPENGLFILES$ac_delim
23178 GLU32FILES!$GLU32FILES$ac_delim
23179 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23180 QUARTZFILES!$QUARTZFILES$ac_delim
23181 DLLEXT!$DLLEXT$ac_delim
23182 DLLFLAGS!$DLLFLAGS$ac_delim
23183 LDSHARED!$LDSHARED$ac_delim
23184 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23185 LIBEXT!$LIBEXT$ac_delim
23186 IMPLIBEXT!$IMPLIBEXT$ac_delim
23187 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23188 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23190 DLLTOOL!$DLLTOOL$ac_delim
23191 DLLWRAP!$DLLWRAP$ac_delim
23192 MINGWAR!$MINGWAR$ac_delim
23193 SECURITYLIB!$SECURITYLIB$ac_delim
23194 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23195 IOKITLIB!$IOKITLIB$ac_delim
23196 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23197 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23198 COREAUDIO!$COREAUDIO$ac_delim
23199 CARBONLIB!$CARBONLIB$ac_delim
23200 CROSSTEST!$CROSSTEST$ac_delim
23201 CROSSCC!$CROSSCC$ac_delim
23202 CROSSWINDRES!$CROSSWINDRES$ac_delim
23203 NASLIBS!$NASLIBS$ac_delim
23204 XML2LIBS!$XML2LIBS$ac_delim
23205 XML2INCL!$XML2INCL$ac_delim
23206 XSLTLIBS!$XSLTLIBS$ac_delim
23207 XSLTINCL!$XSLTINCL$ac_delim
23208 HALINCL!$HALINCL$ac_delim
23209 sane_devel!$sane_devel$ac_delim
23210 SANEINCL!$SANEINCL$ac_delim
23211 gphoto2_devel!$gphoto2_devel$ac_delim
23212 gphoto2port_devel!$gphoto2port_devel$ac_delim
23213 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23214 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23215 RESOLVLIBS!$RESOLVLIBS$ac_delim
23216 LCMSLIBS!$LCMSLIBS$ac_delim
23217 LDAPLIBS!$LDAPLIBS$ac_delim
23218 ft_devel!$ft_devel$ac_delim
23219 FREETYPELIBS!$FREETYPELIBS$ac_delim
23220 FREETYPEINCL!$FREETYPEINCL$ac_delim
23221 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23222 ESDCONFIG!$ESDCONFIG$ac_delim
23223 ESDLIBS!$ESDLIBS$ac_delim
23224 ESDINCL!$ESDINCL$ac_delim
23225 ALSALIBS!$ALSALIBS$ac_delim
23226 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23227 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23228 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23229 BUILTINFLAG!$BUILTINFLAG$ac_delim
23230 LDPATH!$LDPATH$ac_delim
23231 CRTLIBS!$CRTLIBS$ac_delim
23232 SOCKETLIBS!$SOCKETLIBS$ac_delim
23233 MAIN_BINARY!$MAIN_BINARY$ac_delim
23234 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23235 LIBDL!$LIBDL$ac_delim
23236 LIBPOLL!$LIBPOLL$ac_delim
23237 DEPENDENCIES!$DEPENDENCIES$ac_delim
23238 LIBOBJS!$LIBOBJS$ac_delim
23239 LTLIBOBJS!$LTLIBOBJS$ac_delim
23242 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
23244 elif $ac_last_try; then
23245 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23246 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23247 { (exit 1); exit 1; }; }
23249 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23253 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23254 if test -n "$ac_eof"; then
23255 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23256 ac_eof
=`expr $ac_eof + 1`
23259 cat >>$CONFIG_STATUS <<_ACEOF
23260 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23261 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23264 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23265 s/^/s,@/; s/!/@,|#_!!_#|/
23268 s/'"$ac_delim"'$/,g/; t
23270 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23271 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23272 rm -f conf$
$subs.
sed
23273 cat >>$CONFIG_STATUS <<_ACEOF
23280 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23281 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23282 # trailing colons and then remove the whole line if VPATH becomes empty
23283 # (actually we leave an empty line to preserve line numbers).
23284 if test "x$srcdir" = x.
; then
23285 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23286 s/:*\$(srcdir):*/:/
23287 s/:*\${srcdir}:*/:/
23289 s/^\([^=]*=[ ]*\):*/\1/
23295 cat >>$CONFIG_STATUS <<\_ACEOF
23296 fi # test -n "$CONFIG_FILES"
23299 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
23302 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23304 case $ac_mode$ac_tag in
23306 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23307 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23308 { (exit 1); exit 1; }; };;
23309 :[FH
]-) ac_tag
=-:-;;
23310 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23327 -) ac_f
="$tmp/stdin";;
23328 *) # Look for the file first in the build tree, then in the source tree
23329 # (if the path is not absolute). The absolute path cannot be DOS-style,
23330 # because $ac_f cannot contain `:'.
23334 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23336 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23337 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23338 { (exit 1); exit 1; }; };;
23340 ac_file_inputs
="$ac_file_inputs $ac_f"
23343 # Let's still pretend it is `configure' which instantiates (i.e., don't
23344 # use $as_me), people would be surprised to read:
23345 # /* config.h. Generated by config.status. */
23346 configure_input
="Generated from "`IFS=:
23347 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23348 if test x
"$ac_file" != x-
; then
23349 configure_input
="$ac_file. $configure_input"
23350 { echo "$as_me:$LINENO: creating $ac_file" >&5
23351 echo "$as_me: creating $ac_file" >&6;}
23355 *:-:* |
*:-) cat >"$tmp/stdin";;
23360 ac_dir
=`$as_dirname -- "$ac_file" ||
23361 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23362 X"$ac_file" : 'X\(//\)[^/]' \| \
23363 X"$ac_file" : 'X\(//\)$' \| \
23364 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23370 /^X\(\/\/\)[^/].*/{
23385 -*) as_dir
=.
/$as_dir;;
23387 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23391 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23392 *) as_qdir
=$as_dir;;
23394 as_dirs
="'$as_qdir' $as_dirs"
23395 as_dir
=`$as_dirname -- "$as_dir" ||
23396 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23397 X"$as_dir" : 'X\(//\)[^/]' \| \
23398 X"$as_dir" : 'X\(//\)$' \| \
23399 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23405 /^X\(\/\/\)[^/].*/{
23418 test -d "$as_dir" && break
23420 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23421 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23422 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23423 { (exit 1); exit 1; }; }; }
23427 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23429 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23430 # A ".." for each directory in $ac_dir_suffix.
23431 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23432 case $ac_top_builddir_sub in
23433 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23434 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23437 ac_abs_top_builddir
=$ac_pwd
23438 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23439 # for backward compatibility:
23440 ac_top_builddir
=$ac_top_build_prefix
23443 .
) # We are building in place.
23445 ac_top_srcdir
=$ac_top_builddir_sub
23446 ac_abs_top_srcdir
=$ac_pwd ;;
23447 [\\/]* | ?
:[\\/]* ) # Absolute name.
23448 ac_srcdir
=$srcdir$ac_dir_suffix;
23449 ac_top_srcdir
=$srcdir
23450 ac_abs_top_srcdir
=$srcdir ;;
23451 *) # Relative name.
23452 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23453 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23454 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23456 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23466 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23467 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23471 cat >>$CONFIG_STATUS <<\_ACEOF
23472 # If the template does not know about datarootdir, expand it.
23473 # FIXME: This hack should be removed a few years after 2.60.
23474 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23476 case `sed -n '/datarootdir/ {
23485 ' $ac_file_inputs` in
23486 *datarootdir
*) ac_datarootdir_seen
=yes;;
23487 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23488 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23489 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23491 cat >>$CONFIG_STATUS <<_ACEOF
23492 ac_datarootdir_hack='
23493 s&@datadir@&$datadir&g
23494 s&@docdir@&$docdir&g
23495 s&@infodir@&$infodir&g
23496 s&@localedir@&$localedir&g
23497 s&@mandir@&$mandir&g
23498 s&\\\${datarootdir}&$datarootdir&g' ;;
23502 # Neutralize VPATH when `$srcdir' = `.'.
23503 # Shell code in configure.ac might set extrasub.
23504 # FIXME: do we really want to maintain this feature?
23505 cat >>$CONFIG_STATUS <<_ACEOF
23509 cat >>$CONFIG_STATUS <<\_ACEOF
23511 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23512 s
&@configure_input@
&$configure_input&;t t
23513 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23514 s
&@srcdir@
&$ac_srcdir&;t t
23515 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23516 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23517 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23518 s
&@builddir@
&$ac_builddir&;t t
23519 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23520 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23521 s
&@INSTALL@
&$ac_INSTALL&;t t
23522 $ac_datarootdir_hack
23523 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
23525 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23526 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23527 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23528 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23529 which seems to be undefined. Please make sure it is defined." >&5
23530 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23531 which seems to be undefined. Please make sure it is defined." >&2;}
23535 -) cat "$tmp/out"; rm -f "$tmp/out";;
23536 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23545 # Transform confdefs.h into a sed script `conftest.defines', that
23546 # substitutes the proper values into config.h.in to produce config.h.
23547 rm -f conftest.defines conftest.
tail
23548 # First, append a space to every undef/define line, to ease matching.
23549 echo 's/$/ /' >conftest.defines
23550 # Then, protect against being on the right side of a sed subst, or in
23551 # an unquoted here document, in config.status. If some macros were
23552 # called several times there might be several #defines for the same
23553 # symbol, which is useless. But do not sort them, since the last
23554 # AC_DEFINE must be honored.
23555 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23556 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23557 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23558 # PARAMS is the parameter list in the macro definition--in most cases, it's
23559 # just an empty string.
23560 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23561 ac_dB
='\\)[ (].*,\\1define\\2'
23569 s/^[ ]*#[ ]*define[ ][ ]*//
23574 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23575 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23576 ' >>conftest.defines
23578 # Remove the space that was appended to ease matching.
23579 # Then replace #undef with comments. This is necessary, for
23580 # example, in the case of _POSIX_SOURCE, which is predefined and required
23581 # on some systems where configure will not decide to define it.
23582 # (The regexp can be short, since the line contains either #define or #undef.)
23584 s,^[ #]*u.*,/* & */,' >>conftest.defines
23586 # Break up conftest.defines:
23587 ac_max_sed_lines
=50
23589 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23590 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23591 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23593 ac_in
='$ac_file_inputs'
23594 ac_out
='"$tmp/out1"'
23595 ac_nxt
='"$tmp/out2"'
23599 # Write a here document:
23600 cat >>$CONFIG_STATUS <<_ACEOF
23601 # First, check the format of the line:
23602 cat >"\$tmp/defines.sed" <<\\CEOF
23603 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23604 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23608 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
23610 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23611 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
23612 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
23613 grep . conftest.
tail >/dev
/null ||
break
23614 rm -f conftest.defines
23615 mv conftest.
tail conftest.defines
23617 rm -f conftest.defines conftest.
tail
23619 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23620 cat >>$CONFIG_STATUS <<\_ACEOF
23621 if test x
"$ac_file" != x-
; then
23622 echo "/* $configure_input */" >"$tmp/config.h"
23623 cat "$ac_result" >>"$tmp/config.h"
23624 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
23625 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23626 echo "$as_me: $ac_file is unchanged" >&6;}
23629 mv "$tmp/config.h" $ac_file
23632 echo "/* $configure_input */"
23638 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23639 echo "$as_me: executing $ac_file commands" >&6;}
23644 case $ac_file$ac_mode in
23645 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
23646 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23647 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
23648 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23649 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
23650 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23651 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
23652 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23653 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
23654 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23655 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
23656 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
23657 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
23663 { (exit 0); exit 0; }
23665 chmod +x
$CONFIG_STATUS
23666 ac_clean_files
=$ac_clean_files_save
23669 # configure is writing to config.log, and then calls config.status.
23670 # config.status does its own redirection, appending to config.log.
23671 # Unfortunately, on DOS this fails, as config.log is still kept open
23672 # by configure, so config.status won't be able to write to it; its
23673 # output is simply discarded. So we exec the FD to /dev/null,
23674 # effectively closing config.log, so it can be properly (re)opened and
23675 # appended to by config.status. When coming back to configure, we
23676 # need to make the FD available again.
23677 if test "$no_create" != yes; then
23679 ac_config_status_args
=
23680 test "$silent" = yes &&
23681 ac_config_status_args
="$ac_config_status_args --quiet"
23683 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23685 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23686 # would make configure fail if this is the last instruction.
23687 $ac_cs_success ||
{ (exit 1); exit 1; }
23691 if test "$no_create" = "yes"
23698 if test "x$wine_notices != "x
; then
23700 for msg
in $wine_notices; do
23701 if test -n "$msg"; then
23702 { echo "$as_me:$LINENO: $msg" >&5
23703 echo "$as_me: $msg" >&6;}
23707 for msg
in $wine_warnings; do
23708 if test -n "$msg"; then
23710 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23711 echo "$as_me: WARNING: $msg" >&2;}
23717 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.